; (function (window, document, undefined) { mti = {}; mti.O = 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) } }; mti.g = function (a, b) { this.n = a; this.b = b }; mti.g.prototype.createElement = function (a, b, c) { a = this.n.createElement(a); if (b) for (var d in b) if (b.hasOwnProperty(d)) if (d == "style" && this.b.getName() == "MSIE") a.style.cssText = b[d]; else a.setAttribute(d, b[d]); c && a.appendChild(this.n.createTextNode(c)); return a }; function q(a, b, c) { a = a.n.getElementsByTagName(b)[0]; if (!a) a = document.documentElement; if (a && a.lastChild) { a.insertBefore(c, a.lastChild); return true } return false } function s(a, b) { function c() { document.body ? b() : setTimeout(c, 0) } c() } mti.g.B = false; function aa(a, b) { if (mti.g.B === true) b(); else if (a.b.getName() == "MSIE") { var c = a.n, d = false, e = function () { if (!d) { d = true; b(); mti.g.B = 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 (a.b.va == "AppleWebKit" && a.b.ua < 525) (function () { if (["loaded", "complete"].indexOf(this.n.readyState) > -1) { b(); mti.g.B = true } else setTimeout(arguments.callee, 50) })(); else if (a.n.addEventListener) a.n.addEventListener("DOMContentLoaded", function () { b(); mti.g.B = true }, false); else window.onload = function () { b(); mti.g.B = true } } function z(a, b) { if (b.parentNode) { b.parentNode.removeChild(b); return true } return false } function A(a, b, c) { a = b.className.split(/\s+/); for (var d = 0, e = a.length; d < e; d++) if (a[d] == c) return; a.push(c); b.className = a.join(" ").replace(/^\s+/, "") } function B(a, b, c) { a = b.className.split(/\s+/); for (var d = [], e = 0, f = a.length; e < f; e++) a[e] != c && d.push(a[e]); b.className = d.join(" ").replace(/^\s+/, "").replace(/\s+$/, "") } function C(a, b) { if (typeof b != "undefined") if (b != null) return typeof b.currentStyle != "undefined" ? b.currentStyle.fontFamily : a.n.defaultView.getComputedStyle(b, null).getPropertyValue("font-family"); return "" } function E(a, b) { var c = ""; b = b.childNodes || b; for (var d = 0; d < b.length; d++) if (b[d].nodeType != 8) c += b[d].nodeType != 1 ? b[d].nodeValue : E(a, b[d].childNodes); return c } mti.g.prototype.getElementById = function (a) { return this.n.getElementById(a) }; mti.g.prototype.K = function (a, b, c) { newFamilyVal = []; currFamily = a.style.fontFamily; currFamilyVal = currFamily.split(","); for (i = 0; i < c.length; i++) c[i] != "" && newFamilyVal.push(c[i]); for (j = 0; j < currFamilyVal.length; j++) currFamilyVal[j] != "" && newFamilyVal.push(currFamilyVal[j]); newFamilyVal.push('"' + b + '"'); a.style.fontFamily = "" + newFamilyVal; return a.style.fontFamily }; function ba(a, b, c) { for (a = c.parentNode; a != null; ) { if (a == b) return true; a = a.parentNode } return false } function F(a, b, c) { c(b); for (b = b.firstChild; b; ) { F(a, b, c); b = b.nextSibling } } mti.g.prototype.getElementsByClassName = function (a) { if (document.getElementsByClassName) return document.getElementsByClassName(a); else { var b = []; F(this, document.body, function (c) { var d; d = c.className; var e; if (d) { d = d.split(" "); for (e = 0; e < d.length; e++) if (d[e] === a) { b.push(c); break } } }); return b } }; mti.l = function (a, b, c, d, e, f) { this.Da = a; this.L = b; this.va = c; this.ua = d; this.ha = e; this.ka = f }; mti.l.prototype.getName = function () { return this.Da }; mti.e = function (a) { this.b = a }; mti.e.f = "Unknown"; mti.e.ra = new mti.l(mti.e.f, mti.e.f, mti.e.f, false); mti.e.prototype.parse = function () { return this.b.indexOf("MSIE") != -1 ? ca(this) : this.b.indexOf("Opera") != -1 ? da(this) : this.b.indexOf("AppleWebKit") != -1 ? ea(this) : this.b.indexOf("Gecko") != -1 ? fa(this) : mti.e.ra }; function H(a) { var b = I(a, a.b, /(iPod|iPad|iPhone|Android)/); if (b != "") return b; a = I(a, a.b, /(Linux|Mac_PowerPC|Macintosh|Windows)/); if (a != "") { if (a == "Mac_PowerPC") a = "Macintosh"; return a } return mti.e.f } function ca(a) { var b = I(a, a.b, /(MSIE [\d\w\.]+)/); if (b != "") { var c = b.split(" "); b = c[0]; c = c[1]; return new mti.l(b, c, b, c, H(a), J(a, c) >= 6) } return new mti.l("MSIE", mti.e.f, "MSIE", mti.e.f, H(a), false) } function da(a) { var b = mti.e.f, c = mti.e.f, d = I(a, a.b, /(Presto\/[\d\w\.]+)/); if (d != "") { c = d.split("/"); b = c[0]; c = c[1] } else { if (a.b.indexOf("Gecko") != -1) b = "Gecko"; d = I(a, a.b, /rv:([^\)]+)/); if (d != "") c = d } if (a.b.indexOf("Version/") != -1) { d = I(a, a.b, /Version\/([\d\.]+)/); if (d != "") return new mti.l("Opera", d, b, c, H(a), J(a, d) >= 10) } d = I(a, a.b, /Opera[\/ ]([\d\.]+)/); if (d != "") return new mti.l("Opera", d, b, c, H(a), J(a, d) >= 10); return new mti.l("Opera", mti.e.f, b, c, H(a), false) } function ea(a) { var b = H(a), c = I(a, a.b, /AppleWebKit\/([\d\.\+]+)/); if (c == "") c = mti.e.f; var d = mti.e.f; if (a.b.indexOf("Chrome") != -1) d = "Chrome"; else if (a.b.indexOf("Safari") != -1) d = "Safari"; var e = mti.e.f; if (a.b.indexOf("Version/") != -1) e = I(a, a.b, /Version\/([\d\.\w]+)/); else if (d == "Chrome") e = I(a, a.b, /Chrome\/([\d\.]+)/); var f = I(a, c, /\d+\.(\d+)/); return new mti.l(d, e, "AppleWebKit", c, b, J(a, c) >= 526 || J(a, c) >= 525 && parseInt(f) >= 13) } function fa(a) { var b = mti.e.f, c = mti.e.f, d = false; if (a.b.indexOf("Firefox") != -1) { b = "Firefox"; var e = I(a, a.b, /Firefox\/([\d\w\.]+)/); if (e != "") { d = I(a, e, /\d+\.(\d+)/); c = e; d = e != "" && J(a, e) >= 3 && parseInt(d) >= 5 } } else if (a.b.indexOf("Mozilla") != -1) b = "Mozilla"; e = I(a, a.b, /rv:([^\)]+)/); if (e == "") e = mti.e.f; else if (!d) { d = J(a, e); var f = parseInt(I(a, e, /\d+\.(\d+)/)), g = parseInt(I(a, 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.l(b, c, "Gecko", e, H(a), d) } function J(a, b) { a = I(a, b, /(\d+)/); if (a != "") return parseInt(a); return -1 } function I(a, b, c) { if ((a = b.match(c)) && a[1]) return a[1]; return "" }; mti.d = function (a, b, c, d) { this.a = a; this.h = b; this.Z = c; this.o = d || mti.d.M; this.m = new mti.v("-") }; mti.d.M = "mti"; mti.d.p = "loading"; mti.d.G = "active"; mti.d.H = "inactive"; mti.d.N = "font"; function K(a) { A(a.a, a.h, a.m.j(a.o, mti.d.p)); L(a, mti.d.p) } function M(a, b, c) { B(a.a, a.h, a.m.j(a.o, b, c, mti.d.p)); A(a.a, a.h, a.m.j(a.o, b, c, mti.d.G)); L(a, mti.d.N + mti.d.G, b, c) } function N(a) { A(a.a, a.h, a.m.j(a.o, mti.d.H)); L(a, mti.d.H) } function ga(a) { B(a.a, a.h, a.m.j(a.o, mti.d.p)); A(a.a, a.h, a.m.j(a.o, mti.d.G)); L(a, mti.d.G) } function L(a, b, c, d) { a.Z[b] && a.Z[b](c, d) }; mti.ma = function () { this.ea = {} }; function ha(a, b) { var c = []; for (var d in b) if (b.hasOwnProperty(d)) { var e = a.ea[d]; e && c.push(e(b[d])) } return c }; mti.i = function (a, b, c, d, e) { this.a = a; this.s = b; this.P = c; this.I = d; this.ca = e; this.$ = 0; this.S = this.da = false; this.Ca = new mti.U; this.xa = new mti.k }; mti.i.V = "_,arial,helvetica"; mti.i.W = "n4"; mti.i.prototype.watch = function (a, b, c) { for (var d = a.length, e = 0; e < d; e++) { var f = a[e]; b[f] || (b[f] = [mti.i.W]); this.$ += b[f].length } if (c) this.da = c; for (e = 0; e < d; e++) { f = a[e]; c = b[f]; for (var g = 0, l = c.length; g < l; g++) { var h = c[g], m = O(this, mti.i.V, h), o = this.P.J(m); z(this.a, m); m = f; var r = this.s; A(r.a, r.h, r.m.j(r.o, m, h, mti.d.p)); L(r, mti.d.N + mti.d.p, m, h); r = O(this, this.Ca.quote(m), h); if (o != this.P.J(r)) { z(this.a, r); M(this.s, m, h); this.S = true; P(this) } else Q(this, this.ca(), o, r, m, h) } } }; function P(a) { if (--a.$ == 0 && a.da) a.S ? ga(a.s) : N(a.s) } mti.i.prototype.ta = function (a, b, c, d, e) { if (b != this.P.J(c)) { z(this.a, c); M(this.s, d, e); this.S = true; P(this) } else if (this.ca() - a < 5E3) Q(this, a, b, c, d, e); else { z(this.a, c); a = this.s; B(a.a, a.h, a.m.j(a.o, d, e, mti.d.p)); A(a.a, a.h, a.m.j(a.o, d, e, mti.d.H)); L(a, mti.d.N + mti.d.H, d, e); P(this) } }; function Q(a, b, c, d, e, f) { a.I(function (g, l) { return function () { l.call(g, b, c, d, e, f) } } (a, a.ta), 50) } function O(a, b, c) { c = a.xa.expand(c); b = a.a.createElement("span", { style: "position:absolute;top:-999px;font-size:300px;font-family:" + b + "," + mti.i.V + ";" + c }, "Mm"); q(a.a, "body", b); return b }; mti.A = function (a, b, c, d, e) { this.a = a; this.ba = b; this.h = c; this.I = d; this.b = e; this.Q = this.R = 0 }; mti.A.prototype.Y = function (a, b) { this.ba.ea[a] = b }; mti.A.prototype.load = function (a) { var b = new mti.d(this.a, this.h, a); this.b.ka ? ia(this, b, a) : N(b) }; mti.A.prototype.za = function (a, b, c, d) { if (d) a.load(mti.O(this, this.Ea, b, c)); else { a = --this.R == 0; this.Q--; if (a) this.Q == 0 ? N(b) : K(b); c.watch([], {}, a) } }; mti.A.prototype.Ea = function (a, b, c, d) { var e = --this.R == 0; e && K(a); this.I(mti.O(this, function (f, g, l, h) { setTimeout(function () { f.watch(g, l || {}, h) }, 100) }, b, c, d, e)) }; function ia(a, b, c) { c = ha(a.ba, c); a.Q = a.R = c.length; for (var d = new mti.i(a.a, b, { J: function (l) { return l.offsetWidth } }, a.I, function () { return (new Date).getTime() }), e = 0, f = c.length; e < f; e++) { var g = c[e]; ja(g, a.b, mti.O(a, a.za, g, b, d)) } }; mti.v = function (a) { this.Aa = a || mti.v.la }; mti.v.la = "-"; mti.v.prototype.j = function () { for (var a = [], b = 0; b < arguments.length; b++) a.push(arguments[b].replace(/[\W_]+/g, "").toLowerCase()); return a.join(this.Aa) }; mti.U = function () { this.ja = '"' }; mti.U.prototype.quote = function (a) { var b = []; a = a.split(/,\s*/); for (var c = 0; c < a.length; c++) { var d = a[c].replace(/['"]/g, ""); d.indexOf(" ") == -1 ? b.push(d) : b.push(this.ja + d + this.ja) } return b.join(",") }; mti.k = function () { this.ia = mti.k.pa; this.F = mti.k.sa }; mti.k.pa = ["font-style", "font-weight"]; mti.k.sa = { "font-style": [["n", "normal"]], "font-weight": [["4", "normal"]] }; mti.k.X = function (a, b, c) { this.ya = a; this.Ga = b; this.F = c }; mti.k.X.prototype.expand = function (a, b) { for (var c = 0; c < this.F.length; c++) if (b == this.F[c][0]) { a[this.ya] = this.Ga + ":" + this.F[c][1]; return } }; mti.k.prototype.expand = function (a) { if (a.length != 2) return null; for (var b = [null, null], c = 0, d = this.ia.length; c < d; c++) { var e = this.ia[c], f = a.substr(c, 1); (new mti.k.X(c, e, this.F[e])).expand(b, f) } return b[0] && b[1] ? b.join(";") + ";" : null }; window.MonoTypeWebFonts = function () { var a = (new mti.e(navigator.userAgent)).parse(); return new mti.A(new mti.g(document, a), new mti.ma, document.documentElement, function (b, c) { setTimeout(b, c) }, a) } (); window.MonoTypeWebFonts.load = window.MonoTypeWebFonts.load; window.MonoTypeWebFonts.addModule = window.MonoTypeWebFonts.Y; var S = window.MTIConfig || { isAsync: false, EnableCustomFOUTHandler: false, RemoveMTIClass: false }; mti.z = function (a, b, c) { this.u = a; this.a = b; this.Fa = c; this.r = {}; this.q = [] }; mti.z.prototype.indexOf = function (a, b) { if (a.indexOf) return a.indexOf(b); else { for (var c = 0; c < a.length; c++) if (a[c] == b) return c; return -1 } }; function T(a, b, c) { var d = a.Fa, e = C(a.a, b); e = (e || "").replace(/^\s|\s$/g, "").replace(/'|"/g, "").replace(/,\s*/g, "|"); if (e != "") { e = new RegExp(e, "ig"); for (i = 0; i < d.length; i++) { var f = d[i], g = f.fontfamily; if (e.test(g.replace(/^\s|\s$/g, ""))) { if (S.EnableCustomFOUTHandler == true) A(a.a, b, c ? "mti_font_element_Aj" : "mti_font_element"); a.q.push(b); if (f.enableSubsetting) if (a.r[g.replace(/^\s|\s$/g, "")]) a.r[g.replace(/^\s|\s$/g, "")] += E(a.a, b); else a.r[g.replace(/^\s|\s$/g, "")] = E(a.a, b) } } } } function U(a, b, c) { b = "img,select,option,script,noscript,iframe,object,style,param,embed,link,meta,head,title,br,hr".split(","); var d = a.u, e = null; do { e = d.firstChild; if (e == null) { if (d.nodeType == 1) if (a.indexOf(b, d.tagName.toLowerCase()) < 0) c ? T(a, d, c) : T(a, d); e = d.nextSibling } if (e == null) { d = d; do { e = d.parentNode; if (e == a.u) { if (a.indexOf(b, e.tagName.toLowerCase()) < 0) c ? T(a, e, c) : T(a, e); break } if (e != null) { if (e.nodeType == 1) if (a.indexOf(b, e.tagName.toLowerCase()) < 0) c ? T(a, e, c) : T(a, e); d = e; e = e.nextSibling } } while (e == null) } d = e } while (d != a.u); c = false; for (p in a.r) { c = true; break } if (c) return a.r; return null } mti.z.prototype.K = function (a, b) { var c = "img,select,option,script,noscript,iframe,object,style,param,embed,link,meta,head,title,br,hr".split(","), d = this.u, e = null; do { e = d.firstChild; if (e == null) { d.nodeType == 1 && this.indexOf(c, d.tagName.toLowerCase()) < 0 && T(this, d); e = d.nextSibling } if (e == null) { d = d; do { e = d.parentNode; if (e == this.u) break; e.nodeType == 1 && this.indexOf(c, e.tagName.toLowerCase()) < 0 && C(this.a, e).indexOf(a) > -1 && this.a.K(e, a, b); d = e; e = e.nextSibling } while (e == null) } d = e } while (d != this.u); a = false; for (p in this.r) { a = true; break } if (a) return this.r; return null }; mti.w = function (a, b, c, d) { this.t = a; this.b = b; this.a = c; this.c = d; this.aa = []; this.wa = {} }; mti.w.oa = "monotype"; var V = "TTF"; function ja(a, b, c) { V = ka(a); var d = a.c.projectId; if (d) { a.t["__mti_fntLst" + d] = function () { return a.c.pfL }; a.t.mti_element_cache = []; W(a); d = function () { var e = a.c.reqSub, f = new mti.z(document.body, a.a, a.c.pfL), g = U(f); if (e) { for (fontfamily in g) g[fontfamily] = X(a, g[fontfamily]); a.t.mti_element_cache = f.q; Z(a, g); e = f.q; for (f = 0; f < e.length; f++) for (fontFamily in a.D) C(a.a, e[f]).indexOf(fontFamily) > -1 && a.a.K(e[f], fontFamily, a.D[fontFamily]) } else { Z(a); a.t.mti_element_cache = f.q } }; if (S.isAsync === true) S.onReady = d; else if (a.c.reqSub) aa(a.a, d); else { Z(a); s(a.a, function () { var e = new mti.z(document.body, a.a, a.c.pfL); U(e); a.t.mti_element_cache = e.q }) } c(b.ka) } else c(true) } function ka(a) { var b = a.c.ffArray, c = a.b.getName(); c = c.toLowerCase(); if (c == "firefox") c = "mozilla"; if (/ipad|ipod|iphone/.test(a.b.ha.toLowerCase())) c = "msafari"; a = a.b.L; b = b[c]; c = ""; for (p in b) if (parseFloat(a) >= parseFloat(p)) c = b[p]; return c } mti.w.prototype.D = {}; function Z(a, b, c) { var d = a.c.projectId, e = a.c.ec, f = a.c.fcURL, g = a.c.dfcURL, l = a.a.createElement("style", { type: "text/css", id: "mti_fontface_" + (c ? "Aj_" : "") + a.c.projectId }), h = "", m = false, o = {}, r = { TTF: "truetype", WOFF: "woff", SVG: "svg", MTX: "truetype" }, Y = V != null && V.toUpperCase() == "EOT" || V.toUpperCase() == "MTX", G = a.b.getName(); G = G.toLowerCase(); var R = G == "opera" ? true : false, t = a.b.L; G = G == "msie" && t < 8 ? true : false; b = R ? null : b; for (i = 0; i < a.c.pfL.length; i++) { var D = a.c.pfL[i]; t = D.fontfamily; var y = D.contentIds; a.aa.push(t); D = R ? false : D.enableSubsetting; var n; n = g; var u = a.c.ck, w = b, x = y[V.toUpperCase()]; n = (window.location.protocol == "https:" ? "https://" : "http://") + n.replace("http://", "").replace("https://", ""); n = n + "?"; if (e) n += u + "&"; n += "fctypeId=" + a.c.fctypeArray[V] + "&fcId=" + y.TTF + "&origId=" + x; n += "&projectId=" + d; n += "&content="; u = ""; if (w) u += escape(w[t] || "") + "giMm"; w = n + u; x = a.c.bsmcArray; var v = a.b.getName(); v = v.toLowerCase(); if (v == "firefox") v = "mozilla"; if (/ipad|ipod|iphone/.test(a.b.ha.toLowerCase())) v = "msafari"; u = a.b.L; x = x[v]; v = ""; for (p in x) if (parseFloat(u) >= parseFloat(p)) v = x[p]; u = v; if (w.length > u) { n = u - n.length; n = { ga: Math.ceil(w.length / n), fa: Math.floor(n / 6)} } else n = { ga: 1 }; w = R ? 1 : n.ga; u = false; if (G && w > 1) { w = 1; u = true; D = false } if (w > 1 || c) { if (b !== null) { m = true; o[t] || (o[t] = []); if (u = b[t]) { x = []; for (v = 1; v <= w; v++) { newFontFamily = t + (c ? c : "") + v; o[t].push(newFontFamily); b[newFontFamily] = u.substr((v - 1) * n.fa, n.fa); h += '@font-face{\nfont-family:"' + newFontFamily + '";\nsrc:url("' + $(a, y, d, D, e, f, g, a.c.ck, newFontFamily, b) + '")'; Y || (h += ' format("' + r[V.toUpperCase()] + '")'); h += ";}\n"; x.push("'" + newFontFamily + "'") } a.D[t] = x } } } else { h += '@font-face{\nfont-family:"' + t + (c ? c : "") + '";\nsrc:url("' + $(a, y, d, D, e, f, g, a.c.ck, t + (c ? c : ""), u ? null : b) + '")'; if (!Y) { t = y[V.toUpperCase()]; y = r[V.toUpperCase()]; t || (y = r.TTF); h += " format('" + y + "')" } h += ";}\n" } } if (m === true || c) { z(a.a, a.a.getElementById("mti_stylesheet_" + (c ? "Aj_" : "") + a.c.projectId) || {}); c ? W(a, o, c) : W(a, o) } h != "" && q(a.a, "head", l); if (l.styleSheet) l.styleSheet.cssText = h; else { a = document.createTextNode(h); l.appendChild(a) } } function W(a, b, c) { var d = new mti.v("-"), e = a.a.createElement("style", { type: "text/css", id: "mti_stylesheet_" + (c ? "Aj_" : "") + a.c.projectId }), f = ""; if (S.EnableCustomFOUTHandler == true) { var g = a.c.pfL; for (i = 0; i < g.length; i++) { var l = g[i].fontfamily; if (c) l += c; f += "." + d.j(mti.d.M, l, mti.i.W, mti.d.p) + " .mti_font_element" + (c ? "_Aj" : "") + "{text-align: left; text-indent: -9999px;}\n" } } for (i in a.c.selectorFontMap) { d = l = a.c.selectorFontMap[i]; if (b && b[d] && b[d].length > 0) d = b[d].join("','"); c || (f += i + "{font-family:'" + d + "';}\n"); if (S.EnableCustomFOUTHandler == true) { f += "/*fout specific code:*/\n"; d = i.split(","); for (k in d) f += "." + mti.d.M + "-loading " + d[k] + "{text-align: left; text-indent: -9999px;}\n" } } f != "" && q(a.a, "head", e); if (e.styleSheet) e.styleSheet.cssText = f; else { a = document.createTextNode(f); e.appendChild(a) } } function X(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; e < c; e++) { d = b.charAt(e); if (a.indexOf(d) == -1) a += d } return a } return "" } function $(a, b, c, d, e, f, g, l, h, m) { var o = b[V.toUpperCase()], r = "http://"; if (window.location.protocol == "https:") r = "https://"; f = f.replace("http://", "").replace("https://", ""); g = g.replace("http://", "").replace("https://", ""); f = r + f; g = r + g; if (d) { url = g + "?"; if (e) url += l + "&"; url += "fctypeId=" + a.c.fctypeArray[V] + "&fcId=" + b.TTF + "&origId=" + o } else url = e ? o ? f + o + "." + V.toLowerCase() + "?" + l : f + b.TTF + ".ttf?" + l : f + "?fctypeId=" + a.c.fctypeArray[V] + "&fcId=" + o; url += "&projectId=" + c; if (m) url += "&content=" + escape((m[h] || "") + "giMm"); if (V != null && V.toUpperCase() == "SVG") url += "#" + o; return url } function la(a, b) { var c = false, d = document.getElementById(b); c = d === null ? false : true; if (!c) return false; c = ma(a); var e = new mti.z(d, a.a, a.c.pfL), f = U(e, {}, "Ajax"); d = []; for (fontfamily in f) { if (f[fontfamily]) f[fontfamily] = X(a, f[fontfamily]); fontfamily += c; d.push(fontfamily) } a.t.mti_element_cache = e.q; if (document.getElementById("mti_stylesheet_Aj_" + a.c.projectId) != null) { var g = document.getElementById("mti_stylesheet_Aj_" + a.c.projectId); g.parentNode.removeChild(g) } if (document.getElementById("mti_fontface_Aj_" + a.c.projectId) != null) { g = document.getElementById("mti_fontface_Aj_" + a.c.projectId); g.parentNode.removeChild(g) } Z(a, f, c); c = e.q; for (e = 0; e < c.length; e++) for (fontFamily in a.D) if (C(a.a, c[e]).indexOf(fontFamily) > -1) if (c[e].getAttribute("id") == b || ba(a.a, a.a.getElementById(b), c[e])) a.a.K(c[e], fontFamily, a.D[fontFamily]); (new mti.i(a.a, new mti.d(a.a, document.documentElement, a.c), { J: function (l) { return l.offsetWidth } }, function (l, h) { setTimeout(l, h) }, function () { return (new Date).getTime() })).watch(d, {}, true); S.RemoveMTIClass == true && setTimeout(function () { var l = a.a, h = l.getElementsByClassName("mti_font_element_Aj"), m = l.b.getName(); m = m.toLowerCase(); var o = l.b.L; m = m == "msie" && o < 8 ? true : false; for (o = new RegExp("mti_font_element_Aj", "ig"); h.length > 0; ) { for (i = 0; i < h.length; i++) if (h[i].className.split(" ").length == 1 && !m) h[i].removeAttribute("class"); else h[i].className = h[i].className.replace(o, " ").replace(/^\s+|\s+$/g, ""); h = l.getElementsByClassName("mti_font_element_Aj") } }, 5E3) } mti.w.prototype.load = function (a) { a(this.aa, this.wa) }; mti.na = function (a) { this.C = a }; mti.na.prototype.protocol = function () { var a = ["http:", "https:"], b = a[0]; if (this.C && this.C.location && this.C.location.protocol) { var c = 0; for (c = 0; c < a.length; c++) if (this.C.location.protocol == a[c]) return this.C.location.protocol } return b }; mti.T = function (a, b) { this.a = a; this.c = b }; mti.T.prototype.appendBannerScript = function () { var a; a = new RegExp(escape("WFS_MTI_SS") + "=([^;]+)"); if (a.test(document.cookie + ";")) { a.exec(document.cookie + ";"); a = unescape(RegExp.$1) } else a = false; var b = this.c.bannerHandlerURL; if (b) { b += "?projectId=" + this.c.projectId; if (a !== false) b += "&WFS_MTI_SS=" + a; b += "&" + escape((new Date).getTime()); q(this.a, "head", this.a.createElement("Script", { type: "text/javascript", src: b })) } }; mti.qa = function (a) { this.Ba = a }; MonoTypeWebFonts.Y(mti.w.oa, function (a) { var b = (new mti.e(navigator.userAgent)).parse(), c = new mti.g(document, b); window.MonoTypeWebFonts.BannerHandler = new mti.T(c, a); a = new mti.w(window, b, c, a); var d = new mti.qa(a); window.MonoTypeWebFonts.renderPartial = function (e) { la(d.Ba, e) }; return a }); function ma() { var a = ""; return a = "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=css&projectid=f886263b-afd9-4d23-a3c0-c293b7d9b368"); 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,pfL:[{'fontfamily' : "HelveticaNeueW01-45Ligh" ,contentIds :{EOT: 'ae1656aa-5f8f-4905-aed0-93e667bd6e4a',WOFF: '530dee22-e3c1-4e9f-bf62-c31d510d9656',TTF: '688ab72b-4deb-4e15-a088-89166978d469',SVG: '7816f72f-f47e-4715-8cd7-960e3723846a'}, enableSubsetting : false},{'fontfamily' : "HelveticaNeueW01-75Bold" ,contentIds :{EOT: 'c07fef9e-a934-42d7-92ad-69205f2b8a00',WOFF: '14ff6081-326d-4dae-b778-d7afa66166fc',TTF: '8fda1e47-19be-46c7-8d83-8d4fb35572f0',SVG: 'f751c8ae-1057-46d9-8d74-62592e002568'}, enableSubsetting : false}],selectorFontMap:{'.footer_right':'HelveticaNeueW01-45Ligh','helvetica_bold':'HelveticaNeueW01-75Bold','helvetica_regular':'HelveticaNeueW01-45Ligh'},ck:'d44f19a684109620e484147ea090e8187841bec9491a39d5f52c56125248e0330b19b529b6b6117bb7e6450eff0ad85f87c8c8eb4d16460fc3a493731f24db15be6054a81d755abed6c7278460',ec:'true',fcURL:'http://fast.fonts.com/d/',dfcURL:'http://api2.fonts.com/FontSubsetter.ashx',sO:'True',ffArray:{safari: {'3.1': 'ttf'}, msafari: {'1' : 'svg', '4.2' : 'ttf'}, chrome: {'3' :'svg', '4' : 'ttf','5':'woff'}, opera: {'10' : 'ttf', '11.10' : 'woff'}, msie: {'4' : 'eot', '9' : 'woff'}, 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'},projectId:'f886263b-afd9-4d23-a3c0-c293b7d9b368',EOD:null},fontloading:function(fontFamily, fontDescription){ for(var i=0; i