

	function getserverresponse(strURL,type,param) {
					var inst = '';
					inst = 'var xmlHttpReq'+type+'=false;';
					eval(inst) ;
					var self = this;
					// Mozilla/Safari
					if (window.XMLHttpRequest) 
					{
						self.eval('xmlHttpReq'+type+'= new XMLHttpRequest()');
					}
					// IE
					else if (window.ActiveXObject) {
						self.eval('xmlHttpReq'+type+'= new ActiveXObject("Microsoft.XMLHTTP")') ;
					}
					self.eval('xmlHttpReq'+type).open('POST', strURL, true);
					//alert(strURL);
					self.eval('xmlHttpReq'+type).setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
					self.eval('xmlHttpReq'+type).onreadystatechange = function()
					{
						if (self.eval('xmlHttpReq'+type).readyState == 4) 
						{
							var gridcontent;
									if(type==1){
										retour = self.eval('xmlHttpReq'+type).responseText;
										//alert(retour);
										document.getElementById('result').innerHTML = retour;
										//document.getElementById('articleGd1-1').className = 'affiche-gd1';	
												}
										
						}
					 }
					self.eval('xmlHttpReq'+type).send(strURL);
	}
function chargeproduit(lst,lst2,id,id2){
	//alert(IDRecord);
	//document.getElementById('result').style.display = 'block';
			url = "restau-filtre.php?";
			
			if(lst != ''){lst = "&"+lst2+"=" + lst;}else{lst = '';}
			url = url +id+"="+id2+lst;
			document.location = url;
}

function chargeproduit55(lst,lst2,id,id2){
	//alert(IDRecord);
	//document.getElementById('result').style.display = 'block';
			url = "restau-filtre55.php?";
			
			if(lst != ''){lst = "&"+lst2+"=" + lst;}else{lst = '';}
			url = url +id+"="+id2+lst;
			document.location = url;
}


function chargeproduit2(idmarques,champs,idsaison,idprix,idcat,idcouleur,idstyle,idsouscat){
	//alert(IDRecord);
//	document.getElementById('result').style.display = 'block';
	
			switch (champs){
		case 'idmarques':
			url = "shopping2.php?idmarques="+idmarques;
		break;
		case 'idsaison':
		
			url = "shopping2.php?idsaison="+idsaison+idmarques+idcat+idsouscat;
		break;
		case 'idprix':
		
			url = "shopping2.php?idprix="+idprix+idmarques+idsaison+idcat+idcouleur+idsouscat;
		break;
		case 'idcat':
		
			url = "shopping2.php?idcat="+idcat+idmarques;
		break;
		case 'idcouleur':
		
			url = "shopping2.php?idcouleur="+idcouleur+idmarques+idcat+idsaison+idsouscat;
		break;
		case 'idstyle':
		
			url = "shopping2.php?idstyle="+idstyle+idmarques+idprix+idcat+idcouleur+idsaison+idsouscat;
		break;
		case 'idsouscat':
		
			url = "shopping2.php?idsouscat="+idsouscat+idmarques+idcat;
		break;
		}
			document.location = url;
}
