function fixDropdown(){var n=$(window).height()-$("nav.top-bar").height(),t=$("nav li.has-dropdown");t.mouseover(function(){$(this).find("ul.dropdown").css({"max-height":n,"overflow-y":"auto"})}).mouseout(function(){$(this).find("ul.dropdown").removeAttr("style")})}function resizeTabs(){matchMedia(Foundation.media_queries.medium).matches?($(".examHubPage .tabs-container .tabs.menu.examDetails, .courseHubPage .tabs-container .tabs.menu.examDetails").removeClass("vertical"),$(".examHubPage .tabs-container .tabs.menu.examDetails dd, .courseHubPage .tabs-container .tabs.menu.examDetails dd").css({"border-bottom":"none"}),$(".examHubPage .toolbar .tabs.menu.right, .courseHubPage .toolbar .tabs.menu.right").removeAttr("style"),$(".examHubPage .toolbar .tabs.menu.right dd, .courseHubPage .toolbar .tabs.menu.right dd").removeAttr("style"),$(".examHubPage .toolbar .tabs.menu.right dd a, .courseHubPage .toolbar .tabs.menu.right dd a").removeAttr("style")):($(".examHubPage .tabs-container .tabs.menu.examDetails, .courseHubPage .tabs-container .tabs.menu.examDetails").addClass("vertical"),$(".examHubPage .tabs-container .tabs.menu.examDetails dd, .courseHubPage .tabs-container .tabs.menu.examDetails dd").css({"border-bottom":"1px solid #fff"}),$(".examHubPage .toolbar .tabs.menu.right, .courseHubPage .toolbar .tabs.menu.right").attr("style","float: none !important;").css({"margin-left":"0"}).css({"margin-top":"1rem"}),$(".examHubPage .toolbar .tabs.menu.right dd, .courseHubPage .toolbar .tabs.menu.right dd").css({width:"50%"}),$(".examHubPage .toolbar .tabs.menu.right dd a, .courseHubPage .toolbar .tabs.menu.right dd a").css({display:"block"}))}function RTEImgFix(){$("body:not(.home) .main-section img").each(function(){if($(this).attr("src")&&$(this).attr("src")!==""){var n=$(this).attr("src").replace(/\~/g,"");$(this).attr("src",n)}})}function isLargeUp(){return matchMedia(Foundation.media_queries.large).matches}function imageHeights(){var t,n,i;isMedium&&($(".MembershipLanding:eq(1) img").length>0?(t=$(".MembershipLanding:eq(1) img").height(),$(".MembershipLanding").each(function(){$(this).find("img").height(t);$(document).foundation("reflow")})):$(".NewsPALanding:eq(0) img").length>0?(n=$(".NewsPALanding:eq(0) img").height(),$(".NewsPALanding:eq(1) img").height(n),$(".NewsPALanding:eq(2) img").height(n)):$(".jobsPlacementsGrantsLanding:eq(2) img").length>0&&(i=$(".jobsPlacementsGrantsLanding:eq(2) img").height(),$(".jobsPlacementsGrantsLanding").each(function(){$(this).find("img").height(i);$(document).foundation("reflow")})))}function disable(){$("#JustAMomentMessage").text(" Just a moment...");$("#myModal").foundation("reveal","open")}function absdisable(){$("#JustAMomentMessage").text(" Just a moment...");$("#myModal").foundation("reveal","open");timeoutID=window.setTimeout(absdisable,100)}function accordionSlide(){var n=$(this).parent();n.hasClass("active")?$(".accordion dd div.content:visible").slideToggle("normal"):($(".accordion dd div.content:visible").slideToggle("normal"),$(this).parent().find(".content").slideToggle("normal"))}function hubPageAccordionSlide(){var t=$(this).parent(),n=$(this).find(".row.collapse .text-right :first-child");n.attr("data-icon")==="plus"?n.attr("data-icon","minus"):n.attr("data-icon","plus");t.hasClass("active")?$(t).find("div.content:visible").slideUp("normal"):($(".accordion dd div.content:visible").slideDown("normal"),$(this).parent().find(".content").slideToggle("normal"))}function membershipTilesAccordionSlide(){var t=$(this).find(".row.collapse .text-right svg"),n;$(this).next(".content").is(":visible")?(t.attr("data-icon","plus"),n=$(this).parent().siblings(),$(n).each(function(t){$(n[t]).find(".row.collapse .text-right svg").attr("data-icon","plus")})):(n=$(this).parent().siblings(),$(n).each(function(t){$(n[t]).find(".row.collapse .text-right svg").attr("data-icon","plus")}),t.attr("data-icon","minus"));setTimeout(function(){$("#membershipJoiningPage .tabs-content > .content:not('.active')").each(function(){var n=$(this);$.each($(n).find("dd"),function(){$(this).removeClass("active")});$.each($(n).find(".content"),function(){$(this).removeClass("active").hide()});$(this).find(".accordion dd a .row.collapse .text-right svg").attr("data-icon","plus");$(this).find(".accordion dd a").attr("aria-expanded","false");$(document).foundation("accordion","reflow")})},300)}function linkClick(n,t,i,r,u){try{typeof t!="undefined"&&(n.preventDefault(),dl.push({eventcat:i,eventaction:r,eventlabel:u}),n.currentTarget.hasAttribute("target")&&n.currentTarget.getAttribute("target")==="_blank"?window.open(t.href,"_blank"):window.location.assign(t.href))}catch(f){console.log(f)}}function pageTrack(n,t){try{dl.push({tabURL:t})}catch(i){log.console(i)}}var hashTagActive,maxHeight;(function(){"use strict";function n(n){function s(s,h){var rt,ut,p=s==window,l=h&&h.message!==undefined?h.message:undefined,g,k,d,tt,nt,w,b,it,ft,et,at;if(h=n.extend({},n.blockUI.defaults,h||{}),!h.ignoreIfBlocked||!n(s).data("blockUI.isBlocked")){if(h.overlayCSS=n.extend({},n.blockUI.defaults.overlayCSS,h.overlayCSS||{}),rt=n.extend({},n.blockUI.defaults.css,h.css||{}),h.onOverlayClick&&(h.overlayCSS.cursor="pointer"),ut=n.extend({},n.blockUI.defaults.themedCSS,h.themedCSS||{}),l=l===undefined?h.message:l,p&&t&&e(window,{fadeOut:0}),l&&typeof l!="string"&&(l.parentNode||l.jquery)&&(g=l.jquery?l[0]:l,k={},n(s).data("blockUI.history",k),k.el=g,k.parent=g.parentNode,k.display=g.style.display,k.position=g.style.position,k.parent&&k.parent.removeChild(g)),n(s).data("blockUI.onUnblock",h.onUnblock),d=h.baseZ,tt=f||h.forceIframe?n('<iframe class="blockUI" style="z-index:'+d+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+h.iframeSrc+'"><\/iframe>'):n('<div class="blockUI" style="display:none"><\/div>'),nt=h.theme?n('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+d+++';display:none"><\/div>'):n('<div class="blockUI blockOverlay" style="z-index:'+d+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"><\/div>'),h.theme&&p?(b='<div class="blockUI '+h.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(d+10)+';display:none;position:fixed">',h.title&&(b+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(h.title||"&nbsp;")+"<\/div>"),b+='<div class="ui-widget-content ui-dialog-content"><\/div>',b+="<\/div>"):h.theme?(b='<div class="blockUI '+h.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(d+10)+';display:none;position:absolute">',h.title&&(b+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(h.title||"&nbsp;")+"<\/div>"),b+='<div class="ui-widget-content ui-dialog-content"><\/div>',b+="<\/div>"):b=p?'<div class="blockUI '+h.blockMsgClass+' blockPage" style="z-index:'+(d+10)+';display:none;position:fixed"><\/div>':'<div class="blockUI '+h.blockMsgClass+' blockElement" style="z-index:'+(d+10)+';display:none;position:absolute"><\/div>',w=n(b),l&&(h.theme?(w.css(ut),w.addClass("ui-widget-content")):w.css(rt)),h.theme||nt.css(h.overlayCSS),nt.css("position",p?"fixed":"absolute"),(f||h.forceIframe)&&tt.css("opacity",0),it=[tt,nt,w],ft=p?n("body"):n(s),n.each(it,function(){this.appendTo(ft)}),h.theme&&h.draggable&&n.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"}),et=v&&(!n.support.boxModel||n("object,embed",p?null:s).length>0),o||et){if(p&&h.allowBodyStretch&&n.support.boxModel&&n("html,body").css("height","100%"),(o||!n.support.boxModel)&&!p)var ot=r(s,"borderTopWidth"),st=r(s,"borderLeftWidth"),ht=ot?"(0 - "+ot+")":0,ct=st?"(0 - "+st+")":0;n.each(it,function(n,t){var i=t[0].style,r,u;i.position="absolute";n<2?(p?i.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+h.quirksmodeOffsetHack+') + "px"'):i.setExpression("height",'this.parentNode.offsetHeight + "px"'),p?i.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):i.setExpression("width",'this.parentNode.offsetWidth + "px"'),ct&&i.setExpression("left",ct),ht&&i.setExpression("top",ht)):h.centerY?(p&&i.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),i.marginTop=0):!h.centerY&&p&&(r=h.css&&h.css.top?parseInt(h.css.top,10):0,u="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+r+') + "px"',i.setExpression("top",u))})}if(l&&(h.theme?w.find(".ui-widget-content").append(l):w.append(l),(l.jquery||l.nodeType)&&n(l).show()),(f||h.forceIframe)&&h.showOverlay&&tt.show(),h.fadeIn){var lt=h.onBlock?h.onBlock:u,vt=h.showOverlay&&!l?lt:u,yt=l?lt:u;h.showOverlay&&nt._fadeIn(h.fadeIn,vt);l&&w._fadeIn(h.fadeIn,yt)}else h.showOverlay&&nt.show(),l&&w.show(),h.onBlock&&h.onBlock.bind(w)();c(1,s,h);p?(t=w[0],i=n(h.focusableElements,t),h.focusInput&&setTimeout(a,20)):y(w[0],h.centerX,h.centerY);h.timeout&&(at=setTimeout(function(){p?n.unblockUI(h):n(s).unblock(h)},h.timeout),n(s).data("blockUI.timeout",at))}}function e(r,u){var o,s=r==window,e=n(r),l=e.data("blockUI.history"),a=e.data("blockUI.timeout"),f;a&&(clearTimeout(a),e.removeData("blockUI.timeout"));u=n.extend({},n.blockUI.defaults,u||{});c(0,r,u);u.onUnblock===null&&(u.onUnblock=e.data("blockUI.onUnblock"),e.removeData("blockUI.onUnblock"));f=s?n("body").children().filter(".blockUI").add("body > .blockUI"):e.find(">.blockUI");u.cursorReset&&(f.length>1&&(f[1].style.cursor=u.cursorReset),f.length>2&&(f[2].style.cursor=u.cursorReset));s&&(t=i=null);u.fadeOut?(o=f.length,f.stop().fadeOut(u.fadeOut,function(){--o==0&&h(f,l,u,r)})):h(f,l,u,r)}function h(t,i,r,u){var f=n(u);if(!f.data("blockUI.isBlocked")){if(t.each(function(){this.parentNode&&this.parentNode.removeChild(this)}),i&&i.el&&(i.el.style.display=i.display,i.el.style.position=i.position,i.el.style.cursor="default",i.parent&&i.parent.appendChild(i.el),f.removeData("blockUI.history")),f.data("blockUI.static")&&f.css("position","static"),typeof r.onUnblock=="function")r.onUnblock(u,r);var e=n(document.body),o=e.width(),s=e[0].style.width;e.width(o-1).width(o);e[0].style.width=s}}function c(i,r,u){var f=r==window,o=n(r),e;(i||(!f||t)&&(f||o.data("blockUI.isBlocked")))&&(o.data("blockUI.isBlocked",i),f&&u.bindEvents&&(!i||u.showOverlay))&&(e="mousedown mouseup keydown keypress keyup touchstart touchend touchmove",i?n(document).bind(e,u,l):n(document).unbind(e,l))}function l(r){var u,f;if(r.type==="keydown"&&r.keyCode&&r.keyCode==9&&t&&r.data.constrainTabKey){var e=i,s=!r.shiftKey&&r.target===e[e.length-1],o=r.shiftKey&&r.target===e[0];if(s||o)return setTimeout(function(){a(o)},10),!1}if(u=r.data,f=n(r.target),f.hasClass("blockOverlay")&&u.onOverlayClick)u.onOverlayClick(r);return f.parents("div."+u.blockMsgClass).length>0?!0:f.parents().children().filter("div.blockUI").length===0}function a(n){if(i){var t=i[n===!0?i.length-1:0];t&&t.focus()}}function y(n,t,i){var u=n.parentNode,f=n.style,e=(u.offsetWidth-n.offsetWidth)/2-r(u,"borderLeftWidth"),o=(u.offsetHeight-n.offsetHeight)/2-r(u,"borderTopWidth");t&&(f.left=e>0?e+"px":"0");i&&(f.top=o>0?o+"px":"0")}function r(t,i){return parseInt(n.css(t,i),10)||0}var t,i;n.fn._fadeIn=n.fn.fadeIn;var u=n.noop||function(){},f=/MSIE/.test(navigator.userAgent),o=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),p=document.documentMode||0,v=n.isFunction(document.createElement("div").style.setExpression);n.blockUI=function(n){s(window,n)};n.unblockUI=function(n){e(window,n)};n.growlUI=function(t,i,r,u){var f=n('<div class="growlUI"><\/div>'),e,o;t&&f.append("<h1>"+t+"<\/h1>");i&&f.append("<h2>"+i+"<\/h2>");r===undefined&&(r=3e3);e=function(t){t=t||{};n.blockUI({message:f,fadeIn:typeof t.fadeIn!="undefined"?t.fadeIn:700,fadeOut:typeof t.fadeOut!="undefined"?t.fadeOut:1e3,timeout:typeof t.timeout!="undefined"?t.timeout:r,centerY:!1,showOverlay:!1,onUnblock:u,css:n.blockUI.defaults.growlCSS})};e();o=f.css("opacity");f.mouseover(function(){e({fadeIn:0,timeout:3e4});var t=n(".blockMsg");t.stop();t.fadeTo(300,1)}).mouseout(function(){n(".blockMsg").fadeOut(1e3)})};n.fn.block=function(t){if(this[0]===window)return n.blockUI(t),this;var i=n.extend({},n.blockUI.defaults,t||{});return this.each(function(){var t=n(this);i.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){n.css(this,"position")=="static"&&(this.style.position="relative",n(this).data("blockUI.static",!0));this.style.zoom=1;s(this,t)})};n.fn.unblock=function(t){return this[0]===window?(n.unblockUI(t),this):this.each(function(){e(this,t)})};n.blockUI.version=2.7;n.blockUI.defaults={message:"<h1>Please wait...<\/h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};t=null;i=[]}typeof define=="function"&&define.amd&&define.amd.jQuery?define(["jquery"],n):n(jQuery)})(),function(n,t){"use strict";Foundation.libs.equalizer={name:"equalizer",version:"5.5.2",settings:{use_tallest:!0,before_height_change:n.noop,after_height_change:n.noop,equalize_on_stack:!1,act_on_hidden_el:!1},init:function(n,t,i){Foundation.inherit(this,"image_loaded");this.bindings(t,i);this.reflow()},events:function(){this.S(t).off(".equalizer").on("resize.fndtn.equalizer",function(){this.reflow()}.bind(this))},equalize:function(t){var e=!1,u=t.data("equalizer"),r=t.data(this.attr_name(!0)+"-init")||this.settings,i,o,f,s,h;(i=r.act_on_hidden_el?u?t.find("["+this.attr_name()+'-watch="'+u+'"]'):t.find("["+this.attr_name()+"-watch]"):u?t.find("["+this.attr_name()+'-watch="'+u+'"]:visible'):t.find("["+this.attr_name()+"-watch]:visible"),i.length!==0)&&((r.before_height_change(),t.trigger("before-height-change.fndth.equalizer"),i.height("inherit"),r.equalize_on_stack===!1&&(o=i.first().offset().top,i.each(function(){if(n(this).offset().top!==o)return e=!0,!1}),e))||(f=i.map(function(){return n(this).outerHeight(!1)}).get(),r.use_tallest?(s=Math.max.apply(null,f),i.css("height",s)):(h=Math.min.apply(null,f),i.css("height",h)),r.after_height_change(),t.trigger("after-height-change.fndtn.equalizer")))},reflow:function(){var t=this;this.S("["+this.attr_name()+"]",this.scope).each(function(){var r=n(this),i=r.data("equalizer-mq"),u=!0;i&&(i="is_"+i.replace(/-/g,"_"),Foundation.utils.hasOwnProperty(i)&&(u=!1));t.image_loaded(t.S("img",this),function(){if(u||Foundation.utils[i]())t.equalize(r);else{var n=r.find("["+t.attr_name()+"-watch]:visible");n.css("height","auto")}})})}}}(jQuery,window,window.document),function(n,t,i,r){"use strict";function u(n){var t=/fade/i.test(n),i=/pop/i.test(n);return{animate:t||i,pop:i,fade:t}}Foundation.libs.reveal={name:"reveal",version:"5.2.2",locked:!1,settings:{animation:"fadeAndPop",animation_speed:250,close_on_background_click:!1,close_on_esc:!1,dismiss_modal_class:"close-reveal-modal",bg_class:"reveal-modal-bg",open:function(){},opened:function(){},close:function(){},closed:function(){},bg:n(".reveal-modal-bg"),css:{open:{opacity:0,visibility:"visible",display:"block"},close:{opacity:1,visibility:"hidden",display:"none"}}},init:function(t,i,r){n.extend(!0,this.settings,i,r);this.bindings(i,r)},events:function(){var n=this,t=n.S;t(this.scope).off(".reveal").on("click.fndtn.reveal","["+this.add_namespace("data-reveal-id")+"]",function(i){var r,u,f;i.preventDefault();n.locked||(r=t(this),u=r.data(n.data_attr("reveal-ajax")),n.locked=!0,typeof u=="undefined"?n.open.call(n,r):(f=u===!0?r.attr("href"):u,n.open.call(n,r,{url:f})))});t(i).on("touchend.fndtn.reveal click.fndtn.reveal",this.close_targets(),function(i){if(i.preventDefault(),!n.locked){var r=t("["+n.attr_name()+"].open").data(n.attr_name(!0)+"-init"),u=t(i.target)[0]===t("."+r.bg_class)[0];if(u)if(r.close_on_background_click)i.stopPropagation();else return;n.locked=!0;n.close.call(n,u?t("["+n.attr_name()+"].open"):t(this).closest("["+n.attr_name()+"]"))}});if(t("["+n.attr_name()+"]",this.scope).length>0)t(this.scope).on("open.fndtn.reveal",this.settings.open).on("opened.fndtn.reveal",this.settings.opened).on("opened.fndtn.reveal",this.open_video).on("close.fndtn.reveal",this.settings.close).on("closed.fndtn.reveal",this.settings.closed).on("closed.fndtn.reveal",this.close_video);else t(this.scope).on("open.fndtn.reveal","["+n.attr_name()+"]",this.settings.open).on("opened.fndtn.reveal","["+n.attr_name()+"]",this.settings.opened).on("opened.fndtn.reveal","["+n.attr_name()+"]",this.open_video).on("close.fndtn.reveal","["+n.attr_name()+"]",this.settings.close).on("closed.fndtn.reveal","["+n.attr_name()+"]",this.settings.closed).on("closed.fndtn.reveal","["+n.attr_name()+"]",this.close_video);return!0},key_up_on:function(){var n=this;n.S("body").off("keyup.fndtn.reveal").on("keyup.fndtn.reveal",function(t){var i=n.S("["+n.attr_name()+"].open"),r=i.data(n.attr_name(!0)+"-init");r&&t.which===27&&r.close_on_esc&&!n.locked&&n.close.call(n,i)});return!0},key_up_off:function(){return this.S("body").off("keyup.fndtn.reveal"),!0},open:function(t,i){var u=this,r,e,f,o;t?typeof t.selector!="undefined"?r=u.S("#"+t.data(u.data_attr("reveal-id"))):(r=u.S(this.scope),i=t):r=u.S(this.scope);e=r.data(u.attr_name(!0)+"-init");r.hasClass("open")||(f=u.S("["+u.attr_name()+"].open"),typeof r.data("css-top")=="undefined"&&r.data("css-top",parseInt(r.css("top"),10)).data("offset",this.cache_offset(r)),this.key_up_on(r),r.trigger("open"),f.length<1&&this.toggle_bg(r),typeof i=="string"&&(i={url:i}),typeof i!="undefined"&&i.url?(o=typeof i.success!="undefined"?i.success:null,n.extend(i,{success:function(t,i,s){n.isFunction(o)&&o(t,i,s);r.html(t);u.S(r).foundation("section","reflow");f.length>0&&u.hide(f,e.css.close);u.show(r,e.css.open)}}),n.ajax(i)):(f.length>0&&this.hide(f,e.css.close),this.show(r,e.css.open)))},close:function(n){var n=n&&n.length?n:this.S(this.scope),t=this.S("["+this.attr_name()+"].open"),i=n.data(this.attr_name(!0)+"-init");t.length>0&&(this.locked=!0,this.key_up_off(n),n.trigger("close"),this.toggle_bg(n),this.hide(t,i.css.close,i))},close_targets:function(){var n="."+this.settings.dismiss_modal_class;return this.settings.close_on_background_click?n+", ."+this.settings.bg_class:n},toggle_bg:function(t){var i=t.data(this.attr_name(!0));this.S("."+this.settings.bg_class).length===0&&(this.settings.bg=n("<div />",{"class":this.settings.bg_class}).appendTo("body").hide());this.settings.bg.filter(":visible").length>0?this.hide(this.settings.bg):this.show(this.settings.bg)},show:function(i,r){var s,h,o,e,f;if(r){if(f=i.data(this.attr_name(!0)+"-init"),i.parent("body").length===0){s=i.wrap('<div style="display: none;" />').parent();h=this.settings.rootElement||"body";i.on("closed.fndtn.reveal.wrapped",function(){i.detach().appendTo(s);i.unwrap().unbind("closed.fndtn.reveal.wrapped")});i.detach().appendTo(h)}return(o=u(f.animation),o.animate||(this.locked=!1),o.pop)?(r.top=n(t).scrollTop()-i.data("offset")+"px",e={top:n(t).scrollTop()+i.data("css-top")+"px",opacity:1},setTimeout(function(){return i.css(r).animate(e,f.animation_speed,"linear",function(){this.locked=!1;i.trigger("opened")}.bind(this)).addClass("open")}.bind(this),f.animation_speed/2)):o.fade?(r.top=n(t).scrollTop()+i.data("css-top")+"px",e={opacity:1},setTimeout(function(){return i.css(r).animate(e,f.animation_speed,"linear",function(){this.locked=!1;i.trigger("opened")}.bind(this)).addClass("open")}.bind(this),f.animation_speed/2)):i.css(r).show().css({opacity:1}).addClass("open").trigger("opened")}return(f=this.settings,u(f.animation).fade)?i.fadeIn(f.animation_speed/2):(this.locked=!1,i.show())},hide:function(i,r){var o,e,f;return r?(f=i.data(this.attr_name(!0)+"-init"),o=u(f.animation),o.animate||(this.locked=!1),o.pop)?(e={top:-n(t).scrollTop()-i.data("offset")+"px",opacity:0},setTimeout(function(){return i.animate(e,f.animation_speed,"linear",function(){this.locked=!1;i.css(r).trigger("closed")}.bind(this)).removeClass("open")}.bind(this),f.animation_speed/2)):o.fade?(e={opacity:0},setTimeout(function(){return i.animate(e,f.animation_speed,"linear",function(){this.locked=!1;i.css(r).trigger("closed")}.bind(this)).removeClass("open")}.bind(this),f.animation_speed/2)):i.hide().css(r).removeClass("open").trigger("closed"):(f=this.settings,u(f.animation).fade)?i.fadeOut(f.animation_speed/2):i.hide()},close_video:function(t){var r=n(".flex-video",t.target),i=n("iframe",r);i.length>0&&(i.attr("data-src",i[0].src),i.attr("src","about:blank"),r.hide())},open_video:function(t){var u=n(".flex-video",t.target),i=u.find("iframe"),f,e;i.length>0&&(f=i.attr("data-src"),typeof f=="string"?i[0].src=i.attr("data-src"):(e=i[0].src,i[0].src=r,i[0].src=e),u.show())},data_attr:function(n){return this.namespace.length>0?this.namespace+"-"+n:n},cache_offset:function(n){var t=n.show().height()+parseInt(n.css("top"),10);return n.hide(),t},off:function(){n(this.scope).off(".fndtn.reveal")},reflow:function(){}}}(jQuery,this,this.document),function(n,t){"use strict";Foundation.libs.interchange={name:"interchange",version:"5.5.1",cache:{},images_loaded:!1,nodes_loaded:!1,settings:{load_attr:"interchange",named_queries:{"default":"only screen",small:Foundation.media_queries.small,"small-only":Foundation.media_queries["small-only"],medium:Foundation.media_queries.medium,"medium-only":Foundation.media_queries["medium-only"],large:Foundation.media_queries.large,"large-only":Foundation.media_queries["large-only"],xlarge:Foundation.media_queries.xlarge,"xlarge-only":Foundation.media_queries["xlarge-only"],xxlarge:Foundation.media_queries.xxlarge,landscape:"only screen and (orientation: landscape)",portrait:"only screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx)"},directives:{replace:function(t,i,r){var u,f,e;return/IMG/.test(t[0].nodeName)?(u=t[0].src,new RegExp(i,"i").test(u))?void 0:(t[0].src=i,r(t[0].src)):(f=t.data(this.data_attr+"-last-path"),e=this,f==i)?void 0:/\.(gif|jpg|jpeg|tiff|png)([?#].*)?/i.test(i)?(n(t).css("background-image","url("+i+")"),t.data("interchange-last-path",i),r(i)):n.get(i,function(n){t.html(n);t.data(e.data_attr+"-last-path",i);r()})}}},init:function(t,i,r){Foundation.inherit(this,"throttle random_str");this.data_attr=this.set_data_attr();n.extend(!0,this.settings,i,r);this.bindings(i,r);this.load("images");this.load("nodes")},get_media_hash:function(){var n="",t;for(t in this.settings.named_queries)n+=matchMedia(this.settings.named_queries[t]).matches.toString();return n},events:function(){var i=this,r;n(t).off(".interchange").on("resize.fndtn.interchange",i.throttle(function(){var n=i.get_media_hash();n!==r&&i.resize();r=n},50));return this},resize:function(){var r=this.cache,i,t;if(!this.images_loaded||!this.nodes_loaded){setTimeout(n.proxy(this.resize,this),50);return}for(i in r)r.hasOwnProperty(i)&&(t=this.results(i,r[i]),t&&this.settings.directives[t.scenario[1]].call(this,t.el,t.scenario[0],function(n){var t;return t=arguments[0]instanceof Array?arguments[0]:Array.prototype.slice.call(arguments,0),function(){n.el.trigger(n.scenario[1],t)}}(t)))},results:function(n,t){var i=t.length,u,f,r;if(i>0)for(u=this.S("["+this.add_namespace("data-uuid")+'="'+n+'"]');i--;)if(r=t[i][2],f=this.settings.named_queries.hasOwnProperty(r)?matchMedia(this.settings.named_queries[r]):matchMedia(r),f.matches)return{el:u,scenario:t[i]};return!1},load:function(n,t){return(typeof this["cached_"+n]=="undefined"||t)&&this["update_"+n](),this["cached_"+n]},update_images:function(){var n=this.S("img["+this.data_attr+"]"),i=n.length,t=i,r=0,f=this.data_attr,u;for(this.cache={},this.cached_images=[],this.images_loaded=i===0;t--;)r++,n[t]&&(u=n[t].getAttribute(f)||"",u.length>0&&this.cached_images.push(n[t])),r===i&&(this.images_loaded=!0,this.enhance("images"));return this},update_nodes:function(){var n=this.S("["+this.data_attr+"]").not("img"),t=n.length,i=t,r=0,f=this.data_attr,u;for(this.cached_nodes=[],this.nodes_loaded=t===0;i--;)r++,u=n[i].getAttribute(f)||"",u.length>0&&this.cached_nodes.push(n[i]),r===t&&(this.nodes_loaded=!0,this.enhance("nodes"));return this},enhance:function(i){for(var r=this["cached_"+i].length;r--;)this.object(n(this["cached_"+i][r]));return n(t).trigger("resize").trigger("resize.fndtn.interchange")},convert_directive:function(n){var t=this.trim(n);return t.length>0?t:"replace"},parse_scenario:function(n){var t=n[0].match(/(.+),\s*(\w+)\s*$/),u=n[1],i,r;if(t)i=t[1],r=t[2];else var f=n[0].split(/,\s*$/),i=f[0],r="";return[this.trim(i),this.convert_directive(r),this.trim(u)]},object:function(n){var r=this.parse_data_attr(n),u=[],t=r.length,i,f;if(t>0)while(t--)i=r[t].split(/\(([^\)]*?)(\))$/),i.length>1&&(f=this.parse_scenario(i),u.push(f));return this.store(n,u)},store:function(n,t){var i=this.random_str(),r=n.data(this.add_namespace("uuid",!0));return this.cache[r]?this.cache[r]:(n.attr(this.add_namespace("data-uuid"),i),this.cache[i]=t)},trim:function(t){return typeof t=="string"?n.trim(t):t},set_data_attr:function(n){return n?this.namespace.length>0?this.namespace+"-"+this.settings.load_attr:this.settings.load_attr:this.namespace.length>0?"data-"+this.namespace+"-"+this.settings.load_attr:"data-"+this.settings.load_attr},parse_data_attr:function(n){for(var t=n.attr(this.attr_name()).split(/\[(.*?)\]/),i=t.length,r=[];i--;)t[i].replace(/[\W\d]+/,"").length>4&&r.push(t[i]);return r},reflow:function(){this.load("images",!0);this.load("nodes",!0)}}}(jQuery,window,window.document);var isSmall=matchMedia(Foundation.media_queries.small).matches,isMedium=matchMedia(Foundation.media_queries.medium).matches,isLarge=matchMedia(Foundation.media_queries.large).matches,isXlarge=matchMedia(Foundation.media_queries.xlarge).matches,isXXlarge=matchMedia(Foundation.media_queries.xxlarge).matches;$(window).on("load",fixDropdown);$(window).on("resize",function(){$(document).foundation("equalizer","reflow");resizeTabs();fixDropdown()});$(window).on("changed.zf.mediaquery",function(n,t,i){console.log(i+" - "+t)});$(document).ready(function(){function t(){$(document).foundation("equalizer","reflow")}resizeTabs();$("body.my.profile .content.active").find(".flex-video").length>0?$(".myProfile").addClass("fill"):$(".myProfile").removeClass("fill");$("body.my.profile .tabs").on("toggled",function(n,t){t.find(".flex-video").length>0?$(".myProfile").addClass("fill"):$(".myProfile").removeClass("fill")});$('.large-4 .cta.sidebar:not(".noImage") a').hover(function(){$(this).find("span").stop(!0).animate({height:$(this).find("strong").height(),"min-height":$(this).find("strong").height()});"swing"},function(){$(this).find("span").stop(!0).animate({height:"100%","min-height":"100%"});"swing"});$('.large-3 .cta.sidebar:not(".noImage") a').hover(function(){$(this).find("span").stop(!0).animate({height:$(this).find("strong").height(),"min-height":$(this).find("strong").height()});"swing"},function(){$(this).find("span").stop(!0).animate({height:"100%","min-height":"100%"});"swing"});"ontouchstart"in window?$(".applyNow a").bind("touchstart",function(){$(this).find(".fas").stop(!0).animate({"font-size":"2em","line-height":"1","vertical-align":"-0.25em"});"swing"}).bind("touchend",function(){$(this).find(".fas").stop(!0).animate({"font-size":"1.33333em","line-height":".75em","vertical-align":"-.0667em"});"swing"}):$(".applyNow a").hover(function(){$(this).find(".fas").stop(!0).animate({"font-size":"2em","line-height":"1","vertical-align":"-0.25em"});"swing"},function(){$(this).find(".fas").stop(!0).animate({"font-size":"1.33333em","line-height":".75em","vertical-align":"-.0667em"});"swing"});$(".examHubPage .printPage, .courseHubPage .printPage").click(function(){window.print()});$(".examHubPage .accordion dd, .courseHubPage .accordion dd").on("click","a:eq(0)",hubPageAccordionSlide);$(".examHubPage #drop3 a, .courseHubPage #drop3 a, .examHubPage #hover1 a").on("click",function(t){var r,i,u;t.preventDefault;$(".locationNotes .content").each(function(){$(this).hide()});r=$(this).attr("href");$(r).show();i=$.attr(this,"href");u=100;$(i).length>0&&n.animate({scrollTop:$(i).offset().top-u},function(){return window.location.hash=i,!1})});var n=$("html, body");$(".examHubPage .examDetails > dd a, .courseHubPage .examDetails > dd a").click(function(t){t.preventDefault;var i=$.attr(this,"href");n.animate({scrollTop:$(this).closest("dl").offset().top-50})});$(".keyFacts li:not('.loc') a").click(function(t){t.preventDefault;var i=$.attr(this,"href"),r=0;isMedium&&(r=50);isLarge&&(r=120);i.indexOf("panel")>0?n.animate({scrollTop:$(".tabs-content").offset().top-r},function(){return window.location.hash=i,!1}):n.animate({scrollTop:$(i).offset().top-r},function(){return window.location.hash=i,!1})});$(".dateGrid a.reg").click(function(t){t.preventDefault;var r=$.attr(this,"href"),i=0;isMedium&&(i=50);isLarge&&(i=120);n.animate({scrollTop:$(r).offset().top-i},function(){return window.location.hash=r,!1})});$(".examHubPage #viewFullPage").on("click",function(n){$(".tabs.menu.examDetails").slideUp();$(".tabs-content.examDetails .content").css({display:"block",float:"none",padding:"0"});$(".tabs-container").animate({"border-color":"#ffffff"},500,"easeInOutQuad");$(".examHubPage .accordion dd .row.collapse .small-11.columns").wrapInner("<h3><\/h3>");n.preventDefault();$(".examHubPage .accordion dd > a").css({cursor:"default",padding:"0"});$(".examHubPage .accordion dd").unbind();$(".examHubPage .accordion").css({border:"none"});$(".examHubPage .accordion dd").css({border:"none"});$(".small-1.columns.text-right").hide();$(".examHubPage .accordion .content").css({display:"block"})});$(".courseHubPage #viewFullPage").on("click",function(n){$(".tabs.menu.examDetails").slideUp();$(".tabs-content.examDetails .content").css({display:"block",float:"none",padding:"0"});$(".tabs-container").animate({"border-color":"#ffffff"},500,"easeInOutQuad");$(".courseHubPage .accordion dd .row.collapse .small-11.columns").wrapInner("<h3><\/h3>");n.preventDefault();$(".courseHubPage .accordion dd > a").css({cursor:"default",padding:"0"});$(".courseHubPage .accordion dd").unbind();$(".courseHubPage .accordion").css({border:"none"});$(".courseHubPage .accordion dd").css({border:"none"});$(".small-1.columns.text-right").hide();$(".courseHubPage .accordion .content").css({display:"block"})});$(".examHubPage #viewTabs").on("click",function(){$(".tabs.menu.examDetails").slideDown();$(".tabs-content.examDetails .content").each(function(){$(this).css({display:$(this).hasClass("active")?"block":"none",float:"left",padding:"0.9375em 0"}).attr("style","")});$(".tabs-container").animate({"border-color":"#A1D6CA"},500,"easeInOutQuad");$(".examHubPage .accordion dd .row.collapse .small-11.columns").each(function(){$(this).text($(this).find("h3").text())});$(".examHubPage .accordion dd > a").css({cursor:"pointer",padding:"8px"});$(".examHubPage .accordion dd").each(function(){$(this).bind("click")});$(".examHubPage .accordion").css({border:"1px solid #E6E6E6"});$(".examHubPage .accordion dd").css({"border-bottom":"1px solid #E6E6E6"});$(".small-1.columns.text-right").show();$(".examHubPage .accordion .content").css({display:"none"});$(".examHubPage .accordion .content.active").css({display:"block"});$(".examHubPage .accordion .content").removeAttr("style");$(document).foundation();$(".examHubPage .accordion dd").on("click","a:eq(0)",hubPageAccordionSlide)});$(".courseHubPage #viewTabs").on("click",function(){$(".tabs.menu.examDetails").slideDown();$(".tabs-content.examDetails .content").each(function(){$(this).css({display:$(this).hasClass("active")?"block":"none",float:"left",padding:"0.9375em 0"}).attr("style","")});$(".tabs-container").animate({"border-color":"#A1D6CA"},500,"easeInOutQuad");$(".courseHubPage .accordion dd .row.collapse .small-11.columns").each(function(){$(this).text($(this).find("h3").text())});$(".courseHubPage .accordion dd > a").css({cursor:"pointer",padding:"8px"});$(".courseHubPage .accordion dd").each(function(){$(this).bind("click")});$(".courseHubPage .accordion").css({border:"1px solid #E6E6E6"});$(".courseHubPage .accordion dd").css({"border-bottom":"1px solid #E6E6E6"});$(".small-1.columns.text-right").show();$(".courseHubPage .accordion .content").css({display:"none"});$(".courseHubPage .accordion .content.active").css({display:"block"});$(".courseHubPage .accordion .content").removeAttr("style");$(document).foundation();$(".courseHubPage .accordion dd").on("click","a:eq(0)",hubPageAccordionSlide)});$('.exams .cta.sidebar:not(".noImage") a').hover(function(){$(this).find("span").stop(!0).animate({height:$(this).find("strong").height(),"min-height":$(this).find("strong").height()});"swing"},function(){$(this).find("span").stop(!0).animate({height:"100%","min-height":"100%"});"swing"});$('.textCTA .cta.sidebar:not(".noImage") a').hover(function(){$(this).find("span").stop(!0).animate({height:$(this).find("strong").height(),"min-height":$(this).find("strong").height()});"swing"},function(){$(this).find("span").stop(!0).animate({height:"100%","min-height":"100%"});"swing"});$(".newsArticle .newsdate").next("p").addClass("lead");$(".newsArticle .large-9 hr:first").css({"margin-top":"0"});$(".newsFeature a").hover(function(){$("span",this).stop(!0).animate({height:"100%","border-top-left-radius":"4px","border-top-right-radius":"4px"},180,"swing");$("span strong",this).stop(!0).animate({top:"45%"},180,"swing")},function(){$("span",this).animate({height:"60","border-top-left-radius":"0px","border-top-right-radius":"0px"},180,"swing");$("span strong",this).animate({top:"25%"},180,"swing")});$(".newsFeature.small a").hover(function(){$("span",this).stop(!0).animate({height:"100%","border-top-left-radius":"4px","border-top-right-radius":"4px"},180,"swing");$("span strong",this).stop(!0).animate({top:"40%"},180,"swing")},function(){$("span",this).animate({height:"50","border-top-left-radius":"0px","border-top-right-radius":"0px"},180,"swing");$("span strong",this).animate({top:"25%"},180,"swing")});$(".newsArchiveList li ul").hide();$(".newsArchiveList > li > a").click(function(n){n.preventDefault();$(this).next("ul").is(":hidden")?($(this).next("ul").slideDown({start:function(){t()}}),$(this).parent().find("i:not('.fi-calendar')").addClass("fi-minus").removeClass("fi-plus")):($(this).next("ul").slideUp({start:function(){t()},complete:function(){t()}}),$(this).parent().find("i:not('.fi-calendar')").addClass("fi-plus").removeClass("fi-minus"))});$(".totop a").click(function(){return $("html, body").animate({scrollTop:"0"},1e3,"easeInOutQuad"),!1});$(".home .homeEvents .row").not(":hidden").last().css({"border-bottom":"none"});$(window).resize(function(){$(".home .homeEvents .row").not(":hidden").last().css({"border-bottom":"none"});$(".home .homeEvents .row").not(":hidden").last().prev().css({"border-bottom":"1px solid #ccc"})});$("#Form1 .filters .button.hide").hide()});hashTagActive="";$(".scroll").on("click touchstart",function(n){if(hashTagActive!==this.hash){n.preventDefault();var t=0;t=$(this.hash).offset().top>$(document).height()-$(window).height()?$(document).height()-$(window).height():$(this.hash).offset().top;$("html,body").animate({scrollTop:t},2e3,"swing");hashTagActive=this.hash}});$(window).load(function(){RTEImgFix();var t=$(".newsArticle .main-section .newsdate").parent(),n=$(".newsArticle .main-section .newsdate").next("p");n.html()===""||n.html()==="&nbsp;"?n.children().length>0?(n.children("strong").html()===""||n.children("strong").html()==="&nbsp;")&&(n.hide(),n.next("p").addClass("lead")):(n.hide(),n.next("p").addClass("lead")):n.children("img").length>0&&(n.removeClass("lead"),n.next("p").addClass("lead"));n.siblings("p").each(function(){($(this).attr("class")!=="lead"&&$(this).html()===""||$(this).html()==="&nbsp;"&&$(this).children("img").length<1)&&$(this).html("")})});setTimeout(function(){Foundation.utils.image_loaded($("body img"),function(){$(window).resize(imageHeights())})},500);$(document).ready(function(){window.location.href.indexOf("membership-information")>=0&&window.location.hash.indexOf("panel")>=0&&setTimeout(function(){window.scrollTo(0,0)},1);setTimeout(function(){$("body.news .addthis_sharing_toolbox").each(function(){$(this).find("div").find("a").eq(-1).after('<a class="rss" target="_blank" style="display: inline-block; margin: 0 2px;" href="/rss"><img style="vertical-align: baseline;" src="/css/img/rss.png" alt="RSS News Feed" title="RSS News Feed" /><\/a>')})},2e3);setTimeout(function(){$("body.press.releases .addthis_sharing_toolbox").each(function(){$(this).find("div").find("a").eq(-1).after('<a class="rss" target="_blank" style="display: inline-block; margin: 0 2px;" href="/press_releases_rss"><img style="vertical-align: baseline;" src="/css/img/rss.png" alt="RSS Press Releases Feed" title="RSS Press Releases Feed" /><\/a>')})},2e3);setTimeout(function(){$("body.press.statements .addthis_sharing_toolbox").each(function(){$(this).find("div").find("a").eq(-1).after('<a class="rss" target="_blank" style="display: inline-block; margin: 0 2px;" href="/press_statements_rss"><img style="vertical-align: baseline;" src="/css/img/rss.png" alt="RSS Press Statements Feed" title="RSS Press Statements Feed" /><\/a>')})},2e3)});$(window).on("hashchange",function(){window.scrollTo(window.scrollX,window.scrollY-60)});if($(".abstrSub .subForm.csupld input.button.upld").click(function(){$("#JustAMomentMessage").text(" Just a moment...");$("#myModal").foundation("reveal","open")}),$(".litFilename").change(function(){$("#myModal").foundation("reveal","close");$(".litFilename").scrollTo()}),$(".abstrSub .subForm.absupld input.button.upld").click(function(){$("#JustAMomentMessage").text(" Just a moment...");$("#myModal").foundation("reveal","open")}),$(".litFilename").change(function(){$("#myModal").foundation("reveal","close");$(".litFilename").scrollTo()}),$(".examHubPage").length<1&&$(".courseHubPage").length<1)$(document).on("click",".accordion dd > a",accordionSlide);$("dl.accordion.lowIncomeCountries dd").on("click","a:eq(0)",function(){var t=$(this).find(".row.collapse .text-right svg"),n;$(this).next(".content").is(":visible")?(t.attr("data-icon","plus"),n=$(this).parent().siblings(),$(n).each(function(t){$(n[t]).find(".row.collapse .text-right svg").attr("data-icon","plus")})):(n=$(this).parent().siblings(),$(n).each(function(t){$(n[t]).find(".row.collapse .text-right svg").attr("data-icon","plus")}),t.attr("data-icon","minus"))});$("table.table").each(function(){var n=$(this).attr("class");n.indexOf("responsive-table")<0&&($(this).addClass("responsive-table"),$(document).foundation("reflow"))});$("table.responsive-table thead th").each(function(){var n=$(this).attr("scope");(typeof n==typeof undefined||n===!1||n==="column")&&$(this).attr("scope","col");$(this).removeAttr("width");$(this).removeAttr("style");$(this).html($(this).text().trim())});$("table.responsive-table tbody th").each(function(){var n=$(this).attr("scope");(typeof n==typeof undefined||n===!1)&&$(this).attr("scope","row")});$("table.responsive-table").each(function(){$(this).find("tbody tr").each(function(n,t){$(t).find("th").length===0?$(t).find("td").each(function(n,t){var u,r,i,f;$(t).removeAttr("width");$(t).removeAttr("style");$(t).html().indexOf("<p>")>0&&(u=$(t).html().replace("<p>","").replace("<\/p>","").replace("&nbsp;",""),$(t).html(u));r=$(t).attr("data-title");(typeof r==typeof undefined||r===!1)&&$(this).html().indexOf("<h5>")<0&&$(this).html().indexOf("&nbsp;")<0&&(i=$(t).closest("table").find("tr").find("th").eq($(t).index()),f=i.length>0&&i.text()!=="&nbsp;"&&i.text()!==""&&i.text()!==" "&&i.html().indexOf("<h5>")<0&&i.html().indexOf("<h4>")<0?i.text()+":":"",i.length>0&&i.html().indexOf("<h5>")<0&&i.html().indexOf("<h4>")<0&&$(t).attr("data-title",f))}):$(t).find("td").each(function(n,t){var u,r,i,f;$(t).removeAttr("width");$(t).removeAttr("style");$(t).html().indexOf("<p>")>0&&(u=$(t).html().replace("<p>","").replace("<\/p>",""),$(t).html(u));r=$(t).attr("data-title");(typeof r==typeof undefined||r===!1)&&$(this).html().indexOf("<h5>")<0&&$(this).html().indexOf("&nbsp;")<0&&(i=$(t).closest("table").find("thead").find("tr").find("th").eq($(t).index()),f=i.length>0&&i.text()!=="&nbsp;"&&i.text()!==""&&i.text()!==" "&&i.html().indexOf("<h5>")<0&&i.html().indexOf("<h4>")<0?i.text()+":":"",$(t).attr("data-title",f))})})});isMedium&&(maxHeight=800,$(function(){$(".keyFacts .no-bullet li > a").click(function(){var n=$(".examHubPage .keyFacts"),u=n.find(".no-bullet").find(".loc").find("ul"),s=n.find(".no-bullet").find(".loc").find("a"),e=u.height()*1.2,i=e/maxHeight;n.data("origHeight",n.height());i>1&&n.mousemove(function(t){var f=n.offset(),r=(t.pageY-f.top)*i-n.data("origHeight")*i;r>n.data("origHeight")&&u.css({top:-r+n.data("origHeight")})});var t=$(".courseHubPage .keyFacts"),f=t.find(".no-bullet").find(".loc").find("ul"),h=t.find(".no-bullet").find(".loc").find("a"),o=f.height()*1.2,r=o/maxHeight;t.data("origHeight",t.height());r>1&&t.mousemove(function(n){var i=t.offset(),u=(n.pageY-i.top)*r-t.data("origHeight")*r;u>t.data("origHeight")&&f.css({top:-relativeY+t.data("origHeight")})})})}))