var xmlhttp = false;
function createxmlhttp()
{
	if (window.XMLHttpRequest)
	{
		xmlhttp = new XMLHttpRequest();
	}
	else if(window.ActiveXObject)
	{
		try
		{
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");	
		}
		catch(e)
		{	
			try
			{
				xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");	
			}
			catch(e){}
		}
		
	}
	if (!xmlhttp)
	{
		alert("XMLHTTP¶ÔÏó´´½¨Ê§°Ü");
		return false;
	}
}
function gethttp(url,fn)
{
	createxmlhttp();
	xmlhttp.open("get",url,true);
	xmlhttp.onreadystatechange = fn;
	xmlhttp.send(null);
}