function setHeaderHeight(n){if(n==="desktop"||n==="968"){var t=$headerInner.outerHeight();$headerSpacing.css("min-height",t)}}function footerMobileNavigation(n){$(".mobileMenuButtonFooter").on("click",function(n){n.stopImmediatePropagation();$(this).toggleClass("open");$(".footerLinksPhone").toggleClass("showNav").slideToggle(750)});$(".touch").length>0||n==="767"||n==="640"||($(".mobileMenuButtonFooter").removeClass("open"),$(".footerLinksPhone").css({display:"",overflow:"visible"}))}function getLegalFooterHeight(n){var t=0;n==="767"||n==="640"?(t=$("#mobileMenuFooter").outerHeight(),$(".footerRight").css("padding-top",t)):$(".footerRight").css("padding-top","")}var $headerInner=$("#siteHeadInner"),$headerSpacing=$("#headerSpacing"),$nav=$("#navigation"),$body=$("body"),$mobileOpener=$("#mobileHeader .mobileMenuButton"),$mobileHeaderShare=$("#mobileHeader .socialLinks"),$stayInformedContour=$(".stayInformedForm .contour"),$stayInformedText=$(".stayInformedForm .stayInformedText"),$stayInformedClose=$(".stayInformedClose"),navName,navTimer,childCount,timer,width=$(window).width(),height=$(window).height(),stayInformed,navigation;$(function(){updateMobileDropdowns($(".navDropdown, .subNavDropdown"));setNavClassShared($("#topLinksList"),!0);setHeaderHeight(currentMediaQuery);navigation.handleNavigation(currentMediaQuery);stayInformed.initializeForm(currentMediaQuery)});$(window).on("resize",function(){stayInformed.checkForm(currentMediaQuery);setHeaderHeight(currentMediaQuery);($(window).width()!=width||$(window).height()!=height)&&(width=$(window).width(),height=$(window).height(),navigation.handleNavigation(currentMediaQuery))});$(window).on("load",function(){setHeaderHeight(currentMediaQuery)});stayInformed={initializeForm:function(n){this.openContourForm();this.openContourFormMobile();this.checkForm(n)},openContourForm:function(){$(".stayInformedForm .contourField").on("click",function(){$(".stayInformedForm .contourField").animate({width:"115px",marginLeft:"5px",marginRight:"5px"},{complete:function(){}})})},openContourFormMobile:function(){if($(".stayInformedForm .contourMessageOnSubmit").length===0){$stayInformedText.on("click",function(){$(this).parent().addClass("open");$stayInformedContour.slideDown()});$stayInformedClose.on("click",function(){$(this).parent().removeClass("open");$stayInformedContour.slideUp()})}},resizeContourForm:function(n){var t=n==="767"||n==="640";t?this.openContourFormMobile():t||($stayInformedText.unbind("click"),$stayInformedClose.unbind("click"),$(".stayInformedForm").removeClass("open"),$stayInformedContour.css({display:"",overflow:""}))},checkForm:function(n){$(".stayInformedForm .contourMessageOnSubmit").length>0?$(".stayInformedForm").addClass("submitedForm"):this.resizeContourForm(n)}};navigation={handleNavigation:function(n){if(n!=="767"&&n!=="640"){if($body.hasClass("desktopNavigation"))return this.secondLevelNavigationPosition(),!1;this.unBindPhoneNavigation();$body.addClass("desktopNavigation");preventNavigationContainerClicks();this.secondLevelNavigationPosition();this.bindDesktopNavigation()}else{if($body.hasClass("phoneNavigation"))return navigation.setMinHeightNav(),!1;$body.addClass("phoneNavigation");this.unBindDesktopNavigation();this.bindPhoneNavigation();this.alignMenuOpener()}return!1},alignMenuOpener:function(){if($mobileHeaderShare.length>0){var n=$mobileOpener.outerHeight(),t=$mobileHeaderShare.outerHeight();n>t?$mobileHeaderShare.css("line-height",n+"px"):$mobileOpener.css("line-height",t+"px")}},bindPhoneNavigation:function(){$(".mobileMenuButton").on("click",function(){$(this).toggleClass("open");$nav.slideToggle(500,function(){navigation.setMinHeightNav()})});$(".hasDrop:not(.noMobileDrop) > a").on("touchend click",function(n){n.preventDefault();n.stopImmediatePropagation();$(this).parent().toggleClass("displayDrop");$(this).next().slideToggle(500,function(){navigation.setMinHeightNav()}).addClass("openNav");$(this).parent().siblings().removeClass("displayDrop").find(".openNav").slideUp(500,function(){navigation.setMinHeightNav()}).removeClass("openNav")})},unBindPhoneNavigation:function(){$(".openNav").removeClass("openNav");$(".subNavDropdown, .navDropdown").css({overflow:"",display:"",height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""});$nav.css({overflow:"",display:""});$mobileHeaderShare.css("line-height","");$mobileOpener.css("line-height","");$("body").removeClass("phoneNavigation");$(".hasDrop").removeClass("displayDrop");$(".hasDrop > a").off("touchend click");$(".mobileMenuButton").off("click").removeClass("open");$("#container").css("min-height","")},bindDesktopNavigation:function(){var n="displayDrop",t=!1,i;if($(".touch").length>0){i="click";"ontouchstart"in document.documentElement?i="touchend":(t=!0,n="displayDrop touched");$(".hasDrop.mainNavLiItem > a").on(i,function(t){return(t.preventDefault(),t.stopImmediatePropagation(),clearTimeout(timer),$(this).parent().hasClass("displayDrop"))?($(this).parent().removeClass(n),!1):($(this).parent().addClass(n).siblings().removeClass(n),!1)});$(".hasDrop.secondLevelLi > a").on(i,function(n){if(n.preventDefault(),n.stopImmediatePropagation(),$(this).parent().hasClass("subNavOpened"))return $(this).parent().removeClass("subNavOpened").find(".subNavDropdown").stop().animate({height:0},1100),!1;var t=0;return $(this).parent().find(".subNavDropdown").children().each(function(){t+=$(this).outerHeight()}),$(this).parent().addClass("subNavOpened").find(".subNavDropdown").stop().animate({height:t},750),!1})}$(".hasDrop.mainNavLiItem").on("mouseenter",function(){var i=$(this);t?timer=setTimeout(function(){i.addClass(n)},150):(navName=i.text().trim(),window.clearTimeout(navTimer),i.addClass(n).siblings().removeClass(n))}).on("mouseleave",function(){var i=$(this);t?timer=setTimeout(function(){i.removeClass(n)},150):(navName="",navTimer=window.setTimeout(function(){navName!=i.text().trim()&&i.removeClass(n)},750))});$(".hasDrop.secondLevelLi").on("mouseenter",function(){var n=0;childCount=0;$(this).find(".subNavDropdown").children().each(function(){(!$(this).hasClass("dropDownTouchOnly")||t)&&(n+=$(this).outerHeight(),childCount++)});$(this).hasClass("subNavOpened")||$(this).find(".subNavDropdown").stop().animate({height:n},750+250*childCount)}).on("mouseleave",function(){childCount=$(this).find("li:not(.dropDownTouchOnly)").length;$(this).removeClass("subNavOpened").find(".subNavDropdown").stop().animate({height:0},1100+250*childCount)})},unBindDesktopNavigation:function(){$body.removeClass("desktopNavigation");$(".subNavDropdown, .navDropdown").css({overflow:"",display:"",height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""});$(".hasDrop").off("mouseenter mouseleave");$(".hasDrop > a").off("touchend click")},secondLevelNavigationPosition:function(){var n=$(window).width(),t=238;$(".mainNav > li.hasDrop").each(function(){var i=$(this).offset(),r=i.left+t;r>n?$(this).find(".navDropdown").addClass("dropLeft"):$(this).find(".navDropdown").removeClass("dropLeft")})},setMinHeightNav:function(){if($(".mobileMenuButton").hasClass("open")){var n=$nav.offset().top+$nav.outerHeight();$("#container").css("min-height",n)}else $("#container").css("min-height","")}};$(function(){footerMobileNavigation(currentMediaQuery);getLegalFooterHeight(currentMediaQuery)});$(window).on("resize",function(){footerMobileNavigation(currentMediaQuery);getLegalFooterHeight(currentMediaQuery)}) /* FILE ARCHIVED ON 03:05:11 Feb 09, 2019 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 10:08:44 Jan 31, 2020. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): PetaboxLoader3.datanode: 239.679 (5) LoadShardBlock: 171.115 (3) CDXLines.iter: 34.719 (3) PetaboxLoader3.resolve: 326.805 (2) exclusion.robots: 0.359 captures_list: 287.663 load_resource: 460.35 exclusion.robots.policy: 0.335 RedisCDXSource: 74.899 esindex: 0.023 */