function roll(name,image){		eval ("window.document."+name+".src='img/"+image+"'");	}	var httpr;	if (window.XMLHttpRequest) {		httpr = new XMLHttpRequest();	}	else if (window.ActiveXObject) {		httpr = new ActiveXObject("Msxml2.XMLHTTP");	}	function changeCollection(Niveau, Rayon) {      var elmt = document.getElementById('aff_rayon');      var values ='';      for(var i=0; i< elmt.options.length; i++)      {          if(elmt.options[i].selected == true)          {              values = values + elmt.options[i].value;          if (i< elmt.options.length-1){values=values + '|';}          }      }          	 	if (typeof httpr != 'undefined') {	  		httpr.open('GET', 'rayon_collection.ajax.php?niveau=' + Niveau + '&rayon=' + values, true);	  		httpr.onreadystatechange = rempliSelect;	  		httpr.send(null);	  	}	  	else return false;			}		function rempliSelect() {     			document.getElementById('aff_collection').innerHTML = '<option value=>Patientez s\'il vous plait...</option>';    			if(httpr.readyState == 4)    			{    				if(httpr.status == 200)    				{    					document.getElementById('aff_collection').innerHTML  = httpr.responseText;	    				}	    				else	    				{    					document.getElementById('aff_collection').innerHTML="Error: returned status code " + httpr.status + " " + httpr.statusText;    				}	    			} 	}	var httpr1;	if (window.XMLHttpRequest) {		httpr1 = new XMLHttpRequest();	}	else if (window.ActiveXObject) {		httpr1 = new ActiveXObject("Msxml2.XMLHTTP");	}			function initAjax(){	 	if (typeof httpr1 != 'undefined') {	  		httpr1.open('GET', 'panier.ajax.php', true);	  		httpr1.onreadystatechange = aff_panier;	  		httpr1.send(null);	  	}	  	else return false;	}			function aff_panier(){    			if(httpr1.readyState == 4)    			{    				if(httpr1.status == 200)    				{    					document.getElementById('aff_panier1').innerHTML  = httpr1.responseText;	    				}	    				else	    				{    					document.getElementById('aff_panier1').innerHTML="Error: returned status code " + httpr1.status + " " + httpr1.statusText;    				}	    			}   }function MM_jumpMenu(targ,selObj,restore){  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");  if (restore) selObj.selectedIndex=0;} // fonction qui coche les elements qui ont "dateId" en début de nomfunction selectAll(art_ids,dateId) {    var ids=art_ids.split("|");        i=0;    var contenu;    var nbmax;          while(i<ids.length ) {            contenu = 'p_'+dateId+'_'+ids[i];      //Hourra ! (...)      if (document.getElementById('p_'+dateId+'_'+ids[i]))      {        document.getElementById('p_'+dateId+'_'+ids[i]).checked =   document.getElementById('master_'+dateId).checked;        //alert( document.getElementById(contenu).name)         }        i++;    }    }
