function responsiveMenu(){$(".menu").addClass("menu-hide");Modernizr.mq("only all")&&enquire.register("screen and (max-width:959px)",{match:function(){bindMenuMore();var n=$("#call > span").text();n!="Call Us"&&(n=$("#call > span").text("Call Us"))},unmatch:function(){resetMenu();var n=$("#call > span").text();n!="Call 1-888-624-0300"&&(n=$("#call > span").text("Call 1-888-624-0300"))}}).listen()}function resetMenu(){$(".more").unbind("click");$(".dropdown").removeAttr("style");$(".more.dropdown-active").toggleClass("dropdown-active");$(".dropdown.dropdown-active").toggleClass("dropdown-active")}function bindMenu(){var n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"}[Modernizr.prefixed("transition")];$(".menu-container").append('<div class="menu-close">CLOSE MENU X<\/div>');$(".menu").bind(n,function(){$(this).find(".dropdown-active").each(function(){$(this).toggleClass("dropdown-active")})});$(".btn-menu, .menu-close").on("click",function(){if(animated()){var n=$("html").hasClass("csstransitions")&&$("html").hasClass("csstransforms");n?$(".menu").toggleClass("menu-active menu-hide"):$(".menu").slideToggle()}$(".menu").hasClass("menu-active")?$(".menu-active").trigger("open"):$(".menu-hide").trigger("close")});$("#SideroadsSearchSubmit").click(function(){DoRedirectRequest()})}function bindMenuMore(){$(".more").unbind("click");$(".more").click(function(){$(this).next(".dropdown").toggleClass("dropdown-active").prev(".more").toggleClass("dropdown-active");$(this).siblings().find(".dropdown-active").each(function(){$(this).toggleClass("dropdown-active")})})}function animated(){return $(".menu").find(".dropdown, .menu-container").is(":animated")?!1:!0}function enchanceSelect(){var t=$("#selectLocationList").children().length,n;for($("#selectLocationList").before('<ul id="location-enchanced"> <li>Select a location<\/li> <li id="location-enchanced-hide" class="closed"><ul id="location-enchanced-container"><\/ul><\/li> <\/ul>'),n=1;n<t;n++)$("#location-enchanced-container").append("<li>"+$("#selectLocationList").children().eq(n).text()+"<\/li>");$("#location-enchanced").click(function(){$("#location-enchanced-hide").toggleClass("open closed")})}function DoRedirectRequest(){try{var n=$("#SideroadsSearchText").attr("value");n==""||n=="Enter your serch terms here"||(window.location="http://www.artinstitutes.edu/search-results.aspx?search="+n)}catch(t){PreVisualCore.Error.LogError("AI.MVC.Web, _Sideroads.cshtml, menu.js, search \r\n"+t)}}function mboxLoadSCPlugin(n){return n?(n.m_tt=function(n){var t=n.m_i("tt");t.O=!0;t.i="educationmanagementl";t._t=function(){var n,t;this.isEnabled()&&(n=this.Tc(),n&&(t=new mboxScPluginFetcher(this.i,this.s),n.setFetcher(t),n.load()))};t.isEnabled=function(){return this.O&&mboxFactoryDefault.isEnabled()};t.Tc=function(){var n=this.Uc(),t=document.createElement("DIV");return mboxFactoryDefault.create(n,[],t)};t.Uc=function(){var n=this.s.events&&this.s.events.indexOf("purchase")!=-1;return"SiteCatalyst: "+(n?"purchase":"event")}},n.loadModule("tt")):null}function mboxAppendAnchorTags(){var n=document.getElementsByTagName("a");for(i=0;i<n.length;i++)n[i].href.indexOf(mboxSessionKeyword)!=-1&&(n[i].href=n[i].href.replace(mboxSessionKeyword,"mboxSession="+mboxFactoryDefault.getSessionId().getId()))}function mboxAppendForm(){var n=document.getElementsByTagName("form");for(i=0;i<n.length;i++)n[i].action.indexOf(mboxSessionKeyword)!=-1&&(n[i].action=n[i].action.replace(mboxSessionKeyword,"mboxSession="+mboxFactoryDefault.getSessionId().getId()))}function mboxAppendSession(){mboxAppendAnchorTags();mboxAppendForm()}var VancouverSpecific,Window,Services,Tracking,Inquiry,PreVisualCore,mboxCopyright,TNT,mboxSessionKeyword;if(function(n){function i(n,t){for(var i=window,r=(n||"").split(".");i&&r.length;)i=i[r.shift()];return typeof i=="function"?i:(t.push(n),Function.constructor.apply(null,t))}function r(n){return n==="GET"||n==="POST"}function e(n,t){r(t)||n.setRequestHeader("X-HTTP-Method-Override",t)}function o(t,i,r){var u;r.indexOf("application/x-javascript")===-1&&(u=(t.getAttribute("data-ajax-mode")||"").toUpperCase(),n(t.getAttribute("data-ajax-update")).each(function(t,r){var f;switch(u){case"BEFORE":f=r.firstChild;n("<div />").html(i).contents().each(function(){r.insertBefore(this,f)});break;case"AFTER":n("<div />").html(i).contents().each(function(){r.appendChild(this)});break;default:n(r).html(i)}}))}function u(t,u){var s,h,f,c;(s=t.getAttribute("data-ajax-confirm"),!s||window.confirm(s))&&(h=n(t.getAttribute("data-ajax-loading")),c=t.getAttribute("data-ajax-loading-duration")||0,n.extend(u,{type:t.getAttribute("data-ajax-method")||undefined,url:t.getAttribute("data-ajax-url")||undefined,beforeSend:function(n){var r;return e(n,f),r=i(t.getAttribute("data-ajax-begin"),["xhr"]).apply(this,arguments),r!==!1&&h.show(c),r},complete:function(){h.hide(c);i(t.getAttribute("data-ajax-complete"),["xhr","status"]).apply(this,arguments)},success:function(n,r,u){o(t,n,u.getResponseHeader("Content-Type")||"text/html");i(t.getAttribute("data-ajax-success"),["data","status","xhr"]).apply(this,arguments)},error:i(t.getAttribute("data-ajax-failure"),["xhr","status","error"])}),u.data.push({name:"X-Requested-With",value:"XMLHttpRequest"}),f=u.type.toUpperCase(),r(f)||(u.type="POST",u.data.push({name:"X-HTTP-Method-Override",value:f})),n.ajax(u))}function s(t){var i=n(t).data(f);return!i||!i.validate||i.validate()}var t="unobtrusiveAjaxClick",f="unobtrusiveValidation";n("a[data-ajax=true]").live("click",function(n){n.preventDefault();u(this,{url:this.href,type:"GET",data:[]})});n("form[data-ajax=true] input[type=image]").live("click",function(i){var r=i.target.name,u=n(i.target),f=u.parents("form")[0],e=u.offset();n(f).data(t,[{name:r+".x",value:Math.round(i.pageX-e.left)},{name:r+".y",value:Math.round(i.pageY-e.top)}]);setTimeout(function(){n(f).removeData(t)},0)});n("form[data-ajax=true] :submit").live("click",function(i){var r=i.target.name,u=n(i.target).parents("form")[0];n(u).data(t,r?[{name:r,value:i.target.value}]:[]);setTimeout(function(){n(u).removeData(t)},0)});n("form[data-ajax=true]").live("submit",function(i){var r=n(this).data(t)||[];(i.preventDefault(),s(this))&&u(this,{url:this.action,type:this.method||"GET",data:r.concat(n(this).serializeArray())})})}(jQuery),function(n){"use strict";var r=n.document,u=r.documentElement,i=r.head||r.getElementsByTagName("head")[0],t={};n.ejs=t;t.hasClass=function(n,t){return n.className.indexOf(t)>-1};t.arrayIndexOf=function(n,t){for(var i=0;i<n.length;i++)if(t==n[i])return!0};t.onDefine=function(t,i){function u(){if(eval(t))while(r[0]&&typeof r[0]=="function")r.shift().call(n);else setTimeout(u,15)}var r=[];i&&r.push(i);u()};t.bodyReady=function(n){t.onDefine("document.body",n)};t.loadCSS=function(n,t){var u=r.createElement("link"),e=i.getElementsByTagName("link"),f=e[e.length-1];u.type="text/css";u.href=n;u.rel="stylesheet";t&&(u.media=t);f&&f.nextSibling?i.insertBefore(u,f.nextSibling):i.appendChild(u)};t.loadJS=function(n){var t=r.createElement("script"),u=i.firstChild;t.src=n;u?i.insertBefore(t,u):i.appendChild(t)};t.basepath={js:"",css:""};t.files={js:{},css:{}};t.jsToLoad=[];t.cssToLoad=[];t.addFile=function(n){var i=n.indexOf(".js")>-1;t[i?"jsToLoad":"cssToLoad"].push(t.basepath[i?"js":"css"]+n)};t.load=function(n){return(n.indexOf(".js")>-1?t.loadJS:t.loadCSS)(n)};t.enhance=function(){var n;if(t.jsToLoad.length)for(n=0;n<t.jsToLoad.length;n++)t.load(t.jsToLoad[n]);if(t.cssToLoad.length)for(n=0;n<t.cssToLoad.length;n++)t.load(t.cssToLoad[n])}}(this),window.matchMedia=window.matchMedia||function(n){"use strict";var u,i=n.documentElement,f=i.firstElementChild||i.firstChild,r=n.createElement("body"),t=n.createElement("div");return t.id="mq-test-1",t.style.cssText="position:absolute;top:-100em",r.style.background="none",r.appendChild(t),function(n){return t.innerHTML='&shy;<style media="'+n+'"> #mq-test-1 { width: 42px; }<\/style>',i.insertBefore(r,f),u=t.offsetWidth===42,i.removeChild(r),{matches:u,media:n}}}(document),window.enquire=function(n){"use strict";function t(n,t){var i=0,u=n.length,r;for(i;i<u;i++)if(r=t(n[i],i),r===!1)break}function f(n){return Object.prototype.toString.apply(n)==="[object Array]"}function e(n){return typeof n=="function"}function r(n){this.initialised=!1;this.options=n;n.deferSetup||this.setup()}function i(n,t){this.query=n;this.isUnconditional=t;this.handlers=[];this.matched=!1}function u(){if(!n)throw new Error("matchMedia is required");var t=new i("only all");this.queries={};this.listening=!1;this.browserIsIncapable=!t.matchMedia()}return r.prototype={setup:function(n){this.options.setup&&this.options.setup(n);this.initialised=!0},on:function(n){this.initialised||this.setup(n);this.options.match(n)},off:function(n){this.options.unmatch&&this.options.unmatch(n)},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(n){return this.options===n||this.options.match===n}},i.prototype={matchMedia:function(){return n(this.query).matches},addHandler:function(n,t){var i=new r(n);this.handlers.push(i);t&&this.matched&&i.on()},removeHandler:function(n){var i=this.handlers;t(i,function(t,r){if(t.equals(n))return t.destroy(),!i.splice(r,1)})},assess:function(n){this.matchMedia()||this.isUnconditional?this.match(n):this.unmatch(n)},match:function(n){this.matched||(t(this.handlers,function(t){t.on(n)}),this.matched=!0)},unmatch:function(n){this.matched&&(t(this.handlers,function(t){t.off(n)}),this.matched=!1)}},u.prototype={register:function(n,r,u){var o=this.queries,s=u&&this.browserIsIncapable,h=this.listening;return o.hasOwnProperty(n)||(o[n]=new i(n,s),this.listening&&o[n].assess()),e(r)&&(r={match:r}),f(r)||(r=[r]),t(r,function(t){o[n].addHandler(t,h)}),this},unregister:function(n,i){var r=this.queries;return r.hasOwnProperty(n)?(i?r[n].removeHandler(i):(t(this.queries[n].handlers,function(n){n.destroy()}),delete r[n]),this):this},fire:function(n){var t=this.queries,i;for(i in t)t.hasOwnProperty(i)&&t[i].assess(n);return this},listen:function(n){function t(t){var r;window.addEventListener(t,function(t){r&&clearTimeout(r);r=setTimeout(function(){i.fire(t)},n)},!1)}var i=this;return n=n||500,this.listening?this:(window.addEventListener&&(t("resize"),t("orientationChange")),i.fire(),this.listening=!0,this)}},new u}(window.matchMedia),window.Modernizr=function(n,t,i){function l(n){c.cssText=n}function at(n,t){return l(y.join(n+";")+(t||""))}function h(n,t){return typeof n===t}function v(n,t){return!!~(""+n).indexOf(t)}function ut(n,t){var u,r;for(u in n)if(r=n[u],!v(r,"-")&&c[r]!==i)return t=="pfx"?r:!0;return!1}function vt(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:h(u,"function")?u.bind(r||t):u;return!1}function f(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+st.join(r+" ")+r).split(" ");return h(t,"string")||h(t,"undefined")?ut(u,t):(u=(n+" "+ht.join(r+" ")+r).split(" "),vt(u,t,i))}function yt(){u.input=function(i){for(var r=0,u=i.length;r<u;r++)w[i[r]]=i[r]in o;return w.list&&(w.list=!!t.createElement("datalist")&&!!n.HTMLDataListElement),w}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));u.inputtypes=function(n){for(var u=0,r,f,e,h=n.length;u<h;u++)o.setAttribute("type",f=n[u]),r=o.type!=="text",r&&(o.value=g,o.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&o.style.WebkitAppearance!==i?(s.appendChild(o),e=t.defaultView,r=e.getComputedStyle&&e.getComputedStyle(o,null).WebkitAppearance!=="textfield"&&o.offsetHeight!==0,s.removeChild(o)):/^(search|tel)$/.test(f)||(r=/^(url|email)$/.test(f)?o.checkValidity&&o.checkValidity()===!1:o.value!=g)),ct[n[u]]=!!r;return ct}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var u={},d=!0,s=t.documentElement,e="modernizr",ft=t.createElement(e),c=ft.style,o=t.createElement("input"),g=":)",et={}.toString,y=" -webkit- -moz- -o- -ms- ".split(" "),ot="Webkit Moz O ms",st=ot.split(" "),ht=ot.toLowerCase().split(" "),p={svg:"http://www.w3.org/2000/svg"},r={},ct={},w={},nt=[],tt=nt.slice,b,a=function(n,i,r,u){var l,a,c,v,f=t.createElement("div"),h=t.body,o=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:e+(r+1),f.appendChild(c);return l=["&#173;",'<style id="s',e,'">',n,"<\/style>"].join(""),f.id=e,(h?f:o).innerHTML+=l,o.appendChild(f),h||(o.style.background="",o.style.overflow="hidden",v=s.style.overflow,s.style.overflow="hidden",s.appendChild(o)),a=i(f,n),h?f.parentNode.removeChild(f):(o.parentNode.removeChild(o),s.style.overflow=v),!!a},pt=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t).matches:(a("@media "+t+" { #"+e+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},lt=function(){function n(n,u){u=u||t.createElement(r[n]||"div");n="on"+n;var f=n in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(n,""),f=h(u[n],"function"),h(u[n],"undefined")||(u[n]=i),u.removeAttribute(n))),u=null,f}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return n}(),it={}.hasOwnProperty,rt,k;rt=!h(it,"undefined")&&!h(it.call,"undefined")?function(n,t){return it.call(n,t)}:function(n,t){return t in n&&h(n.constructor.prototype[t],"undefined")};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=tt.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(tt.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(tt.call(arguments)))},r});r.flexbox=function(){return f("flexWrap")};r.flexboxlegacy=function(){return f("boxDirection")};r.canvas=function(){var n=t.createElement("canvas");return!!n.getContext&&!!n.getContext("2d")};r.canvastext=function(){return!!u.canvas&&!!h(t.createElement("canvas").getContext("2d").fillText,"function")};r.webgl=function(){return!!n.WebGLRenderingContext};r.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:a(["@media (",y.join("touch-enabled),("),e,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i};r.geolocation=function(){return"geolocation"in navigator};r.postmessage=function(){return!!n.postMessage};r.websqldatabase=function(){return!!n.openDatabase};r.indexedDB=function(){return!!f("indexedDB",n)};r.hashchange=function(){return lt("hashchange",n)&&(t.documentMode===i||t.documentMode>7)};r.history=function(){return!!n.history&&!!history.pushState};r.draganddrop=function(){var n=t.createElement("div");return"draggable"in n||"ondragstart"in n&&"ondrop"in n};r.websockets=function(){return"WebSocket"in n||"MozWebSocket"in n};r.rgba=function(){return l("background-color:rgba(150,255,150,.5)"),v(c.backgroundColor,"rgba")};r.hsla=function(){return l("background-color:hsla(120,40%,100%,.5)"),v(c.backgroundColor,"rgba")||v(c.backgroundColor,"hsla")};r.multiplebgs=function(){return l("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(c.background)};r.backgroundsize=function(){return f("backgroundSize")};r.borderimage=function(){return f("borderImage")};r.borderradius=function(){return f("borderRadius")};r.boxshadow=function(){return f("boxShadow")};r.textshadow=function(){return t.createElement("div").style.textShadow===""};r.opacity=function(){return at("opacity:.55"),/^0.55$/.test(c.opacity)};r.cssanimations=function(){return f("animationName")};r.csscolumns=function(){return f("columnCount")};r.cssgradients=function(){var n="background-image:";return l((n+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+n)+y.join("linear-gradient(left top,#9f9, white);"+n)).slice(0,-n.length)),v(c.backgroundImage,"gradient")};r.cssreflections=function(){return f("boxReflect")};r.csstransforms=function(){return!!f("transform")};r.csstransforms3d=function(){var n=!!f("perspective");return n&&"webkitPerspective"in s.style&&a("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=t.offsetLeft===9&&t.offsetHeight===3}),n};r.csstransitions=function(){return f("transition")};r.fontface=function(){var n;return a('@font-face {font-family:"font";src:url("https://")}',function(i,r){var f=t.getElementById("smodernizr"),u=f.sheet||f.styleSheet,e=u?u.cssRules&&u.cssRules[0]?u.cssRules[0].cssText:u.cssText||"":"";n=/src/i.test(e)&&e.indexOf(r.split(" ")[0])===0}),n};r.generatedcontent=function(){var n;return a(["#",e,"{font:0/0 a}#",e,':after{content:"',g,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){n=t.offsetHeight>=3}),n};r.video=function(){var i=t.createElement("video"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=i.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=i.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n};r.audio=function(){var i=t.createElement("audio"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=i.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n};r.localstorage=function(){try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(n){return!1}};r.sessionstorage=function(){try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(n){return!1}};r.webworkers=function(){return!!n.Worker};r.applicationcache=function(){return!!n.applicationCache};r.svg=function(){return!!t.createElementNS&&!!t.createElementNS(p.svg,"svg").createSVGRect};r.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="<svg/>",(n.firstChild&&n.firstChild.namespaceURI)==p.svg};r.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(et.call(t.createElementNS(p.svg,"animate")))};r.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(et.call(t.createElementNS(p.svg,"clipPath")))};for(k in r)rt(r,k)&&(b=k.toLowerCase(),u[b]=r[k](),nt.push((u[b]?"":"no-")+b));return u.input||yt(),u.addTest=function(n,t){if(typeof n=="object")for(var r in n)rt(n,r)&&u.addTest(r,n[r]);else{if(n=n.toLowerCase(),u[n]!==i)return u;t=typeof t=="function"?t():t;typeof d!="undefined"&&d&&(s.className+=" "+(t?"":"no-")+n);u[n]=t}return u},l(""),ft=o=null,function(n,t){function v(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function s(){var n=r.elements;return typeof n=="string"?n.split(" "):n}function u(n){var t=a[n[l]];return t||(t={},o++,n[l]=o,a[o]=t),t}function h(n,r,f){if(r||(r=t),i)return r.createElement(n);f||(f=u(r));var e;return e=f.cache[n]?f.cache[n].cloneNode():b.test(n)?(f.cache[n]=f.createElem(n)).cloneNode():f.createElem(n),e.canHaveChildren&&!w.test(n)?f.frag.appendChild(e):e}function y(n,r){if(n||(n=t),i)return n.createDocumentFragment();r=r||u(n);for(var e=r.frag.cloneNode(),f=0,o=s(),h=o.length;f<h;f++)e.createElement(o[f]);return e}function p(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(i){return r.shivMethods?h(i,n,t):t.createElem(i)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/\w+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(r,t.frag)}function c(n){n||(n=t);var f=u(n);return r.shivCSS&&!e&&!f.hasCSS&&(f.hasCSS=!!v(n,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),i||p(n,f),n}var f=n.html5||{},w=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,b=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,e,l="_html5shiv",o=0,a={},i,r;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";e="hidden"in n;i=n.childNodes.length==1||function(){t.createElement("a");var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()}catch(r){e=!0;i=!0}})();r={elements:f.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:f.shivCSS!==!1,supportsUnknownElements:i,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:c,createElement:h,createDocumentFragment:y};n.html5=r;c(t)}(this,t),u._version="2.6.2",u._prefixes=y,u._domPrefixes=ht,u._cssomPrefixes=st,u.mq=pt,u.hasEvent=lt,u.testProp=function(n){return ut([n])},u.testAllProps=f,u.testStyles=a,u.prefixed=function(n,t,i){return t?f(n,t,i):f(n,"pfx")},s.className=s.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(d?" js "+nt.join(" "):""),u}(this,this.document),function(n,t,i){function h(n){return"[object Function]"==y.call(n)}function c(n){return"string"==typeof n}function l(){}function w(n){return!n||"loaded"==n||"complete"==n||"uninitialized"==n}function e(){var n=a.shift();v=1;n?n.t?s(function(){("c"==n.t?u.injectCss:u.injectJs)(n.s,0,n.a,n.x,n.e,1)},0):(n(),e()):v=0}function ut(n,i,f,h,c,l,y){function k(t){if(!nt&&w(p.readyState)&&(tt.r=nt=1,!v&&e(),p.onload=p.onreadystatechange=null,t)){"img"!=n&&s(function(){g.removeChild(p)},50);for(var u in r[i])r[i].hasOwnProperty(u)&&r[i][u].onload()}}var y=y||u.errorTimeout,p=t.createElement(n),nt=0,b=0,tt={t:f,s:i,e:c,a:l,x:y};1===r[i]&&(b=1,r[i]=[]);"object"==n?p.data=i:(p.src=i,p.type=n);p.width=p.height="0";p.onerror=p.onload=p.onreadystatechange=function(){k.call(this,b)};a.splice(h,0,tt);"img"!=n&&(b||2===r[i]?(g.insertBefore(p,d?null:o),s(k,y)):r[i].push(p))}function ft(n,t,i,r,u){return v=0,t=t||"j",c(n)?ut("c"==t?et:nt,n,t,this.i++,i,r,u):(a.splice(this.i++,0,n),1==a.length&&e()),this}function b(){var n=u;return n.loader={load:ft,i:0},n}var f=t.documentElement,s=n.setTimeout,o=t.getElementsByTagName("script")[0],y={}.toString,a=[],v=0,k="MozAppearance"in f.style,d=k&&!!t.createRange().compareNode,g=d?f:o.parentNode,f=n.opera&&"[object Opera]"==y.call(n.opera),f=!!t.attachEvent&&!f,nt=k?"object":f?"script":"img",et=f?"script":nt,tt=Array.isArray||function(n){return"[object Array]"==y.call(n)},p=[],r={},it={timeout:function(n,t){return t.length&&(n.timeout=t[0]),n}},rt,u;u=function(n){function a(n){for(var n=n.split("!"),f=p.length,t=n.pop(),e=n.length,t={url:t,origUrl:t,prefixes:n},u,r,i=0;i<e;i++)r=n[i].split("="),(u=it[r.shift()])&&(t=u(t,r));for(i=0;i<f;i++)t=p[i](t);return t}function f(n,t,u,f,e){var o=a(n),s=o.autoCallback;o.url.split(".").pop().split("?").shift();o.bypass||(t&&(t=h(t)?t:t[n]||t[f]||t[n.split("/").pop().split("?")[0]]),o.instead?o.instead(n,t,u,f,e):(r[o.url]?o.noexec=!0:r[o.url]=1,u.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":i,o.noexec,o.attrs,o.timeout),(h(t)||h(s))&&u.load(function(){b();t&&t(o.origUrl,e,f);s&&s(o.origUrl,e,f);r[o.url]=2})))}function s(n,t){function a(n,o){if(n){if(c(n))o||(i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}),f(n,i,t,0,e);else if(Object(n)===n)for(r in v=function(){var t=0,i;for(i in n)n.hasOwnProperty(i)&&t++;return t}(),n)n.hasOwnProperty(r)&&(!o&&!--v&&(h(i)?i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}:i[r]=function(n){return function(){var t=[].slice.call(arguments);n&&n.apply(this,t);u()}}(s[r])),f(n[r],i,t,r,e))}else o||u()}var e=!!n.test,o=n.load||n.both,i=n.callback||l,s=i,u=n.complete||l,v,r;a(e?n.yep:n.nope,!!o);o&&a(o)}var e,t,o=this.yepnope.loader;if(c(n))f(n,0,o,0);else if(tt(n))for(e=0;e<n.length;e++)t=n[e],c(t)?f(t,0,o,0):tt(t)?u(t):Object(t)===t&&s(t,o);else Object(n)===n&&s(n,o)};u.addPrefix=function(n,t){it[n]=t};u.addFilter=function(n){p.push(n)};u.errorTimeout=1e4;null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",rt=function(){t.removeEventListener("DOMContentLoaded",rt,0);t.readyState="complete"},0));n.yepnope=b();n.yepnope.executeStack=e;n.yepnope.injectJs=function(n,i,r,f,h,c){var a=t.createElement("script"),v,y,f=f||u.errorTimeout;a.src=n;for(y in r)a.setAttribute(y,r[y]);i=c?e:i||l;a.onreadystatechange=a.onload=function(){!v&&w(a.readyState)&&(v=1,i(),a.onload=a.onreadystatechange=null)};s(function(){v||(v=1,i(1))},f);h?a.onload():o.parentNode.insertBefore(a,o)};n.yepnope.injectCss=function(n,i,r,u,f,h){var u=t.createElement("link"),c,i=h?e:i||l;u.href=n;u.rel="stylesheet";u.type="text/css";for(c in r)u.setAttribute(c,r[c]);f||(o.parentNode.insertBefore(u,o),s(i,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest("display-table",function(){var t=window.document,i=t.documentElement,n=t.createElement("div"),r=t.createElement("div"),u=t.createElement("div"),f;return n.style.cssText="display: table",r.style.cssText=u.style.cssText="display: table-cell; padding: 10px",n.appendChild(r),n.appendChild(u),i.insertBefore(n,i.firstChild),f=r.offsetLeft<u.offsetLeft,i.removeChild(n),f}),window.matchMedia=window.matchMedia||function(n){"use strict";var u,i=n.documentElement,f=i.firstElementChild||i.firstChild,r=n.createElement("body"),t=n.createElement("div");return t.id="mq-test-1",t.style.cssText="position:absolute;top:-100em",r.style.background="none",r.appendChild(t),function(n){return t.innerHTML='&shy;<style media="'+n+'"> #mq-test-1 { width: 42px; }<\/style>',i.insertBefore(r,f),u=t.offsetWidth===42,i.removeChild(r),{matches:u,media:n}}}(document),function(n){"use strict";function g(){v(!0)}var r={};if(n.respond=r,r.update=function(){},r.mediaQueriesSupported=n.matchMedia&&n.matchMedia("only all").matches,!r.mediaQueriesSupported){var t=n.document,u=t.documentElement,f=[],e=[],i=[],h={},y=30,o=t.getElementsByTagName("head")[0]||u,nt=t.getElementsByTagName("base")[0],s=o.getElementsByTagName("link"),c=[],p=function(){for(var r=0;r<s.length;r++){var t=s[r],i=t.href,u=t.media,f=t.rel&&t.rel.toLowerCase()==="stylesheet";!i||!f||h[i]||(t.styleSheet&&t.styleSheet.rawCssText?(b(t.styleSheet.rawCssText,i,u),h[i]=!0):(/^([a-zA-Z:]*\/\/)/.test(i)||nt)&&i.replace(RegExp.$1,"").split("/")[0]!==n.location.host||c.push({href:i,media:u}))}w()},w=function(){if(c.length){var t=c.shift();tt(t.href,function(i){b(i,t.href,t.media);h[t.href]=!0;n.setTimeout(function(){w()},0)})}},b=function(n,t,i){var s=n.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),h=s&&s.length||0,c,l,u,a,r,y,p,o;for(t=t.substring(0,t.lastIndexOf("/")),c=function(n){return n.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+t+"$2$3")},l=!h&&i,t.length&&(t+="/"),l&&(h=1),u=0;u<h;u++)for(l?(a=i,e.push(c(n))):(a=s[u].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,e.push(RegExp.$2&&c(RegExp.$2))),y=a.split(","),p=y.length,o=0;o<p;o++)r=y[o],f.push({media:r.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:e.length-1,hasquery:r.indexOf("(")>-1,minw:r.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:r.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});v()},l,k,d=function(){var r,i=t.createElement("div"),n=t.body,f=!1;return i.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=f=t.createElement("body"),n.style.background="none"),n.appendChild(i),u.insertBefore(n,u.firstChild),r=i.offsetWidth,f?u.removeChild(n):n.removeChild(i),a=parseFloat(r)},a,v=function(r){var rt="clientWidth",ut=u[rt],ft=t.compatMode==="CSS1Compat"&&ut||t.body[rt]||ut,p={},ct=s[s.length-1],et=(new Date).getTime(),tt,g,nt,h,it;if(r&&l&&et-l<y){n.clearTimeout(k);k=n.setTimeout(v,y);return}l=et;for(tt in f)if(f.hasOwnProperty(tt)){var c=f[tt],w=c.minw,b=c.maxw,ot=w===null,st=b===null,ht="em";!w||(w=parseFloat(w)*(w.indexOf(ht)>-1?a||d():1));!b||(b=parseFloat(b)*(b.indexOf(ht)>-1?a||d():1));c.hasquery&&(ot&&st||!(ot||ft>=w)||!(st||ft<=b))||(p[c.media]||(p[c.media]=[]),p[c.media].push(e[c.rules]))}for(g in i)i.hasOwnProperty(g)&&i[g]&&i[g].parentNode===o&&o.removeChild(i[g]);for(nt in p)p.hasOwnProperty(nt)&&(h=t.createElement("style"),it=p[nt].join("\n"),h.type="text/css",h.media=nt,o.insertBefore(h,ct.nextSibling),h.styleSheet?h.styleSheet.cssText=it:h.appendChild(t.createTextNode(it)),i.push(h))},tt=function(n,t){var i=it();i&&(i.open("GET",n,!0),i.onreadystatechange=function(){i.readyState===4&&(i.status===200||i.status===304)&&t(i.responseText)},i.readyState!==4)&&i.send(null)},it=function(){var t=!1;try{t=new n.XMLHttpRequest}catch(i){t=new n.ActiveXObject("Microsoft.XMLHTTP")}return function(){return t}}();p();r.update=p;n.addEventListener?n.addEventListener("resize",g,!1):n.attachEvent&&n.attachEvent("onresize",g)}}(this),$(document).ready(function(){if(bindMenu(),responsiveMenu(),Modernizr.mq("screen and (max-width:959px)"))bindMenuMore();else{$(".menu-close").css("display","none");$(".menu").removeClass("menu-hide");$(".menu").addClass("menu-desktop");$(".btn-menu").css("display","none");var n=$("html").hasClass("csstransitions")&&$("html").hasClass("csstransforms");n||$(".menu").show()}}),VancouverSpecific=VancouverSpecific||{ChooseUSVersionOfVancouver:function(){this.createVancouverCookie("HasUserChosenUSVersionOfVancouver","1",3650);window.location.reload()},ChooseUSVersionOfVancouverAlternate:function(){this.createVancouverCookie("HasUserChosenUSVersionOfVancouver","1",3650)},ChooseCanadianVersionOfVancouver:function(){this.createVancouverCookie("HasUserChosenUSVersionOfVancouver","0",3650);window.location.reload()},ChooseCanadianVersionOfVancouverAlternate:function(){this.createVancouverCookie("HasUserChosenUSVersionOfVancouver","0",3650)},ChooseUSVersionOfVancouverForAOSLister:function(){this.createVancouverCookie("HasUserChosenUSVersionOfVancouver","1",3650);var n=window.location.href;n.indexOf("/areasofstudy/find/17#divAOSResultsContainer")>0&&window.location.reload();window.location="/areasofstudy/find/17#divAOSResultsContainer"},ChooseCanadianVersionOfVancouverForAOSLister:function(){this.createVancouverCookie("HasUserChosenUSVersionOfVancouver","0",3650);var n=window.location.href;n.indexOf("/areasofstudy/find/17#divAOSResultsContainer")>0&&window.location.reload();window.location="/areasofstudy/find/17#divAOSResultsContainer"},HasUserChosenUSVersionOfVancouver:function(){for(var i=document.cookie.split(";"),r=0,u="HasUserChosenUSVersionOfVancouver",f=i!=null?i.length:0,t,n=0;n<f;n++)t=$.trim(i[n]),t.indexOf(u)==0&&(r=t.substring(u.length+1,t.length));return r==1?!0:!1},HasUserExplicitlyChosenCanadianVancouver:function(){for(var i=document.cookie.split(";"),r=0,u="HasUserChosenUSVersionOfVancouver",t,n=0;n<i.length;n++)t=$.trim(i[n]),t.indexOf(u)==0&&(r=t.substring(u.length+1,t.length));return r==0?!0:!1},createVancouverCookie:function(n,t,i){var f,r,u;i?(f=new Date,f.setTime(f.getTime()+i*864e5),r="; expires="+f.toGMTString()):r="";window.location.hostname=="localhost"?(u=n+"="+t+r+"; Path=/",document.cookie=u):(u=n+"="+t+r+"; Path=/; Domain=.artinstitutes.edu",document.cookie=u)},hideShowVancouver:function(){VancouverSpecific.HasUserChosenUSVersionOfVancouver()?($(".CanadianVancouverOnly").hide(),$(".USVancouverOnly").show()):($(".CanadianVancouverOnly").show(),$(".USVancouverOnly").hide());var n=window.location.pathname;VancouverSpecific.HasUserChosenUSVersionOfVancouver()==!1&&n.indexOf("vancouver")>0&&$(".SuppressForCanadianVancouver").hide()}},$(document).ready(function(){VancouverSpecific.hideShowVancouver();window.location.href.indexOf("vancouver")>-1&&(VancouverSpecific.HasUserExplicitlyChosenCanadianVancouver()?$("#financialAidTopLink").attr("href","/financial-aid/canadian/vancouver"):$("#financialAidTopLink").attr("href","/FinancialAid"))}),PreVisualCore=PreVisualCore||{},PreVisualCore.Error=PreVisualCore.Error||{LogError:function(n){$.post("/Error/LogJavaScriptError",{message:n})}},navigator.sayswho=function(){var r=navigator.appName,t=navigator.userAgent,i,n=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return n&&(i=t.match(/version\/([\.\d]+)/i))!=null&&(n[2]=i[1]),n?[n[1],n[2]]:[r,navigator.appVersion,"-?"]}(),config={src:"/elmah.axd/download",title:"Art Institutes",limit:1e4},Window=Window||{},Window.Common=Window.Common||{Debug:!1,NewWindow:function(n,t,i){var r=window.open(n,"_blank","width="+t+",height="+i+",scrollbars=1,resizable=1");r!=null&&r.focus()},UpdateNavigationUrl:function(n){$.ajax({url:n,dataType:"html",success:function(){},error:function(){PreVisualCore.Error.LogError("windows.common.js"+n)}})},UpdateWindowLocationPathname:function(n){try{Modernizr.history?window.history.pushState({html:"",pageTitle:n},"",n):window.location.href=n}catch(t){PreVisualCore.Error.LogError("AI.MVC.Web, FinancialAid, CampusLocationInfo.PushStateHistory(),"+n+"\r\n"+t)}},SetIconsBasedOnCSSClass:function(){$(".is-icon-Advertising").html("&#x2f;");$(".is-icon-Animation").html("&#x2e;");$(".is-icon-Audio-Production").html("&#x2d;");$(".is-icon-Culinary-Arts").html("&#x2c;");$(".is-icon-Culinary-Management").html("&#x2b;");$(".is-icon-Digital-Film").html("&#x2a;");$(".is-icon-Fashion-Design").html("&#x28;");$(".is-icon-Fashion-Marketing").html("&#x27;");$(".is-icon-Game-Design-and-Programming").html("&#x26;");$(".is-icon-Graphic-and-Web-Design").html("&#x25;");$(".is-icon-Industrial-Design").html("&#x24;");$(".is-icon-Interior-Design").html("&#x23;");$(".is-icon-Photography").html("&#x22;");$(".is-icon-Special-Effects").html("&#x21;")}},Window=Window||{},Window.Common=Window.Common||{URLRewriteChange:function(){$.ajax({url:"/Rewrite/?url=URLINQUESTION",dataType:"html",success:function(){},error:function(){},complete:function(){}})}},Services=Services||{},Services.ProgramOfferings=Services.ProgramOfferings||{IsDevEnvironment:function(){var n=window.location.href;return window.location.hostname=="localhost"||n.indexOf("main.artinstitutes.edu")>0||n.indexOf("dev.artinstitutes.edu")>0?!0:!1},GetProgramOfferingsMinimalByLocationID:function(n,t){var i,r,u;try{if(i=this.IsDevEnvironment()==!0?"http://d.services.edmc.edu/ProgramOfferings/MinimalByLocationJson/"+n:"http://services.edmc.edu/ProgramOfferings/MinimalByLocationJson/"+n,n==17){var f=document.cookie.split(";"),e=0,o="HasUserChosenUSVersionOfVancouver",h=f!=null?f.length:0;for(r=0;r<h;r++)u=$.trim(f[r]),u.indexOf(o)==0&&(e=u.substring(o.length+1,u.length));i=e==1?this.IsDevEnvironment()==!0?"http://d.services.edmc.edu/ProgramOfferings/MinimalByLocationWithTitleIVEligibilityJson/"+n:"http://services.edmc.edu/ProgramOfferings/MinimalByLocationWithTitleIVEligibilityJson/"+n:this.IsDevEnvironment()?"http://d.services.edmc.edu/ProgramOfferings/MinimalByLocationWithoutTitleIVEligibilityJson/"+n:"http://services.edmc.edu/ProgramOfferings/MinimalByLocationWithoutTitleIVEligibilityJson/"+n}var s=[],c=function(n){for(var r,i=0,u=n.length;i<u;i++)r=new EDMC.Core.Models.ProgramOfferings.ProgramOfferingDetailMinimal,EDMC.Core.Bind.BindProperties(n[i],r),s.push(r);t(s)},l=function(){Window.Common.Debug&&console.log("Services.ProgramOfferings.GetProgramOfferingsMinimalByLocationID(): Message: "+ex.message+"\r\n Description: "+ex.description+"\r\n Name: "+ex.name);PreVisualCore.Error.LogError("Services.ProgramOfferings.GetProgramOfferingsMinimalByLocationID(): Message: "+ex.message+"\r\n Description: "+ex.description+"\r\n Name: "+ex.name)},a=function(){};EDMC.Core.Services.BaseService(i,"","jsonp",c,l,a)}catch(ex){Window.Common.Debug&&console.log("Services.ProgramOfferings.GetProgramOfferingsMinimalByLocationID(): Message: "+ex.message+"\r\n Description: "+ex.description+"\r\n Name: "+ex.name);PreVisualCore.Error.LogError("Services.ProgramOfferings.GetProgramOfferingsMinimalByLocationID(): Message: "+ex.message+"\r\n Description: "+ex.description+"\r\n Name: "+ex.name)}}},Services=Services||{},Services.ZipCodeLookup=Services.ZipCodeLookup||{GetCityState:function(n,t){try{var i="http://services.edmc.edu/ZipCode/GetCityState/"+n,r=function(n){var r=function(){this.City="";this.State=""},i=new r;i.City=n.City;i.State=n.State;t(i)},u=function(){Window.Common.Debug&&console.log("Services.ZipCodeLookup.GetCityState(): Message: "+ex.message+"\r\n Description: "+ex.description+"\r\n Name: "+ex.name);PreVisualCore.Error.LogError("Services.ZipCodeLookup.GetCityState(): Message: "+ex.message+"\r\n Description: "+ex.description+"\r\n Name: "+ex.name)},f=function(){};EDMC.Core.Services.BaseService(i,"","jsonp",r,u,f)}catch(ex){Window.Common.Debug&&console.log("Services.ZipCodeLookup.GetCityState(): Message: "+ex.message+"\r\n Description: "+ex.description+"\r\n Name: "+ex.name);PreVisualCore.Error.LogError("Services.ZipCodeLookup.GetCityState(): Message: "+ex.message+"\r\n Description: "+ex.description+"\r\n Name: "+ex.name)}}},Tracking=Tracking||{},Tracking.Omniture=Tracking.Omniture||{FireOmniturePage:function(n){s.pageName=n.pageName;s.channel="";FireOmniture()},FireOmniture:function(){var n=s.t();n&&document.write(n)},GetOmnitureVariablesANDFirePageLoad:function(n){$.ajax({url:"/Omniture/?URL="+n,dataType:"html",success:function(html){eval(html);Tracking.Omniture.FireOmniture()}})},GetOmnitureVariablesANDFirePageLoadFlyOver:function(n){$.ajax({url:"/Omniture/?URL="+n,dataType:"html",success:function(html){eval(html);Tracking.Omniture.FireOmniture()}})},InitializeTrackingForLinks:function(){$(".TrackingDocuments").attr("onclick","s.tl(this,'o','Document Link');");$(".ExternalLink").attr("onclick","s.tl(this,'o','External Link');")}},Tracking.Omniture.omnitureProperties=function(){Channel="";eVar10="";eVar11="";eVar12="";eVar13="";eVar14="";eVar15="";eVar16="";eVar17="";eVar18="";eVar19="";eVar2="";eVar20="";eVar21="";eVar22="";eVar5="";eVar41="";Event="";IsRIFCompleted="";PageName="";Prop1="";Prop2="";Prop3="";Prop4="";URL=""},Inquiry=Inquiry||{},Inquiry.FocusEvents=Inquiry.FocusEvents||{TextFieldBlur:function(n){try{$(n).val()==""&&$(n).val($(n).attr("title"))}catch(t){Window.Common.Debug&&console.log("Inquiry.FocusEvents.TextFieldBlur(): Message: "+t.message+"\r\n Description: "+t.description+"\r\n Name: "+t.name);PreVisualCore.Error.LogError("Inquiry.FocusEvents.TextFieldBlur(): Message: "+t.message+"\r\n Description: "+t.description+"\r\n Name: "+t.name)}},TextFieldFocus:function(n){try{$(n).val()==$(n).attr("title")&&$(n).val("")}catch(t){Window.Common.Debug&&console.log("Inquiry.FocusEvents.TextFieldFocus(): Message: "+t.message+"\r\n Description: "+t.description+"\r\n Name: "+t.name);PreVisualCore.Error.LogError("Inquiry.FocusEvents.TextFieldFocus(): Message: "+t.message+"\r\n Description: "+t.description+"\r\n Name: "+t.name)}}},Inquiry=Inquiry||{},Inquiry.KeyEvents=Inquiry.KeyEvents||{PhoneFieldPreviousValue:"",PhoneKeyUp:function(n){try{if($(n).val().length<Inquiry.KeyEvents.PhoneFieldPreviousValue.length){Inquiry.KeyEvents.PhoneFieldPreviousValue=$(n).val();return}var t=$(n).val();if((isNaN(t.substring(t.length-1,t.length))||t.length>14)&&(t=t.substring(0,t.length-1)),t=t.replace("(",""),t=t.replace(")",""),t=t.replace("-",""),t=t.replace(" ",""),t.length==0){$(n).val("(");Inquiry.KeyEvents.PhoneFieldPreviousValue=$(n).val();return}if(t.length<3){$(n).val("("+t);Inquiry.KeyEvents.PhoneFieldPreviousValue=$(n).val();return}if(t.length<6){$(n).val("("+t.substring(0,3)+") "+t.substring(3,t.length));Inquiry.KeyEvents.PhoneFieldPreviousValue=$(n).val();return}$(n).val("("+t.substring(0,3)+") "+t.substring(3,6)+"-"+t.substring(6,10));Inquiry.KeyEvents.PhoneFieldPreviousValue=$(n).val();return}catch(i){Window.Common.Debug&&console.log("Inquiry.KeyEvents.PhoneKeyPress(): Message: "+i.message+"\r\n Description: "+i.description+"\r\n Name: "+i.name);PreVisualCore.Error.LogError("Inquiry.KeyEvents.PhoneKeyPress(): Message: "+i.message+"\r\n Description: "+i.description+"\r\n Name: "+i.name)}}},Inquiry=Inquiry||{},Inquiry.Population=Inquiry.Population||{BrandId:1,PopulatePrograms:function(n,t){try{t>=1?Services.ProgramOfferings.GetProgramOfferingsMinimalByLocationID(t,function(t){var i;t=PreVisualCore.Array.Methods.Sort(t,"OutcomeLevelId");n.options[0]=new Option("Select a Program",-1);var u=-1,f=t.length,r="";for(i=0;i<f;i++)u!=t[i].OutcomeLevelId&&(u=t[i].OutcomeLevelId,i!=0&&(r=r+"<\/optgroup>"),r=r+'<optgroup class="Program-Option-Group" label="'+t[i].OutcomeLevelName+'">'),r=r+'<option class="Program-Option" value='+t[i].ProgramOfferingID+">"+t[i].ProgramName+" ("+t[i].OutcomeCode+")<\/option>";t.length>0&&(r=r+"<\/optgroup>",$(n).append(r));n.selectedIndex=0;n.focus()},function(n){alert(n)}):$(n).options.length=0}catch(i){Window.Common.Debug&&console.log("Inquiry.Population.PopulatePrograms(): Message: "+i.message+"\r\n Description: "+i.description+"\r\n Name: "+i.name);PreVisualCore.Error.LogError("Inquiry.Population.PopulatePrograms(): Message: "+i.message+"\r\n Description: "+i.description+"\r\n Name: "+i.name)}},LocationDropdownChange:function(n){Inquiry.Population.LocationDropdownChangeWithTemplateId(n,1)},LocationDropdownChangeWithTemplateId:function(n,t){var u,f,r;try{for(u=$("[id^="+t+"_]"),f=u.length,r=0;r<f;r++)u[r].getAttribute("class").indexOf("PopulatePrograms")>=0&&Inquiry.Population.PopulatePrograms(u[r],n.value)}catch(i){Window.Common.Debug&&console.log("Inquiry.Population.LocationDropdownChange(): Message: "+i.message+"\r\n Description: "+i.description+"\r\n Name: "+i.name);PreVisualCore.Error.LogError("Inquiry.Population.LocationDropdownChange(): Message: "+i.message+"\r\n Description: "+i.description+"\r\n Name: "+i.name)}},IsDevEnvironment:function(){var n=windows.location.href.toString();return window.location.hostname=="localhost"||n.indexOf("main.artinstitutes.edu")>0||n.indexOf("dev.artinstitutes.edu")>0?!0:!1},PopulateLocations:function(){try{EDMC.Core.Services.Domain=this.IsDevEnvironment()==!0?"http://d.services.edmc.edu":"http://services.edmc.edu";EDMC.Core.Services.CampusLocations.GetCampusLocationsBareBonesList(Inquiry.Population.BrandId,function(n){for(var r=n.length,i,t=0;t<r;t++)i="<option value="+n[t].ID+">"+n[t].Name+"<\/option>",$(".PopulateLocations").append(i)},function(n){alert(n)})}catch(n){Window.Common.Debug&&console.log("Inquiry.Population.PopulateLocations(): Message: "+n.message+"\r\n Description: "+n.description+"\r\n Name: "+n.name);PreVisualCore.Error.LogError("Inquiry.Population.PopulateLocations(): Message: "+n.message+"\r\n Description: "+n.description+"\r\n Name: "+n.name)}},PopulateCounrties:function(){},PopulateStates:function(){},PopulateHSGradYear:function(n){try{for(var u=new Date,r=u.getYear()+1900,i=0;i<50;)$(n).append("<option value='"+(r-i)+"'>"+(r-i)+"<\/option>"),i=i+1}catch(t){Window.Common.Debug&&console.log("Inquiry.Population.PopulateHSGradYear(): Message: "+t.message+"\r\n Description: "+t.description+"\r\n Name: "+t.name);PreVisualCore.Error.LogError("Inquiry.Population.PopulateHSGradYear(): Message: "+t.message+"\r\n Description: "+t.description+"\r\n Name: "+t.name)}},PopulateTermYear:function(n){try{for(var u=new Date,r=u.getYear()+1900,i=0;i<4;)$(n).append("<option value='"+(r-+i)+"'>"+(r+i)+"<\/option>"),i=i+1}catch(t){Window.Common.Debug&&console.log("Inquiry.Population.PopulateTermYear(): Message: "+t.message+"\r\n Description: "+t.description+"\r\n Name: "+t.name);PreVisualCore.Error.LogError("Inquiry.Population.PopulateTermYear(): Message: "+t.message+"\r\n Description: "+t.description+"\r\n Name: "+t.name)}},PopulateTermSeason:function(n){try{$(n).append("<option value='Fall'>Fall<\/option>");$(n).append("<option value='Spring'>Spring<\/option>")}catch(t){Window.Common.Debug&&console.log("Inquiry.Population.PopulateTermSeason(): Message: "+t.message+"\r\n Description: "+t.description+"\r\n Name: "+t.name);PreVisualCore.Error.LogError("Inquiry.Population.PopulateTermSeason(): Message: "+t.message+"\r\n Description: "+t.description+"\r\n Name: "+t.name)}}},function(n){n.fn.facultySlider=function(){return this.each(function(){var i,t;for(n(this).addClass("slider"),i=n(this).children().length,t=0;t>i;t++);})}}(jQuery),$(document).ready(function(){$(".faculty-slider").facultySlider()}),PreVisualCore=PreVisualCore||{},PreVisualCore.Array=PreVisualCore.Array||{},PreVisualCore.Array.Methods=PreVisualCore.Array.Methods||{Sort:function(n,t){return n.sort(function(n,i){var r=n[t];return n[t]==i[t]?0:n[t]<i[t]?-1:1}),n},FilterList:function(n,t,i){var u,f,e,r;if(n instanceof Array&&n.length>0){for(u=EDMC.Core.GetProperties(n[0]),f=!1,r=0;r<u.length;r++)u[r]==t&&(f=!0);if(f){for(e=[],r=0;r<n.length;r++)n[r][t]==i&&e.push(n[r]);return e}}return null},DistinctList:function(n,t){var f,e,r,i,o,u;if(n instanceof Array&&n.length>0){for(f=EDMC.Core.GetProperties(n[0]),e=!1,i=0;i<f.length;i++)f[i]==t&&(e=!0);if(e){for(r=[],i=0;i<n.length;i++){for(o=!1,u=0;u<r.length;u++)r[u][t]==n[i][t]&&(o=!0);o==!1&&r.push(n[i])}return r}}return null}},$(document).ready(function(){validateRIF.bindEvents($("#requestInfoForm"))}),validateRIF={bindEvents:function(n){$("#submit").click(function(t){n.find(".required label").each(function(){var n=$(this).attr("for"),t=$("#"+n),i=$(this).parent();validateRIF.start(t,i)});n.find(".error-empty").length||n.find(".error-invalid").length?t.preventDefault():$('[name="formUrl"]').val().length<3&&$('[name="formUrl"]').val(document.location.href)});n.find(".required input").each(function(){var n=$(this),t=$(this).parent();$(this).blur(function(){validateRIF.start(n,t)})});n.find("select").each(function(){var n=$(this).parent();$(this).change(function(){n.hasClass("error-empty")&&n.removeClass("error-empty")})});$('[name="sourcecode"]').change(function(){$(this).val()=="WSBDR"||$(this).val()=="WHSRP"?$(this).parent().next(".vendorId").slideDown():$(this).parent().next(".vendorId").slideUp()})},start:function(n,t){function i(i){i?(t.addClass("error-invalid"),n.trigger("error-invalid")):(t.hasClass("error-invalid")&&t.removeClass("error-invalid"),n.unbind("error-invalid"))}if(validateRIF.empty(n)?(t.hasClass("error-empty")&&t.removeClass("error-empty"),t.unbind("error-empty")):(t.addClass("error-empty"),n.trigger("error-empty")),!t.hasClass("error-empty"))switch(n.attr("name").toLowerCase()){case"email":validateRIF.email(n.val())?i(!1):i(!0);break;case"phone1":validateRIF.phone(n.val())?i(!1):i(!0);break;case"phone2":validateRIF.phone(n.val())?i(!1):i(!0);break;case"phone3":validateRIF.phone(n.val())?i(!1):i(!0);break;case"zipcode":validateRIF.zip(n.val())?i(!1):i(!0)}},empty:function(n){return n.val()&&n.val()!=null&&n.val()!="-1"?!0:!1},email:function(n){n=n.toLowerCase();var t=new RegExp("[a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z0-9-]+(.[a-z0-9-]+)*");return t.test(n)?!0:!1},phone:function(n){return/^\(?(\d{3})\)?[- ]?(\d{3})[- ]?(\d{4})$/.test(n)?!0:!1},zip:function(n){return/(^\d{5}(-\d{4})?$)|(^[ABCEGHJKLMNPRSTVXY]{1}\d{1}[A-Z]{1} *\d{1}[A-Z]{1}\d{1}$)/.test(n)?(validateRIF.zipLookup(n),!0):!1},zipLookup:function(n){Services.ZipCodeLookup.GetCityState(n.replace(" ",""),function(n){n!=null&&(n.City=="0"?$(".city-state").slideDown():($(".city-state").slideUp(),$('[name="city"]').val(n.City),$("[name='state']").val(n.State)))})}},mboxCopyright="Copyright 1996-2014. Adobe Systems Incorporated. All rights reserved.",TNT=TNT||{},TNT.a=TNT.a||{},TNT.a.nestedMboxes=[],TNT.getGlobalMboxName=function(){return"target-global-mbox"},TNT.getGlobalMboxLocation=function(){return""},TNT.isAutoCreateGlobalMbox=function(){return!1},TNT.a.b=function(){var u={}.toString,i=window.targetPageParams,r="",n=[],t;if(typeof i!="undefined"&&u.call(i)==="[object Function]"){try{r=i()}catch(f){}if(r.length>0)for(n=r.split("&"),t=0;t<n.length;t++)n[t]=decodeURIComponent(n[t])}return n},mboxUrlBuilder=function(n,t){this.h=n;this.i=t;this.j=[];this.k=function(n){return n};this.m=null},mboxUrlBuilder.prototype.addNewParameter=function(n,t){return this.j.push({name:n,value:t}),this},mboxUrlBuilder.prototype.addParameterIfAbsent=function(n,t){var i,r;if(t){for(i=0;i<this.j.length;i++)if(r=this.j[i],r.name===n)return this;return this.checkInvalidCharacters(n),this.addNewParameter(n,t)}},mboxUrlBuilder.prototype.addParameter=function(n,t){var i,r;for(this.checkInvalidCharacters(n),i=0;i<this.j.length;i++)if(r=this.j[i],r.name===n)return r.value=t,this;return this.addNewParameter(n,t)},mboxUrlBuilder.prototype.addParameters=function(n){var t,i;if(!n)return this;for(t=0;t<n.length;t++)(i=n[t].indexOf("="),i!=-1&&i!=0)&&this.addParameter(n[t].substring(0,i),n[t].substring(i+1,n[t].length));return this},mboxUrlBuilder.prototype.setServerType=function(n){this.t=n},mboxUrlBuilder.prototype.setBasePath=function(n){this.m=n},mboxUrlBuilder.prototype.setUrlProcessAction=function(n){this.k=n},mboxUrlBuilder.prototype.buildUrl=function(){for(var u=this.m?this.m:"/m2/"+this.i+"/mbox/"+this.t,f=document.location.protocol=="file:"?"http:":document.location.protocol,t=f+"//"+this.h+u,r=t.indexOf("?")!=-1?"&":"?",i,n=0;n<this.j.length;n++)i=this.j[n],t+=r+encodeURIComponent(i.name)+"="+encodeURIComponent(i.value),r="&";return this.y(this.k(t))},mboxUrlBuilder.prototype.getParameters=function(){return this.j},mboxUrlBuilder.prototype.setParameters=function(n){this.j=n},mboxUrlBuilder.prototype.clone=function(){var n=new mboxUrlBuilder(this.h,this.i),t;for(n.setServerType(this.t),n.setBasePath(this.m),n.setUrlProcessAction(this.k),t=0;t<this.j.length;t++)n.addParameter(this.j[t].name,this.j[t].value);return n},mboxUrlBuilder.prototype.y=function(n){return n.replace(/\"/g,"&quot;").replace(/>/g,"&gt;")},mboxUrlBuilder.prototype.checkInvalidCharacters=function(n){var t=new RegExp("('|\")");if(t.exec(n))throw"Parameter '"+n+"' contains invalid characters";},mboxStandardFetcher=function(){},mboxStandardFetcher.prototype.getType=function(){return"standard"},mboxStandardFetcher.prototype.fetch=function(n){n.setServerType(this.getType());document.write('<script src="'+n.buildUrl()+'" language="JavaScript"><\/script>')},mboxStandardFetcher.prototype.cancel=function(){},mboxAjaxFetcher=function(){},mboxAjaxFetcher.prototype.getType=function(){return"ajax"},mboxAjaxFetcher.prototype.fetch=function(n){n.setServerType(this.getType());var t=n.buildUrl();this.D=document.createElement("script");this.D.src=t;document.body.appendChild(this.D)},mboxAjaxFetcher.prototype.cancel=function(){},mboxMap=function(){this.E={};this.F=[]},mboxMap.prototype.put=function(n,t){this.E[n]||(this.F[this.F.length]=n);this.E[n]=t},mboxMap.prototype.get=function(n){return this.E[n]},mboxMap.prototype.remove=function(n){var i,t;for(this.E[n]=undefined,i=[],t=0;t<this.F.length;t++)this.F[t]!==n&&i.push(this.F[t]);this.F=i},mboxMap.prototype.each=function(n){for(var i,r,u,t=0;t<this.F.length;t++)if(i=this.F[t],r=this.E[i],r&&(u=n(i,r),u===!1))break},mboxMap.prototype.isEmpty=function(){return this.F.length===0},mboxFactory=function(n,t,i){var u,r;this.L=!1;this.J=n;this.K=i;this.M=new mboxList;mboxFactories.put(i,this);this.N=typeof document.createElement("div").replaceChild!="undefined"&&function(){return!0}()&&typeof document.getElementById!="undefined"&&typeof(window.attachEvent||document.addEventListener||window.addEventListener)!="undefined"&&typeof encodeURIComponent!="undefined";this.O=this.N&&mboxGetPageParameter("mboxDisable")==null;u=i=="default";this.Q=new mboxCookieManager("mbox"+(u?"":"-"+i),function(){return mboxCookiePageDomain()}());this.O=this.O&&this.Q.isEnabled()&&this.Q.getCookie("disable")==null;this.isAdmin()&&this.enable();this.R();this.S=mboxGenerateId();this.T=mboxScreenHeight();this.U=mboxScreenWidth();this.V=mboxBrowserWidth();this.W=mboxBrowserHeight();this.X=mboxScreenColorDepth();this.Y=mboxBrowserTimeOffset();this.Z=new mboxSession(this.S,"mboxSession","session",1860,this.Q);this._=new mboxPC("PC",2592e3,this.Q);this.C=new mboxUrlBuilder(n,t);this.ab(this.C,u);this.bb=(new Date).getTime();this.cb=this.bb;r=this;this.addOnLoad(function(){r.cb=(new Date).getTime()});this.N&&(this.addOnLoad(function(){r.L=!0;r.getMboxes().each(function(n){n.fb();n.setFetcher(new mboxAjaxFetcher);n.finalize()});TNT.a.nestedMboxes=[]}),this.O&&(this.limitTraffic(100,10368e3),this.gb(),this.hb=new mboxSignaler(function(n,t){return r.create(n,t)},this.Q)))},mboxFactory.prototype.isEnabled=function(){return this.O},mboxFactory.prototype.getDisableReason=function(){return this.Q.getCookie("disable")},mboxFactory.prototype.isSupported=function(){return this.N},mboxFactory.prototype.disable=function(n,t){typeof n=="undefined"&&(n=3600);typeof t=="undefined"&&(t="unspecified");this.isAdmin()||(this.O=!1,this.Q.setCookie("disable",t,n))},mboxFactory.prototype.enable=function(){this.O=!0;this.Q.deleteCookie("disable")},mboxFactory.prototype.isAdmin=function(){return document.location.href.indexOf("mboxEnv")!=-1},mboxFactory.prototype.limitTraffic=function(){},mboxFactory.prototype.addOnLoad=function(n){if(this.isDomLoaded())n();else{var t=!1,i=function(){t||(t=!0,n())};this.pb.push(i);this.isDomLoaded()&&!t&&i()}},mboxFactory.prototype.getEllapsedTime=function(){return this.cb-this.bb},mboxFactory.prototype.getEllapsedTimeUntil=function(n){return n-this.bb},mboxFactory.prototype.getMboxes=function(){return this.M},mboxFactory.prototype.get=function(n,t){return this.M.get(n).getById(t||0)},mboxFactory.prototype.update=function(n,t){if(this.isEnabled()){if(!this.isDomLoaded()){var i=this;this.addOnLoad(function(){i.update(n,t)});return}if(this.M.get(n).length()==0)throw"Mbox "+n+" is not defined";this.M.get(n).each(function(i){i.getUrlBuilder().addParameter("mboxPage",mboxGenerateId());mboxFactoryDefault.setVisitorIdParameters(i.getUrlBuilder(),n);i.load(t)})}},mboxFactory.prototype.setVisitorIdParameters=function(n,t){var u="5B9E123F5245AE350A490D45@AdobeOrg",r,i;typeof Visitor!="undefined"&&u.length!=0&&(r=Visitor.getInstance(u),r.isAllowed()&&(i=function(t,i,u){if(r[i]){var f=function(i){i&&n.addParameter(t,i)},e;e=typeof u!="undefined"?r[i]("mbox:"+u):r[i](f);f(e)}},i("mboxMCGVID","getMarketingCloudVisitorID"),i("mboxMCGLH","getAudienceManagerLocationHint"),i("mboxAAMB","getAudienceManagerBlob"),i("mboxMCAVID","getAnalyticsVisitorID"),i("mboxMCSDID","getSupplementalDataID",t)))},mboxFactory.prototype.create=function(n,t,i){var u,f,e,o,s;if(!this.isSupported())return null;if(u=this.C.clone(),u.addParameter("mboxCount",this.M.length()+1),u.addParameters(t),this.setVisitorIdParameters(u,n),f=this.M.get(n).length(),e=this.K+"-"+n+"-"+f,i)o=new mboxLocatorNode(i);else{if(this.L)throw"The page has already been loaded, can't write marker";o=new mboxLocatorDefault(e)}try{var h=this,c="mboxImported-"+e,r=new mbox(n,f,u,o,c);this.O&&r.setFetcher(this.L?new mboxAjaxFetcher:new mboxStandardFetcher);r.setOnError(function(n){r.setMessage(n);r.activate();r.isActivated()||(h.disable(3600,n),window.location.reload(!1))});this.M.add(r)}catch(l){this.disable();throw'Failed creating mbox "'+n+'", the error was: '+l;}return s=new Date,u.addParameter("mboxTime",s.getTime()-s.getTimezoneOffset()*6e4),r},mboxFactory.prototype.getCookieManager=function(){return this.Q},mboxFactory.prototype.getPageId=function(){return this.S},mboxFactory.prototype.getPCId=function(){return this._},mboxFactory.prototype.getSessionId=function(){return this.Z},mboxFactory.prototype.getSignaler=function(){return this.hb},mboxFactory.prototype.getUrlBuilder=function(){return this.C},mboxFactory.prototype.ab=function(n,t){n.addParameter("mboxHost",document.location.hostname).addParameter("mboxSession",this.Z.getId());t||n.addParameter("mboxFactoryId",this.K);this._.getId()!=null&&n.addParameter("mboxPC",this._.getId());n.addParameter("mboxPage",this.S);n.addParameter("screenHeight",this.T);n.addParameter("screenWidth",this.U);n.addParameter("browserWidth",this.V);n.addParameter("browserHeight",this.W);n.addParameter("browserTimeOffset",this.Y);n.addParameter("colorDepth",this.X);n.setUrlProcessAction(function(n){n+="&mboxURL="+encodeURIComponent(document.location);var t=encodeURIComponent(document.referrer);return n.length+t.length<2e3&&(n+="&mboxReferrer="+t),n+("&mboxVersion="+mboxVersion)})},mboxFactory.prototype.Ab=function(){return""},mboxFactory.prototype.gb=function(){document.write("<style>.mboxDefault { visibility:hidden; }<\/style>")},mboxFactory.prototype.isDomLoaded=function(){return this.L},mboxFactory.prototype.R=function(){if(this.pb==null){this.pb=[];var n=this;(function(){var i=document.addEventListener?"DOMContentLoaded":"onreadystatechange",u=!1,t=function(){if(!u){u=!0;for(var t=0;t<n.pb.length;++t)n.pb[t]()}},r;document.addEventListener?(document.addEventListener(i,function(){document.removeEventListener(i,arguments.callee,!1);t()},!1),window.addEventListener("load",function(){document.removeEventListener("load",arguments.callee,!1);t()},!1)):document.attachEvent&&(self!==self.top?document.attachEvent(i,function(){document.readyState==="complete"&&(document.detachEvent(i,arguments.callee),t())}):(r=function(){try{document.documentElement.doScroll("left");t()}catch(n){setTimeout(r,13)}},r()));document.readyState==="complete"&&t()})()}},mboxSignaler=function(n,t){var r,i;for(this.Q=t,r=t.getCookieNames("signal-"),i=0;i<r.length;i++){var u=r[i],f=t.getCookie(u).split("&"),e=n(f[0],f);e.load();t.deleteCookie(u)}},mboxSignaler.prototype.signal=function(n){this.Q.setCookie("signal-"+n,mboxShiftArray(arguments).join("&"),2700)},mboxList=function(){this.M=[]},mboxList.prototype.add=function(n){n!=null&&(this.M[this.M.length]=n)},mboxList.prototype.get=function(n){for(var r=new mboxList,i,t=0;t<this.M.length;t++)i=this.M[t],i.getName()==n&&r.add(i);return r},mboxList.prototype.getById=function(n){return this.M[n]},mboxList.prototype.length=function(){return this.M.length},mboxList.prototype.each=function(n){if(typeof n!="function")throw"Action must be a function, was: "+typeof n;for(var t=0;t<this.M.length;t++)n(this.M[t])},mboxLocatorDefault=function(n){this.n="mboxMarker-"+n;document.write('<div id="'+this.n+'" style="visibility:hidden;display:none">&nbsp;<\/div>')},mboxLocatorDefault.prototype.locate=function(){for(var n=document.getElementById(this.n);n!=null;){if(n.nodeType==1&&n.className=="mboxDefault")return n;n=n.previousSibling}return null},mboxLocatorDefault.prototype.force=function(){var t=document.createElement("div"),n;return t.className="mboxDefault",n=document.getElementById(this.n),n&&n.parentNode.insertBefore(t,n),t},mboxLocatorNode=function(n){this.Mb=n},mboxLocatorNode.prototype.locate=function(){return typeof this.Mb=="string"?document.getElementById(this.Mb):this.Mb},mboxLocatorNode.prototype.force=function(){return null},mboxCreate=function(n){var t=mboxFactoryDefault.create(n,mboxShiftArray(arguments));return t&&t.load(),t},mboxDefine=function(n,t){return mboxFactoryDefault.create(t,mboxShiftArray(mboxShiftArray(arguments)),n)},mboxUpdate=function(n){mboxFactoryDefault.update(n,mboxShiftArray(arguments))},mbox=function(n,t,i,r,u){this.Sb=null;this.Tb=0;this.ub=r;this.vb=u;this.Ub=null;this.Vb=new mboxOfferContent;this.Nb=null;this.C=i;this.message="";this.Wb={};this.Xb=0;this.Qb=t;this.n=n;this.Yb();i.addParameter("mbox",n).addParameter("mboxId",t);this.Zb=function(){};this._b=function(){};this.ac=null;this.bc=document.documentMode>=10&&!mboxFactoryDefault.isDomLoaded();this.bc&&(this.cc=TNT.a.nestedMboxes,this.cc.push(this.n))},mbox.prototype.getId=function(){return this.Qb},mbox.prototype.Yb=function(){if(this.n.length>250)throw"Mbox Name "+this.n+" exceeds max length of 250 characters.";else if(this.n.match(/^\s+|\s+$/g))throw"Mbox Name "+this.n+" has leading/trailing whitespace(s).";},mbox.prototype.getName=function(){return this.n},mbox.prototype.getParameters=function(){for(var t=this.C.getParameters(),i=[],n=0;n<t.length;n++)t[n].name.indexOf("mbox")!=0&&(i[i.length]=t[n].name+"="+t[n].value);return i},mbox.prototype.setOnLoad=function(n){return this._b=n,this},mbox.prototype.setMessage=function(n){return this.message=n,this},mbox.prototype.setOnError=function(n){return this.Zb=n,this},mbox.prototype.setFetcher=function(n){return this.Ub&&this.Ub.cancel(),this.Ub=n,this},mbox.prototype.getFetcher=function(){return this.Ub},mbox.prototype.load=function(n){var i,t;return this.Ub==null?this:(this.setEventTime("load.start"),this.cancelTimeout(),this.Tb=0,i=n&&n.length>0?this.C.clone().addParameters(n):this.C,this.Ub.fetch(i),t=this,this.ec=setTimeout(function(){t.Zb("browser timeout",t.Ub.getType())},15e3),this.setEventTime("load.end"),this)},mbox.prototype.loaded=function(){if(this.cancelTimeout(),!this.activate()){var n=this;setTimeout(function(){n.loaded()},100)}},mbox.prototype.activate=function(){return this.Tb?this.Tb:(this.setEventTime("activate"+ ++this.Xb+".start"),this.bc&&this.cc[this.cc.length-1]!==this.n)?this.Tb:(this.show()&&(this.cancelTimeout(),this.Tb=1),this.setEventTime("activate"+this.Xb+".end"),this.bc&&this.cc.pop(),this.Tb)},mbox.prototype.isActivated=function(){return this.Tb},mbox.prototype.setOffer=function(n){if(n&&n.show&&n.setOnLoad)this.Vb=n;else throw"Invalid offer";return this},mbox.prototype.getOffer=function(){return this.Vb},mbox.prototype.show=function(){this.setEventTime("show.start");var n=this.Vb.show(this);return this.setEventTime(n==1?"show.end.ok":"show.end"),n},mbox.prototype.showContent=function(n){return n==null?0:(this.Nb==null||!this.Nb.parentNode)&&(this.Nb=this.getDefaultDiv(),this.Nb==null)?0:(this.Nb!=n&&(this.gc(this.Nb),this.Nb.parentNode.replaceChild(n,this.Nb),this.Nb=n),this.hc(n),this._b(),1)},mbox.prototype.hide=function(){this.setEventTime("hide.start");var n=this.showContent(this.getDefaultDiv());return this.setEventTime(n==1?"hide.end.ok":"hide.end.fail"),n},mbox.prototype.finalize=function(){this.setEventTime("finalize.start");this.cancelTimeout();this.getDefaultDiv()==null&&(this.ub.force()!=null?this.setMessage("No default content, an empty one has been added"):this.setMessage("Unable to locate mbox"));this.activate()||(this.hide(),this.setEventTime("finalize.end.hide"));this.setEventTime("finalize.end.ok")},mbox.prototype.cancelTimeout=function(){this.ec&&clearTimeout(this.ec);this.Ub!=null&&this.Ub.cancel()},mbox.prototype.getDiv=function(){return this.Nb},mbox.prototype.getDefaultDiv=function(){return this.ac==null&&(this.ac=this.ub.locate()),this.ac},mbox.prototype.setEventTime=function(n){this.Wb[n]=(new Date).getTime()},mbox.prototype.getEventTimes=function(){return this.Wb},mbox.prototype.getImportName=function(){return this.vb},mbox.prototype.getURL=function(){return this.C.buildUrl()},mbox.prototype.getUrlBuilder=function(){return this.C},mbox.prototype.jc=function(n){return n.style.display!="none"},mbox.prototype.hc=function(n){this.kc(n,!0)},mbox.prototype.gc=function(n){this.kc(n,!1)},mbox.prototype.kc=function(n,t){n.style.visibility=t?"visible":"hidden";n.style.display=t?"block":"none"},mbox.prototype.fb=function(){this.bc=!1},mboxOfferContent=function(){this._b=function(){}},mboxOfferContent.prototype.show=function(n){var t=n.showContent(document.getElementById(n.getImportName()));return t==1&&this._b(),t},mboxOfferContent.prototype.setOnLoad=function(n){this._b=n},mboxOfferAjax=function(n){this.fc=n;this._b=function(){}},mboxOfferAjax.prototype.setOnLoad=function(n){this._b=n},mboxOfferAjax.prototype.show=function(n){var t=document.createElement("div"),i;return t.id=n.getImportName(),t.innerHTML=this.fc,i=n.showContent(t),i==1&&this._b(),i},mboxOfferDefault=function(){this._b=function(){}},mboxOfferDefault.prototype.setOnLoad=function(n){this._b=n},mboxOfferDefault.prototype.show=function(n){var t=n.hide();return t==1&&this._b(),t},mboxCookieManager=function(n,t){this.n=n;this.nc=t==""||t.indexOf(".")==-1?"":"; domain="+t;this.oc=new mboxMap;this.loadCookies()},mboxCookieManager.prototype.isEnabled=function(){return this.setCookie("check","true",60),this.loadCookies(),this.getCookie("check")=="true"},mboxCookieManager.prototype.setCookie=function(n,t,i){if(typeof n!="undefined"&&typeof t!="undefined"&&typeof i!="undefined"){var r={};r.name=n;r.value=escape(t);r.expireOn=Math.ceil(i+(new Date).getTime()/1e3);this.oc.put(n,r);this.saveCookies()}},mboxCookieManager.prototype.getCookie=function(n){var t=this.oc.get(n);return t?unescape(t.value):null},mboxCookieManager.prototype.deleteCookie=function(n){this.oc.remove(n);this.saveCookies()},mboxCookieManager.prototype.getCookieNames=function(n){var t=[];return this.oc.each(function(i){i.indexOf(n)==0&&(t[t.length]=i)}),t},mboxCookieManager.prototype.saveCookies=function(){var r=!1,u="disable",n=[],t=0,i;this.oc.each(function(i,f){r&&i!==u||(n[n.length]=i+"#"+f.value+"#"+f.expireOn,t<f.expireOn&&(t=f.expireOn))});i=new Date(t*1e3);document.cookie=this.n+"="+n.join("|")+"; expires="+i.toGMTString()+"; path=/"+this.nc},mboxCookieManager.prototype.loadCookies=function(){var i,n,f,e,u,r,t;if(this.oc=new mboxMap,i=document.cookie.indexOf(this.n+"="),i!=-1)for(n=document.cookie.indexOf(";",i),n==-1&&(n=document.cookie.indexOf(",",i),n==-1&&(n=document.cookie.length)),f=document.cookie.substring(i+this.n.length+1,n).split("|"),e=Math.ceil((new Date).getTime()/1e3),u=0;u<f.length;u++)r=f[u].split("#"),e<=r[2]&&(t={},t.name=r[0],t.value=r[1],t.expireOn=r[2],this.oc.put(t.name,t))},mboxSession=function(n,t,i,r,u){this.Dc=t;this.Ib=i;this.Ec=r;this.Q=u;this.Fc=!1;this.Qb=typeof mboxForceSessionId!="undefined"?mboxForceSessionId:mboxGetPageParameter(this.Dc);(this.Qb==null||this.Qb.length==0)&&(this.Qb=u.getCookie(i),(this.Qb==null||this.Qb.length==0)&&(this.Qb=n,this.Fc=!0));u.setCookie(i,this.Qb,r)},mboxSession.prototype.getId=function(){return this.Qb},mboxSession.prototype.forceId=function(n){this.Qb=n;this.Q.setCookie(this.Ib,this.Qb,this.Ec)},mboxPC=function(n,t,i){this.Ib=n;this.Ec=t;this.Q=i;this.Qb=typeof mboxForcePCId!="undefined"?mboxForcePCId:i.getCookie(n);this.Qb!=null&&i.setCookie(n,this.Qb,t)},mboxPC.prototype.getId=function(){return this.Qb},mboxPC.prototype.forceId=function(n){return this.Qb!=n?(this.Qb=n,this.Q.setCookie(this.Ib,this.Qb,this.Ec),!0):!1},mboxGetPageParameter=function(n){var i=null,r=new RegExp("\\?[^#]*"+n+"=([^&;#]*)"),t=r.exec(document.location);return t!=null&&t.length>=2&&(i=t[1]),i},mboxSetCookie=function(n,t,i){return mboxFactoryDefault.getCookieManager().setCookie(n,t,i)},mboxGetCookie=function(n){return mboxFactoryDefault.getCookieManager().getCookie(n)},mboxCookiePageDomain=function(){var n=/([^:]*)(:[0-9]{0,5})?/.exec(document.location.host)[1],t;return/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/.exec(n)||(t=/([^\.]+\.[^\.]{3}|[^\.]+\.[^\.]+\.[^\.]{2})$/.exec(n),t&&(n=t[0],n.indexOf("www.")==0&&(n=n.substr(4)))),n?n:""},mboxShiftArray=function(n){for(var i=[],t=1;t<n.length;t++)i[i.length]=n[t];return i},mboxGenerateId=function(){return(new Date).getTime()+"-"+Math.floor(Math.random()*999999)},mboxScreenHeight=function(){return screen.height},mboxScreenWidth=function(){return screen.width},mboxBrowserWidth=function(){return window.innerWidth?window.innerWidth:document.documentElement?document.documentElement.clientWidth:document.body.clientWidth},mboxBrowserHeight=function(){return window.innerHeight?window.innerHeight:document.documentElement?document.documentElement.clientHeight:document.body.clientHeight},mboxBrowserTimeOffset=function(){return-(new Date).getTimezoneOffset()},mboxScreenColorDepth=function(){return screen.pixelDepth},typeof mboxVersion=="undefined")var mboxVersion=51,mboxFactories=new mboxMap,mboxFactoryDefault=new mboxFactory("educationmanagementl.tt.omtrdc.net","educationmanagementl","default");(mboxGetPageParameter("mboxDebug")!=null||mboxFactoryDefault.getCookieManager().getCookie("debug")!=null)&&(setTimeout(function(){typeof mboxDebugLoaded=="undefined"&&alert("Could not load the remote debug.\nPlease check your connection to Test&amp;Target servers")},3600),document.write('<script language="Javascript1.2" src="//admin9.testandtarget.omniture.com/admin/mbox/mbox_debug.jsp?mboxServerHost=educationmanagementl.tt.omtrdc.net&clientCode=educationmanagementl"><\/script>'));mboxScPluginFetcher=function(n,t){this.i=n;this.Mc=t};mboxScPluginFetcher.prototype.Nc=function(n){n.setBasePath("/m2/"+this.i+"/sc/standard");this.Oc(n);var t=n.buildUrl();return t+"&scPluginVersion=1"};mboxScPluginFetcher.prototype.Oc=function(n){for(var i=["dynamicVariablePrefix","visitorID","vmk","ppu","charSet","visitorNamespace","cookieDomainPeriods","cookieLifetime","pageName","currencyCode","variableProvider","channel","server","pageType","transactionID","purchaseID","campaign","state","zip","events","products","linkName","linkType","resolution","colorDepth","javascriptVersion","javaEnabled","cookiesEnabled","browserWidth","browserHeight","connectionType","homepage","pe","pev1","pev2","pev3","visitorSampling","visitorSamplingGroup","dynamicAccountSelection","dynamicAccountList","dynamicAccountMatch","trackDownloadLinks","trackExternalLinks","trackInlineStats","linkLeaveQueryString","linkDownloadFileTypes","linkExternalFilters","linkInternalFilters","linkTrackVars","linkTrackEvents","linkNames","lnk","eo"],t=0;t<i.length;t++)this.Qc(i[t],n);for(t=1;t<=75;t++)this.Qc("prop"+t,n),this.Qc("eVar"+t,n),this.Qc("hier"+t,n)};mboxScPluginFetcher.prototype.Qc=function(n,t){var i=this.Mc[n];typeof i!="undefined"&&i!==null&&i!==""&&t.addParameter(n,i)};mboxScPluginFetcher.prototype.cancel=function(){};mboxScPluginFetcher.prototype.fetch=function(n){n.setServerType(this.getType());var t=this.Nc(n);this.D=document.createElement("script");this.D.src=t;document.body.appendChild(this.D)};mboxScPluginFetcher.prototype.getType=function(){return"ajax"};mboxVizTargetUrl=function(n){var t,r,i;if(mboxFactoryDefault.isEnabled())return t=mboxFactoryDefault.getUrlBuilder().clone(),t.setBasePath("/m2/educationmanagementl/viztarget"),t.addParameter("mbox",n),t.addParameter("mboxId",0),t.addParameter("mboxCount",mboxFactoryDefault.getMboxes().length()+1),r=new Date,t.addParameter("mboxTime",r.getTime()-r.getTimezoneOffset()*6e4),t.addParameter("mboxPage",mboxGenerateId()),i=mboxShiftArray(arguments),i&&i.length>0&&t.addParameters(i),t.addParameter("mboxDOMLoaded",mboxFactoryDefault.isDomLoaded()),mboxFactoryDefault.setVisitorIdParameters(t,n),t.buildUrl()};TNT.createGlobalMbox=function(){var r="target-global-mbox",u=!0,t="",n,i;u&&(t="mbox-"+r+"-"+mboxGenerateId(),n=document.createElement("div"),n.className="mboxDefault",n.id=t,n.style.visibility="hidden",n.style.display="none",mboxFactoryDefault.addOnLoad(function(){document.body.insertBefore(n,document.body.firstChild)}));i=mboxFactoryDefault.create(r,TNT.a.b(),t);i!=null&&i.load()};mboxFactoryDefault.addOnLoad(mboxAppendSession);mboxSessionKeyword="OFM"