function ajaxRequest(htmlid,url)
  {

  if (window.XMLHttpRequest) {
      http = new XMLHttpRequest();
  }
  else if (window.ActiveXObject) {
      http = new ActiveXObject("Microsoft.XMLHTTP");
  }
    
  http.open('GET', url);
  http.onreadystatechange = function() {
      if (http.readyState == 4) {      
          content = http.responseText;      
          document.getElementById(htmlid).innerHTML = content;
      }
  }
    
  http.send(null);
  
  }
  
