var XmlHttp = false;

try
{
	XmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{
	try
	{
		XmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
	catch (e)
	{
		XmlHttp = false;
	}
}

if ( (!XmlHttp) && (typeof(XMLHttpRequest) != 'undefined') )
{
	XmlHttp = new XMLHttpRequest();
}



