;(function(window,document,undefined){var a;mti={};mti.bind=function(b,c){var d=arguments.length>2?Array.prototype.slice.call(arguments,2):[];return function(){d.push.apply(d,arguments);return c.apply(b,d)}};mti.DomHelper=function(b,c){this.document_=b;this.userAgent_=c};mti.DomHelper.prototype.createElement=function(b,c,d){b=this.document_.createElement(b);if(c)for(var e in c)if(c.hasOwnProperty(e))if(e=="style"&&this.userAgent_.getName()=="MSIE")b.style.cssText=c[e];else b.setAttribute(e,c[e]);d&&b.appendChild(this.document_.createTextNode(d));return b}; mti.DomHelper.prototype.insertInto=function(b,c){b=this.document_.getElementsByTagName(b)[0];if(!b)b=document.documentElement;if(b&&b.lastChild){b.insertBefore(c,b.lastChild);return true}return false};mti.DomHelper.prototype.whenBodyExists=function(b){var c=function(){document.body?b():setTimeout(c,0)};c()};mti.DomHelper.contentAlreadyReady=false;a=mti.DomHelper.prototype; a.whenContentLoaded=function(b){if(mti.DomHelper.contentAlreadyReady===true)b();else if(this.userAgent_.getName()=="MSIE"){var c=this.document_,d=false,e=function(){if(!d){d=true;b();mti.DomHelper.contentAlreadyReady=true}};(function(){try{c.documentElement.doScroll("left");if(c.readyState!="complete"){setTimeout(arguments.callee,50);return}}catch(f){setTimeout(arguments.callee,50);return}e()})();c.onreadystatechange=function(){if(c.readyState=="complete"){c.onreadystatechange=null;e()}}}else if(this.userAgent_.getEngine()== "AppleWebKit"&&this.userAgent_.getEngineVersion()<525)(function(){if(["loaded","complete"].indexOf(this.document_.readyState)>-1){b();mti.DomHelper.contentAlreadyReady=true}else setTimeout(arguments.callee,50)})();else if(this.document_.addEventListener)this.document_.addEventListener("DOMContentLoaded",function(){b();mti.DomHelper.contentAlreadyReady=true},false);else window.onload=function(){b();mti.DomHelper.contentAlreadyReady=true}}; a.removeElement=function(b){if(b.parentNode){b.parentNode.removeChild(b);return true}return false};a.createCssLink=function(b){return this.createElement("link",{rel:"stylesheet",href:b})};a.createScriptSrc=function(b){return this.createElement("script",{src:b})};a.appendClassName=function(b,c){for(var d=b.className.split(/\s+/),e=0,f=d.length;e0;){for(i=0;i=6)}return new mti.UserAgent("MSIE",mti.UserAgentParser.UNKNOWN,"MSIE",mti.UserAgentParser.UNKNOWN,this.getPlatform_(),false)};a.isOpera_=function(){return this.userAgent_.indexOf("Opera")!=-1}; a.parseOperaUserAgentString_=function(){var b=mti.UserAgentParser.UNKNOWN,c=mti.UserAgentParser.UNKNOWN,d=this.getFirstMatchingGroup_(this.userAgent_,/(Presto\/[\d\w\.]+)/);if(d!=""){c=d.split("/");b=c[0];c=c[1]}else{if(this.userAgent_.indexOf("Gecko")!=-1)b="Gecko";d=this.getFirstMatchingGroup_(this.userAgent_,/rv:([^\)]+)/);if(d!="")c=d}if(this.userAgent_.indexOf("Version/")!=-1){d=this.getFirstMatchingGroup_(this.userAgent_,/Version\/([\d\.]+)/);if(d!="")return new mti.UserAgent("Opera",d,b,c, this.getPlatform_(),this.getMajorVersion_(d)>=10)}d=this.getFirstMatchingGroup_(this.userAgent_,/Opera[\/ ]([\d\.]+)/);if(d!="")return new mti.UserAgent("Opera",d,b,c,this.getPlatform_(),this.getMajorVersion_(d)>=10);return new mti.UserAgent("Opera",mti.UserAgentParser.UNKNOWN,b,c,this.getPlatform_(),false)};a.isWebKit_=function(){return this.userAgent_.indexOf("AppleWebKit")!=-1}; a.parseWebKitUserAgentString_=function(){var b=this.getPlatform_(),c=this.getFirstMatchingGroup_(this.userAgent_,/AppleWebKit\/([\d\.\+]+)/);if(c=="")c=mti.UserAgentParser.UNKNOWN;var d=mti.UserAgentParser.UNKNOWN;if(this.userAgent_.indexOf("Chrome")!=-1)d="Chrome";else if(this.userAgent_.indexOf("Safari")!=-1)d="Safari";var e=mti.UserAgentParser.UNKNOWN;if(this.userAgent_.indexOf("Version/")!=-1)e=this.getFirstMatchingGroup_(this.userAgent_,/Version\/([\d\.\w]+)/);else if(d=="Chrome")e=this.getFirstMatchingGroup_(this.userAgent_, /Chrome\/([\d\.]+)/);var f=this.getFirstMatchingGroup_(c,/\d+\.(\d+)/);return new mti.UserAgent(d,e,"AppleWebKit",c,b,this.getMajorVersion_(c)>=526||this.getMajorVersion_(c)>=525&&parseInt(f)>=13)};a.isGecko_=function(){return this.userAgent_.indexOf("Gecko")!=-1}; a.parseGeckoUserAgentString_=function(){var b=mti.UserAgentParser.UNKNOWN,c=mti.UserAgentParser.UNKNOWN,d=false;if(this.userAgent_.indexOf("Firefox")!=-1){b="Firefox";var e=this.getFirstMatchingGroup_(this.userAgent_,/Firefox\/([\d\w\.]+)/);if(e!=""){d=this.getFirstMatchingGroup_(e,/\d+\.(\d+)/);c=e;d=e!=""&&this.getMajorVersion_(e)>=3&&parseInt(d)>=5}}else if(this.userAgent_.indexOf("Mozilla")!=-1)b="Mozilla";e=this.getFirstMatchingGroup_(this.userAgent_,/rv:([^\)]+)/);if(e=="")e=mti.UserAgentParser.UNKNOWN; else if(!d){d=this.getMajorVersion_(e);var f=parseInt(this.getFirstMatchingGroup_(e,/\d+\.(\d+)/)),g=parseInt(this.getFirstMatchingGroup_(e,/\d+\.\d+\.(\d+)/));d=d>1||d==1&&f>9||d==1&&f==9&&g>=2||e.match(/1\.9\.1b[123]/)!=null||e.match(/1\.9\.1\.[\d\.]+/)!=null}return new mti.UserAgent(b,c,"Gecko",e,this.getPlatform_(),d)};a.getMajorVersion_=function(b){b=this.getFirstMatchingGroup_(b,/(\d+)/);if(b!="")return parseInt(b);return-1}; a.getFirstMatchingGroup_=function(b,c){if((b=b.match(c))&&b[1])return b[1];return""};mti.EventDispatcher=function(b,c,d,e){this.domHelper_=b;this.htmlElement_=c;this.callbacks_=d;this.namespace_=e||mti.EventDispatcher.DEFAULT_NAMESPACE;this.cssClassName_=new mti.CssClassName("-")};mti.EventDispatcher.DEFAULT_NAMESPACE="mti";mti.EventDispatcher.LOADING="loading";mti.EventDispatcher.ACTIVE="active";mti.EventDispatcher.INACTIVE="inactive";mti.EventDispatcher.FONT="font";a=mti.EventDispatcher.prototype; a.dispatchLoading=function(){this.domHelper_.appendClassName(this.htmlElement_,this.cssClassName_.build(this.namespace_,mti.EventDispatcher.LOADING));this.dispatch_(mti.EventDispatcher.LOADING)};a.dispatchFontLoading=function(b,c){this.domHelper_.appendClassName(this.htmlElement_,this.cssClassName_.build(this.namespace_,b,c,mti.EventDispatcher.LOADING));this.dispatch_(mti.EventDispatcher.FONT+mti.EventDispatcher.LOADING,b,c)}; a.dispatchFontActive=function(b,c){this.domHelper_.removeClassName(this.htmlElement_,this.cssClassName_.build(this.namespace_,b,c,mti.EventDispatcher.LOADING));this.domHelper_.appendClassName(this.htmlElement_,this.cssClassName_.build(this.namespace_,b,c,mti.EventDispatcher.ACTIVE));this.dispatch_(mti.EventDispatcher.FONT+mti.EventDispatcher.ACTIVE,b,c)}; a.dispatchFontInactive=function(b,c){this.domHelper_.removeClassName(this.htmlElement_,this.cssClassName_.build(this.namespace_,b,c,mti.EventDispatcher.LOADING));this.domHelper_.appendClassName(this.htmlElement_,this.cssClassName_.build(this.namespace_,b,c,mti.EventDispatcher.INACTIVE));this.dispatch_(mti.EventDispatcher.FONT+mti.EventDispatcher.INACTIVE,b,c)}; a.dispatchInactive=function(){this.domHelper_.appendClassName(this.htmlElement_,this.cssClassName_.build(this.namespace_,mti.EventDispatcher.INACTIVE));this.dispatch_(mti.EventDispatcher.INACTIVE)};a.dispatchActive=function(){this.domHelper_.removeClassName(this.htmlElement_,this.cssClassName_.build(this.namespace_,mti.EventDispatcher.LOADING));this.domHelper_.appendClassName(this.htmlElement_,this.cssClassName_.build(this.namespace_,mti.EventDispatcher.ACTIVE));this.dispatch_(mti.EventDispatcher.ACTIVE)}; a.dispatch_=function(b,c,d){this.callbacks_[b]&&this.callbacks_[b](c,d)};mti.FontModuleLoader=function(){this.modules_={}};mti.FontModuleLoader.prototype.addModuleFactory=function(b,c){this.modules_[b]=c};mti.FontModuleLoader.prototype.getModules=function(b){var c=[];for(var d in b)if(b.hasOwnProperty(d)){var e=this.modules_[d];e&&c.push(e(b[d]))}return c};mti.FontWatcher=function(b,c,d,e,f){this.domHelper_=b;this.eventDispatcher_=c;this.fontSizer_=d;this.asyncCall_=e;this.getTime_=f;this.currentlyWatched_=0;this.success_=this.last_=false;this.nameHelper_=new mti.CssFontFamilyName;this.fvd_=new mti.FontVariationDescription};mti.FontWatcher.DEFAULT_FONT="_,arial,helvetica";mti.FontWatcher.DEFAULT_VARIATION="n4";a=mti.FontWatcher.prototype; a.watch=function(b,c,d){for(var e=b.length,f=0;f-1&&this.domHelper_.replaceFontFamily(f,b,c); e=f;f=f.nextSibling}while(f==null)}e=f}while(e!=this.root_);b=false;for(p in this.queryFontList_){b=true;break}if(b)return this.queryFontList_;return null};mti.MonotypeFontApi=function(b,c,d,e,f){this.global_=b;this.userAgent_=c;this.domHelper_=d;this.configuration_=e;this.fontFamilies_=[];this.fontVariations_={};this.otfMain_=f};mti.MonotypeFontApi.NAME="monotype";a=mti.MonotypeFontApi.prototype; a.supportUserAgent=function(b,c){var d=this,e=d.configuration_.projectId;if(e){d.global_["__mti_fntLst"+e]=function(){return d.configuration_.pfL};d.global_.mti_element_cache=[];d.appendDefinationStyleNode();e=function(){var f=function(){m=new mti.TextCollector(document.body,d.domHelper_,d.configuration_.pfL);l=m.getCollectedText();h&&d.removeFakeFontFace();for(fontfamily in l)l[fontfamily]=d.extractUniqueChars(l[fontfamily]);d.global_.mti_element_cache=m.elementCache_;d.appendFontFaceStyleNode(l); var o=m.getElements();d.otfMain_!=null&&mti.bind(d.otfMain_,d.otfMain_.load,o)();for(var n=0;n-1&&d.domHelper_.replaceFontFamily(o[n],fontFamily,d.fontStack[fontFamily])},g=d.userAgent_.getName();g=g.toLowerCase();var h=g=="opera"?true:false;g=d.configuration_.reqSub;var m=null,l=null;if(h&&g){d.appendFakeFontFace();d.whenFakeFontDetected(function(){f()})}else if(!h&&g)f();else{m=new mti.TextCollector(document.body, d.domHelper_,d.configuration_.pfL);l=m.getCollectedText();d.appendFontFaceStyleNode();d.global_.mti_element_cache=m.elementCache_;d.otfMain_!=null&&mti.bind(d.otfMain_,d.otfMain_.load,m.elementCache_)()}};if(MTIConfig.isAsync===true)MTIConfig.onReady=e;else if(d.configuration_.reqSub)d.domHelper_.whenContentLoaded(e);else{d.appendFontFaceStyleNode();d.domHelper_.whenBodyExists(function(){var f=new mti.TextCollector(document.body,d.domHelper_,d.configuration_.pfL);f.getCollectedText();d.global_.mti_element_cache= f.elementCache_;d.otfMain_!=null&&mti.bind(d.otfMain_,d.otfMain_.load,f.elementCache_)()})}c(b.isSupportingWebFont())}else c(true)}; a.appendFakeFontFace=function(){var b=document.createElement("STYLE");b.setAttribute("type","text/css");b.id="monotype_fake_fontface_"+this.configuration_.projectId;var c="",d=this.configuration_.pfL;if(d!=null){c+="@font-face{font-family:opera_testfont;src:url(data:font/opentype;base64,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)}";for(var e= 0;e0&&c[0].appendChild(b)};a.removeFakeFontFace=function(){var b=document.getElementById("monotype_fake_fontface_"+this.configuration_.projectId);b&&b.parentNode.removeChild(b)}; a.whenFakeFontDetected=function(b){var c=this,d=document.createElement("SPAN");d.innerHTML="MMMWWW";d.style.position="absolute";d.style.left="-32768px";d.style.fontFamily="opera_testfont";document.documentElement.appendChild(d);var e=0,f=(new Date).getTime();e=window.setInterval(function(){if(c.domHelper_.getComputedFontFamily(d)==="opera_testfont"||(new Date).getTime()-f>200){try{document.documentElement.removeChild(d)}catch(g){}b();window.clearInterval(e)}},60)}; a.getFontExtension=function(b){var c=this.configuration_.ffArray,d=this.userAgent_.getName();d=d.toLowerCase();if(d=="firefox")d="mozilla";if(/ipad|ipod|iphone/.test(this.userAgent_.getPlatform().toLowerCase()))d="msafari";var e=this.userAgent_.getVersion();c=c[d];d="";for(p in c)if(parseFloat(e)>=parseFloat(p))if(b[c[p].toUpperCase()])d=c[p];return d}; a.calculateFontStackingInfo=function(b,c,d,e,f,g,h,m){var l=b[m.toUpperCase()];e=(window.location.protocol=="https:"?"https://":"http://")+e.replace("http://","").replace("https://","");e=e+"?";if(d)e+=f+"&";e+="fctypeId="+this.configuration_.fctypeArray[m]+"&fcId="+b.TTF+"&origId="+l;e+="&projectId="+c;e+="&content=";b="";c=this.userAgent_.getName();c=c.toLowerCase();this.userAgent_.getVersion();c=c=="msie"?true:false;if(h){d=null;d=c?h[g].replace("\\","").replace("#","").replace("&","").replace(">", "").replace("%","").replace("<","").replace('"',"").replace("'","").replace("+",""):escape(h[g]);b+=(d||"")+"Mm"}g=e+b;h=this.getMaxSupportedCharacter();if(g.length>h){e=h-e.length;return{numberOfStacks:Math.ceil(g.length/e),numberOfCharsPerRequest:e}}return{numberOfStacks:1}};a.fontStack={}; a.appendFontFaceStyleNode=function(b,c){var d="TTF",e=this.configuration_.projectId,f=this.configuration_.ec,g=this.configuration_.fcURL,h=this.configuration_.dfcURL,m=this.domHelper_.createElement("style",{type:"text/css",id:"mti_fontface_"+(c?"Aj_":"")+this.configuration_.projectId}),l="",o=false,n={},q={TTF:"truetype",WOFF:"woff",SVG:"svg",MTX:"truetype",OTF:"opentype"},r=this.userAgent_.getName();r=r.toLowerCase();d=this.userAgent_.getVersion();r=r=="msie"&&d<8?true:false;for(i=0;i1){v=1;w=true;t=false}if(v>1||c){if(b!==null){o=true;n[s]||(n[s]=[]);if(w=b[s]){for(var B=[],x=1;x<=v;x++){newFontFamily=s+(c?c:"")+x;n[s].push(newFontFamily);b[newFontFamily]=w.substr((x- 1)*y.numberOfCharsPerRequest,y.numberOfCharsPerRequest);l+='@font-face{\nfont-family:"'+newFontFamily+'";\nsrc:url("'+this.makeFontContentURL(u,e,t,f,g,h,this.configuration_.ck,newFontFamily,b,d,z)+'")';A||(l+=' format("'+q[d.toUpperCase()]+'")');l+=";}\n";B.push("'"+newFontFamily+"'")}this.fontStack[s]=B}}}else{l+='@font-face{\nfont-family:"'+s+(c?c:"")+'";\nsrc:url("'+this.makeFontContentURL(u,e,t,f,g,h,this.configuration_.ck,s+(c?c:""),w?null:b,d,z)+'")';if(!A){s=u[d.toUpperCase()];d=q[d.toUpperCase()]; s||(d=q.TTF);l+=" format('"+d+"')"}l+=";}\n"}}if(o===true||c){this.domHelper_.removeElement(this.domHelper_.getElementById("mti_stylesheet_"+(c?"Aj_":"")+this.configuration_.projectId)||{});c?this.appendDefinationStyleNode(n,c):this.appendDefinationStyleNode(n)}l!=""&&this.domHelper_.insertInto("head",m);if(m.styleSheet)m.styleSheet.cssText=l;else{b=document.createTextNode(l);m.appendChild(b)}}; a.appendDefinationStyleNode=function(b,c){var d=new mti.CssClassName("-"),e=this.domHelper_.createElement("style",{type:"text/css",id:"mti_stylesheet_"+(c?"Aj_":"")+this.configuration_.projectId}),f="";if(MTIConfig.EnableCustomFOUTHandler==true){var g=this.configuration_.pfL;for(i=0;i0)h=b[h].join("','");if(!c){f+=i+"{font-family:'"+h+"';";if(this.otfMain_!=null)if((h=d.otf)&&h!=null&&h!="")f+=this.otfMain_.createOpenTypeFeatureCss(h);f+="}\n"}if(MTIConfig.EnableCustomFOUTHandler==true){f+="/*fout specific code:*/\n";h=i.split(",");for(k in h)f+="."+mti.EventDispatcher.DEFAULT_NAMESPACE+"-loading "+h[k]+"{text-align: left; text-indent: -9999px;}\n"}}f!=""&&this.domHelper_.insertInto("head",e);if(e.styleSheet)e.styleSheet.cssText= f;else{b=document.createTextNode(f);e.appendChild(b)}};a.extractUniqueChars=function(b){if(b&&typeof b=="string"){b=b.replace(/\s/g,"").replace(/\n/g,"").replace(/\r/g,"");for(var c="",d=b.length,e=null,f=0;f","").replace("%","").replace("<","").replace('"',"").replace("'","").replace("+",""):escape(l[m]);url+="&content="+(c||"")+"Mm"}if(o!=null&&o.toUpperCase()=="SVG")url+="#"+q;return url}; a.doRenderPartial=function(b){var c=this,d=false,e=document.getElementById(b);d=e===null?false:true;if(!d)return false;var f=c.getRandomChar(),g=null,h=null,m=function(){g=new mti.TextCollector(e,c.domHelper_,c.configuration_.pfL);h=g.getCollectedText({},"Ajax");l&&c.removeFakeFontFace();var o=[];for(fontfamily in h){if(h[fontfamily])h[fontfamily]=c.extractUniqueChars(h[fontfamily]);fontfamily+=f;o.push(fontfamily)}c.global_.mti_element_cache=g.elementCache_;c.appendFontFaceStyleNode(h);var n=g.getElements(); c.appendFontFaceStyleNode(h,f);n=g.getElements();c.otfMain_!=null&&mti.bind(c.otfMain_,c.otfMain_.loadPartial,n)();for(var q=0;q-1)if(n[q].getAttribute("id")==b||c.domHelper_.isDescendant(c.domHelper_.getElementById(b),n[q]))c.domHelper_.replaceFontFamily(n[q],fontFamily,c.fontStack[fontFamily]);n=new mti.EventDispatcher(c.domHelper_,document.documentElement,c.configuration_);(new mti.FontWatcher(c.domHelper_, n,{getWidth:function(r){return r.offsetWidth}},function(r,t){setTimeout(r,t)},function(){return(new Date).getTime()})).watch(o,{},true)};d=c.userAgent_.getName();d=d.toLowerCase();var l=d=="opera"?true:false;if(l){c.appendFakeFontFace();c.whenFakeFontDetected(function(){m()})}else m();if(document.getElementById("mti_stylesheet_Aj_"+this.configuration_.projectId)!=null){d=document.getElementById("mti_stylesheet_Aj_"+this.configuration_.projectId);d.parentNode.removeChild(d)}if(document.getElementById("mti_fontface_Aj_"+ this.configuration_.projectId)!=null){d=document.getElementById("mti_fontface_Aj_"+this.configuration_.projectId);d.parentNode.removeChild(d)}MTIConfig.RemoveMTIClass==true&&setTimeout(function(){c.domHelper_.removeMTIElement("mti_font_element_Aj")},5E3)};a.load=function(b){b(this.fontFamilies_,this.fontVariations_)};mti.MonotypeDocumentHelper=function(b){this.doc_=b}; mti.MonotypeDocumentHelper.prototype.protocol=function(){var b=["http:","https:"],c=b[0];if(this.doc_&&this.doc_.location&&this.doc_.location.protocol){var d=0;for(d=0;d=parseFloat(p))c=b[p];return c}; mti.MonotypeFontApi.prototype.getRandomChar=function(){var b="";return b="abcdefghijklmnopqrstuvwxyz".charAt(Math.floor(Math.random()*26))};})(this,document); if(window.addEventListener){ window.addEventListener('load', function(){MonoTypeWebFonts.cleanup(); MonoTypeWebFonts.loadColo();}, false);}else if(window.attachEvent){ window.attachEvent('onload', function(){MonoTypeWebFonts.cleanup(); MonoTypeWebFonts.loadColo();});}MonoTypeWebFonts.cleanupExecuted = false;MonoTypeWebFonts.cleanup = function(){if(MonoTypeWebFonts.cleanupExecuted === true){ return; }MonoTypeWebFonts.cleanupExecuted = (window['mti_element_cache'].length > 0);var className = document.documentElement.className;var MTIConfig = window['MTIConfig'] || { 'RemoveMTIClass': false };if(MTIConfig['RemoveMTIClass']==true){function walkTheDOM (node, func) {func(node);node = node.firstChild;while (node) {walkTheDOM(node, func);node = node.nextSibling;}}function getElementsByClassName (className) {if (document.getElementsByClassName){return document.getElementsByClassName(className);}else {var results = [];walkTheDOM(document.body, function (node) {var a, c = node.className, i;if (c) {a = c.split(' ');for (i=0; i -1 },b = (!(/opera|webtv/i.test(ua)) && /msie\s(\d)/.test(ua)), c=false;if((RegExp.$1==6)||(RegExp.$1==7)){ c=true; }while(mti_elements.length > 0){for(i=0; i< mti_elements.length; i++){var classList=mti_elements[i].className.split(' ');if(classList.length==1 && !c){mti_elements[i].removeAttribute('class');}else{mti_elements[i].className=mti_elements[i].className.replace(/mti_font_element/ig, ' ').replace(/^\s+|\s+$/g,'');}}mti_elements = getElementsByClassName('mti_font_element');}}className = className.replace(/\b(mti\-.*?(loading|active|inactive))\b/g,'').replace(/^\s+|\s+$/g,'').replace(/\s+/g,' ');setTimeout(function(){document.documentElement.className = className+' mti-repaint';},20);/*IE sometimes requires redrawing the browser after fonts are downloaded. Adding a classname might help*/if(!document.getElementById('MonoTypeFontApiFontTracker')){ var fontTrackingUrl = "http://fast.fonts.com/t/1.css"; if(window.location.protocol == 'https:'){ fontTrackingUrl = fontTrackingUrl.replace(/http:/,'https:'); } var head = document.getElementsByTagName('HEAD')[0]; var cssEle = document.createElement('LINK'); if(cssEle){ cssEle.setAttribute('id','MonoTypeFontApiFontTracker'); cssEle.setAttribute('type','text/css'); cssEle.setAttribute('rel','stylesheet'); cssEle.setAttribute('href',fontTrackingUrl + "?apiType=js&projectid=2c27eb82-26ea-4722-abe2-2f6d96cdf22b"); head.appendChild(cssEle); }}window['mti_element_cache'] = [];};MonoTypeWebFonts._fontActiveEventList = [];MonoTypeWebFonts._fontLoadingEventList = [];MonoTypeWebFonts._activeEventList = [];MonoTypeWebFonts._inActiveEventList = [];MonoTypeWebFonts.addEvent = function(eventName, callbackFunction){ if(eventName.toLowerCase() == 'fontactive'){ MonoTypeWebFonts._fontActiveEventList.push(callbackFunction); }else if(eventName.toLowerCase() == 'fontloading'){ MonoTypeWebFonts._fontLoadingEventList.push(callbackFunction); }else if(eventName.toLowerCase() == 'inactive'){ MonoTypeWebFonts._inActiveEventList.push(callbackFunction); }else if(eventName.toLowerCase() == 'active'){ MonoTypeWebFonts._activeEventList.push(callbackFunction); }};MonoTypeWebFonts.loadFonts = function(){MonoTypeWebFonts.load({monotype:{ reqSub:false, enableOtf: false, otfJsParentUrl: 'http://fast.fonts.com/jsapi/otjs/',pfL:[{'fontfamily' : "HelveticaNeueW01-UltLt" ,contentIds :{EOT: '41774233-b9da-44be-b252-6a7b612fb1c7',WOFF: '4bff1fbb-b4bf-4d95-9c47-efcb14384e36',TTF: '7f1f2a7d-3837-4c93-b373-f03c5da3f9a1',SVG: 'd9f2752a-8d82-4cf1-b82f-109c1105be7f'}, enableSubsetting : false, enableOtf: false }],selectorFontMap:{'.neue-helvetica-ultralight' : {familyName:'HelveticaNeueW01-UltLt' }},ck:'d44f19a684109620e4841471a590e818be3900b170192c78885ebefd5750a24da05b12340e8b6a3091d2172154718b94ddd52a16880820609ba398df89c79de563730208d31a25ba7aa86e6466d67ef1a11b',ec:'true',fcURL:'http://fast.fonts.com/d/',dfcURL:'http://api2.fonts.com/FontSubsetter.ashx',sO:'True',ffArray:{safari: {'3.1': 'ttf','5.1':'woff'}, msafari: {'1' : 'svg', '4.2' : 'ttf'}, chrome: {'3' :'svg', '4' : 'ttf','5':'woff'}, opera: {'10' : 'ttf', '11.10' : 'woff'}, msie: {'4' : 'eot', '9' : 'woff', '10':'otf'}, mozilla: {'3.5' : 'ttf', '3.6' : 'woff'}},bsmcArray:{safari: {'3.1': '2000','5.0':'1650','5.1':'8190'}, msafari: {'1' : '8190'}, chrome: {'3' :'8190'}, opera: {'10' : '8190'}, msie: {'4' : '2064'}, mozilla: {'3.5' : '8190'}},fctypeArray:{'ttf':'1','eot':'2','woff':'3','svg': '11','otf':'13'},projectId:'2c27eb82-26ea-4722-abe2-2f6d96cdf22b',EOD:null},fontloading:function(fontFamily, fontDescription){ for(var i=0; i";}if (/i(Pad|Pod|Phone)/.test(navigator.userAgent)) { var el = document.getElementById('mti_wfs_colophon'); if (el) { window.onscroll = function () { el.style.top = (window.pageYOffset + window.innerHeight - 40) + 'px' }; }}};setTimeout(function(){ MonoTypeWebFonts.cleanup(); }, 6000);