var htmlhttp;

function loadHTMLDoc(url)
{
htmlhttp=null;

if (window.XMLHttpRequest)
  {// code for IE7, Firefox, Opera, etc.
  htmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {// code for IE6, IE5
  htmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
if (htmlhttp!=null)
  {
  htmlhttp.onreadystatechange=function(){

//document.getElementById('entreeRecente').innerHTML=htmlhttp.responseText;
if (htmlhttp.readyState==4)
  {// 4 = "loaded"
  
  if (htmlhttp.status==200)
    {// 200 = "OK"
    document.getElementById('entreeRecente').innerHTML=htmlhttp.responseText;
    }
  else
    {
    alert("Problem retrieving XML data:" + htmlhttp.statusText);
    }
  }
  }

  htmlhttp.open("GET",url,true);

  htmlhttp.send(null);

  }
else
  {
  alert("Your browser does not support XMLHTTP.");
  }
}

