function lazyLoad(){for(var t=document.querySelectorAll("img[data-src]"),n=0;n<t.length;n++)isToBeShown(t[n])&&(t[n].src=t[n].getAttribute("data-src"),t[n].removeAttribute("data-src"))}function isToBeShown(n){return isInViewport(n)&&!isHiddenInDOM(n)}function isInViewport(n){var t=n.getBoundingClientRect();return t.bottom>=0&&t.right>=0&&t.top-30<=(window.innerHeight||document.documentElement.clientHeight)&&t.left<=(window.innerWidth||document.documentElement.clientWidth)}function isHiddenInDOM(n){return n.offsetParent===null}function registerListener(n,t){window.addEventListener?window.addEventListener(n,t):window.attachEvent("on"+n,t)}$(function(){$("[data-countdown-end]").each(function(){function e(){var n=r,s=Math.floor(n/u),e,h;n-=s*u;e=Math.floor(n/f);n-=e*f;h=Math.floor(n/c);t.text()!==s+""&&t.text(s);i.text()!==e+""&&i.text(e);o.text(h)}var n=$(this),t=n.find("[data-countdown-hours]"),i=n.find("[data-countdown-minutes]"),o=n.find("[data-countdown-seconds]"),s=new Date(Date.parse(n.data("countdown-end"))),h=new Date,r=s-h,u=36e5,f=6e4,c=1e3;setInterval(function(){r-=1e3;e()},1e3);e()})});registerListener("load",lazyLoad);registerListener("scroll",lazyLoad);registerListener("click",lazyLoad);registerListener("bsireload",lazyLoad),function(){"use strict";angular.module("app360").controller("homeMkEventsController",["$scope","dataLayerService",function(n,t){n.init=function(){t.pushDynamic([],[],[],[],[],"","NoProduct","Homepage")}}])}();$(function(){var n=$(".review-slider").bxSlider({slideWidth:270,minSlides:1,maxSlides:3,slideMargin:10,pager:!1,infiniteLoop:!1,hideControlOnEnd:!0,auto:!0,controls:!1,onSliderLoad:function(){var n=$(".review-slider").parent();n.height(n.height()+10)}});window.addEventListener("resize",function(){n.reloadSlider()},!0)})