var x=0;document.addEventListener("DOMContentLoaded",function(){var lazyloadImages=document.querySelectorAll("img.lazyimg");var lazyloadThrottleTimeout;function lazyloadimg(){if(lazyloadThrottleTimeout){clearTimeout(lazyloadThrottleTimeout)} lazyloadThrottleTimeout=setTimeout(function(){var scrollTop=window.pageYOffset;lazyloadImages.forEach(function(img){if(img.offsetTop<(window.innerHeight+scrollTop)){img.src=img.dataset.src;img.classList.remove('lazyimg')}});if(lazyloadImages.length==0){document.removeEventListener("scroll",lazyloadimg);window.removeEventListener("resize",lazyloadimg);window.removeEventListener("orientationChange",lazyloadimg)}},20)} document.addEventListener("scroll",lazyloadimg);window.addEventListener("resize",lazyloadimg);window.addEventListener("orientationChange",lazyloadimg)});document.addEventListener('DOMContentLoaded',function(){var head=document.getElementsByTagName('head')[0];var link=document.createElement('link');link.rel='stylesheet';link.type='text/css';link.href='https://anttununsq.cloudimg.io/https://freshjuice.fr/Oswald.css?func=proxy&process=minify-js&v5';head.appendChild(link)});$(".color-pink").click(function(){$(this).css("color","white");$(".color-white").css("color","white");if(window.location.href.includes("fresh-juice.ca")) $(".blackwhite").html("Pink");else $(".blackwhite").html("Rose");src="https://freshjuice.fr/images/fresh-juice-blender-pink_540x.webp";$(".headset").attr("src",src)});$(".color-white").click(function(){$(this).css("color","pink");$(".color-pink").css("color","pink");if(window.location.href.includes("fresh-juice.ca")) $(".blackwhite").html("White");else $(".blackwhite").html("Blanc");src="https://freshjuice.fr/images/fresh-juice-blender-white_540x.webp";$(".headset").attr("src",src)});$(".color-yellow").click(function(){$(this).css("color","pink");$(".color-pink").css("color","pink");if(window.location.href.includes("fresh-juice.ca")) $(".blackwhite").html("Yellow");else $(".blackwhite").html("Jaune");src="https://freshjuice.fr/images/fresh-juice-mixeur-jaune.webp";$(".headset").attr("src",src)});$(".color-black").click(function(){$(this).css("color","pink");$(".color-pink").css("color","pink");if(window.location.href.includes("fresh-juice.ca")) $(".blackwhite").html("Black");else $(".blackwhite").html("Noir");src="https://freshjuice.fr/images/fresh-juice-blender-noir.png";$(".headset").attr("src",src)})