function news(id)
{ var script = "/beheer/access/news.php?file="+location.pathname+"&id="+id
  var xhr = ajax()
  if (typeof(xhr) != "undefined")
  { xhr.open("post",script,true)
    xhr.send("")
  }
  else
  { img = new Image()
    img.src = script
  }
}

function ajax()
{ try {return new XMLHttpRequest()} catch(e) {}
  try {return new ActiveXObject("Msxml2.XMLHTTP.6.0")} catch(e) {}
  try {return new ActiveXObject("Msxml2.XMLHTTP.3.0")} catch(e) {}
  try {return new ActiveXObject("Msxml2.XMLHTTP")} catch(e) {}
  try {return new ActiveXObject("Microsoft.XMLHTTP")} catch(e) {}
}
