text: var $window=$(window);window.cust=window.cust?window.cust:{};var gW=$window.outerWidth(!0),gH=$window.outerHeight(!0);$window.on("resize",function(){gIw=$window.innerWidth(!0),gIh=$window.innerHeight(!0)});var loadComponent=function(e){$("."+e.name).length>0&&require(e.req,function(e){e()})},detectBrowser=function(){var e=window.navigator.userAgent,t=$("html");e.indexOf("MSIE ")>0&&t.addClass("msie msie"+parseInt(e.substring(e.indexOf("MSIE ")+5,e.indexOf(".",e.indexOf("MSIE "))),10)),e.indexOf("Trident/")>0&&t.addClass("ie ie"+parseInt(e.substring(e.indexOf("rv:")+3,e.indexOf(".",e.indexOf("rv:"))),10)),e.indexOf("Edge/")>0&&t.addClass("edge"),-1!=e.toLowerCase().indexOf("safari")&&(e.toLowerCase().indexOf("chrome")>-1?t.addClass("chrome"):t.addClass("safari"))};detectBrowser();var getScrollBarWidth=function(){var e=document.createElement("p");e.style.height="200px",e.style.width="100%";var t=document.createElement("div");t.style.visibility="hidden",t.style.position="absolute",t.style.overflow="hidden",t.style.height="150px",t.style.width="200px",t.style.left="0px",t.style.top="0px",t.appendChild(e),document.body.appendChild(t);var i=e.offsetWidth;t.style.overflow="scroll";var n=e.offsetWidth;return i==n&&(n=t.clientWidth),document.body.removeChild(t),i-n};getScrollBarWidth();var is_scroll=function(){return $(document).height()>$(window).height()};