function ajaxManager(file, id)
{
  var x = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP"): new XMLHttpRequest();

  file += '?sid=' +Math.random();

  if (x)
  {
    x.onreadystatechange = function()
    {
      if (x.readyState == 4 && x.status == 200)
      {
        window.status = "Done.";
        el = document.getElementById(id);
        el.innerHTML = x.responseText;
      }
    }
    x.open("GET", file, true);
    x.send(null);
  }
}
