function connection(){
	    //-------------ouverture connection--------------------
	    if(window.XMLHttpRequest) // Firefox
	       xhr_object = new XMLHttpRequest();
	    else if(window.ActiveXObject) // Internet Explorer
	       xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
	    else { // XMLHttpRequest non supporté par le navigateur
	       alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");
	       return;
	    }
	  }	  	  

	  
function lectureXml(){
   if(window.XMLHttpRequest)     //---------> Firefox
      var xhr = new XMLHttpRequest();
   else if(window.ActiveXObject) //---------> Internet Explorer
      var xhr  = new ActiveXObject("Microsoft.XMLHTTP");
   else {  //--------- XMLHttpRequest non supporté par le navigateur --------
      alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");
      return;
   }
   }
   
function reportage_photo(){
    connection();
	//alert("ddd");
    //-------------reception des données ------------------
    xhr_object.open("GET", "theme_entreprise/reportage.php", true);
    xhr_object.setRequestHeader("Content-Type", "text/html; charset=UTF-8");
    xhr_object.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    xhr_object.onreadystatechange = function() {
        if(xhr_object.readyState == 4) {
            if (xhr_object.status == 200 || xhr_object.status == 304){
                 document.getElementById('ajax').innerHTML =xhr_object.responseText;
            }
        }
    }
    xhr_object.send(null);
  }	
  
  
  function patrimoine(){
    connection();
	//alert("ddd");
    //-------------reception des données ------------------
    xhr_object.open("GET", "theme_entreprise/patrimoine.php", true);
    xhr_object.setRequestHeader("Content-Type", "text/html; charset=UTF-8");
    xhr_object.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    xhr_object.onreadystatechange = function() {
        if(xhr_object.readyState == 4) {
            if (xhr_object.status == 200 || xhr_object.status == 304){
                 document.getElementById('ajax').innerHTML =xhr_object.responseText;
            }
        }
    }
    xhr_object.send(null);
  }	
  
 
function enseigne(){
    connection();
	//alert("ddd");
    //-------------reception des données ------------------
    xhr_object.open("GET", "theme_entreprise/enseigne.php", true);
    xhr_object.setRequestHeader("Content-Type", "text/html; charset=UTF-8");
    xhr_object.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    xhr_object.onreadystatechange = function() {
        if(xhr_object.readyState == 4) {
            if (xhr_object.status == 200 || xhr_object.status == 304){
                 document.getElementById('ajax').innerHTML =xhr_object.responseText;
            }
        }
    }
    xhr_object.send(null);
  }	

function ouvrage(){
    connection();
	//alert("ddd");
    //-------------reception des données ------------------
    xhr_object.open("GET", "theme_entreprise/ouvrage.php", true);
    xhr_object.setRequestHeader("Content-Type", "text/html; charset=UTF-8");
    xhr_object.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    xhr_object.onreadystatechange = function() {
        if(xhr_object.readyState == 4) {
            if (xhr_object.status == 200 || xhr_object.status == 304){
                 document.getElementById('ajax').innerHTML =xhr_object.responseText;
            }
        }
    }
    xhr_object.send(null);
  }	 

function industrie(){
    connection();
	//alert("ddd");
    //-------------reception des données ------------------
    xhr_object.open("GET", "theme_entreprise/industrie.php", true);
    xhr_object.setRequestHeader("Content-Type", "text/html; charset=UTF-8");
    xhr_object.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    xhr_object.onreadystatechange = function() {
        if(xhr_object.readyState == 4) {
            if (xhr_object.status == 200 || xhr_object.status == 304){
                 document.getElementById('ajax').innerHTML =xhr_object.responseText;
            }
        }
    }
    xhr_object.send(null);
  }	
function artisant(){
    connection();
	//alert("ddd");
    //-------------reception des données ------------------
    xhr_object.open("GET", "theme_entreprise/artisant.php", true);
    xhr_object.setRequestHeader("Content-Type", "text/html; charset=UTF-8");
    xhr_object.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    xhr_object.onreadystatechange = function() {
        if(xhr_object.readyState == 4) {
            if (xhr_object.status == 200 || xhr_object.status == 304){
                 document.getElementById('ajax').innerHTML =xhr_object.responseText;
            }
        }
    }
    xhr_object.send(null);
  }	
  function motonautique(){
    connection();
	//alert("ddd");
    //-------------reception des données ------------------
    xhr_object.open("GET", "theme_entreprise/reportage_sportif.php", true);
    xhr_object.setRequestHeader("Content-Type", "text/html; charset=UTF-8");
    xhr_object.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
    xhr_object.onreadystatechange = function() {
        if(xhr_object.readyState == 4) {
            if (xhr_object.status == 200 || xhr_object.status == 304){
                 document.getElementById('ajax').innerHTML =xhr_object.responseText;
            }
        }
    }
    xhr_object.send(null);
  }


