function getXMLRequest() {
	var xmlhttp=false;
	/*@cc_on @*/
	/*@if (@_jscript_version >= 5)
	// JScript gives us Conditional compilation, we can cope with old IE versions.
	// and security blocked creation of the objects.
	 try {
	  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	 } catch (e) {
	  try {
	   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	  } catch (E) {
	   xmlhttp = false;
	  }
	 }
	@end @*/
	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;
		}
	}


  if (!xmlhttp) {
  	return xmlhttp;
  }



  // For Safari, Firefox, and other non-MS browsers
  if (window.XMLHttpRequest) {
    try {
      xmlhttp = new XMLHttpRequest();
    } catch (e) {
      xmlhttp = false;
    }
  }
  
  if (!xmlhttp && window.ActiveXObject) {
    // For Internet Explorer on Windows
    try {
    	xmlhttp = new ActiveXObject('MSXML2.XMLHTTP.6.0');
    	//check for Version 6
    	if (!xmlhttp)
	{
		xmlhttp = new ActiveXObject('MSXML2.XMLHTTP');
		//fallback to version 3
	}

    } catch (e) {
      try {
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (e) {
        xmlhttp = false;
      }
    }
  }

  return xmlhttp;
}
var req_object = null;
