function ajaxFunctionPatho(id,limit) {
	var xmlHttp;
	try {
	  // Firefox, Opera 8.0+, Safari
	  xmlHttp=new XMLHttpRequest();
	}
	catch (e) {
	  // Internet Explorer
	  try {
	    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
	  }
	  catch (e) {
	    try {
	      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
	    }
	    catch (e) {
	      alert("Your browser does not support AJAX!");
	      return false;
	    }
	  }
	}
	  
	xmlHttp.onreadystatechange=function() {
		if(xmlHttp.readyState==4) {
	      document.getElementById("secteur").selectedIndex=0;
	      document.getElementById("div_reponse_secteur").innerHTML="";
		  document.getElementById("agence").selectedIndex=0;
	      document.getElementById("div_reponse_agence").innerHTML="";
	      document.getElementById("div_reponse_patho").innerHTML=xmlHttp.responseText;
	    }
	}
	xmlHttp.open("GET","ajax/patho.php?id="+id+"&limit="+limit,true);
	xmlHttp.send(null);
}

function ajaxFunctionSecteur(id,limit) {
	var xmlHttp;
	try {
	  // Firefox, Opera 8.0+, Safari
	  xmlHttp=new XMLHttpRequest();
	}
	catch (e) {
	  // Internet Explorer
	  try {
	    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
	  }
	  catch (e) {
	    try {
	      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
	    }
	    catch (e) {
	      alert("Your browser does not support AJAX!");
	      return false;
	    }
	  }
	}
	  
	xmlHttp.onreadystatechange=function() {
		if(xmlHttp.readyState==4) {
	      document.getElementById("patho").selectedIndex=0;
		  document.getElementById("div_reponse_patho").innerHTML="";
		  document.getElementById("agence").selectedIndex=0;
	      document.getElementById("div_reponse_agence").innerHTML="";
	      document.getElementById("div_reponse_secteur").innerHTML=xmlHttp.responseText;
	    }
	}
	xmlHttp.open("GET","ajax/secteur.php?id="+id+"&limit="+limit,true);
	xmlHttp.send(null);
}

function ajaxFunctionAgence(id,limit) {
	var xmlHttp;
	try {
	  // Firefox, Opera 8.0+, Safari
	  xmlHttp=new XMLHttpRequest();
	}
	catch (e) {
	  // Internet Explorer
	  try {
	    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
	  }
	  catch (e) {
	    try {
	      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
	    }
	    catch (e) {
	      alert("Your browser does not support AJAX!");
	      return false;
	    }
	  }
	}
	  
	xmlHttp.onreadystatechange=function() {
		if(xmlHttp.readyState==4) {
	      document.getElementById("patho").selectedIndex=0;
		  document.getElementById("div_reponse_patho").innerHTML="";
		  document.getElementById("secteur").selectedIndex=0;
	      document.getElementById("div_reponse_secteur").innerHTML="";
	      document.getElementById("div_reponse_agence").innerHTML=xmlHttp.responseText;
	    }
	}
	xmlHttp.open("GET","ajax/agence.php?id="+id+"&limit="+limit,true);
	xmlHttp.send(null);
}