function createXMLHttpRequestObject()
{
	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')
	{
		try 
		{
			xmlHttp = new XMLHttpRequest();
		} 
		catch (e) 
		{
			xmlHttp = false;
		}
	}
	
	if (!xmlHttp && window.createRequest)
	{
		try
		{
			xmlHttp = window.createRequest();
		}
		catch (e)
		{
			xmlHttp = false;
		}
	}
	
	return xmlHttp;
}