  function makeRequest(url) { //Notice we use URL as definition

var xmlhttp = findXMLHttp();

//Function to get best possible XMLHTTP
function findXMLHttp() {
  var xmlhttp;

  //Try internal HTTP
  if (window.XMLHttpRequest) {
  xmlhttp = new XMLHttpRequest();
  }

  //If not try ActiveX
  else{

  //List ActiveX Versions
  //Some can be deleted if we dont wish to support certain types
  //Most effective at top supported listed below
  var xmlhttpVersions = ["MSXML2.XMLHttp.6.0",
  "MSXML2.XMLHttp.5.0",
  "MSXML2.XMLHttp.4.0",
  "MSXML2.XMLHttp.3.0",  
  "MSXML2.XMLHttp",
  "Microsoft.XMLHttp"];


  //Try the differante versions
  for (var i = 0; i < xmlhttpVersions.length; i++) {
  if (!xmlhttp) {
  try{xmlhttp = new ActiveXObject(xmlhttpVersions[i]);} 
  catch (e) { xmlhttp = false;}
  }
  }

  //Start an instance for selected ActiveX
  //If not started as internal
  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
  try { xmlhttp = new XMLHttpRequest();} 
  catch (e) { xmlhttp = false;}
  }
  
  //If ActiveX not even supported alert it.
  if (!xmlhttp) {
  alert('Please check that your browser supports XMLhttp');
  return false;
  }
  
  }
  return xmlhttp;
}

  xmlhttp.onreadystatechange = function() { alertContents(xmlhttp); }; //Point the function we want to activate
  xmlhttp.open('GET', url, true); //Here we push in the URL requested.
  xmlhttp.send(null); //And we do the call SEND()

  }

  function alertContents(xmlhttp) { //This is where we land

  if (xmlhttp.readyState == 4) { //Check so the page loaded
  if (xmlhttp.status == 200) { //Make sure its ok and continue..
  document.getElementById('lajv').innerHTML = xmlhttp.responseText; //get the content and push it out to a DIV (lajv)
  } else {
  document.getElementById('lajv').innerHTML = "There have been an error with the requested function"; //Something messedup on the way..
  }
  }

  }
