var ScrollboxHideActive;$(function(){$(document).foundation(),$(document).foundation("reveal",{rootElement:"#webform"}),LazyLoadImages(),PrintLazyLoadedImages(),EnableCustomSearchSelectBox()}),$(window).load(function(){RepositionLinkToTop(),ShowLinkToTop(),scrollToAnchor(),ScrollboxHideActive(),DisplayAdvertisingBlock()}),$(window).scroll(function(){RepositionLinkToTop()}),$(window).resize(function(){RepositionLinkToTop()}),ScrollboxHideActive=function(){$(".sbFocus").addClass("sbActive")},$("sbOptions").change(function(){$(".sbSelector").addClass()});var LazyLoadImages=function(){$(".contentFigures, .inlineGraphics, .lazy").lazyload({skip_invisible:!1}),$(document).trigger("scroll")},PrintLazyLoadedImages=function(){var t=function(){$(".lazy").each(function(){$(this).attr("src",$(this).attr("data-original"))})},n;window.matchMedia&&(n=window.matchMedia("print"),n.addListener?n.addListener(function(n){n.matches&&t()}):n.attachEvent&&n.attachEvent(function(n){n.matches&&t()})),window.onbeforeprint=t},EnableCustomSearchSelectBox=function(){$(".search-resource").selectbox()},scrollToAnchor=function(){var n=$(".link-to-top");n.length>0&&n.click(function(n){n.preventDefault(),n.stopPropagation(),$("html, body").animate({scrollTop:0},"slow")})},ShowLinkToTop=function(){var n=$(".link-to-top.tab-up");n.length>0&&$(window).scroll(function(){var t=$(window).scrollTop();t>550?n.fadeIn():n.fadeOut()})},RepositionLinkToTop=function(){var n=$(".link-to-top.tab-up"),t;n.length>0&&Modernizr.mq("only all and (min-width: 641px)")&&(t=$(".info-column, .leftColumn").first().offset().left+25,n.css("left",t))},DisplayAdvertisingBlock=function(){$(".div-gpt-ad-content-towers").append($('<div id="div-gpt-ad-content-tower" />')),googletag.cmd.push(function(){googletag.display("div-gpt-ad-content-tower")})}