;(function(window,document,undefined){function aa(a){return function(){return this[a]}}var ba=ba||{},ca=this;ca.hc=true;function da(a){return a.call.apply(a.q,arguments)}function ea(a,b){if(!a)throw new Error;if(arguments.length>2){var c=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,c);return a.apply(b,d)}}else return function(){return a.apply(b,arguments)}} function F(){F=Function.prototype.q&&Function.prototype.q.toString().indexOf("native code")!=-1?da:ea;return F.apply(null,arguments)}var fa=ba.nc&&Date.now||function(){return+new Date};function H(a){a.call(ca)};mti={};mti.q=function(a,b){var c=arguments.length>2?Array.prototype.slice.call(arguments,2):[];return function(){c.push.apply(c,arguments);return b.apply(a,c)}};var ga={};function I(a,b){this.sa=a;this.Sb=b||a;this.n=this.Sb.document;this.xa=undefined} H(function(){I.prototype.createElement=function(a,b,c){a=this.n.createElement(a);if(b)for(var d in b)if(b.hasOwnProperty(d))d=="style"?this.$a(a,b[d]):a.setAttribute(d,b[d]);c&&a.appendChild(this.n.createTextNode(c));return a};I.prototype.H=function(a,b){a=this.n.getElementsByTagName(a)[0];if(!a)a=document.documentElement;if(a&&a.lastChild){a.insertBefore(b,a.lastChild);return true}return false};I.prototype.cb=function(a){var b=this;function c(){b.n.body?a():setTimeout(c,0)}c()};I.prototype.Za=function(a){if(a.parentNode){a.parentNode.removeChild(a); return true}return false};I.prototype.C=function(a,b){for(var c=a.className.split(/\s+/),d=0,e=c.length;dw';this.xa=/top/.test(a.getElementsByTagName("a")[0].getAttribute("style"))}return this.xa};I.prototype.getComputedStyle=function(a){if(typeof a!="undefined")if(a!=null){var b={};if(typeof a.currentStyle!="undefined"){b.fontFamily=a.currentStyle.fontFamily;b.fontWeight=a.currentStyle.fontWeight; b.fontStyle=a.currentStyle.fontStyle;return b}else if(a=this.n.defaultView.getComputedStyle(a,null)){b.fontFamily=a.getPropertyValue("font-family");b.fontWeight=a.getPropertyValue("font-weight");b.fontStyle=a.getPropertyValue("font-style");return b}else return""}return""};I.prototype.t=function(a){if(typeof a!="undefined")if(a!=null)if(typeof a.currentStyle!="undefined")return a.currentStyle.fontFamily;else return(a=this.n.defaultView.getComputedStyle(a,null))?a.getPropertyValue("font-family"):""; return""};I.prototype.xb=function(a){if(typeof a!="undefined")if(a!=null)if(typeof a.currentStyle!="undefined")return a.currentStyle.fontWeight;else if(a=this.n.defaultView.getComputedStyle(a,null)){var b=a.getPropertyValue("font-weight");return b.toLowerCase()=="bold"?700:b.toLowerCase()=="normal"?400:a.getPropertyValue("font-weight")}else return"";return""};I.prototype.wb=function(a){if(typeof a!="undefined")if(a!=null)if(typeof a.currentStyle!="undefined")return a.currentStyle.fontStyle;else return(a= this.n.defaultView.getComputedStyle(a,null))?a.getPropertyValue("font-style"):"";return""};I.prototype.ja=function(a){var b="";if(a.tagName=="INPUT")b+=a.value;a=a.childNodes||a;for(var c="img,script,noscript,iframe,object,style,param,embed,link,meta,head,title,br,hr".split(","),d=0;d-1)for(var g=0;g1&&e[0]!=b){a.style.fontFamily=""+e;a.setAttribute("data-mtiFont",b);if(d){a.style.fontWeight="";a.style.fontStyle=""}return a.style.fontFamily}else return null};I.prototype.Hb=function(a,b){for(b=b.parentNode;b!=null;){if(b== a)return true;b=b.parentNode}return false};I.prototype.bb=function(a,b){b(a);for(a=a.firstChild;a;){this.bb(a,b);a=a.nextSibling}};I.prototype.yb=function(a){if(a)if(typeof a.currentStyle!="undefined")return a.currentStyle.textTransform;else return(a=this.n.defaultView.getComputedStyle(a,null))?a.getPropertyValue("text-transform"):""};I.prototype.indexOf=function(a,b){if(a.indexOf)return a.indexOf(b);else{for(var c=0;c=6||a=="Windows Phone"&&c.f>=8;return new O("MSIE",e,d,"MSIE",e,d,a,c,b,this.ha(this.r),new J(f,false,false))};P.prototype.Nb=function(){return this.a.indexOf("Opera")!=-1};P.prototype.Ob=function(){return/OPR\/[\d.]+/.test(this.a)};P.prototype.Yb=function(){var a="Unknown",b=this.d(this.a,/Presto\/([\d\w\.]+)/,1),c=N(b),d=this.ia(),e=N(d),f=this.ha(this.r);if(c.ra())a="Presto";else{if(this.a.indexOf("Gecko")!=-1)a="Gecko";b=this.d(this.a,/rv:([^\)]+)/,1);c=N(b)}if(this.a.indexOf("Opera Mini/")!= -1){var k=this.d(this.a,/Opera Mini\/([\d\.]+)/,1),g=N(k);return new O("OperaMini",g,k,a,c,b,this.F(),e,d,f,new J(false,false,false))}if(this.a.indexOf("Version/")!=-1){k=this.d(this.a,/Version\/([\d\.]+)/,1);g=N(k);if(g.ra())return new O("Opera",g,k,a,c,b,this.F(),e,d,f,new J(g.f>=10,false,false))}k=this.d(this.a,/Opera[\/ ]([\d\.]+)/,1);g=N(k);if(g.ra())return new O("Opera",g,k,a,c,b,this.F(),e,d,f,new J(g.f>=10,false,false));return new O("Opera",new L,"Unknown",a,c,b,this.F(),e,d,f,new J(false, false,false))};P.prototype.Pb=function(){return/AppleWeb(K|k)it/.test(this.a)};P.prototype.Ua=function(){var a=this.F(),b=this.ia(),c=N(b),d=this.d(this.a,/AppleWeb(?:K|k)it\/([\d\.\+]+)/,1),e=N(d),f="Unknown",k=new L,g="Unknown",l=false;if(/OPR\/[\d.]+/.test(this.a))f="Opera";else if(this.a.indexOf("Chrome")!=-1||this.a.indexOf("CrMo")!=-1||this.a.indexOf("CriOS")!=-1)f="Chrome";else if(/Silk\/\d/.test(this.a))f="Silk";else if(a=="BlackBerry"||a=="Android")f="BuiltinBrowser";else if(this.a.indexOf("PhantomJS")!= -1)f="PhantomJS";else if(this.a.indexOf("Safari")!=-1)f="Safari";else if(this.a.indexOf("AdobeAIR")!=-1)f="AdobeAIR";if(f=="BuiltinBrowser")g="Unknown";else if(f=="Silk")g=this.d(this.a,/Silk\/([\d\._]+)/,1);else if(f=="Chrome")g=this.d(this.a,/(Chrome|CrMo|CriOS)\/([\d\.]+)/,2);else if(this.a.indexOf("Version/")!=-1)g=this.d(this.a,/Version\/([\d\.\w]+)/,1);else if(f=="AdobeAIR")g=this.d(this.a,/AdobeAIR\/([\d\.]+)/,1);else if(f=="Opera")g=this.d(this.a,/OPR\/([\d.]+)/,1);else if(f=="PhantomJS")g= this.d(this.a,/PhantomJS\/([\d.]+)/,1);k=N(g);l=f=="AdobeAIR"?k.f>2||k.f==2&&k.u>=5:a=="BlackBerry"?c.f>=10:a=="Android"?c.f>2||c.f==2&&c.u>1:e.f>=526||e.f>=525&&e.u>=13;var n=e.f<536||e.f==536&&e.u<11,h=a=="iPhone"||a=="iPad"||a=="iPod"||a=="Macintosh";return new O(f,k,g,"AppleWebKit",e,d,a,c,b,this.ha(this.r),new J(l,n,h))};P.prototype.Jb=function(){return this.a.indexOf("Gecko")!=-1};P.prototype.Wb=function(){var a="Unknown",b=new L,c="Unknown",d=this.ia(),e=N(d),f=false;if(this.a.indexOf("Firefox")!= -1){a="Firefox";c=this.d(this.a,/Firefox\/([\d\w\.]+)/,1);b=N(c);f=b.f>=3&&b.u>=5}else if(this.a.indexOf("Mozilla")!=-1)a="Mozilla";var k=this.d(this.a,/rv:([^\)]+)/,1),g=N(k);f||(f=g.f>1||g.f==1&&g.u>9||g.f==1&&g.u==9&&g.Va>=2||k.match(/1\.9\.1b[123]/)!=null||k.match(/1\.9\.1\.[\d\.]+/)!=null);return new O(a,b,c,"Gecko",g,k,this.F(),e,d,this.ha(this.r),new J(f,false,false))};P.prototype.d=function(a,b,c){if((a=a.match(b))&&a[c])return a[c];return""};P.prototype.ha=function(a){if(a.documentMode)return a.documentMode}});function ja(a){this.Qb=a||ka}var ka="-";H(function(){ja.prototype.$b=function(a){return a.replace(/[\W_]+/g,"").toLowerCase()};ja.prototype.h=function(){for(var a=[],b=0;b=this.ya};T.prototype.Ib=function(a,b){return this.la(a,"serif")&&this.la(b,"sans-serif")};T.prototype.Ma=function(a,b){return this.K.dc&&this.gc(a,b)};T.prototype.Lb=function(){return this.Qa===null||this.Qa.hasOwnProperty(this.D.getName())};T.prototype.Ea=function(){var a=this.$.P.offsetWidth,b=this.aa.P.offsetWidth;if(this.Ib(a,b)||this.Ma(a, b))if(this.Fb())this.Ma(a,b)&&this.Lb()?this.oa(this.Ca):this.oa(this.Gb);else this.lb();else this.oa(this.Ca)};T.prototype.lb=function(){setTimeout(F(function(){this.Ea()},this),25)};T.prototype.oa=function(a){this.$.remove();this.aa.remove();a(this.D)}});function V(a,b,c,d){this.b=b;this.Q=c;this.Fa=0;this.ab=this.Oa=false;this.ya=d;this.K=a.K} H(function(){V.prototype.fa=function(a,b,c,d){if(a.length===0&&d)this.Q.ga();else{this.Fa+=a.length;if(d)this.Oa=d;for(d=0;d=0?400:e.fontWeight=="normal"?400:e.fontWeight=="bold"?700:400}if(m!=undefined||p!=undefined)r+="_"+h;o=q.replace(/^\s|\s$/g,"");var t=r.replace(/^\s|\s$/g,""),x=u.test(o);t=u.test(t);if(x||t){if(m!=undefined||p!=undefined)if(k==m&&g==p)a.g.push(new R(o,h));else r==f&&a.g.push(new R(o,h));else{h=g.charAt(0)+k/100;a.g.push(new R(o))}if(X.EnableCustomFOUTHandler==true)a.b.C(b,c?"mti_font_element"+c:"mti_font_element"); a.s.push(b);q=q;r=b.getAttribute("style");r=r!=null?typeof r=="string"?r:"cssText"in r?r.cssText:"":"";q+=r&&r.indexOf("font-weight")>-1&&r.indexOf("font-style")>-1?"_"+g.charAt(0)+k/100:h.length>1?"_"+h:"";if(j.enableSubsetting)if(a.ca[q.replace(/^\s|\s$/g,"")])a.ca[q.replace(/^\s|\s$/g,"")]+=a.b.ja(b);else a.ca[q.replace(/^\s|\s$/g,"")]=a.b.ja(b)}}}}} function qa(a,b,c){b="img,script,noscript,iframe,object,style,param,embed,link,meta,head,title,br,hr".split(",");var d=a.U,e=null;do if(d){e=d.firstChild;if(e==null){if(d.nodeType==1)if(a.indexOf(b,d.tagName.toLowerCase())<0)c?Y(a,d,c):Y(a,d);e=d.nextSibling}if(e==null){d=d;do{e=d.parentNode;if(e==a.U){if(e.tagName.toLowerCase()!="body")if(a.indexOf(b,e.tagName.toLowerCase())<0)c?Y(a,e,c):Y(a,e);break}if(e!=null){if(e.nodeType==1)if(a.indexOf(b,e.tagName.toLowerCase())<0)c?Y(a,e,c):Y(a,e);d=e;e=e.nextSibling}}while(e== null)}d=e}while(d!=a.U);c=false;for(var f in a.ca){c=true;break}if(c)return a.ca;return null}mti.z.prototype.G=function(){var a=this.g,b=a==null?0:a.length,c={},d,e=[];for(d=0;d-1&&this.b.ea(f,a,b,c);e=f;f=f.nextSibling}while(f==null)}e=f}while(e!=this.U);return null};new (function(){function a(j,m){if(!(this instanceof a))return(new a(j)).exec(m);if(!g)this.exec=s[j]||(s[j]=new c(j));this.Wa=j}function b(j){var m=arguments;return j.replace(/\$(\d)/g,function(p,r){return m[r]})}function c(j){this.pc=this.Dc=this.sc=this.rc=this.uc=0;with(this){var m="";do{i=nqp=0;m+=b("n=c;$1q:do{$2}while(false);",srt?"s=0;":"",type(j,b(srt?"for(x=r.length;s0?",h={}":"",idx?u?",LLi=d.LLi||(d.LLi=++Selector.guid)":",LLi=++Selector.guid":"",m);return new Function("c",m)}}a.prototype={exec:function(j){var m=this.yc,p=this.xc,r=this.Wa;j=m?q.call((j||f).querySelectorAll(r),m,this):Array.prototype.slice.call((j||f).querySelectorAll(r));return p? p.call(this,j):j},toString:aa("Wa")};window.Selector=a;with(navigator.userAgent){var d=indexOf("MSIE")!=-1&&indexOf("Opera")==-1;indexOf("Gecko")!=-1&&indexOf("KHTML");var e=indexOf("AppleWebKit")!=-1}var f=document,k=f.documentElement,g=!!f.querySelectorAll,l=!!k.mb,n=l&&k.mb.Ec&&!e,h=!!k.compareDocumentPosition,s={},q=Array.prototype.map||function(j,m){for(var p=this.length,r=new Array(p);--p>=0;)r[p]=j.call(m,this[p],p,this);return r};with(f.implementation)var u=f.addEventListener&&(hasFeature("MutationEvents", "2.0")||hasFeature("Events","2.0")&&hasFeature("Core","2.0"));a.Db=0;a.vc=function(j,m,p,r,o){var t=m.parentNode,x="LLi#"+o,C="LLi$"+o;if(!t)return Number.NaN;if(!m[x]||m.Ba!=j){for(var v=t.firstChild,z=0;v;v=v.nextSibling)if(v[r]==o){v[x]=++z;v.Ba=j}t[C]=z}return p?1+t[C]-m[x]:m[x]};if(u){e=function(j){with(j.target)if(nodeType!==2)ownerDocument.Ba=++a.Db};f.addEventListener("DOMNodeInserted",e,false);f.addEventListener("DOMNodeRemoved",e,false)}c.prototype={type:function(j,m,p,r,o){with(this){j= /^\s*([\w-]+|\*)?(.*)/.exec(j);var t=j[1]||"*";if(!p&&o==" "&&!dup)dup=1;m=pred(j[2],m,p,t,o);switch(o){case ">":return n&&t!="*"?b('for(var n$1=n.children.tags("$2"),i$1=0;n=n$1[i$1++];){$3}',++i,t,m):b(l?"for(var n$1=n.children,i$1=0;n=n$1[i$1++];)$2{$3}":"for(n=n.firstChild;n;n=n.nextSibling)$2{$3}",++i,t!="*"?'if(n.nodeName==="'+t.toUpperCase()+'")':!l||d?"if(n.nodeType===1)":"",m);case "+":return b("while(n=n.nextSibling)if(n.node$1){$2break}else if(n.nodeType===1)break;",t=="*"?"Type===1":'Name==="'+ t.toUpperCase()+'"',m);case "~":return b("while(n=n.nextSibling)if(n.node$1){$3}else if(n.node$2)break;",t=="*"?"Type===1":'Name==="'+t.toUpperCase()+'"',r=="*"?"Type===1":'Name==="'+r.toUpperCase()+'"',m);default:return typeof m=="object"?String(m):p?t=="*"?m:b('if(n.nodeName!="$1"){$2}',t.toUpperCase(),m):b('for(var n$1=n.getElementsByTagName("$2"),i$1=0;n=n$1[i$1++];)$3{$4}',++i,t,d&&t=="*"?"if(n.nodeType===1)":"",m)}}}}});mti.X=function(a,b,c){this.pa=false;this.b=a;this.a=b;this.c=c;a=c.pfL;this.w=[];this.na={};this.Ta=c.otfJsParentUrl;for(c=0;c0){var d="-moz-font-feature-settings : '",e="-moz-font-feature-settings : ",f="-webkit-font-feature-settings : ",k="-ms-font-feature-settings : '",g="font-feature-settings : ",l="-o-font-feature-settings : ",n=false;for(c=0;c])))*\]+>)/gm,"");q=q.replace(/[\t]+/g," ").replace(/[ ][ ]/g," ");q=q.replace(/[\r\n]/g,"");return g(q)}(b);for(d=b.indexOf("font-feature-settings");d!=-1;){c=b.lastIndexOf("{",d);e=b.indexOf("}",d);if(c!=-1&&e!=-1){f=b.substring(c,e).split(";");if(f.length>0)for(d=0;d0){s=g(s);a.na[s]=g(l.substring(n+1));break}}}}d=b.indexOf("font-feature-settings",e)}else d+=length("font-feature-settings")}}}mti.X.prototype.Rb=function(a){if(!this.pa){ta(this);this.Ka(a)}}; mti.X.prototype.load=function(a){this.Ia={};this.Pa=0;var b=this;if(!this.pa){ta(b);for(var c=0;c=0;l--)if(d[l]==b){g=f(a.na[e[l]]);break}if(b.attributes!=null){b=b.attributes.getNamedItem("style");if(b!=null){b= k(b.value,null,true);if(b[0])g=b}}return g}} mti.X.prototype.Ka=function(a){var b="",c="",d=false,e=[],f=[];for(var k in this.na)Selector(k,document).forEach(function(r){e.push(r);f.push(k)});for(var g=[],l=[],n=0;n0)for(n=0;n9?parseInt(g[0]).toString(16):"0"+parseInt(g[0]).toString(16))+(parseInt(g[1])>9?parseInt(g[1]).toString(16): "0"+parseInt(g[1]).toString(16))+(parseInt(g[2])>9?parseInt(g[2]).toString(16):"0"+parseInt(g[2]).toString(16));var m=b[u],p=va(this,j);if(p!=null&&typeof m!="undefined"&&typeof m[1]!="undefined"&&m[1]!=""){p="otf_"+p.variationId;var r=m[1].split(" ");m=m[2].split(" ");for(var o=0;o").replace(/&/g,"").replace(/</g,"").replace(/>/g,"").replace(/"/g,"");r[o]=="kern"?window[p+r[o]](j,k):window[p+r[o]](j, m[o]);j.innerHTML=j.innerHTML.replace(//g," ").replace(//g,"&").replace(//g,"<").replace(//g,">").replace(//g,""")}}if(j!=null&&ra(this,j.parentNode)){j=j.innerHTML.replace(/\s+/g," ");if(d[s]!=k){u!=0&&s++;c[s]=j;d[s]=k}else c[s]+=j;j=j.split(/<[\/]?\s*\w.*?>/g);p="";for(r=0;r").replace(/&/g,"").replace(/</g,"").replace(/>/g,"").replace(/"/g,"");c=mti_K(n,1,e,0,0,2,f,h);if(c[1]==0)t.innerHTML=a;else t.innerHTML+=c[0].replace(//g," ").replace(//g,"&").replace(//g,"<").replace(//g,">").replace(//g, """)}}};function ua(a,b,c){var d=document.createElement("script");d.type="text/javascript";d.setAttribute("src",b);if(document.all&&(a.a.m<9||a.a.m>9))d.onreadystatechange=function(){if(this.readyState=="loaded"||this.readyState=="complete")c()};else d.onload=c;document.getElementsByTagName("head")[0].appendChild(d)} window.mti_CR=function(){for(var a=arguments[0].replace(/(\r\n|\n|\r)/g,""),b=a.split(/<[\/]?\s*\w.*?>/g),c="",d=arguments[1],e=arguments[2],f,k,g,l,n,h,s,q,u=0;u/g);var j="";if(l!=-1)j=a.substring(l,a.indexOf(">")+1);if(a.indexOf(">")!=-1)a=a.substring(a.indexOf(">")+1);var m=b[u];q=0;for(;q/g),k="",g="",l=0;l/g);var n="";if(g!=-1)n=a.substring(g,a.indexOf(">")+1);a=a.substring(a.indexOf(">")+1);var h=f[l];g="";for(var s=0;s0;u--){for(var j="",m=0;m/g),s=0,q=0,u=0,j;if(typeof Userkernstring!="undefined")j=Userkernstring.split(",");if(k==null){k=new Array(e.length);for(var m=0;m/g);p="";var r=0;if(l!=-1){p=a.substring(l, a.indexOf(">")+1);a=a.substring(a.indexOf(">")+1)}var o=0;if(uMath.abs(o)){q=1;n+=''+h[m][t]+"";o=0}else if(Math.abs(r)<0.5&&Math.abs(o)<0.5)n+=''+h[m][t]+""}}else if(Math.abs(o)<0.5)n+=''+h[m][t]+"";else{q=1;n+=''+h[m][t]+"";o=0}s++}n+= p}return[n,q]};window.mti_HashTable=function(){var a={};this.Y=function(b,c){a[b]=c};this.Aa=function(b){return a[b]}};window.mti_KernArr=function(a,b){var c=b.replace(/(\r\n|\n|\r)/g,"").split(/<[\/]?\s*\w.*?>/g);b="";for(var d=0;d/g),f;a=[];var k="",g=new mti_HashTable;d=new mti_HashTable;for(f=0;f-1&&a.b.ea(A[D],y,a.o[y],g)}var E=a.c.reqSub,w=null,G=null;if(f&&E){Ca(a);Da(a,function(){z()})}else if(!f&&E)z();else{w=new mti.z(document.body,a.b,a.c.pfL);G=qa(w);Z(a,w.G);d=w.G();a.R.mti_element_cache=w.s;a.l!=null&&mti.q(a.l,a.l.load,w.s)()}c(true)};if(X.isAsync===true)X.onReady=l;else{setTimeout(function(){document.documentElement.style.visibility=""},750);if(a.c.reqSub)if(X.CheckFontWatcher&&X.UseHybrid){var n={},h=0,s=a.c.pfL.length; b=a.c.projectId;e=a.c.ec;k=a.c.fcURL;for(var q=a.c.ck,u=0;u0&&b[0].appendChild(c)}function Ba(a){(a=document.getElementById("monotype_fake_fontface_"+a.c.projectId))&&a.parentNode.removeChild(a)} function Da(a,b){var c=document.createElement("SPAN");c.innerHTML="MMMWWW";c.style.position="absolute";c.style.left="-32768px";c.style.fontFamily="opera_testfont";document.documentElement.appendChild(c);var d=0,e=(new Date).getTime();d=window.setInterval(function(){if(a.b.t(c)==="opera_testfont"||(new Date).getTime()-e>200){try{document.documentElement.removeChild(c)}catch(f){}b();window.clearInterval(d)}},60)} function Ea(a,b){var c=a.c.ffArray,d=a.a.getName();d=d.toLowerCase();var e=a.a.m;if(d=="firefox")d="mozilla";if(/ipad|ipod|iphone/.test(a.a.Xa.toLowerCase()))d="msafari";if(d.toLowerCase()=="mozilla"&&e=="Unknown"){e=a.a.Z;d="msie"}a=c[d];c="";for(var f in a)if(parseFloat(e)>=parseFloat(f))if(b[a[f].toUpperCase()])c=a[f];return c}function Ia(a,b,c,d,e){a="";c=c;c+=d!=undefined&&e!=undefined?"_"+e.charAt(0)+d/100:"_n4";if(b&&b[c])a=b[c];return a.length>0?a:null}mti.e.prototype.o={}; function Z(a,b,c,d){var e="TTF",f=a.c.projectId,k=a.c.ec,g=a.c.fcURL,l=a.c.dfcURL,n=a.b.createElement("style",{type:"text/css",id:"mti_fontface_"+(d?"Aj_":"")+a.c.projectId}),h="",s=false,q={},u={};a.o={};var j={TTF:"truetype",WOFF:"woff",SVG:"svg",MTX:"truetype",OTF:"opentype"},m=a.a.getName();m=m.toLowerCase();var p=a.a.m;if(m.toLowerCase()=="mozilla"&&p=="Unknown"){p=a.a.Z;m="msie"}var r=m=="msie"&&p<8?true:false;p=m=="msie"&&p<=8?true:false;m=m=="opera"?true:false;var o=null,t=null;b||(b=[]); for(var x=0;x0||m||!w){A=m||!w?true:false;for(w=0;w","").replace("%","").replace("<","").replace('"',"").replace("'","").replace("+","").replace("/","%2f")}else M=escape((w||"").replace("\\","").replace("/","%2f"));y+=(M||"")+na+"Mm"}w=A+y;B=a.c.bsmcArray;y=a.a.getName();y=y.toLowerCase();if(y=="firefox")y="mozilla";if(/ipad|ipod|iphone/.test(a.a.Xa.toLowerCase()))y="msafari";u=a.a.m;if(y.toLowerCase()=="mozilla"&& u=="Unknown"){u=a.a.Z;y="msie"}B=B[y];y="";for(var ya in B)if(parseFloat(u)>=parseFloat(ya))y=B[ya];u=y;if(w.length>u){A=u-A.length;A={Sa:Math.ceil(w.length/A),wc:A}}else A={Sa:1};A=A.Sa;u=false;if(r&&A>1){A=1;u=true;C=false}w="";if(A>1||d){if(c!==null){s=true;q[D]||(q[D]=[]);if(c)var za=c[D];if(za){u=[];B="";w=B=(d?v.length>25?v.substring(0,20):v:v)+(d?d:"");w+=p&&t!=undefined&&o!=undefined?"_"+t.charAt(0)+o/100:t!=undefined&&o!=undefined?"_"+t.charAt(0)+o/100:"_n4";q[D].push(w);c[w]=za;w=A>1?$(a, z,f,false,k,g,l,a.c.ck,B,o,t,c,e,E):$(a,z,f,C,k,g,l,a.c.ck,B,o,t,c,e,E);if(w!=""){h+='@font-face{\nfont-family:"'+B+'";';if(p==false&&o!=undefined&&t!=undefined){h+="\nfont-style:"+t+";";h+="\nfont-weight:"+o+";"}h+='\nsrc:url("'+w+'")';G||(h+=' format("'+j[e.toUpperCase()]+'")');h+=";}\n";u.push("'"+B+"'")}a.o[v]=u}else if(p&&!C){if(p&&o!=undefined&&t!=undefined)v+="_"+t.charAt(0)+o/100;w=$(a,z,f,C,k,g,l,a.c.ck,v+(d?d:""),o,t,u?null:c,e,E);if(w!=""){h+='@font-face{\nfont-family:"'+v+(d?d:"")+'";'; if(p==false&&o!=undefined&&t!=undefined){h+="\nfont-style:"+t+";";h+="\nfont-weight:"+o+";"}h+='\nsrc:url("'+w+'")';if(!G){v=z[e.toUpperCase()];e=j[e.toUpperCase()];v||(e=j.TTF);h+=" format('"+e+"')"}h+=";}\n"}}}}else{w=$(a,z,f,C,k,g,l,a.c.ck,v+(d?d:""),o,t,u?null:c,e,E);if(w!=""){E="";if(p&&o!=undefined&&t!=undefined){E="_"+t.charAt(0)+o/100;a.o[v]=v+E}h+='@font-face{\nfont-family:"'+v+(d?d:"")+E+'";';if(p==false&&o!=undefined&&t!=undefined){h+="\nfont-style:"+t+";";h+="\nfont-weight:"+o+";"}h+= '\nsrc:url("'+w+'")';if(!G){v=z[e.toUpperCase()];e=j[e.toUpperCase()];v||(e=j.TTF);h+=" format('"+e+"')"}h+=";}\n"}}}}}if(s===true||d){a.b.Za(a.b.getElementById("mti_stylesheet_"+(d?"Aj_":"")+a.c.projectId)||{});d?xa(a,q,d):xa(a,q)}h!=""&&a.b.H("head",n);if(n.styleSheet)n.styleSheet.cssText=h;else{a=document.createTextNode(h);n.appendChild(a)}} function xa(a,b,c){var d=new ja("-"),e=a.b.createElement("style",{type:"text/css",id:"mti_stylesheet_"+(c?"Aj_":"")+a.c.projectId}),f="",k="";k=X.UseTextIndent==true?"text-align:left;text-indent:-9999px;font-size:0px":"visibility:hidden;";if(X.EnableCustomFOUTHandler==true){var g=a.c.pfL;f+="."+la+"-loading .mti_font_element"+(c?"_Aj":"")+"{"+k+"}\n";for(var l=0;l0)n=b[n].join("','");if(!c){if(d&&s!=undefined&&h!=undefined)n+="_"+s.charAt(0)+h/100;f+=l+"{font-family:'"+n+"';";if(d== false&&s!=undefined&&h!=undefined){f+="\n font-style:"+s+";";f+="\n font-weight:"+h+";"}if(a.l!=null){h=g.otf;s=g.vrnt;if(h&&h!=null&&h!="")f+=sa(a.l,h,s)}f+="}\n"}if(X.EnableCustomFOUTHandler==true){f+="/*fout specific code:*/\n";h=l.split(",");for(var q in h)f+="."+la+"-loading "+h[q]+"{"+k+"}\n"}}f!=""&&a.b.H("head",e);if(e.styleSheet)e.styleSheet.cssText=f;else{a=document.createTextNode(f);e.appendChild(a)}} function Ja(a,b){if(b&&typeof b=="string"){b=b.replace(/\s/g,"").replace(/\n/g,"").replace(/\r/g,"");a="";for(var c=b.length,d=null,e=0;e25?l.substring(0,20):l)+"_"+fontVariation+"_f"}if(d==true&&Ka(a,r)&&!j)return $(a,b,c,false,e,f,k,g,l,n,h,s,q,u,true)}j=a.c.fontdataversion;var o=a.c.env;if(window.location.protocol=="https:")p="https://";f=f.replace("http://","").replace("https://","");k=k.replace("http://","").replace("https://","");f=p+f+(u?"ot/": "");k=p+k;if(d){r=k+"?";if(e)r+=g+"&";r+="fctypeId="+a.c.fctypeArray[q]+"&fcId="+b.TTF+"&origId="+m;if(j=="v2"){r+="&fontdataversion=v2";if(o!="undefined"&&o!="")r+="&env="+o}}else if(e)if(m){if(j=="v2")f+=q.toUpperCase()=="EOT"?"2/":q.toUpperCase()=="WOFF"?"3/":q.toUpperCase()=="SVG"?"11/":q.toUpperCase()=="OTF"?"13/":"1/";r=f+m+"."+q.toLowerCase()+"?"+g}else r=f+"1/"+b.TTF+".ttf?"+g;else r=f+"?fctypeId="+a.c.fctypeArray[q]+"&fcId="+m;r+="&projectId="+c;b=a.a.getName();b=b.toLowerCase();c=a.a.m; if(b.toLowerCase()=="mozilla"&&c=="Unknown")b="msie";b=b=="msie"?true:false;c=null;if(s)if(d){d=Ia(a,s,l,n,h);if(d=Ja(a,d))c=d.replace("\\","").replace("#","").replace("&","").replace(">","").replace("%","").replace("<","").replace('"',"").replace("'","").replace("+","");b||(c=escape(c||""));if(c&&c.length>0)r+="&content="+(c||"")+na+"Mm";else r=""}if(q!=null&&q.toUpperCase()=="SVG")r+="#"+m;return r} mti.e.indexOf=function(a,b){if(Array.prototype.indexOf)return a.indexOf(b);else{var c=a.length>>>0,d=Number(b)||0;d=d<0?Math.ceil(d):Math.floor(d);if(d<0)d+=c;for(;d-1)break}}r=p.fontWeight;p=p.fontStyle;o=p.charAt(0)+r/100;var t=m.split(",");for(j= 0;j25?v.substring(0,20):v)+"_"+o+"_f";a.g.push(new R(v,o));break}}else{a.g.push(new R(v));C=true;break}}if(Ka(a,d)&&C){d=false;contentIdArray=x.contentIds;enableOtf=x.enableOtf;fFormat=Ea(a,contentIdArray);x=v;if(s&& n!=undefined&&l!=undefined)x+="_"+n.charAt(0)+l/100;fontURL=$(a,contentIdArray,e,false,f,k,"",g,x,l,n,null,fFormat,enableOtf);if(fontURL!=""){c+='@font-face{\nfont-family:"'+v+'";';if(s==false&&l!=undefined&&n!=undefined){c+="\nfont-style:"+n+";";c+="\nfont-weight:"+l+";"}c+='\nsrc:url("'+fontURL+'")';if(!(fFormat!=null&&fFormat.toUpperCase()=="EOT"||fFormat.toUpperCase()=="MTX")){l=contentIdArray[fFormat.toUpperCase()];n=u[fFormat.toUpperCase()];l||(n=u.TTF);c+=" format('"+n+"')"}c+=";}\n"}if(h.styleSheet){l= h.styleSheet.cssText;l=l.replace(v,"xxx");h.styleSheet.cssText=l;h.styleSheet.cssText+=c}else h.innerHTML+=c;document.getElementById(b).style.fontFamily=""+m;document.getElementById(b).removeAttribute("data-mtiFont");v="";if(document.getElementById(b).hasChildNodes()){v=document.getElementById(b).childNodes;for(c=0;c-1)if(D[y].getAttribute("id")==b)a.b.ea(D[y],B,a.o[B],s);else a.b.Hb(a.b.getElementById(b),D[y])&&a.b.t(D[y]).replace(/'|"/g,"").indexOf(B)>-1&&a.b.ea(D[y],B,a.o[B],s); D=a.o[B]==null?0:a.o[B].length;for(y=0;y0;){for(var M=0;M -1){b();mti.e.N=true}else setTimeout(arguments.callee,50)})();else if(c.addEventListener)if(c.readyState=="loading")c.addEventListener("DOMContentLoaded",function(){b();mti.e.N=true},false);else window.onload=function(){b();mti.e.N=true};else window.onload=function(){b();mti.e.N=true}}}mti.e.prototype.cb=function(a){function b(){document.body?a():setTimeout(b,0)}b()}; mti.e.prototype.ka=function(a,b){var c=this;if(!(a!=null&&a.length<1)){var d=c.c.projectId,e=c.c.ec,f=c.c.fcURL,k=c.c.ck;a="";var g,l,n=c.a.m,h=c.a.getName();h=h.toLowerCase();var s=h=="msie"&&n<=8?true:false;h=false;var q={TTF:"truetype",WOFF:"woff",SVG:"svg",MTX:"truetype",OTF:"opentype"};n=[];for(var u=0;u25?p.substring(0,20):p)+"_"+fontVariation+"_f"}}break}if(m){o=p+"_f";if(j.enableSubsetting){if(j.fontWeight!=undefined&&j.fontStyle!=undefined){g=j.fontWeight;l=j.fontStyle;fontVariation=l.charAt(0)+g/100;o=(p.length>25?p.substring(0,20):p)+"_"+fontVariation+"_f"}n.push(o);contentIdArray=j.contentIds;enableOtf=j.enableOtf;if(!Ka(c,o)){h=true;fFormat= Ea(c,contentIdArray);fontURL=$(c,contentIdArray,d,false,e,f,"",k,p,g,l,null,fFormat,enableOtf);if(fontURL!=""){if(s&&l!=undefined&&g!=undefined)p+="_"+l.charAt(0)+g/100;a+='@font-face{\nfont-family:"'+o+'";';if(s==false&&g!=undefined&&l!=undefined){a+="\nfont-style:"+l+";";a+="\nfont-weight:"+g+";"}a+='\nsrc:url("'+fontURL+'")';if(!(fFormat!=null&&fFormat.toUpperCase()=="EOT"||fFormat.toUpperCase()=="MTX")){j=contentIdArray[fFormat.toUpperCase()];m=q[fFormat.toUpperCase()];j||(m=q.TTF);a+=" format('"+ m+"')"}a+=";}\n"}}}}}g=c.b.getElementById("mti_fontface_"+d);if(g==null){g=c.b.createElement("style",{type:"text/css",id:"mti_fontface_"+(b?"Aj_":"")+c.c.projectId});a!=""&&c.b.H("head",g)}if(g.styleSheet)g.styleSheet.cssText+=a;else g.innerHTML+=a;if(h){b=[];for(a=0;a 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(var 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');}},40000);}className = className;if(!document.getElementById('MonoTypeFontApiFontTracker')){ var fontTrackingUrl = "http://fast.fonts.net/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=3c8e7f2e-223c-4f6b-9553-d0520a022420"); 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: true, otfJsParentUrl: '//fast.fonts.net/jsapi/otjs/',pfL:[{'fontfamily' : "Kootenay Pro" ,contentIds :{EOT: '1c41b190-e08f-45fb-8810-307a3a55e3d5',WOFF: 'e6bfefc3-9abc-450d-99ca-6914339d9f94',TTF: '609ca25e-a224-4e5a-87d2-6412f9daaae2',SVG: 'e5d4b5c3-dd27-488b-9792-7a2e17b79bd2'}, enableSubsetting : false, enableOtf: true, variationId: 1277137, otfJsContentId: '609ca25e-a224-4e5a-87d2-6412f9daaae2' },{'fontfamily' : "Kootenay Pro SemiBold" ,contentIds :{EOT: '83a1a40a-d377-4749-a9e1-c34524696bce',WOFF: '19f7e968-98da-44b1-9030-53a3104d4d33',TTF: '71fff67f-8c96-45f1-9d99-0d9dce1ad276',SVG: '7185f9f7-d5d3-4666-9954-1ec7e9a5aa9b'}, enableSubsetting : false, enableOtf: true, variationId: 1280368, otfJsContentId: '71fff67f-8c96-45f1-9d99-0d9dce1ad276' },{'fontfamily' : "Kootenay Pro ExtraBold" ,contentIds :{EOT: '9e8c5e1d-23ff-4938-93e3-9957ef79f1f7',WOFF: 'fc8af899-84ce-4ba2-9df6-81ce9887cf05',TTF: '717916eb-9f00-4b60-81f1-8bb62a95d545',SVG: '1cae255b-6934-4569-9671-81cee0e40c12'}, enableSubsetting : false, enableOtf: true, variationId: 1280363, otfJsContentId: '717916eb-9f00-4b60-81f1-8bb62a95d545' },{'fontfamily' : "Kootenay Pro SemiBold1280370" ,contentIds :{EOT: '258c4f48-d0e5-48f5-968d-affe1f83187d',WOFF: '72821117-5370-45cd-83c8-a611c3dc2f3b',TTF: 'eb266714-f8af-4440-916b-f4017eab94fe',SVG: 'a72a3312-c13a-4be6-bdcb-8b4dfa3f79dd'}, enableSubsetting : false, enableOtf: true, variationId: 1280370, otfJsContentId: 'eb266714-f8af-4440-916b-f4017eab94fe' },{'fontfamily' : "Kootenay Pro1277139" ,contentIds :{EOT: '0b0a0d6c-5ec4-455d-b583-22dfb5d1c302',WOFF: 'ddead5e5-e259-4c5c-a6a0-3babd6bbea46',TTF: '4e827d27-2d64-41fc-adcd-84a01d704850',SVG: 'fa399b52-ab5d-49cb-a22f-90273c8b7171'}, enableSubsetting : false, enableOtf: true, variationId: 1277139, otfJsContentId: '4e827d27-2d64-41fc-adcd-84a01d704850' },{'fontfamily' : "Kootenay Pro1277141" ,contentIds :{EOT: '60963f02-357f-43ed-b7f7-6081bcab5088',WOFF: '71af9de1-0582-4829-a2f8-9c2a711599dc',TTF: '117dcf53-4e07-42d6-bfde-b78f8fe5bca1',SVG: 'd95ad157-1e68-440f-9460-70aba3cdab30'}, enableSubsetting : false, enableOtf: true, variationId: 1277141, otfJsContentId: '117dcf53-4e07-42d6-bfde-b78f8fe5bca1' },{'fontfamily' : "Kootenay Pro1277143" ,contentIds :{EOT: 'f306c126-1076-4bef-8e65-912428b79e5b',WOFF: '7408a6fc-f1ee-40e4-abce-996fb9d3b2bd',TTF: '8208d6f9-6e3f-433d-b5c8-e71a8c8cfb41',SVG: 'eb57d337-87d8-4e3d-89b5-4c0bcd8edd44'}, enableSubsetting : false, enableOtf: true, variationId: 1277143, otfJsContentId: '8208d6f9-6e3f-433d-b5c8-e71a8c8cfb41' },{'fontfamily' : "Kootenay Pro ExtraBold1280365" ,contentIds :{EOT: 'cb7e98a8-e3b5-431b-9c61-23f6aeef7256',WOFF: '90d05be6-4f9b-4405-a24a-e3b422b217de',TTF: '411311ad-a670-4a82-8d3b-5f2e259627c6',SVG: 'a611a2bf-81e8-40a1-84d9-e92cce398c44'}, enableSubsetting : false, enableOtf: true, variationId: 1280365, otfJsContentId: '411311ad-a670-4a82-8d3b-5f2e259627c6' },{'fontfamily' : "Kootenay Pro Logos" ,contentIds :{EOT: 'a26907a4-27af-4e68-aa06-f22c3dc94caa',WOFF: '7f270043-97e0-4176-9d24-c238555906a2',TTF: '493af476-e725-47b0-b53d-3b4b84a3163a',SVG: '646e8e7f-060b-452a-b398-2338ac71ea8c'}, enableSubsetting : false, enableOtf: false }],selectorFontMap:{'.kerning-h2' : {familyName:'Kootenay Pro SemiBold' ,otf:'kern' ,vrnt:'1'},'.kerning-h3' : {familyName:'Kootenay Pro1277143' ,otf:'kern' ,vrnt:'1'},'.kerning-bold' : {familyName:'Kootenay Pro' ,otf:'kern' ,vrnt:'1'},'.kerning-extrabold' : {familyName:'Kootenay Pro ExtraBold' ,otf:'kern' ,vrnt:'1'},'.kerning-h4' : {familyName:'Kootenay Pro SemiBold' ,otf:'kern' ,vrnt:'1'},'.kerning-h1' : {familyName:'Kootenay Pro1277143' ,otf:'kern' ,vrnt:'1'},'.kerning-regular' : {familyName:'Kootenay Pro1277143' ,otf:'kern' ,vrnt:'1'},'.kerning-semibold' : {familyName:'Kootenay Pro SemiBold' ,otf:'kern' ,vrnt:'1'}},ck:'d44f19a684109620e4841578a090e818f549ba8240e1dd6daa8299390c71138a915bd9d1549d3958a70fd217ee715705f771febe51ff17f347c3e169058db63ac6d8c9a0a5d600da3f5e8a02b8876dc712ede1ad668112a78fd30378133adf452f0c05a5a4ca7cb009eaf16a04149ee371e14e9a6c',ec:'true',fcURL:'http://fast.fonts.net/dv2/',dfcURL:'http://api2.fonts.com/FontSubsetter.ashx',pURL:'http://api2.fonts.com/FontSubsetter.ashx',fontdataversion:'v2',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':'1000','9':'2067'}, mozilla: {'3.5' : '8190'}},fctypeArray:{'ttf':'1','eot':'2','woff':'3','svg': '11','otf':'13'},projectId:'3c8e7f2e-223c-4f6b-9553-d0520a022420',EOD:null},fontloading:function(fontFamily, fontDescription){ for(var i=0; i