1function getElementsByClass(b,d,a){b=b.getElementsByTagName(d);d=0;for(var e=b.length,c=[];d<e;d++)b[d].className==a&&c.push(b[d]);1==c.length&&(c=c[0]);return c} 2var imf=function(){function b(a,e,c,b,d,l,n){this.diapos=[];this.scr=!1;this.size=c;this.zoom=b;this.horizon=e;this.bdw=d;this.oCont=a;this.oc=document.getElementById(a);this.title=getElementsByClass(this.oc.parentNode,"div","carrouselTitle");this.price=getElementsByClass(this.oc.parentNode,"div","carrouselPrice");this.legend=getElementsByClass(this.oc.parentNode,"div","carrouselLegend");this.arL=getElementsByClass(this.oc.parentNode,"img","carrouselLeft");this.arR=getElementsByClass(this.oc.parentNode, 3"img","carrouselRight");this.alw=this.arL.width-5;this.arw=this.arR.width-5;this.arL.parent=this.arR.parent=this;this.view=this.back=-1;this.time_start=62.5*l||0;this.time_inter=62.5*n||0;this.time_out=this.time_start;this.time=0;this.time_dir=1;this.resize();this.oc.onselectstart=function(){return!1};a=getElementsByClass(this.oc,"div","bank").getElementsByTagName("div");this.NF=a.length;e=0;for(var k;k=a[e];e++){var p;c="- "+e+" -";d=b="";l=k.getElementsByTagName("a");n="";var m=k.getElementsByTagName("span"); 4k=k.getElementsByTagName("img");for(var q="",t="",g=0;g<k.length;g++)"sold"==k[g].className?q=k[g]:"sold2"==k[g].className?q=k[g]:(p=k[g].src,t=k[g].className);0<l.length&&(n=l[0]);for(g=0;g<m.length;g++)"legend"==m[g].className?b=m[g].innerHTML:"price"==m[g].className?d=m[g].innerHTML:"name"==m[g].className?c=m[g].innerHTML:""==n&&"l"==m[g].className&&(n=m[g]);this.diapos[e]=new Diapo(this,e,p,c,b,n,"_self",d,q,t)}this.arR.onclick=this.arR.ondblclick=function(){this.parent.view<this.parent.NF-1? 5this.parent.calc(1):(this.parent.view=0,this.parent.calc())};this.arL.onclick=this.arL.ondblclick=function(){0<this.parent.view?this.parent.calc(-1):(this.parent.view=this.parent.NF-1,this.parent.calc())}}var d=[];b.prototype={calc:function(a){a&&(this.view+=a,this.time=0,this.time_out=this.time_start);if((a=this.diapos[this.view])&&a.loaded){if(""!=a.catid&&carrouselSelect.className!="centre_"+a.catid+" select")return!1;var e=this.diapos[this.back];e&&e!=a&&(e.img.className="diapo",e.z1=1);this.title.innerHTML= 6a.title;this.legend.style.color="";this.legend.style.fontSize="";this.legend.innerHTML=a.text;this.price.innerHTML=a.price;a.url?(a.img.className="diapo link",window.status="hyperlink: "+a.url):(a.img.className="diapo",window.status="");a.w1=1>a.r?Math.min(a.iw,.8*this.wh,Math.round(this.ht*this.horizon/a.r))*a.z1:Math.round(this.ht*this.horizon/a.r)*a.z1;for(var e=a.x1=.5*this.wh-.5*a.w1,c=e+a.w1+this.bdw,b=this.view+1;a=this.diapos[b];b++)a.loaded&&(a.x1=c,a.w1=this.ht/a.r*this.size,c+=a.w1+this.bdw); 7c=e-this.bdw;for(b=this.view-1;a=this.diapos[b];b--)a.loaded&&(a.w1=this.ht/a.r*this.size,a.x1=c-a.w1,c-=a.w1+this.bdw);this.back=this.view}},resize:function(){this.wh=this.oc.clientWidth;this.ht=this.oc.clientHeight;this.calc();this.run(!0)},run:function(a){for(var b=this.NF;b--;)this.diapos[b].move(a);if(this.time_out&&(this.time++,this.time>this.time_out)){this.view+=this.time_dir;if(this.view>=this.NF||0>this.view)this.time_dir=-this.time_dir,this.view+=2*this.time_dir;this.calc();this.time=0; 8this.time_out=this.time_inter}}};Diapo=function(a,b,c,d,f,l,n,k,p,m){this.parent=a;this.loaded=!1;this.title=d;this.text=f;this.price=k;this.sold="";this.url=l;this.target=n;this.N=b;this.img=document.createElement("img");this.img.src=c;this.img.parent=this;this.img.className="diapo";this.catid=m;this.x1=this.x0=this.parent.oc.clientWidth;this.w1=this.w0=0;this.z1=1;this.z2=0;this.img.parent=this;this.img.onclick=function(){this.parent.click()};""!=p&&(this.sold=document.createElement("img"),this.sold.src= 9p.src,this.sold.className=p.className,this.sold.parent=this,this.sold.onclick=function(){this.parent.click()});this.parent.oc.appendChild(this.img);""!=p&&this.parent.oc.appendChild(this.sold);l&&(this.img.onmouseover=function(){this.className="diapo link"},this.img.onmouseout=function(){this.className="diapo"})};Diapo.prototype={move:function(a){var b=this.parent;if(this.loaded&&this.flx){var c=this.x1-this.x0,d=this.w1-this.w0;if(2<Math.abs(c)||2<Math.abs(d)||a)this.x0+=.1*c,this.w0+=.1*d,a=this.w0* 10this.r,this.z2=Math.ceil(.5*(b.ht*b.horizon+1-this.z2-a)),this.x0<b.wh&&0<this.x0+this.w0?(this.visible=!0,c=this.img.style,c.left=Math.floor(this.x0)+"px",c.bottom=Math.floor(b.ht*(1-b.horizon)+this.z2)+"px",c.width=Math.floor(this.w0)+"px",c.height=Math.floor(a)+"px",this.sold&&(this.sold.style.left=c.left,this.sold.style.bottom=c.bottom,this.sold.style.width=""),this.flx&&(c=this.flx.style,c.left=Math.floor(this.x0)+"px",c.top=Math.ceil(b.ht*b.horizon+1-this.z2)+"px",c.width=Math.floor(this.w0)+ 11"px",c.height=Math.floor(a)+"px")):this.visible&&(this.visible=!1,this.img.style.width="0px",this.flx&&(this.flx.style.width="0px"),this.sold&&(this.sold.style.width="0px")),this.parent.view==this.N?this.flx&&(this.flx.style.display="none"):this.flx&&(this.flx.style.display="")}else if(this.img.complete&&this.img.width&&24<this.img.width){this.iw=this.img.width;this.ih=this.img.height;this.r=this.ih/this.iw;""!=this.sold&&("sold"==this.sold.className?(this.ratioH=57/(b.ht*b.horizon),this.ratioW=78/ 1257):(this.ratioH=54/(b.ht*b.horizon),this.ratioW=88/54));this.loaded=!0;a:{a=b.oc;var c=this.img,d=this.catid,f=!1;if(document.createElement("canvas").getContext){f=document.createElement("canvas");f.width=c.width;f.height=c.height;var l=f.getContext("2d");l.translate(0,c.height);l.scale(1,-1);l.drawImage(c,0,0,c.width,c.height);f.style.opacity="0.35"}else{if("undefined"==typeof document.body.style.maxHeight){a=f;break a}f=document.createElement("img");f.src=c.src;f.style.filter="flipv progid:DXImageTransform.Microsoft.Alpha(opacity=50, style=1, finishOpacity=0, startx=0, start
12y=0, finishx=0, finishy="+ 13c.height+")"}f.style.position="absolute";f.style.left="-4000px";""!=d&&carrouselSelect.className!="centre_"+d+" select"?a=!1:(a.appendChild(f),a=f)}this.flx=a;0>b.view?b.view=this.N:0==this.N&&(b.view=this.N);b.calc()}},click:function(){this.parent.time=0;this.parent.time_out=this.parent.time_start;if(this.parent.view==this.N)if(this.url)if(void 0!=this.url.onclick)this.url.onclick();else window.open(this.url,this.target);else this.z1=1==this.z1?this.parent.zoom:1,this.parent.calc();else this.parent.view= 14this.N,this.parent.calc();return!1}};return{create:function(a,e,c,h,f,l,n){(function(){d[a]=new b(a,e,c,h,f,l,n);imf.initialized||(imf.initialized=!0,addEvent(window,"resize",function(){for(var a=d.length;a--;)d[a].resize()}),addEvent(document.getElementById(a),"mouseout",function(a){a||(a=window.event);if((a=a.relatedTarget||a.toElement)&&"HTML"==a.tagName)for(var b in d)d[b].oc.onmousemove=null;return!1}),setInterval(function(){for(var a in d)d[a].run()},16))})();this.time=0;this.time_out=this.time_start}}}(); 15function getXhr(){var b=null;if(window.XMLHttpRequest)b=new XMLHttpRequest;else if(window.ActiveXObject)try{b=new ActiveXObject("Msxml2.XMLHTTP")}catch(d){b=new ActiveXObject("Microsoft.XMLHTTP")}else alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest..."),b=!1;return b}var carrouselSelect="",carrouselMenuSize="",bank="",pays="",language=""; 16function launchCarrousel(b,d){""==carrouselSelect&&(carrouselSelect=document.getElementById("carrouselSelect"));if(""!=bank){var a=bank.parentNode.parentNode;bank.parentNode.removeChild(bank);document.getElementById("carrouselPromo").innerHTML="";getElementsByClass(a,"div","name").innerHTML="Chargement...";getElementsByClass(a,"div","carrouselPrice").innerHTML=" ";getElementsByClass(a,"div","carrouselLegend").innerHTML="Veuillez patienter...";getElementsByClass(a,"div","carrouselLegend").style.color= 17"black";getElementsByClass(a,"div","carrouselLegend").style.fontSize="1em"}bank=document.createElement("div");bank.id="carrouselBank";bank.className="bank";document.getElementById("carrouselPromo").appendChild(bank);var e=getXhr();e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){d=d.replace(/\/category\//,"/promo/");var a=e.responseText,b=a.toLowerCase(),f=b.indexOf("<body"),b=b.lastIndexOf("</body>");-1!=f&&-1!=b&&(f=a.indexOf(">",f),a=a.slice(f+1,b));document.getElementById("carrouselBank").innerHTML= 18a;imf.create("carrouselPromo",.5,.5,1,10,2,2)}};time=new Date;time=time.getTime();""!=pays||""!=language||"undefined"!==typeof category&&""!=category?(a="/cgi/promo.cgi?centreid="+b,""!=pays&&(a=a+"&pays="+pays),""!=language&&(a=a+"&language="+language),"undefined"!==typeof category&&""!=category&&(a=a+"&category="+category),a=a+"&time="+time):a="/carrousel_"+b+".html?"+time;e.open("GET",a,!0);e.send(null);return!1}var first,last; 19function menuCarrousel(b,d){var a="centre_"+b,e=document.getElementById("carrouselSelect");if(void 0!=e&&e.className==a+" select")return!1;for(var c="",h=document.getElementById("carrouselMenu").getElementsByTagName("LI"),f=0;f<h.length;f++)h[f].className==a&&(c=h[f],f=h.length);if(""==c)return!1;void 0!=e&&(e.id="",e.className=e.className.replace(/ select$/,""));c.id="carrouselSelect";c.className+=" select";a=c.getElementsByTagName("SPAN")[0];e=document.getElementById("catLink");e.href=d;e.innerHTML= 20a.innerHTML;document.getElementById("promoLink").href=d.replace(/\/category\//,"/promo/");carrouselSelect=c;launchCarrousel(b,d);return!1}var moveProductTimer; 21function moveProduct(b,d){if("left"!=d&&"right"!=d)return!1;clearMoveProduct();var a=document.getElementById(b+"Product"),e=a.parentNode;if(!(a.offsetWidth<=e.offsetWidth)){var c=parseInt(a.style.left);isNaN(c)&&(c=0);var h=c+a.offsetWidth;containerWidth=e.offsetWidth-26;"right"==d?h<=containerWidth?(a.style.left=containerWidth-a.offsetWidth+"px",document.getElementById(b+"Right").src="/images/noGoRight.gif",document.getElementById(b+"Right").className="noGoRight"):(h-100<containerWidth?(a.style.left= 22containerWidth-a.offsetWidth+"px",document.getElementById(b+"Right").src="/images/noGoRight.gif",document.getElementById(b+"Right").className="noGoRight"):(a.style.left=c-100+"px",moveProductTimer=setTimeout(function(){moveProduct(b,d)},50)),document.getElementById(b+"Left").src="/images/goLeft.gif",document.getElementById(b+"Left").className="goLeft"):0<=c?(a.style.left="0px",document.getElementById(b+"Left").src="/images/noGoLeft.gif",document.getElementById(b+"Left").className="noGoLeft"):(0<= 23c+100?(a.style.left="0px",document.getElementById(b+"Left").src="/images/noGoLeft.gif",document.getElementById(b+"Left").className="noGoLeft"):(a.style.left=c+100+"px",moveProductTimer=setTimeout(function(){moveProduct(b,d)},50)),document.getElementById(b+"Right").src="/images/goRight.gif",document.getElementById(b+"Right").className="goRight")}}function clearMoveProduct(){clearTimeout(moveProductTimer)} 24function calculMoveProduct(){for(var b=0;b<listProduct.length;++b){var d=listProduct[b],a=document.getElementById(d+"Product");
24if("undefined"!==a&&null!=a){var e=a.parentNode;if(a.offsetWidth<=e.offsetWidth)document.getElementById(d+"Left").src="/images/noGoLeft.gif",document.getElementById(d+"Left").className="noGoLeft",document.getElementById(d+"Right").src="/images/noGoRight.gif",document.getElementById(d+"Right").className="noGoRight";else{var c=parseInt(a.style.left);isNaN(c)&&(c=0);var h=c+ 25a.offsetWidth,e=e.offsetWidth-26;document.getElementById(d+"Left").src="/images/goLeft.gif";document.getElementById(d+"Left").className="goLeft";document.getElementById(d+"Right").src="/images/goRight.gif";document.getElementById(d+"Right").className="goRight";h<=e&&(a.style.left=e-a.offsetWidth+"px",document.getElementById(d+"Right").src="/images/noGoRight.gif",document.getElementById(d+"Right").className="noGoRight");0<=c&&(a.style.left="0px",document.getElementById(d+"Left").src="/images/noGoLeft.gif", 26document.getElementById(d+"Left").className="noGoLeft")}}}} 27function bestPromo(){var b=getXhr();b.onreadystatechange=function(){if(4==b.readyState&&200==b.status)for(var a=b.responseText.split("</td>"),d=document.getElementById("bestPromoProduct").rows[0],c=0;c<a.length-1;c++){var h=d.insertCell(-1);h.className=c<a.length-2?"case orangeRightBorder":"case";h.innerHTML=a[c].replace(/<td[^>]*>/,"")}};time=new Date;time=time.getTime();var d;d="/cheaper.html?time="+time;b.open("GET",d,!0);b.send(null)} 28function selectMonthShop(b){--b;for(var d=document.getElementById("listMonthShop").getElementsByTagName("SPAN"),a=document.getElementById("monthShop").getElementsByTagName("TABLE"),e=0;e<a.length;e++)"none"!=a[e].style.display&&(a[e].style.display="none",e=a.length);for(e=0;e<d.length;e++)""!=d[e].style.backgroundColor&&(d[e].style.backgroundColor="",e=d.length);d[b].style.backgroundColor="#C45E29";if(void 0!=document.getElementById("monthShop_"+b))document.getElementById("monthShop_"+b).style.display= 29"";else{var c=getXhr();c.onreadystatechange=function(){4==c.readyState&&200==c.status&&(document.getElementById("monthShop").innerHTML+=c.responseText)};time=new Date;time=time.getTime();b="/cgi/monthShop.cgi?p="+b+"&time="+time;c.open("GET",b,!0);c.send(null)}}function initMoveProduct(){addEvent(window,"load",function(){calculMoveProduct()});addEvent(window,"resize",function(){calculMoveProduct()})} 30function launchCarrouselAleatoire(){var b=document.getElementById("carrouselMenu").getElementsByTagName("span"),d=parseInt(Math.random()*b.length),b=b[d].getAttribute("onClick").toString(),b=b.split("menuCarrousel("),b=b[1],b=b.split(")"),b="menuCarrousel("+b[0]+")";eval(b)}function addEvent(b,d,a){window.addEventListener?b.addEventListener(d,a,!1):window.attachEvent&&(r=b.attachEvent("on"+d,a))};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.