DRF.ready(function(n){function f(n){n=h(n);y(n);p(n);w(n);b(n);l(n);a(n);v(n);c(n)}function h(t){function r(t){var u="",e,f;return(t.hasChildren&&n.each(t.children,function(n,t){var i=r(t);i==="active-parent"?u=i:i==="active-prefix-parent"&&u!=="active-parent"&&(u=i)}),e=u==="active-parent",t.href&&(f=/^\//.test(t.href)?window.location.host+t.href:t.href.replace(/^https?\:\/\//i,""),new RegExp("^"+k(f),"i").test(i)&&(u=f.length===i.length?"active":"active-prefix")),u!==""&&(t.linkClass=(t.linkClass||"")+" "+u),u==="active"||u==="active-parent"||e)?"active-parent":u==="active-prefix"||u==="active-prefix-parent"?"active-prefix-parent":""}t=JSON.parse(JSON.stringify(t));var i=window.location.host+window.location.pathname;return n.each(t.menus,function(t,i){n.each(i,function(n,t){r(t)})}),t}function c(){if(DRF.where=="bc"){var i=n("body"),r=n("header.header");function t(){i.css("padding-top",r.height())}n(window).resize(t);n(t);n(window).load(t)}}function l(t){n("#account-menu .drf-loginpopup a").click(function(n){if(window.global&&window.global.popupToFrame)return window.global.popupToFrame({iframe:!0,href:t.links.loginPopup,transition:"none",width:320,height:350}),n.preventDefault(),!1})}function a(){function s(t){n("#mainNav ul > li.mainItemLink").each(function(n,i){t.index(i)==-1&&r.call(i,{type:"none"})})}function u(){s(n(this).closest("li.mainItemLink"));n(this).addClass("active");n(this).children(".menuContainer").show().each(function(t,i){var r=n(i).data("arrow-up");if(r){var u=r.parent().children("span").first(),f=u.position(),e=u.width();r.show().css({left:f.left+e/2})}});f()}function r(t){n(this).hasClass("clicked-open")&&t.type=="mouseleave"||(n(this).removeClass("active clicked-open"),n(this).children(".menuContainer").hide().each(function(t,i){var r=n(i).data("arrow-up");r&&r.hide()}),e())}function f(){var r=n("#mainNav .menuContainer:visible"),u,f;if(r.length!=0&&(u=r.offset().top+r.height(),f=n(window).scrollTop()+n(window).height(),!(uf)||(t&&(n(window).off("scroll",t),t=!1),i().css({position:"fixed",top:0}))}function h(){var i,s,t;n("#mainNav ul > li.mainItemLink").hoverIntent(o);n("#mainNav ul > li.mainItemLink > span").click(function(){var t=n(this).closest("li");t.hasClass("clicked-open")?r.call(t[0],{type:"none"}):(t.addClass("clicked-open"),u.call(t[0],{type:"none"}))});n("#mainNav .mainItemLink > .menuContainer .menuContainer").each(function(t,i){var r=n(i).removeClass("menuContainer").addClass("menu-sidebar");r.parent().collapsibleMenu({submenu:".menu-sidebar",collapse:e,expand:f})});i=n("#mainNav li.mainItemLink > div.menuContainer");n.each(i,function(){var t=n(this);t.data("arrow-up")||t.data("arrow-up",n("