var xmlHttp;
	
function GetXmlHttpObject()
{
	var xmlHttp=null;
	try
	{
		// Firefox, Opera 8.0+, Safari
		xmlHttp=new XMLHttpRequest();
		//if(http_request.overrideMimeType) 
		//{
			//set type accordingly to anticipated content type
			//http_request.overrideMimeType('text/xml');
			//http_request.overrideMimeType('text/html');
		//}
	}
	catch (e)
	{
		// Internet Explorer
		try
		{
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e)
		{
			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		}
	}
	return xmlHttp;
}
