function createXMLHttpRequest(){
 var xmlhttp;

 if (window.XMLHttpRequest) {
   xmlhttp = new XMLHttpRequest();
   // evite un Bug du navigateur Safari :
   if (xmlhttp.overrideMimeType) xmlhttp.overrideMimeType("text/xml");
 }
 else if (window.ActiveXObject){
   try {
   	  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
  	 } 
  catch (e){   
     try {
       xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
     } catch (e){return false;}
   }
 }
 return xmlhttp; 
}

function displayCookieDepot() {
		//waiting...
}

function setcookielang(lang) {

	xmlhttp = createXMLHttpRequest();
	
	if (xmlhttp!=null) {
			xmlhttp.open("GET",'/expo/?p=1&sp=1&lang='+lang,false);
			xmlhttp.onreadystatechange = displayCookieDepot;
			xmlhttp.send(null);
	}
}
