function setCookie(c_name,value,days){if (days) {var date=new Date(); date.setDate(date.getDate()+days); var expires = "; expires="+exdate.toUTCString(); }else var expires = ""; document.cookie=c_name+ "=" +escape(value)+expires+"; path=/";  }function getCookie(name) {	var arg=name+"=";   var alen=arg.length; 	var clen=document.cookie.length; 	var i=0; 	while (i<clen) {		var j=i+alen; 		if (document.cookie.substring(i, j)==arg)                        return getCookieVal (j);                 i=document.cookie.indexOf(" ",i)+1;                         if (i==0) break;}	return null; }function getCookieVal(offset) {	var endstr=document.cookie.indexOf (";", offset); 	if (endstr==-1)      		endstr=document.cookie.length; 	valu=unescape(document.cookie.substring(offset, endstr));   return Number(valu)}function setparam(mdf, mds){setCookie('formmod',mdf); setCookie('shoemod',mds); }function affdetail(pict){var w; w=open('', 'image', 'width=100, height=100, menubar=no, toolbar=no, scrollbars=no, status=no, location=no, resizable=no');	w.document.open();w.document.write("<html xmlns='http://www.w3.org/1999/xhtml'><head>");w.document.write("<script type='text/javascript'>function checksize()  { if (document.images[0].complete) {  large=document.images[0].width; haut=document.images[0].height; ");w.document.write("window.resizeTo(large+31,haut+200); window.focus();} ");w.document.write("else { setTimeout('check()',250) } } </script></head>");w.document.write("<body onload='checksize()'  marginwidth='10' marginheight='10'><center><img src='../images/"+pict+"' border='0' />"); w.document.write("<br /><br /><input type='button' value='"+txclose[langue]+"' onclick='window.close()' /></center>"); w.document.write("</body></html>");w.document.close(); w.focus();}function taillesavail(){ptmin=pture[modmod][3]; ptl=pture[modmod].length-1; ptmax=pture[modmod][ptl]; document.write(ptmin+" - "+ptmax); }function taillesdisp(){taille=taillun[langue]; document.write("<option selected='selected'> </option>");for(i=3;i<=ptl;i++){ptpt=pture[modmod][i]; document.write("<option>"+ptpt); if(ptpt==28){document.write("/29/30 ("+taille+")");} else if (ptpt==31){document.write("/32 ("+taille+")");} else if (ptpt==33){document.write("/34 ("+taille+")");} else document.write("</option>");};}function prtcoul(couleur){lcd=couleur.length;coul=couleur[0];document.write(coulroue[coul][langue]);if (lcd>1) {for (i=1;i<lcd;i++){coul=couleur[i];document.write("<br /><br />" + coulroue[coul][langue]);}}}function prtlicoul(couleur){lcd=couleur.length;coul=couleur[0];document.write(coulroue[coul][langue]);if (lcd>1) {for (i=1;i<lcd;i++){coul=couleur[i];document.write(", " + coulroue[coul][langue]);}}}function selcoul(couleur){document.write("<option selected='selected'> </option>");lcd=couleur.length;for (i=0;i<lcd;i++){coul=couleur[i];document.write("<option>" + coulroue[coul][langue] + "</option>");}}function cmdcoul(formule,couleur){document.write("<option selected='selected'>" + coulroue[formule][langue] + "</option>"); lcd=couleur.length; if (lcd>1) {for (i=0;i<lcd;i++){coul=couleur[i]; if (!(coul==formule)) document.write("<option>" + coulroue[coul][langue] + "</option>");}}}