//Returns an XML HTTP Object
function getXMLHTTPObject()
{
	try
	{
			http = new XMLHttpRequest();
			
			if (http.overrideMimeType) 
			{
				// set type accordingly to anticipated content type
				//http.overrideMimeType('text/xml');
				http.overrideMimeType('text/html');
			}
			return http;
	}
	catch(e) {}

	try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) {}
	try { return new ActiveXObject("Microsoft.XMLHTTP"); }  catch(e) {}
	alert("Your browser doesn't support the XML HTTP Object");
}
