function ucc(){var a=sessionStorage.getItem("6774-cart")||"";if(!a||a=="")b=0;else{var b=0;var c=0;do{c=a.indexOf(")",c);if(c>0){e=c-1;while(e>=0&&a[e]!="=")e--;b+=parseInt(a.substring(e+1,c));c++}}while(c>0)}$("#sc_pcount").text(b)}function decMail2(e){var s=""+e.href,n=s.lastIndexOf("/"),w;if(s.substr(0,7)=="mailto:")return(true);if(n>0)s=s.substr(n+1);s=s.replace("?",":").replace("#","@").replace(/[a-z]/gi,function(t){return String.fromCharCode(t.charCodeAt(0)+(t.toLowerCase()<"n"?13:-13));});e.href=s;return(true);}function onChangeSiteLang(href){var i=location.href.indexOf("?");if(i>0)href+=location.href.substr(i);document.location.href=href;}ucc();$("#button-cart").popover({placement:"bottom",html:true,content:function(){return sessionStorage.getItem("6774-popover")||"VOTRE PANIER EST VIDE"},trigger:"hover"});$("#searchbox>input").click(function(){$(this).select();});$("#searchbox").click(function(e){if(e.offsetX>e.target.width){}else $("#searchbox").submit()});var clickmessage="Le clic droit n'est pas autorisé sur les images de ce site!";function disableclick(e){if(document.all){if(event.button==2||event.button==3){if(event.srcElement.tagName=="IMG"){if(clickmessage!="")alert(clickmessage);return false;}}}else if(document.layers){if(e.which==3){if(clickmessage!= "")alert(clickmessage);return false;}}else if(document.getElementById){if(e.which==3&&e.target.tagName=="IMG" ){if(clickmessage!="")alert(clickmessage);return false;}}}function associateimages(){for(i=0;i0&&location.href.indexOf("twtheme=no")>0){$("#dlgcookies").hide();$("#toolbar1,#toolbar2,#toolbar3,#footersmall,#footerfat").hide();var idbmk=location.href;idbmk=idbmk.substring(idbmk.lastIndexOf("#")+1,idbmk.lastIndexOf("?"));if(idbmk!=""){idbmk=idbmk.split("?")[0];if($("#"+idbmk+"_container").length)idbmk+="_container";$("html,body").animate({scrollTop:$("#"+idbmk).offset().top},0);}}$(".dropdown-toggle").dropdown();if(getCookieConsent("ads"))$("#cksw-ads").attr("checked",true);customCookies(true);if(!getCookieConsent("cookieconsent")){$("#site").prepend("
Ce site utilise des cookies. En continuant à naviguer sur ce site, vous acceptez notre utilisation des cookies. Suite...