	var objRequest = null;
	function createRequestObject()
	{
		if(objRequest != null)
		{
			return 0;
		}
		
		try
		{
			objRequest = new ActiveXObject("Msxml2.XMLHTTP")
		}
		catch(e)
		{
			try
			{
				objRequest = new ActiveXObject("Microsoft.XMLHTTP")
			}
			catch(sc)
			{
				objRequest = null
			}
		}
		if(!objRequest && typeof XMLHttpRequest != "undefined")
		{
			objRequest = new XMLHttpRequest()
		}
	}

	function SendRequest(url, bAsync)
	{
		createRequestObject();
		objRequest.open("GET",url,bAsync);
		objRequest.send(null);
		if (!bAsync)
			return objRequest.responseText
		else
			return '';
	}
