/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09
 */
var Cufon = (function() { var m = function() { return m.replace.apply(null, arguments) }; var x = m.DOM = { ready: (function() { var C = false, E = { loaded: 1, complete: 1 }; var B = [], D = function() { if (C) { return } C = true; for (var F; F = B.shift(); F()) { } }; if (document.addEventListener) { document.addEventListener("DOMContentLoaded", D, false); window.addEventListener("pageshow", D, false) } if (!window.opera && document.readyState) { (function() { E[document.readyState] ? D() : setTimeout(arguments.callee, 10) })() } if (document.readyState && document.createStyleSheet) { (function() { try { document.body.doScroll("left"); D() } catch (F) { setTimeout(arguments.callee, 1) } })() } q(window, "load", D); return function(F) { if (!arguments.length) { D() } else { C ? F() : B.push(F) } } })(), root: function() { return document.documentElement || document.body } }; var n = m.CSS = { Size: function(C, B) { this.value = parseFloat(C); this.unit = String(C).match(/[a-z%]*$/)[0] || "px"; this.convert = function(D) { return D / B * this.value }; this.convertFrom = function(D) { return D / this.value * B }; this.toString = function() { return this.value + this.unit } }, addClass: function(C, B) { var D = C.className; C.className = D + (D && " ") + B; return C }, color: j(function(C) { var B = {}; B.color = C.replace(/^rgba\((.*?),\s*([\d.]+)\)/, function(E, D, F) { B.opacity = parseFloat(F); return "rgb(" + D + ")" }); return B }), fontStretch: j(function(B) { if (typeof B == "number") { return B } if (/%$/.test(B)) { return parseFloat(B) / 100 } return { "ultra-condensed": 0.5, "extra-condensed": 0.625, condensed: 0.75, "semi-condensed": 0.875, "semi-expanded": 1.125, expanded: 1.25, "extra-expanded": 1.5, "ultra-expanded": 2}[B] || 1 }), getStyle: function(C) { var B = document.defaultView; if (B && B.getComputedStyle) { return new a(B.getComputedStyle(C, null)) } if (C.currentStyle) { return new a(C.currentStyle) } return new a(C.style) }, gradient: j(function(F) { var G = { id: F, type: F.match(/^-([a-z]+)-gradient\(/)[1], stops: [] }, C = F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig); for (var E = 0, B = C.length, D; E < B; ++E) { D = C[E].split("=", 2).reverse(); G.stops.push([D[1] || E / (B - 1), D[0]]) } return G }), quotedList: j(function(E) { var D = [], C = /\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,%20B;%20while%20(B%20=%20C.exec(E))%20{%20D.push(B[3]%20||%20B[1])%20}%20return%20D%20}),%20recognizesMedia:%20j(function(G)%20{%20var%20E%20=%20document.createElement("style"), D, C, B; E.type = "text/css"; E.media = G; try { E.appendChild(document.createTextNode("/**/")) } catch (F) { } C = g("head")[0]; C.insertBefore(E, C.firstChild); D = (E.sheet || E.styleSheet); B = D && !D.disabled; C.removeChild(E); return B }), removeClass: function(D, C) { var B = RegExp("(?:^|\\s+)" + C + "(?=\\s|$)", "g"); D.className = D.className.replace(B, ""); return D }, supports: function(D, C) { var B = document.createElement("span").style;%20if%20(B[D]%20===%20undefined)%20{%20return%20false%20}%20B[D]%20=%20C;%20return%20B[D]%20===%20C%20},%20textAlign:%20function(E,%20D,%20B,%20C)%20{%20if%20(D.get("textAlign") == "right") { if (B > 0) { E = " " + E } } else { if (B < C - 1) { E += " " } } return E }, textShadow: j(function(F) { if (F == "none")%20{%20return%20null%20}%20var%20E%20=%20[],%20G%20=%20{},%20B,%20C%20=%200;%20var%20D%20=%20/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;%20while%20(B%20=%20D.exec(F))%20{%20if%20(B[0]%20==",") { E.push(G); G = {}; C = 0 } else { if (B[1]) { G.color = B[1] } else { G[["offX", "offY", "blur"][C++]]%20=%20B[2]%20}%20}%20}%20E.push(G);%20return%20E%20}),%20textTransform:%20(function()%20{%20var%20B%20=%20{%20uppercase:%20function(C)%20{%20return%20C.toUpperCase()%20},%20lowercase:%20function(C)%20{%20return%20C.toLowerCase()%20},%20capitalize:%20function(C)%20{%20return%20C.replace(/\b./g,%20function(D)%20{%20return%20D.toUpperCase()%20})%20}%20};%20return%20function(E,%20D)%20{%20var%20C%20=%20B[D.get("textTransform")];%20return%20C%20?%20C(E)%20:%20E%20}%20})(),%20whiteSpace:%20(function()%20{%20var%20D%20=%20{%20inline:%201,"inline-block": 1, "run-in": 1 }; var C = /^\s+/, B = /\s+$/; return function(H, F, G, E) { if (E) { if (E.nodeName.toLowerCase() == "br") { H = H.replace(C, "")%20}%20}%20if%20(D[F.get("display")]) { return H } if (!G.previousSibling) { H = H.replace(C, "") } if (!G.nextSibling) { H = H.replace(B, "") } return H } })() }; n.ready = (function() { var B = !n.recognizesMedia("all"), E = false; var D = [], H = function() { B = true; for (var K; K = D.shift(); K()) { } }; var I = g("link"), J = g("style"); function C(K) { return K.disabled || G(K.sheet, K.media || "screen") } function G(M, P) { if (!n.recognizesMedia(P || "all")) { return true } if (!M || M.disabled) { return false } try { var Q = M.cssRules, O; if (Q) { search: for (var L = 0, K = Q.length; O = Q[L], L < K; ++L) { switch (O.type) { case 2: break; case 3: if (!G(O.styleSheet, O.media.mediaText)) { return false } break; default: break search } } } } catch (N) { } return true } function F() { if (document.createStyleSheet) { return true } var L, K; for (K = 0; L = I[K]; ++K) { if (L.rel.toLowerCase() == "stylesheet" && !C(L)) { return false } } for (K = 0; L = J[K]; ++K) { if (!C(L)) { return false } } return true } x.ready(function() { if (!E) { E = n.getStyle(document.body).isUsable() } if (B || (E && F())) { H() } else { setTimeout(arguments.callee, 10) } }); return function(K) { if (B) { K() } else { D.push(K) } } })(); function s(D) { var C = this.face = D.face, B = { "\u0020": 1, "\u00a0": 1, "\u3000": 1 }; this.glyphs = D.glyphs; this.w = D.w; this.baseSize = parseInt(C["units-per-em"], 10); this.family = C["font-family"].toLowerCase(); this.weight = C["font-weight"]; this.style = C["font-style"] || "normal";%20this.viewBox%20=%20(function()%20{%20var%20F%20=%20C.bbox.split(/\s+/);%20var%20E%20=%20{%20minX:%20parseInt(F[0],%2010),%20minY:%20parseInt(F[1],%2010),%20maxX:%20parseInt(F[2],%2010),%20maxY:%20parseInt(F[3],%2010)%20};%20E.width%20=%20E.maxX%20-%20E.minX;%20E.height%20=%20E.maxY%20-%20E.minY;%20E.toString%20=%20function()%20{%20return%20[this.minX,%20this.minY,%20this.width,%20this.height].join(" ")%20};%20return%20E%20})();%20this.ascent%20=%20-parseInt(C.ascent,%2010);%20this.descent%20=%20-parseInt(C.descent,%2010);%20this.height%20=%20-this.ascent%20+%20this.descent;%20this.spacing%20=%20function(L,%20N,%20E)%20{%20var%20O%20=%20this.glyphs,%20M,%20K,%20G,%20P%20=%20[],%20F%20=%200,%20J%20=%20-1,%20I%20=%20-1,%20H;%20while%20(H%20=%20L[++J])%20{%20M%20=%20O[H]%20||%20this.missingGlyph;%20if%20(!M)%20{%20continue%20}%20if%20(K)%20{%20F%20-=%20G%20=%20K[H]%20||%200;%20P[I]%20-=%20G%20}%20F%20+=%20P[++I]%20=%20~%20~(M.w%20||%20this.w)%20+%20N%20+%20(B[H]%20?%20E%20:%200);%20K%20=%20M.k%20}%20P.total%20=%20F;%20return%20P%20}%20}%20function%20f()%20{%20var%20C%20=%20{},%20B%20=%20{%20oblique:"italic", italic: "oblique" }; this.add = function(D) { (C[D.style] || (C[D.style] = {}))[D.weight] = D }; this.get = function(H, I) { var G = C[H] || C[B[H]] || C.normal || C.italic || C.oblique; if (!G) { return null } I = { normal: 400, bold: 700}[I] || parseInt(I, 10); if (G[I]) { return G[I] } var E = { 1: 1, 99: 0}[I % 100], K = [], F, D; if (E === undefined) { E = I > 400 } if (I == 500) { I = 400 } for (var J in G) { if (!k(G, J)) { continue } J = parseInt(J, 10); if (!F || J < F) { F = J } if (!D || J > D) { D = J } K.push(J) } if (I < F) { I = F } if (I > D) { I = D } K.sort(function(M, L) { return (E ? (M >= I && L >= I) ? M < L : M > L : (M <= I && L <= I) ? M > L : M < L) ? -1 : 1 }); return G[K[0]] } } function r() { function D(F, G) { if (F.contains) { return F.contains(G) } return F.compareDocumentPosition(G) & 16 } function B(G) { var F = G.relatedTarget; if (!F || D(this, F)) { return } C(this, G.type == "mouseover") } function E(F) { C(this, F.type == "mouseenter")%20}%20function%20C(F,%20G)%20{%20setTimeout(function()%20{%20var%20H%20=%20d.get(F).options;%20m.replace(F,%20G%20?%20h(H,%20H.hover)%20:%20H,%20true)%20},%2010)%20}%20this.attach%20=%20function(F)%20{%20if%20(F.onmouseenter%20===%20undefined)%20{%20q(F,"mouseover", B); q(F, "mouseout", B) } else { q(F, "mouseenter", E); q(F, "mouseleave",%20E)%20}%20}%20}%20function%20u()%20{%20var%20C%20=%20[],%20D%20=%20{};%20function%20B(H)%20{%20var%20E%20=%20[],%20G;%20for%20(var%20F%20=%200;%20G%20=%20H[F];%20++F)%20{%20E[F]%20=%20C[D[G]]%20}%20return%20E%20}%20this.add%20=%20function(F,%20E)%20{%20D[F]%20=%20C.push(E)%20-%201%20};%20this.repeat%20=%20function()%20{%20var%20E%20=%20arguments.length%20?%20B(arguments)%20:%20C,%20F;%20for%20(var%20G%20=%200;%20F%20=%20E[G++];%20)%20{%20m.replace(F[0],%20F[1],%20true)%20}%20}%20}%20function%20A()%20{%20var%20D%20=%20{},%20B%20=%200;%20function%20C(E)%20{%20return%20E.cufid%20||%20(E.cufid%20=%20++B)%20}%20this.get%20=%20function(E)%20{%20var%20F%20=%20C(E);%20return%20D[F]%20||%20(D[F]%20=%20{})%20}%20}%20function%20a(B)%20{%20var%20D%20=%20{},%20C%20=%20{};%20this.extend%20=%20function(E)%20{%20for%20(var%20F%20in%20E)%20{%20if%20(k(E,%20F))%20{%20D[F]%20=%20E[F]%20}%20}%20return%20this%20};%20this.get%20=%20function(E)%20{%20return%20D[E]%20!=%20undefined%20?%20D[E]%20:%20B[E]%20};%20this.getSize%20=%20function(F,%20E)%20{%20return%20C[F]%20||%20(C[F]%20=%20new%20n.Size(this.get(F),%20E))%20};%20this.isUsable%20=%20function()%20{%20return%20!!B%20}%20}%20function%20q(C,%20B,%20D)%20{%20if%20(C.addEventListener)%20{%20C.addEventListener(B,%20D,%20false)%20}%20else%20{%20if%20(C.attachEvent)%20{%20C.attachEvent("on"+%20B,%20function()%20{%20return%20D.call(C,%20window.event)%20})%20}%20}%20}%20function%20v(C,%20B)%20{%20var%20D%20=%20d.get(C);%20if%20(D.options)%20{%20return%20C%20}%20if%20(B.hover%20&&%20B.hoverables[C.nodeName.toLowerCase()])%20{%20b.attach(C)%20}%20D.options%20=%20B;%20return%20C%20}%20function%20j(B)%20{%20var%20C%20=%20{};%20return%20function(D)%20{%20if%20(!k(C,%20D))%20{%20C[D]%20=%20B.apply(null,%20arguments)%20}%20return%20C[D]%20}%20}%20function%20c(F,%20E)%20{%20var%20B%20=%20n.quotedList(E.get("fontFamily").toLowerCase()),%20D;%20for%20(var%20C%20=%200;%20D%20=%20B[C];%20++C)%20{%20if%20(i[D])%20{%20return%20i[D].get(E.get("fontStyle"),%20E.get("fontWeight")) } } return null } function g(B) { return document.getElementsByTagName(B) } function k(C, B) { return C.hasOwnProperty(B) } function h() { var C = {}, B, F; for (var E = 0, D = arguments.length; B = arguments[E], E < D; ++E) { for (F in B) { if (k(B, F)) { C[F] = B[F] } } } return C } function o(E, M, C, N, F, D) { var K = document.createDocumentFragment(), H; if (M === "") { return K } var L = N.separate; var I = M.split(p[L]), B = (L == "words"); if (B && t) { if (/^\s/.test(M)) { I.unshift("")%20}%20if%20(/\s$/.test(M))%20{%20I.push("") } } for (var J = 0, G = I.length; J < G; ++J) { H = z[N.engine](E, B ? n.textAlign(I[J], C, J, G) : I[J], C, N, F, D, J < G - 1); if (H) { K.appendChild(H) } } return K } function l(D, M) { var C = D.nodeName.toLowerCase(); if (M.ignore[C]) { return } var E = !M.textless[C]; var B = n.getStyle(v(D, M)).extend(M); var F = c(D, B), G, K, I, H, L, J; if (!F) { return } for (G = D.firstChild; G; G = I) { K = G.nodeType; I = G.nextSibling; if (E && K == 3) { if (H) { H.appendData(G.data); D.removeChild(G) } else { H = G } if (I) { continue } } if (H) { D.replaceChild(o(F, n.whiteSpace(H.data, B, H, J), B, M, G, D), H); H = null } if (K == 1) { if (G.firstChild) { if (G.nodeName.toLowerCase() == "cufon") { z[M.engine](F, null, B, M, G, D) } else { arguments.callee(G, M) } } J = G } } } var t = " ".split(/\s+/).length == 0; var d = new A(); var b = new r(); var y = new u(); var e = false; var z = {}, i = {}, w = { autoDetect: false, engine: null, forceHitArea: false, hover: false, hoverables: { a: true }, ignore: { applet: 1, canvas: 1, col: 1, colgroup: 1, head: 1, iframe: 1, map: 1, optgroup: 1, option: 1, script: 1, select: 1, style: 1, textarea: 1, title: 1, pre: 1 }, printable: true, selector: (window.Sizzle || (window.jQuery && function(B) { return jQuery(B) }) || (window.dojo && dojo.query) || (window.Ext && Ext.query) || (window.YAHOO && YAHOO.util && YAHOO.util.Selector && YAHOO.util.Selector.query) || (window.$$ && function(B) { return $$(B) }) || (window.$ && function(B) { return $(B) }) || (document.querySelectorAll && function(B) { return document.querySelectorAll(B) }) || g), separate: "words", textless: { dl: 1, html: 1, ol: 1, table: 1, tbody: 1, thead: 1, tfoot: 1, tr: 1, ul: 1 }, textShadow: "none"};%20var%20p%20=%20{%20words:%20/\s/.test("\u00a0") ? /[^\S\u00a0]+/ : /\s+/, characters: "",%20none:%20/^/%20};%20m.now%20=%20function()%20{%20x.ready();%20return%20m%20};%20m.refresh%20=%20function()%20{%20y.repeat.apply(y,%20arguments);%20return%20m%20};%20m.registerEngine%20=%20function(C,%20B)%20{%20if%20(!B)%20{%20return%20m%20}%20z[C]%20=%20B;%20return%20m.set("engine",%20C)%20};%20m.registerFont%20=%20function(D)%20{%20if%20(!D)%20{%20return%20m%20}%20var%20B%20=%20new%20s(D),%20C%20=%20B.family;%20if%20(!i[C])%20{%20i[C]%20=%20new%20f()%20}%20i[C].add(B);%20return%20m.set("fontFamily", '"' + C + '"') }; m.replace = function(D, C, B) { C = h(w, C); if (!C.engine) { return m } if (!e) { n.addClass(x.root(), "cufon-active cufon-loading"); n.ready(function() { n.addClass(n.removeClass(x.root(), "cufon-loading"), "cufon-ready") }); e = true } if (C.hover) { C.forceHitArea = true } if (C.autoDetect) { delete C.fontFamily } if (typeof C.textShadow == "string") { C.textShadow = n.textShadow(C.textShadow) } if (typeof C.color == "string" && /^-/.test(C.color)) { C.textGradient = n.gradient(C.color) } else { delete C.textGradient } if (!B) { y.add(D, arguments) } if (D.nodeType || typeof D == "string") { D = [D] } n.ready(function() { for (var F = 0, E = D.length; F < E; ++F) { var G = D[F]; if (typeof G == "string") { m.replace(C.selector(G), C, true) } else { l(G, C) } } }); return m }; m.set = function(B, C) { w[B] = C; return m }; return m })(); Cufon.registerEngine("canvas", (function() { var b = document.createElement("canvas"); if (!b || !b.getContext || !b.getContext.apply) { return } b = null; var a = Cufon.CSS.supports("display", "inline-block"); var e = !a && (document.compatMode == "BackCompat" || /frameset|transitional/i.test(document.doctype.publicId)); var f = document.createElement("style"); f.type = "text/css"; f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;" + (e ? "" : "font-size:1px;line-height:1px;") + "}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}" + (a ? "cufon canvas{position:relative;}" : "cufon canvas{position:absolute;}") + "}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g, "!important;"))); document.getElementsByTagName("head")[0].appendChild(f); function d(p, h) { var n = 0, m = 0; var g = [], o = /([mrvxe])([^a-z]*)/g, k; generate: for (var j = 0; k = o.exec(p); ++j) { var l = k[2].split(","); switch (k[1]) { case "v": g[j] = { m: "bezierCurveTo", a: [n + ~ ~l[0], m + ~ ~l[1], n + ~ ~l[2], m + ~ ~l[3], n += ~ ~l[4], m += ~ ~l[5]] }; break; case "r": g[j] = { m: "lineTo", a: [n += ~ ~l[0], m += ~ ~l[1]] }; break; case "m": g[j] = { m: "moveTo", a: [n = ~ ~l[0], m = ~ ~l[1]] }; break; case "x": g[j] = { m: "closePath" }; break; case "e": break generate } h[g[j].m].apply(h, g[j].a) } return g } function c(m, k) { for (var j = 0, h = m.length; j < h; ++j) { var g = m[j]; k[g.m].apply(k, g.a) } } return function(V, w, P, t, C, W) { var k = (w === null); if (k) { w = C.getAttribute("alt") } var A = V.viewBox; var m = P.getSize("fontSize", V.baseSize); var B = 0, O = 0, N = 0, u = 0; var z = t.textShadow, L = []; if (z) { for (var U = z.length; U--; ) { var F = z[U]; var K = m.convertFrom(parseFloat(F.offX)); var I = m.convertFrom(parseFloat(F.offY)); L[U] = [K, I]; if (I < B) { B = I } if (K > O) { O = K } if (I > N) { N = I } if (K < u) { u = K } } } var Z = Cufon.CSS.textTransform(w, P).split("");%20var%20E%20=%20V.spacing(Z,%20~%20~m.convertFrom(parseFloat(P.get("letterSpacing"))%20||%200),%20~%20~m.convertFrom(parseFloat(P.get("wordSpacing")) || 0)); if (!E.length) { return null } var h = E.total; O += A.width - E[E.length - 1]; u += A.minX; var s, n; if (k) { s = C; n = C.firstChild } else { s = document.createElement("cufon"); s.className = "cufon cufon-canvas"; s.setAttribute("alt", w); n = document.createElement("canvas"); s.appendChild(n); if (t.printable) { var S = document.createElement("cufontext");%20S.appendChild(document.createTextNode(w));%20s.appendChild(S)%20}%20}%20var%20aa%20=%20s.style;%20var%20H%20=%20n.style;%20var%20j%20=%20m.convert(A.height);%20var%20Y%20=%20Math.ceil(j);%20var%20M%20=%20Y%20/%20j;%20var%20G%20=%20M%20*%20Cufon.CSS.fontStretch(P.get("fontStretch")); var J = h * G; var Q = Math.ceil(m.convert(J + O - u)); var o = Math.ceil(m.convert(A.height - B + N)); n.width = Q; n.height = o; H.width = Q + "px"; H.height = o + "px"; B += A.minY; H.top = Math.round(m.convert(B - V.ascent)) + "px"; H.left = Math.round(m.convert(u)) + "px"; var r = Math.max(Math.ceil(m.convert(J)), 0) + "px"; if (a) { aa.width = r; aa.height = m.convert(V.height) + "px" } else { aa.paddingLeft = r; aa.paddingBottom = (m.convert(V.height) - 1) + "px" } var X = n.getContext("2d"), D = j / A.height; X.scale(D, D * M); X.translate(-u, -B); X.save(); function T() { var x = V.glyphs, ab, l = -1, g = -1, y; X.scale(G, 1); while (y = Z[++l]) { var ab = x[Z[l]] || V.missingGlyph; if (!ab) { continue } if (ab.d) { X.beginPath(); if (ab.code) { c(ab.code, X) } else { ab.code = d("m" + ab.d, X) } X.fill() } X.translate(E[++g], 0) } X.restore() } if (z) { for (var U = z.length; U--; ) { var F = z[U]; X.save(); X.fillStyle = F.color; X.translate.apply(X, L[U]); T() } } var q = t.textGradient; if (q) { var v = q.stops, p = X.createLinearGradient(0, A.minY, 0, A.maxY); for (var U = 0, R = v.length; U < R; ++U) { p.addColorStop.apply(p, v[U]) } X.fillStyle = p } else { X.fillStyle = P.get("color") } T(); return s } })()); Cufon.registerEngine("vml",%20(function()%20{%20var%20e%20=%20document.namespaces;%20if%20(!e)%20{%20return%20}%20e.add("cvml", "urn:schemas-microsoft-com:vml"); e = null; var b = document.createElement("cvml:shape"); b.style.behavior = "url(#default#VML)"; if (!b.coordsize) { return } b = null; var h = (document.documentMode || 0) < 8; document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:' + (h ? "middle" : "text-bottom") + ";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g, "!important;")); function c(i, j) { return a(i, /(?:em|ex|%)$|^[a-z-]+$/i.test(j) ? "1em" : j) } function a(l, m) { if (m === "0") { return 0 } if (/px$/i.test(m)) { return parseFloat(m) } var k = l.style.left, j = l.runtimeStyle.left; l.runtimeStyle.left = l.currentStyle.left; l.style.left = m.replace("%", "em"); var i = l.style.pixelLeft; l.style.left = k; l.runtimeStyle.left = j; return i } function f(l, k, j, n) { var i = "computed" + n, m = k[i]; if (isNaN(m)) { m = k.get(n); k[i] = m = (m == "normal")%20?%200%20:%20~%20~j.convertFrom(a(l,%20m))%20}%20return%20m%20}%20var%20g%20=%20{};%20function%20d(p)%20{%20var%20q%20=%20p.id;%20if%20(!g[q])%20{%20var%20n%20=%20p.stops,%20o%20=%20document.createElement("cvml:fill"), i = []; o.type = "gradient"; o.angle = 180; o.focus = "0"; o.method = "sigma"; o.color = n[0][1]; for (var m = 1, l = n.length - 1; m < l; ++m) { i.push(n[m][0] * 100 + "% "+%20n[m][1])%20}%20o.colors%20=%20i.join(",");%20o.color2%20=%20n[l][1];%20g[q]%20=%20o%20}%20return%20g[q]%20}%20return%20function(ac,%20G,%20Y,%20C,%20K,%20ad,%20W)%20{%20var%20n%20=%20(G%20===%20null);%20if%20(n)%20{%20G%20=%20K.alt%20}%20var%20I%20=%20ac.viewBox;%20var%20p%20=%20Y.computedFontSize%20||%20(Y.computedFontSize%20=%20new%20Cufon.CSS.Size(c(ad,%20Y.get("fontSize")) + "px", ac.baseSize)); var y, q; if (n) { y = K; q = K.firstChild } else { y = document.createElement("cufon"); y.className = "cufon cufon-vml"; y.alt = G; q = document.createElement("cufoncanvas"); y.appendChild(q); if (C.printable) { var Z = document.createElement("cufontext"); Z.appendChild(document.createTextNode(G)); y.appendChild(Z) } if (!W) { y.appendChild(document.createElement("cvml:shape"))%20}%20}%20var%20ai%20=%20y.style;%20var%20R%20=%20q.style;%20var%20l%20=%20p.convert(I.height),%20af%20=%20Math.ceil(l);%20var%20V%20=%20af%20/%20l;%20var%20P%20=%20V%20*%20Cufon.CSS.fontStretch(Y.get("fontStretch")); var U = I.minX, T = I.minY; R.height = af; R.top = Math.round(p.convert(T - ac.ascent)); R.left = Math.round(p.convert(U)); ai.height = p.convert(ac.height) + "px";%20var%20F%20=%20Y.get("color"); var ag = Cufon.CSS.textTransform(G, Y).split(""); var L = ac.spacing(ag, f(ad, Y, p, "letterSpacing"), f(ad, Y, p, "wordSpacing")); if (!L.length) { return null } var k = L.total; var x = -U + k + (I.width - L[L.length - 1]); var ah = p.convert(x * P), X = Math.round(ah); var O = x + "," + I.height, m; var J = "r" + O + "ns"; var u = C.textGradient && d(C.textGradient); var o = ac.glyphs, S = 0; var H = C.textShadow; var ab = -1, aa = 0, w; while (w = ag[++ab]) { var D = o[ag[ab]] || ac.missingGlyph, v; if (!D) { continue } if (n) { v = q.childNodes[aa]; while (v.firstChild) { v.removeChild(v.firstChild) } } else { v = document.createElement("cvml:shape"); q.appendChild(v) } v.stroked = "f"; v.coordsize = O; v.coordorigin = m = (U - S) + ","+%20T;%20v.path%20=%20(D.d%20?"m"+%20D.d%20+"xe" : "") + "m" + m + J; v.fillcolor = F; if (u) { v.appendChild(u.cloneNode(false)) } var ae = v.style; ae.width = X; ae.height = af; if (H) { var s = H[0], r = H[1]; var B = Cufon.CSS.color(s.color), z; var N = document.createElement("cvml:shadow");%20N.on%20="t"; N.color = B.color; N.offset = s.offX + "," + s.offY; if (r) { z = Cufon.CSS.color(r.color); N.type = "double"; N.color2 = z.color; N.offset2 = r.offX + "," + r.offY } N.opacity = B.opacity || (z && z.opacity) || 1; v.appendChild(N) } S += L[aa++] } var M = v.nextSibling, t, A; if (C.forceHitArea) { if (!M) { M = document.createElement("cvml:rect"); M.stroked = "f"; M.className = "cufon-vml-cover"; t = document.createElement("cvml:fill");%20t.opacity%20=%200;%20M.appendChild(t);%20q.appendChild(M)%20}%20A%20=%20M.style;%20A.width%20=%20X;%20A.height%20=%20af%20}%20else%20{%20if%20(M)%20{%20q.removeChild(M)%20}%20}%20ai.width%20=%20Math.max(Math.ceil(p.convert(k%20*%20P)),%200);%20if%20(h)%20{%20var%20Q%20=%20Y.computedYAdjust;%20if%20(Q%20===%20undefined)%20{%20var%20E%20=%20Y.get("lineHeight"); if (E == "normal") { E = "1em" } else { if (!isNaN(E)) { E += "em" } } Y.computedYAdjust = Q = 0.5 * (a(ad, E) - parseFloat(ai.height)) } if (Q) { ai.marginTop = Math.ceil(Q) + "px"; ai.marginBottom = Q + "px" } } return y } })());



Cufon.replace('#main-col h1');

Cufon.replace('.about h2');

Cufon.replace('.products h2');

Cufon.replace('.contact h2');

Cufon.replace('.login-area h1');

Cufon.replace('#sub-nav h2');
