
function last(ip,date)
     {
     if(date != '')
               {
              if(texte = file('stats/last.php?ip='+ip+'&date='+date))
                         {
//if (texte == "1") {
//return confirm("Coucou "+texte+"1");
//}
//if (texte == "2") {
//return confirm("Coucou rate");
//}

                         }
               }

     }


function file(fichier)
{
if(window.XMLHttpRequest) // FIREFOX
xhr_object = new XMLHttpRequest();
else if(window.ActiveXObject) // IE
xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
else
return(false);
xhr_object.open("GET", fichier, false);
xhr_object.send(null);
if(xhr_object.readyState == 4) return(xhr_object.responseText);
else return(false);
}