var xhr = null; 
function getXhr(){ 
   if(window.XMLHttpRequest)xhr = new XMLHttpRequest(); 
   else if(window.ActiveXObject){ 
      try{ 
         xhr = new ActiveXObject("Msxml2.XMLHTTP"); 
      }catch (e){ 
         xhr = new ActiveXObject("Microsoft.XMLHTTP"); 
      } 
   }else{ 
      alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest..."); 
      xhr = false; 
   } 
} 
// CETTE FONCTION VA PEMETTRE DE NAVIGUER DE PAGE EN PAGE 
function ShowPage(){ 
   getXhr() 
   xhr.onreadystatechange = function(){ 
      if(xhr.readyState == 4 && xhr.status == 200){ 
         document.getElementById('presentationannonceur').innerHTML=xhr.responseText; // ON AFFICHERA LES RESULTATS DANS LA DIV ID "page" 
      } 
   } 
   // REQUETE EN GET AVEC EN PARAMETRES : 
   // LA FICHE AVEC LAQUELLE ON COMMENCE LA LISTE "start" 
   // LE NOMBRE DE FICHES A AFFICHER PAR PAGE "nb_fiche_page" 
   xhr.open("GET","../fiche-annonceur.php",true); 
   xhr.send(null); 
} 
