function fixDropDownLastLink(){if(window.innerWidth<985)return!1;var e=$(".top_menu_link_last").position();if(e){var n=$(".top_menu_link_last").width(),t=$(".top_menu_link_last > div").width(),i=0;t>n&&(i=t-n),$(".top_menu_link_last > div").css("left",e.left-i)}return!1}function topmenu_jsddm_open(e){return topmenu_jsddm_canceltimer(),topmenu_jsddm_close(),"top_menu_link_first"==e.attr("id")?!1:("top_menu_link_last"==e.attr("class")&&window.innerWidth>=800&&fixDropDownLastLink(),ddmenuitem=e.find("div").eq(0),""!=ddmenuitem.html()&&ddmenuitem.css("visibility","visible"),!1)}function topmenu_jsddm_close(){ddmenuitem&&ddmenuitem.css("visibility","hidden"),"function"==typeof window.topmenu_jsddm4_close&&(topmenu_jsddm4_close(),topmenu_jsddm5_close())}function topmenu_jsddm_timer(){closetimer=setTimeout(topmenu_jsddm_close,timeout)}function topmenu_jsddm_canceltimer(){closetimer&&(clearTimeout(closetimer),closetimer=null)}function topmenu_jsddm_hoveropen(){return window.innerWidth>=1024&&!isTouchSupported4?(topmenu_jsddm_open($(this)),!1):void 0}function showPopup(e){newwindow=window.open(e,"name","height=420,width=640,top=200,left=300,scrollbars=yes,resizable=yes"),window.focus&&newwindow.focus()}function topmenumain_signupPopup(e){var e=e||{},n=e.uri||"",t=e.ref||"",i=e.template||"";jQuery().fancybox||($("head").append('<link rel="stylesheet" type="text/css" href="/css/fancybox/jquery.fancybox.css" />'),topmenumain_loadJs("/js/fancybox/jquery.fancybox.js")),jQuery().poshytip||($("head").append('<link rel="stylesheet" type="text/css" href="/js/bubbleinfo/tip-whitesimple.css" />'),topmenumain_loadJs("/js/bubbleinfo/jquery.poshytip.min.js")),"function"!=typeof salespider_bubbleinfo&&topmenumain_loadJs("/js/functions.js"),"function"!=typeof optin_getoptins&&topmenumain_loadJs("/optin/js/optin.js"),"undefined"==typeof Base64&&topmenumain_loadJs("/js/base64.js"),"undefined"==typeof Base64url&&topmenumain_loadJs("/js/base64url.js"),"undefined"==typeof JSON.stringify&&topmenumain_loadJs("/js/json2.js"),jQuery().fancybox||(window.location="/index.php?nr=1"),$.fancybox.showLoading(),$.post("/signup/ajax/form.php",{ref:t,type:2,uri:n,template:i},function(e){return e?void $.fancybox({padding:0,content:e.message,beforeClose:function(){var e=$(".signupEmail_right ._skip").attr("href");""!==e&&(window.location=e)}}):(alert("There was a problem loading the form.  Please refresh and try again."),!1)},"json")}function topmenumain_loadJs(e){var n=new XMLHttpRequest;n.open("GET",e,!1),n.send("");var t=document.createElement("script");t.type="text/javascript",t.text=n.responseText,document.getElementsByTagName("head")[0].appendChild(t)}var topmenujsloaded=1,timeout=100,closetimer=0,ddmenuitem=0,isTouchSupported="ontouchstart"in window;document.onclick=function(){topmenu_jsddm_close()},fixDropDownLastLink(),window.innerWidth>=1024&&!isTouchSupported?($("#topmenu_jsddm > div").bind("mouseover",topmenu_jsddm_hoveropen),$("#topmenu_jsddm > div").bind("mouseout",topmenu_jsddm_timer)):$(".top_menu_toplink,.top_menu_toplink_selected").click(function(e){return window.innerWidth>=1024&&!isTouchSupported4?(thismenu=$(this).parent().find("div").eq(0),"visible"!=thismenu.css("visibility")?(thisdiv=$(this).parent(),topmenu_jsddm_open(thisdiv),!1):(topmenu_jsddm_timer(),!1)):void 0});;!function(e,t,c,n,o,a,s){e.GoogleAnalyticsObject=o,e[o]=e[o]||function(){(e[o].q=e[o].q||[]).push(arguments)},e[o].l=1*new Date,a=t.createElement(c),s=t.getElementsByTagName(c)[0],a.async=1,a.src=n,s.parentNode.insertBefore(a,s)}(window,document,"script","//www.google-analytics.com/analytics.js","ga"),ga("create","UA-186821-1","auto"),ga("send","pageview");var _comscore=_comscore||[];_comscore.push({c1:"2",c2:"11341862"}),function(){var e=document.createElement("script"),t=document.getElementsByTagName("script")[0];e.async=!0,e.src=("https:"==document.location.protocol?"https://sb":"http://b")+".scorecardresearch.com/beacon.js",t.parentNode.insertBefore(e,t)}();var _qevents=_qevents||[];!function(){var e=document.createElement("script");e.src=("https:"==document.location.protocol?"https://secure":"http://edge")+".quantserve.com/quant.js",e.async=!0,e.type="text/javascript";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}(),_qevents.push({qacct:"p-6efAakTyIj5Es"}),"function"==typeof OXM_invokePixel&&OXM_invokePixel("0c20135c1cf2627a6c6c035eb2ef8e55");;