function GetXmlHttpObject()
{
	var xmlHttp=null;
	try
  	{
  		// Firefox, Opera 8.0+, Safari
  		xmlHttp=new XMLHttpRequest();
  	}
	catch (e)
  	{
  		// Internet Explorer
  		try
    	{
    		xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    	}
  		catch (e)
    	{
    		xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    	}
  	}

	return xmlHttp;
}

function querystring(ji)
{
	hu = window.location.search.substring(1);
	gy = hu.split("&");
	for (i=0;i<gy.length;i++)
	{
		ft = gy[i].split("=");
		if (ft[0] == ji)
		{
			return ft[1];
		}
	}
	return "";
}

function addCSS(href)
{
	var elementLink = document.createElement("link");
	elementLink.setAttribute("rel", "stylesheet");
	elementLink.setAttribute("type", "text/css");
	elementLink.setAttribute("href", href);
	document.getElementsByTagName("head")[0].appendChild(elementLink);
}

