function getXMLHTTPRequest() {
try {
req = new XMLHttpRequest();
} catch(err1) {
  try {
  req = new ActiveXObject("Msxml2.XMLHTTP");
  } catch (err2) {
    try {
    req = new ActiveXObject("Microsoft.XMLHTTP");
    } catch (err3) {
      req = false;
    }
  }
}
return req;
}

var http = getXMLHTTPRequest();

function getmanu(myurl) {
  document.getElementById('manufacturer').innerHTML = 'Loading ...';
  
  myRand = parseInt(Math.random()*999999999999999);
  if (myurl.indexOf('?')>0){
	  var modurl = myurl+"&rand="+myRand;
  }else{
	  var modurl = myurl+"?rand="+myRand;
  }
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponseManu;
  http.send(null);
}

function useHttpResponseManu() {
   if (http.readyState == 4) {
    if(http.status == 200) {
      var mytext = http.responseText;
      document.getElementById('manufacturer').innerHTML = mytext;
    }
  } else {
  document. getElementById('manufacturer').innerHTML = "";
  }
}