SiteLock
function ucc(){var a;if(typeof window.sessionStorage!="undefined")a=sessionStorage.getItem("scmYG")||"";else a=$.cookie("scmYG");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 onChangeSiteLang(href){var i=location.href.indexOf("?");if(i>0)href+=location.href.substr(i);document.location.href=href;}ucc();if(typeof window.sessionStorage!="undefined")$("#button-cart").popover({placement:"bottom",html:true,content:function(){return sessionStorage.getItem("scmYG-popover")||"YOUR SHOPPING CART IS EMPTY"},trigger:"hover"});$("#searchbox>input").click(function(){$(this).select();});var clickmessage="Right click disabled on images!";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){if(typeof twLzyLoad!=="undefined"){window.addEventListener("load",twLzyLoad);window.addEventListener("scroll",twLzyLoad);window.addEventListener("resize",twLzyLoad);}$("#toolbar1,#toolbar2,#toolbar3,#footersmall,#footerfat").hide();var idbmk=location.href;idbmk=idbmk.substring(idbmk.lastIndexOf("#")+1,idbmk.lastIndexOf("?"));if(idbmk!="")$("html,body").animate({scrollTop:$("#"+idbmk).offset().top},0);}$(".dropdown-toggle").dropdown();function isElemVisible(el,treshold){var rc=el.getBoundingClientRect();return(rc.top<=window.innerHeight-treshold*(rc.bottom-rc.top)/100);}function twLzyLoad(){var elems=[].slice.call(document.querySelectorAll("img[data-src]"));elems.forEach(function(e){if(isElemVisible(e,0)){var scs=e.getAttribute("data-srcset");e.setAttribute("src",e.getAttribute("data-src"));e.removeAttribute("data-src");if(scs){e.setAttribute("srcset",scs);e.removeAttribute("data-srcset");}}})}window.addEventListener("load",twLzyLoad);window.addEventListener("scroll",twLzyLoad);window.addEventListener("resize",twLzyLoad);if(typeof onTOWebPageLoaded=="function")onTOWebPageLoaded();});