
function createXMLHttpRequest() {
     var xmlHttp;
     if (window.ActiveXObject) {
         xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
      } 
      else if (window.XMLHttpRequest) {
          xmlHttp = new XMLHttpRequest();                
      }
      return xmlHttp;
}
