﻿/*
* 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, B; while (B = C.exec(E)) { D.push(B[3] || B[1]) } return D }), recognizesMedia: j(function (G) { var E = document.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; if (B[D] === undefined) { return false } B[D] = C; return B[D] === C }, textAlign: function (E, D, B, C) { if (D.get("textAlign") == "right") { if (B > 0) { E = " " + E } } else { if (B < C - 1) { E += " " } } return E }, textShadow: j(function (F) { if (F == "none") { return null } var E = [], G = {}, B, C = 0; var D = /(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig; while (B = D.exec(F)) { if (B[0] == ",") { E.push(G); G = {}; C = 0 } else { if (B[1]) { G.color = B[1] } else { G[["offX", "offY", "blur"][C++]] = B[2] } } } E.push(G); return E }), textTransform: (function () { var B = { uppercase: function (C) { return C.toUpperCase() }, lowercase: function (C) { return C.toLowerCase() }, capitalize: function (C) { return C.replace(/\b./g, function (D) { return D.toUpperCase() }) } }; return function (E, D) { var C = B[D.get("textTransform")]; return C ? C(E) : E } })(), whiteSpace: (function () { var D = { inline: 1, "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, "") } } if (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"; this.viewBox = (function () { var F = C.bbox.split(/\s+/); var E = { minX: parseInt(F[0], 10), minY: parseInt(F[1], 10), maxX: parseInt(F[2], 10), maxY: parseInt(F[3], 10) }; E.width = E.maxX - E.minX; E.height = E.maxY - E.minY; E.toString = function () { return [this.minX, this.minY, this.width, this.height].join(" ") }; return E })(); this.ascent = -parseInt(C.ascent, 10); this.descent = -parseInt(C.descent, 10); this.height = -this.ascent + this.descent; this.spacing = function (L, N, E) { var O = this.glyphs, M, K, G, P = [], F = 0, J = -1, I = -1, H; while (H = L[++J]) { M = O[H] || this.missingGlyph; if (!M) { continue } if (K) { F -= G = K[H] || 0; P[I] -= G } F += P[++I] = ~ ~(M.w || this.w) + N + (B[H] ? E : 0); K = M.k } P.total = F; return P } } function f() { var C = {}, B = { oblique: "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") } function C(F, G) { setTimeout(function () { var H = d.get(F).options; m.replace(F, G ? h(H, H.hover) : H, true) }, 10) } this.attach = function (F) { if (F.onmouseenter === undefined) { q(F, "mouseover", B); q(F, "mouseout", B) } else { q(F, "mouseenter", E); q(F, "mouseleave", E) } } } function u() { var C = [], D = {}; function B(H) { var E = [], G; for (var F = 0; G = H[F]; ++F) { E[F] = C[D[G]] } return E } this.add = function (F, E) { D[F] = C.push(E) - 1 }; this.repeat = function () { var E = arguments.length ? B(arguments) : C, F; for (var G = 0; F = E[G++]; ) { m.replace(F[0], F[1], true) } } } function A() { var D = {}, B = 0; function C(E) { return E.cufid || (E.cufid = ++B) } this.get = function (E) { var F = C(E); return D[F] || (D[F] = {}) } } function a(B) { var D = {}, C = {}; this.extend = function (E) { for (var F in E) { if (k(E, F)) { D[F] = E[F] } } return this }; this.get = function (E) { return D[E] != undefined ? D[E] : B[E] }; this.getSize = function (F, E) { return C[F] || (C[F] = new n.Size(this.get(F), E)) }; this.isUsable = function () { return !!B } } function q(C, B, D) { if (C.addEventListener) { C.addEventListener(B, D, false) } else { if (C.attachEvent) { C.attachEvent("on" + B, function () { return D.call(C, window.event) }) } } } function v(C, B) { var D = d.get(C); if (D.options) { return C } if (B.hover && B.hoverables[C.nodeName.toLowerCase()]) { b.attach(C) } D.options = B; return C } function j(B) { var C = {}; return function (D) { if (!k(C, D)) { C[D] = B.apply(null, arguments) } return C[D] } } function c(F, E) { var B = n.quotedList(E.get("fontFamily").toLowerCase()), D; for (var C = 0; D = B[C]; ++C) { if (i[D]) { return i[D].get(E.get("fontStyle"), E.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("") } if (/\s$/.test(M)) { I.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" }; var p = { words: /\s/.test("\u00a0") ? /[^\S\u00a0]+/ : /\s+/, characters: "", none: /^/ }; m.now = function () { x.ready(); return m }; m.refresh = function () { y.repeat.apply(y, arguments); return m }; m.registerEngine = function (C, B) { if (!B) { return m } z[C] = B; return m.set("engine", C) }; m.registerFont = function (D) { if (!D) { return m } var B = new s(D), C = B.family; if (!i[C]) { i[C] = new f() } i[C].add(B); return m.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(""); var E = V.spacing(Z, ~ ~m.convertFrom(parseFloat(P.get("letterSpacing")) || 0), ~ ~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"); S.appendChild(document.createTextNode(w)); s.appendChild(S) } } var aa = s.style; var H = n.style; var j = m.convert(A.height); var Y = Math.ceil(j); var M = Y / j; var G = M * Cufon.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", (function () { var e = document.namespaces; if (!e) { return } e.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") ? 0 : ~ ~j.convertFrom(a(l, m)) } return m } var g = {}; function d(p) { var q = p.id; if (!g[q]) { var n = p.stops, o = document.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 + "% " + n[m][1]) } o.colors = i.join(","); o.color2 = n[l][1]; g[q] = o } return g[q] } return function (ac, G, Y, C, K, ad, W) { var n = (G === null); if (n) { G = K.alt } var I = ac.viewBox; var p = Y.computedFontSize || (Y.computedFontSize = new Cufon.CSS.Size(c(ad, Y.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")) } } var ai = y.style; var R = q.style; var l = p.convert(I.height), af = Math.ceil(l); var V = af / l; var P = V * Cufon.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"; var F = Y.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) + "," + T; v.path = (D.d ? "m" + D.d + "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"); N.on = "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"); t.opacity = 0; M.appendChild(t); q.appendChild(M) } A = M.style; A.width = X; A.height = af } else { if (M) { q.removeChild(M) } } ai.width = Math.max(Math.ceil(p.convert(k * P)), 0); if (h) { var Q = Y.computedYAdjust; if (Q === undefined) { var E = Y.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 } })());

/*!
* The following copyright notice may not be removed under any circumstances.
* 
* Copyright:
* © 1987, 1991, 1992, 1993, 2002 Adobe Systems Incorporated. All rights reserved.
* 
* Trademark:
* Futura is a registered trademark of Bauer Types, S.A.
* 
* Full name:
* FuturaStd-CondensedBold
* 
* Designer:
* Paul Renner
* 
* Vendor URL:
* http://www.adobe.com/type
* 
* License information:
* http://www.adobe.com/type/legal.html
*/
Cufon.registerFont({ "w": 176, "face": { "font-family": "Futura Std Condensed", "font-weight": 700, "font-stretch": "condensed", "units-per-em": "360", "panose-1": "2 11 7 6 2 2 4 3 2 4", "ascent": "297", "descent": "-63", "x-height": "4", "bbox": "-46 -299 295 90", "underline-thickness": "18", "underline-position": "-18", "stemh": "42", "stemv": "51", "unicode-range": "U+0020-U+007E" }, "glyphs": { " ": { "w": 88 }, "!": { "d": "71,-271r0,190r-53,0r0,-190r53,0xm44,-64v19,0,34,15,34,34v0,19,-15,34,-34,34v-19,0,-34,-15,-34,-34v0,-19,15,-34,34,-34", "w": 88 }, "\"": { "d": "117,-167r-39,0r-5,-104r50,0xm51,-167r-39,0r-5,-104r50,0", "w": 129 }, "#": { "d": "158,-122r0,36r-31,0r-10,86r-30,0r10,-86r-26,0r-11,86r-30,0r10,-86r-31,0r0,-36r36,0r4,-34r-31,0r0,-36r35,0r9,-79r30,0r-9,79r27,0r9,-79r30,0r-9,79r27,0r0,36r-32,0r-4,34r27,0xm105,-156r-26,0r-4,34r26,0" }, "$": { "d": "75,-274r0,-25r27,0r0,25v23,4,42,13,57,32r-29,32v-16,-25,-71,-31,-72,8v0,18,13,26,28,32v42,17,84,35,84,89v0,42,-26,77,-68,85r0,31r-27,0r0,-31v-26,-4,-49,-12,-67,-31r25,-40v20,30,86,44,86,-7v0,-22,-16,-30,-33,-38v-40,-18,-79,-35,-79,-85v0,-44,26,-70,68,-77" }, "%": { "d": "70,-274v45,0,57,41,57,78v0,37,-12,78,-57,78v-45,0,-56,-41,-56,-78v0,-37,11,-78,56,-78xm70,-233v-13,0,-13,29,-13,37v0,8,0,37,13,37v13,0,14,-29,14,-37v0,-8,-1,-37,-14,-37xm238,-154v45,0,57,41,57,78v0,37,-12,79,-57,79v-45,0,-56,-42,-56,-79v0,-37,11,-78,56,-78xm238,-113v-13,0,-13,29,-13,37v0,8,0,37,13,37v13,0,14,-29,14,-37v0,-8,-1,-37,-14,-37xm199,-271r39,0r-129,271r-38,0", "w": 308 }, "&": { "d": "87,-179v16,-6,31,-38,6,-43v-24,1,-17,30,-6,43xm110,-53r-35,-54v-33,22,3,85,35,54xm203,-72v-8,11,-20,20,-30,29r29,43r-57,0r-11,-16v-46,47,-125,3,-125,-61v0,-31,16,-53,40,-71v-34,-42,-19,-116,44,-116v32,0,62,19,62,54v0,31,-21,55,-43,74r36,55v9,-10,19,-18,27,-29", "w": 212 }, "(": { "d": "55,-276r47,10v-47,97,-48,209,0,305r-47,10v-53,-101,-54,-224,0,-325", "w": 108 }, ")": { "d": "53,49r-47,-10v46,-97,49,-208,0,-304r47,-11v53,101,54,224,0,325", "w": 108 }, "*": { "d": "57,-271r23,0r0,42r36,-22r11,20r-38,21r38,21r-11,21r-36,-24r0,44r-23,0r0,-44r-37,24r-12,-21r38,-21r-38,-21r12,-20r37,22r0,-42", "w": 135 }, "+": { "d": "68,-112r0,-68r40,0r0,68r61,0r0,40r-61,0r0,69r-40,0r0,-69r-60,0r0,-40r60,0" }, ",": { "d": "24,-58r54,0r-54,110r-36,0", "w": 88 }, "-": { "d": "12,-143r90,0r0,48r-90,0r0,-48", "w": 114 }, ".": { "d": "44,-64v19,0,34,15,34,34v0,19,-15,34,-34,34v-19,0,-34,-15,-34,-34v0,-19,15,-34,34,-34", "w": 88 }, "\/": { "d": "153,-291r41,0r-142,351r-41,0", "w": 196 }, "0": { "d": "88,-276v65,0,77,92,77,140v0,48,-12,140,-77,140v-65,0,-76,-92,-76,-140v0,-48,11,-140,76,-140xm88,-227v-27,0,-24,73,-24,91v0,18,-3,91,24,91v27,0,24,-73,24,-91v0,-18,3,-91,-24,-91" }, "1": { "d": "40,-271r78,0r0,271r-52,0r0,-225r-26,0r0,-46" }, "2": { "d": "68,-177r-49,0v-4,-56,7,-99,70,-99v81,0,81,87,51,143r-46,86r63,0r0,47r-142,0v30,-65,96,-125,96,-205v0,-14,-5,-33,-22,-33v-27,0,-20,37,-21,61" }, "3": { "d": "63,-71v-1,15,3,29,20,29v22,0,23,-23,23,-39v0,-30,-10,-39,-40,-38r0,-47v29,0,41,-5,41,-35v0,-12,-3,-28,-19,-28v-17,1,-18,18,-18,34r-46,0v-2,-44,13,-81,63,-81v76,0,92,106,35,136v74,24,46,144,-38,144v-46,0,-73,-30,-71,-75r50,0" }, "4": { "d": "82,-271r59,0r0,164r22,0r0,41r-22,0r0,66r-52,0r0,-66r-79,0r0,-40xm89,-107r-1,-103r-40,103r41,0" }, "5": { "d": "27,-138r21,-133r104,0r0,46r-67,0r-7,44v55,3,81,37,81,90v0,79,-73,116,-141,83r9,-47v29,28,75,6,75,-37v0,-41,-36,-53,-75,-46" }, "6": { "d": "74,-271r52,0r-51,106v10,-9,20,-15,34,-15v41,0,54,52,54,85v0,49,-19,99,-76,99v-54,0,-74,-47,-74,-95v-1,-67,37,-127,61,-180xm90,-132v-20,0,-24,33,-24,47v0,13,4,44,22,44v21,0,23,-35,23,-49v0,-13,-3,-42,-21,-42" }, "7": { "d": "26,-271r147,0r-102,271r-56,0r84,-225r-73,0r0,-46" }, "8": { "d": "89,4v-85,0,-109,-128,-31,-151v-63,-21,-40,-129,31,-129v70,0,93,107,30,129v32,13,47,38,47,73v0,45,-32,78,-77,78xm87,-234v-21,5,-20,54,0,60v17,0,17,-21,17,-31v0,-10,-2,-29,-17,-29xm88,-120v-18,0,-22,25,-22,39v0,14,3,39,22,39v18,0,23,-26,23,-39v0,-13,-5,-39,-23,-39" }, "9": { "d": "103,0r-52,0r51,-107v-10,9,-20,15,-34,15v-41,0,-55,-52,-55,-84v0,-49,19,-100,76,-100v54,0,74,48,74,96v1,67,-36,127,-60,180xm89,-229v-21,0,-23,33,-23,47v0,13,3,43,21,43v21,0,24,-33,24,-47v0,-13,-4,-43,-22,-43" }, ":": { "d": "44,-64v19,0,34,15,34,34v0,19,-15,34,-34,34v-19,0,-34,-15,-34,-34v0,-19,15,-34,34,-34xm44,-185v19,0,34,15,34,34v0,19,-15,34,-34,34v-19,0,-34,-15,-34,-34v0,-19,15,-34,34,-34", "w": 88 }, ";": { "d": "24,-58r54,0r-54,110r-36,0xm44,-185v19,0,34,15,34,34v0,19,-15,34,-34,34v-19,0,-34,-15,-34,-34v0,-19,15,-34,34,-34", "w": 88 }, "<": { "d": "50,-92r119,58r0,40r-162,-81r0,-36r162,-81r0,40" }, "=": { "d": "169,-147r0,40r-161,0r0,-40r161,0xm169,-77r0,40r-161,0r0,-40r161,0" }, ">": { "d": "8,-34r118,-58r-118,-60r0,-40r161,81r0,36r-161,81r0,-40" }, "?": { "d": "78,-229v-15,1,-19,17,-18,32r-51,0v-2,-46,21,-79,69,-79v85,0,104,130,32,156r0,35r-53,0r0,-67v29,7,41,-20,40,-42v0,-12,-2,-35,-19,-35xm50,-30v0,-19,16,-34,34,-34v19,0,34,15,34,34v0,19,-15,34,-34,34v-18,0,-34,-15,-34,-34", "w": 163 }, "@": { "d": "181,-134v2,-22,-6,-41,-29,-41v-42,0,-57,78,-15,84v27,4,42,-23,44,-43xm194,-186r4,-20r35,0r-19,111v-5,23,43,-7,44,-58v2,-59,-41,-96,-102,-96v-67,0,-114,47,-114,112v0,104,128,151,193,82r35,0v-27,37,-65,59,-111,59v-89,0,-145,-57,-145,-141v0,-52,34,-139,143,-139v74,0,129,47,129,113v0,86,-75,107,-93,107v-9,0,-19,-8,-16,-23v-38,43,-105,14,-105,-44v0,-64,79,-116,122,-63", "w": 299 }, "A": { "d": "66,-271r56,0r66,271r-58,0r-10,-46r-54,0r-10,46r-53,0xm112,-88r-20,-114r-17,114r37,0", "w": 190 }, "B": { "d": "107,-82v0,-21,-13,-37,-34,-36r0,73v22,1,34,-14,34,-37xm72,-271v75,-13,116,92,54,132v22,11,34,40,34,63v-1,74,-66,80,-141,76r0,-271r53,0xm105,-194v0,-20,-11,-33,-32,-32r0,66v20,0,32,-13,32,-34", "w": 172 }, "C": { "d": "154,-270r0,50v-55,-16,-87,32,-87,81v0,46,31,106,87,86r0,51v-86,24,-145,-59,-145,-136v0,-75,59,-157,145,-132", "w": 162 }, "D": { "d": "67,0r-48,0r0,-271r41,0v9,0,121,-15,121,137v0,77,-29,134,-114,134xm73,-48v43,2,55,-52,55,-86v0,-35,-11,-89,-55,-89r0,175", "w": 190 }, "E": { "d": "19,-271r108,0r0,50r-54,0r0,59r48,0r0,50r-48,0r0,62r55,0r0,50r-109,0r0,-271", "w": 141 }, "F": { "d": "19,-271r108,0r0,50r-54,0r0,58r49,0r0,50r-49,0r0,113r-54,0r0,-271", "w": 141, "k": { "A": 13, ",": 29, ".": 29} }, "G": { "d": "105,-151r88,0v2,72,-7,155,-87,155v-73,0,-97,-78,-97,-138v0,-63,20,-142,97,-142v41,0,68,26,80,65r-52,20v-3,-14,-6,-35,-27,-35v-36,0,-40,64,-40,90v0,28,1,91,41,91v27,0,32,-37,32,-56r-35,0r0,-50", "w": 202 }, "H": { "d": "19,-271r54,0r0,106r54,0r0,-106r54,0r0,271r-54,0r0,-115r-54,0r0,115r-54,0r0,-271", "w": 199 }, "I": { "d": "19,-271r54,0r0,271r-54,0r0,-271", "w": 91 }, "J": { "d": "109,-271r0,183v0,22,3,92,-64,92v-13,0,-29,-2,-41,-8r0,-54v6,9,17,16,28,16v25,0,24,-28,24,-46r0,-183r53,0", "w": 126 }, "K": { "d": "19,-271r54,0r0,121r45,-121r55,0r-50,125r56,146r-56,0r-50,-138r0,138r-54,0r0,-271", "w": 184 }, "L": { "d": "19,-271r54,0r0,221r56,0r0,50r-110,0r0,-271", "w": 134, "k": { "T": 20, "V": 27, "W": 20, "y": 13, "Y": 27} }, "M": { "d": "32,-271r71,0r27,160r21,-160r72,0r29,271r-55,0r-14,-195r-32,195r-41,0r-26,-130v-4,-21,-4,-46,-10,-65r-8,195r-58,0", "w": 259 }, "N": { "d": "19,-271r52,0r67,163v-8,-48,-2,-108,-4,-163r54,0r0,271r-51,0r-66,-164r2,164r-54,0r0,-271", "w": 206 }, "O": { "d": "105,-276v48,0,95,38,95,140v0,102,-47,140,-95,140v-48,0,-96,-38,-96,-140v0,-102,48,-140,96,-140xm67,-136v0,22,2,91,38,91v36,0,38,-69,38,-91v0,-24,-2,-90,-38,-90v-36,0,-38,66,-38,90", "w": 209 }, "P": { "d": "73,0r-54,0r0,-271r56,0v12,0,92,-7,92,80v0,55,-38,85,-94,79r0,112xm73,-227r0,71v26,1,40,-8,40,-36v0,-23,-12,-38,-40,-35", "w": 175, "k": { "A": 13, ",": 46, ".": 46} }, "Q": { "d": "113,-111r25,27v4,-15,5,-31,5,-52v0,-24,-2,-90,-38,-90v-36,0,-38,66,-38,90v0,25,8,112,51,86r-32,-34xm180,-40r23,24r-28,26r-21,-22v-74,42,-145,2,-145,-124v0,-102,48,-140,96,-140v48,0,95,38,95,140v0,32,-4,69,-20,96", "w": 209 }, "R": { "d": "73,0r-54,0r0,-271r54,0v34,0,95,3,95,77v0,30,-11,56,-38,71r47,123r-56,0r-48,-125r0,125xm73,-227r0,72v28,5,43,-13,43,-38v0,-21,-13,-37,-43,-34", "w": 190, "k": { "T": 9, "V": 13, "W": 13, "y": 6, "Y": 13} }, "S": { "d": "131,-262r0,52v-17,-20,-66,-30,-66,9v0,45,82,48,82,121v0,66,-68,106,-125,71r0,-51v22,20,71,21,72,-16v0,-21,-17,-28,-32,-39v-31,-21,-50,-41,-50,-81v0,-64,66,-102,119,-66", "w": 158 }, "T": { "d": "5,-271r139,0r0,50r-43,0r0,221r-53,0r0,-221r-43,0r0,-50", "w": 149, "k": { "w": 27, "y": 27, "A": 20, ",": 22, ".": 22, "a": 27, "c": 27, "e": 27, "i": 6, "o": 27, "r": 27, "s": 27, "u": 27, ":": 15, "-": 20, ";": 15} }, "U": { "d": "18,-271r53,0r0,175v0,21,-2,52,27,52v26,0,27,-20,27,-40r0,-187r53,0r0,198v0,29,-3,77,-80,77v-50,0,-80,-23,-80,-74r0,-201", "w": 195 }, "V": { "d": "3,-271r57,0r43,176v10,-62,27,-118,41,-176r57,0r-76,271r-44,0", "w": 203, "k": { "y": 6, "A": 20, ",": 33, ".": 33, "a": 11, "e": 11, "o": 11, "r": 6, "u": 6, ":": 6, "-": 6, ";": 6} }, "W": { "d": "3,-271r55,0v10,61,25,119,28,187v6,-16,5,-40,9,-58r27,-129r43,0r35,187v4,-67,17,-125,26,-187r57,0r-57,271r-46,0r-28,-143v-3,-16,-2,-35,-8,-50r-40,193r-46,0", "w": 285, "k": { "y": 6, "A": 20, ",": 27, ".": 27, "a": 11, "e": 11, "o": 11, "r": 6, "u": 28, "-": 6} }, "X": { "d": "8,-271r60,0v12,24,21,52,30,79v5,-28,17,-55,28,-79r58,0r-58,131r62,140r-62,0v-12,-26,-20,-56,-30,-84v-7,29,-18,57,-28,84r-60,0r58,-140", "w": 196 }, "Y": { "d": "1,-271r59,0r33,87v9,-30,20,-58,30,-87r61,0r-64,141r0,130r-53,0r0,-130", "w": 185, "k": { "v": 13, "A": 20, ",": 40, ".": 40, "a": 27, "e": 27, "i": 6, "o": 27, "u": 20, ":": 13, "-": 27, ";": 13, "p": 20, "q": 27} }, "Z": { "d": "18,-271r159,0r-92,221r85,0r0,50r-164,0r91,-221r-79,0r0,-50", "w": 182 }, "[": { "d": "19,-271r90,0r0,35r-43,0r0,245r44,0r0,36r-91,0r0,-316", "w": 115 }, "\\": { "d": "-46,-291r41,0r141,351r-41,0", "w": 90 }, "]": { "d": "6,-271r90,0r0,316r-91,0r0,-36r44,0r0,-245r-43,0r0,-35", "w": 115 }, "^": { "d": "44,-119r-36,-17r59,-135r43,0r59,135r-36,17r-45,-105" }, "_": { "d": "0,27r180,0r0,18r-180,0r0,-18", "w": 180 }, "a": { "d": "79,-43v16,0,17,-39,17,-49v0,-10,-1,-48,-18,-48v-17,0,-18,38,-18,48v0,12,1,49,19,49xm93,0v-1,-6,2,-16,-1,-21v-7,14,-17,25,-33,25v-41,0,-50,-66,-50,-95v0,-31,7,-94,49,-94v18,-1,27,13,35,26r0,-23r51,0r0,182r-51,0", "w": 155 }, "b": { "d": "13,0r0,-291r50,0r1,132v6,-15,17,-26,34,-26v43,0,49,63,49,94v0,29,-8,95,-49,95v-18,1,-27,-13,-35,-25r0,21r-50,0xm77,-43v17,0,19,-37,19,-49v0,-10,-1,-48,-18,-48v-17,0,-18,38,-18,48v0,10,0,49,17,49", "w": 155 }, "c": { "d": "105,-49r0,46v-58,29,-96,-35,-96,-87v0,-54,34,-113,96,-90r0,45v-26,-21,-49,17,-45,42v-4,25,17,63,45,44", "w": 113 }, "d": { "d": "93,0v-1,-6,2,-16,-1,-21v-7,14,-17,25,-33,25v-41,0,-50,-66,-50,-95v0,-31,7,-94,49,-94v18,-1,27,13,35,26r0,-132r51,0r0,291r-51,0xm79,-43v16,0,17,-39,17,-49v0,-10,-1,-48,-18,-48v-17,0,-18,38,-18,48v0,12,1,49,19,49", "w": 155 }, "e": { "d": "96,-109v0,-15,-2,-38,-19,-38v-17,0,-18,23,-18,38r37,0xm137,-56v-5,33,-21,59,-58,60v-51,0,-70,-46,-70,-91v0,-44,16,-98,69,-98v40,0,71,47,61,108r-81,0v0,13,0,42,19,42v13,0,17,-10,17,-21r43,0", "w": 149 }, "f": { "d": "7,-182r19,0v2,-56,-13,-112,52,-112v8,0,15,1,22,4r0,49v-30,-11,-23,27,-24,59r24,0r0,42r-24,0r0,140r-50,0r0,-140r-19,0r0,-42", "w": 107 }, "g": { "d": "79,-43v16,0,17,-39,17,-49v0,-10,-1,-48,-18,-48v-17,0,-18,38,-18,48v0,12,1,49,19,49xm60,4v-38,0,-51,-53,-51,-92v0,-32,6,-97,49,-97v18,-1,28,13,36,25r0,-22r51,0r0,198v0,53,-24,74,-68,74v-43,0,-63,-25,-66,-66r45,0v1,12,5,26,19,26v29,0,18,-47,18,-73v-6,12,-15,27,-33,27", "w": 157 }, "h": { "d": "13,-291r50,0r1,137v7,-17,22,-31,42,-31v37,0,34,42,34,68r0,117r-50,0r0,-100v0,-9,3,-34,-13,-34v-12,0,-14,12,-14,21r0,113r-50,0r0,-291", "w": 152 }, "i": { "d": "12,-182r51,0r0,182r-51,0r0,-182xm37,-203v-18,0,-32,-15,-32,-33v0,-18,16,-32,34,-32v18,0,31,16,31,33v0,17,-15,32,-33,32", "w": 75 }, "j": { "d": "12,-182r51,0r0,272r-51,0r0,-272xm37,-203v-18,0,-32,-15,-32,-33v0,-18,16,-32,34,-32v18,0,31,16,31,33v0,17,-15,32,-33,32", "w": 75 }, "k": { "d": "13,-291r50,0r1,173r28,-64r55,0r-41,74r50,108r-56,0r-37,-84r0,84r-50,0r0,-291", "w": 158 }, "l": { "d": "13,-291r50,0r0,291r-50,0r0,-291", "w": 75 }, "m": { "d": "63,-182r1,29v10,-35,72,-47,76,-1v10,-14,25,-32,45,-31v33,0,32,36,32,59r0,126r-50,0r0,-99v0,-9,2,-36,-13,-36v-12,0,-14,13,-14,21r0,114r-50,0r0,-102v0,-9,2,-32,-12,-32v-13,0,-15,12,-15,21r0,113r-50,0r0,-182r50,0", "w": 230 }, "n": { "d": "63,-182v1,9,-2,21,1,28v7,-17,22,-31,42,-31v37,0,34,42,34,68r0,117r-50,0r0,-100v0,-9,3,-34,-13,-34v-12,0,-14,12,-14,21r0,113r-50,0r0,-182r50,0", "w": 152 }, "o": { "d": "78,-185v54,0,70,48,70,94v0,46,-16,95,-70,95v-54,0,-69,-49,-69,-95v0,-46,15,-94,69,-94xm78,-140v-18,0,-18,39,-18,49v0,10,0,49,18,49v18,0,19,-39,19,-49v0,-10,-1,-49,-19,-49", "w": 156 }, "p": { "d": "77,-43v18,0,19,-37,19,-49v0,-10,-1,-48,-18,-48v-17,0,-18,38,-18,48v0,10,0,49,17,49xm63,-182v1,7,-2,18,1,23v6,-15,17,-26,34,-26v43,0,49,63,49,94v0,29,-8,95,-49,95v-18,1,-27,-13,-35,-25r0,111r-50,0r0,-272r50,0", "w": 155 }, "q": { "d": "144,-182r0,272r-51,0r-1,-111v-7,14,-17,25,-33,25v-41,0,-50,-66,-50,-95v0,-31,7,-94,49,-94v18,-1,27,13,35,26r0,-23r51,0xm79,-43v16,0,17,-39,17,-49v0,-10,-1,-48,-18,-48v-17,0,-18,38,-18,48v0,12,1,49,19,49", "w": 155 }, "r": { "d": "13,-182r50,0v1,7,-2,17,1,22v9,-16,21,-27,41,-29r0,50v-67,-9,-35,81,-42,139r-50,0r0,-182", "w": 113, "k": { "v": -6, "w": -6, "y": -6, ",": 20, ".": 20, "x": -7, "z": -7} }, "s": { "d": "125,-170r-21,37v-9,-12,-38,-20,-38,2v0,21,58,17,58,71v0,63,-73,82,-113,43r22,-36v11,12,38,20,40,-4v2,-24,-58,-17,-58,-75v0,-55,72,-67,110,-38", "w": 135 }, "t": { "d": "28,-232r51,0r0,50r21,0r0,42r-21,0r0,140r-51,0r0,-140r-17,0r0,-42r17,0r0,-50", "w": 110 }, "u": { "d": "13,-182r50,0r0,100v0,10,-4,38,13,38v14,0,13,-18,13,-27r0,-111r51,0v-4,80,23,191,-65,186v-97,-5,-51,-105,-62,-186", "w": 152 }, "v": { "d": "5,-182r51,0r25,103r24,-103r52,0r-52,182r-47,0", "w": 162, "k": { ",": 20, ".": 20} }, "w": { "d": "5,-182r50,0r25,107r24,-107r43,0r24,107r25,-107r48,0r-50,182r-42,0r-28,-114v-6,40,-14,78,-25,114r-42,0", "w": 249, "k": { ",": 13, ".": 13} }, "x": { "d": "15,-182r53,0r19,39r21,-39r53,0r-47,84r54,98r-54,0r-27,-50r-27,50r-52,0r52,-98" }, "y": { "d": "5,-182r52,0r25,104r24,-104r51,0r-78,272r-50,0r29,-94", "w": 162, "k": { ",": 20, ".": 20} }, "z": { "d": "14,-182r122,0r-56,140r50,0r0,42r-122,0r58,-140r-52,0r0,-42", "w": 144 }, "{": { "d": "109,45v-51,4,-76,-9,-76,-56v0,-36,11,-88,-27,-88r0,-27v64,-6,-16,-151,72,-145r31,0r0,27v-64,0,6,119,-58,131v39,7,29,54,29,94v0,19,5,36,29,36r0,28", "w": 108 }, "|": { "d": "25,-283r40,0r0,360r-40,0r0,-360", "w": 90 }, "}": { "d": "75,-11v0,46,-24,60,-76,56r0,-28v64,-1,-6,-117,58,-130v-39,-7,-27,-54,-29,-95v0,-21,-5,-36,-29,-36r0,-27v45,-3,76,2,76,48v0,39,-12,94,27,97r0,27v-38,0,-27,52,-27,88", "w": 108 }, "~": { "d": "149,-129r20,26v-11,19,-22,42,-46,42v-22,0,-55,-24,-67,-24v-15,0,-22,18,-28,30r-20,-27v10,-21,24,-44,47,-44v23,0,53,23,68,23v13,0,19,-15,26,-26" }, "'": { "d": "65,-167r-39,0r-6,-104r50,0", "w": 90 }, "`": { "d": "55,-271r35,51r-25,15r-47,-50", "w": 108 }, "\u00a0": { "w": 88}} });

/*!
* The following copyright notice may not be removed under any circumstances.
* 
* Copyright:
* Copyright © 1987, 1991, 1993, 2002 Adobe Systems Incorporated.  All Rights
* Reserved.
* 
* Trademark:
* Futura is a registered trademark of Bauer Types, S.A.
* 
* Full name:
* FuturaStd-Bold
* 
* Designer:
* Paul Renner
* 
* Vendor URL:
* http://www.adobe.com/type
* 
* License information:
* http://www.adobe.com/type/legal.html
*/
Cufon.registerFont({ "w": 246, "face": { "font-family": "Futura Std", "font-weight": 700, "font-stretch": "normal", "units-per-em": "360", "panose-1": "2 11 8 2 2 2 4 2 2 4", "ascent": "297", "descent": "-63", "x-height": "6", "bbox": "-7 -315 408 92", "underline-thickness": "18", "underline-position": "-18", "stemh": "57", "stemv": "66", "unicode-range": "U+0020-U+007E" }, "glyphs": { " ": { "w": 123 }, "!": { "d": "69,-77v23,0,42,19,42,42v0,23,-19,42,-42,42v-23,0,-42,-19,-42,-42v0,-23,19,-42,42,-42xm35,-92r0,-179r68,0r0,179r-68,0", "w": 138 }, "\"": { "d": "17,-271r61,0r-10,119r-41,0xm102,-271r61,0r-10,119r-41,0", "w": 180 }, "#": { "d": "95,-261r39,0r-14,73r36,0r14,-73r38,0r-14,73r28,0r0,40r-35,0r-8,45r33,0r0,41r-42,0r-12,62r-38,0r12,-62r-37,0r-11,62r-39,0r12,-62r-33,0r0,-41r41,0r9,-45r-35,0r0,-40r42,0xm112,-148r-9,45r37,0r9,-45r-37,0" }, "$": { "d": "24,-31r30,-55v17,15,42,31,65,31v15,0,34,-9,34,-27v0,-20,-29,-24,-57,-34v-28,-10,-56,-26,-56,-70v0,-42,29,-82,73,-85r0,-44r34,0r0,44v23,2,46,8,65,21r-26,52v-13,-10,-29,-18,-46,-18v-16,0,-31,7,-31,21v0,17,22,24,35,28v41,14,78,28,78,78v0,50,-28,76,-75,88r0,45r-34,0r0,-43v-36,-1,-67,-14,-89,-32" }, "%": { "d": "81,-275v40,0,74,23,74,66v0,44,-33,67,-74,67v-41,0,-74,-23,-74,-67v0,-43,34,-66,74,-66xm81,-239v-17,0,-31,14,-31,31v0,17,14,30,31,30v17,0,31,-13,31,-30v0,-17,-14,-31,-31,-31xm270,-129v40,0,74,23,74,66v0,44,-33,67,-74,67v-41,0,-74,-23,-74,-67v0,-43,34,-66,74,-66xm270,-93v-17,0,-31,13,-31,30v0,17,14,31,31,31v17,0,31,-14,31,-31v0,-17,-14,-30,-31,-30xm237,-271r35,0r-158,271r-35,0", "w": 351 }, "&": { "d": "155,-67r-43,-46v-30,9,-33,58,5,57v13,0,27,-5,38,-11xm141,-172v26,-8,39,-56,2,-59v-35,3,-22,45,-2,59xm217,0r-23,-25v-57,47,-178,47,-180,-46v-1,-44,29,-62,64,-78v-10,-17,-25,-28,-25,-55v0,-47,41,-75,85,-75v43,0,84,28,84,74v0,34,-22,51,-50,65r34,36v13,-12,26,-24,36,-38r40,38v-13,13,-24,28,-38,40r61,64r-88,0", "w": 305 }, "(": { "d": "70,-284r39,22v-57,98,-55,228,0,326r-39,22v-71,-107,-69,-264,0,-370", "w": 126 }, ")": { "d": "18,-262r39,-22v70,106,71,263,0,370r-39,-22v55,-98,56,-228,0,-326", "w": 126 }, "*": { "d": "71,-271r32,0r-2,38r32,-20r16,27r-34,18r34,19r-16,27r-32,-21r2,37r-33,0r2,-36r-30,19r-16,-27r32,-18r-34,-18r17,-28r31,20", "w": 173 }, "+": { "d": "96,-120r0,-65r54,0r0,65r66,0r0,54r-66,0r0,66r-54,0r0,-66r-65,0r0,-54r65,0" }, ",": { "d": "55,-69r61,0r-66,120r-42,0", "w": 123 }, "-": { "d": "19,-143r103,0r0,54r-103,0r0,-54", "w": 141 }, ".": { "d": "62,-77v23,0,42,19,42,42v0,23,-19,42,-42,42v-23,0,-42,-19,-42,-42v0,-23,19,-42,42,-42", "w": 123 }, "\/": { "d": "147,-299r52,0r-138,332r-51,0", "w": 208 }, "0": { "d": "123,-282v157,2,156,290,0,293v-155,-3,-155,-291,0,-293xm123,-220v-36,0,-45,58,-45,84v0,26,9,85,45,85v36,0,45,-59,45,-85v0,-26,-9,-84,-45,-84" }, "1": { "d": "97,-212r-39,0r0,-59r109,0r0,271r-70,0r0,-212" }, "2": { "d": "141,-60r89,0r0,60r-218,0r111,-121v16,-17,31,-41,31,-66v0,-17,-12,-35,-31,-35v-23,0,-34,21,-29,44r-77,0v2,-62,41,-104,105,-104v57,0,105,37,105,96v0,61,-53,92,-86,126" }, "3": { "d": "26,-193v6,-54,42,-85,101,-89v75,-6,119,94,58,134v29,8,45,41,45,69v0,92,-130,117,-187,59v-16,-17,-32,-44,-31,-68r72,0v0,22,16,38,38,38v22,0,38,-14,38,-36v0,-25,-25,-42,-50,-34r0,-47v23,2,38,-8,38,-30v0,-17,-11,-28,-27,-28v-18,0,-29,14,-29,32r-66,0" }, "4": { "d": "203,-110r33,0r0,54r-33,0r0,56r-65,0r0,-56r-132,0r0,-45r105,-170r92,0r0,161xm138,-110r-1,-105r-64,105r65,0" }, "5": { "d": "222,-85v3,93,-129,123,-202,71r10,-66v21,19,48,31,76,31v22,0,43,-16,43,-40v0,-53,-71,-54,-111,-35r24,-147r141,0r0,59r-94,0r-5,31v68,-14,116,32,118,96" }, "6": { "d": "122,11v-58,0,-115,-42,-114,-98v3,-77,66,-132,102,-184r80,0r-76,92v64,-29,125,23,125,87v0,67,-55,103,-117,103xm122,-45v25,0,43,-20,43,-45v0,-24,-18,-44,-43,-44v-24,0,-45,20,-45,44v0,25,21,45,45,45" }, "7": { "d": "139,-212r-113,0r0,-59r222,0r-155,271r-78,0" }, "8": { "d": "123,-233v-17,0,-29,13,-29,30v0,17,12,31,29,31v17,0,30,-14,30,-31v0,-17,-13,-30,-30,-30xm123,-114v-18,0,-32,15,-32,34v0,18,14,33,32,33v18,0,33,-15,33,-33v0,-19,-15,-34,-33,-34xm31,-205v0,-103,185,-103,185,0v0,29,-18,54,-43,62v32,11,54,36,54,72v0,56,-57,82,-104,82v-47,0,-103,-26,-103,-82v0,-36,22,-61,54,-72v-25,-8,-43,-33,-43,-62" }, "9": { "d": "125,-282v59,0,116,42,114,98v-3,77,-66,132,-102,184r-80,0r77,-92v-65,29,-126,-24,-126,-88v0,-67,55,-102,117,-102xm125,-226v-25,0,-43,19,-43,44v0,25,18,45,43,45v25,0,45,-20,45,-45v0,-25,-20,-44,-45,-44" }, ":": { "d": "62,-77v23,0,42,19,42,42v0,23,-19,42,-42,42v-23,0,-42,-19,-42,-42v0,-23,19,-42,42,-42xm62,-198v23,0,42,19,42,42v0,23,-19,42,-42,42v-23,0,-42,-19,-42,-42v0,-23,19,-42,42,-42", "w": 123 }, ";": { "d": "50,-69r61,0r-66,120r-42,0xm78,-198v23,0,43,19,43,42v0,23,-20,42,-43,42v-23,0,-42,-19,-42,-42v0,-23,19,-42,42,-42", "w": 123 }, "<": { "d": "36,-71r0,-43r176,-66r0,54r-99,34r99,33r0,54" }, "=": { "d": "31,-163r185,0r0,54r-185,0r0,-54xm31,-76r185,0r0,54r-185,0r0,-54" }, ">": { "d": "212,-114r0,43r-176,66r0,-54r98,-34r-98,-33r0,-54" }, "?": { "d": "104,-279v48,-1,94,38,94,85v0,41,-28,66,-65,78r0,25r-66,0r0,-70v27,7,61,-4,62,-33v0,-15,-12,-27,-27,-27v-17,0,-25,12,-25,27r-72,0v0,-55,48,-85,99,-85xm101,-77v23,0,42,19,42,42v0,23,-19,42,-42,42v-23,0,-42,-19,-42,-42v0,-23,19,-42,42,-42", "w": 214 }, "@": { "d": "136,-169v-38,-2,-51,73,-8,75v39,1,49,-75,8,-75xm264,-163v0,54,-36,111,-78,108v-10,0,-19,-9,-22,-21v-30,41,-106,15,-106,-46v0,-64,74,-118,117,-64r4,-19r34,0r-18,93v-2,9,-6,25,4,24v13,-1,34,-31,36,-62v3,-61,-42,-95,-97,-95v-60,0,-102,46,-102,109v0,94,101,132,173,95r29,24v-25,13,-58,24,-97,24v-77,0,-139,-61,-139,-143v0,-81,60,-143,137,-143v65,0,125,52,125,116", "w": 266 }, "A": { "d": "189,-47r-97,0r-19,47r-74,0r104,-271r77,0r102,271r-75,0xm170,-101r-29,-87r-29,87r58,0", "w": 281 }, "B": { "d": "94,-112r0,58v27,0,65,4,65,-29v0,-36,-38,-28,-65,-29xm230,-76v0,96,-115,74,-207,76r0,-271v82,3,184,-20,181,70v0,24,-7,45,-29,56v39,5,55,31,55,69xm94,-217r0,52v23,0,46,0,46,-26v0,-27,-24,-26,-46,-26", "w": 243 }, "C": { "d": "9,-135v0,-100,109,-178,208,-130r0,85v-37,-55,-134,-29,-134,45v0,73,95,98,134,45r0,85v-102,42,-208,-31,-208,-130", "w": 237 }, "D": { "d": "23,0r0,-271r100,0v76,0,138,59,138,135v0,76,-63,136,-138,136r-100,0xm94,-212r0,152v54,3,94,-17,94,-76v0,-55,-38,-80,-94,-76", "w": 270 }, "E": { "d": "177,-212r-83,0r0,46r79,0r0,59r-79,0r0,47r83,0r0,60r-154,0r0,-271r154,0r0,59", "w": 198 }, "F": { "d": "179,-212r-85,0r0,46r77,0r0,59r-77,0r0,107r-71,0r0,-271r156,0r0,59", "w": 195, "k": { "A": 20, ",": 46, ".": 46} }, "G": { "d": "294,-152v7,87,-56,161,-140,161v-85,0,-145,-58,-145,-143v0,-88,61,-146,148,-146v56,0,99,25,122,76r-67,28v-10,-26,-31,-44,-59,-44v-93,2,-93,170,1,171v31,0,54,-16,57,-47r-57,0r0,-56r140,0", "w": 303 }, "H": { "d": "94,-167r101,0r0,-104r71,0r0,271r-71,0r0,-111r-101,0r0,111r-71,0r0,-271r71,0r0,104", "w": 289 }, "I": { "d": "94,-271r0,271r-71,0r0,-271r71,0", "w": 116 }, "J": { "d": "84,-271r70,0v-8,116,37,281,-90,278v-30,0,-53,-15,-69,-40r40,-43v8,11,20,23,29,23v21,0,20,-25,20,-40r0,-178", "w": 176 }, "K": { "d": "180,-271r87,0r-108,128r118,143r-92,0r-91,-118r0,118r-71,0r0,-271r71,0r0,112", "w": 272 }, "L": { "d": "94,-271r0,211r84,0r0,60r-155,0r0,-271r71,0", "w": 178, "k": { "T": 20, "V": 33, "W": 20, "y": 13, "Y": 33} }, "M": { "d": "7,0r46,-271r69,0r55,145r59,-145r70,0r41,271r-71,0r-20,-156r-65,156r-28,0r-63,-156r-23,156r-70,0", "w": 353 }, "N": { "d": "23,0r0,-271r71,0r130,166r0,-166r70,0r0,271r-70,0r-130,-166r0,166r-71,0", "w": 317 }, "O": { "d": "159,-280v78,0,151,57,151,139v0,88,-64,150,-151,150v-87,0,-150,-62,-150,-150v0,-82,72,-139,150,-139xm159,-212v-42,0,-76,35,-76,72v0,47,34,81,76,81v42,0,77,-34,77,-81v0,-37,-35,-72,-77,-72", "w": 319 }, "P": { "d": "23,0r0,-271v99,0,207,-15,207,89v0,80,-54,97,-136,92r0,90r-71,0xm94,-215r0,68v31,0,62,4,62,-33v0,-38,-30,-35,-62,-35", "w": 237, "k": { "A": 27, ",": 50, ".": 46} }, "Q": { "d": "204,-114r20,19v33,-50,-7,-118,-64,-117v-42,0,-77,35,-77,72v0,54,46,93,98,77r-43,-43xm320,7r-64,10r-22,-26v-101,53,-225,-16,-225,-132v0,-82,72,-139,150,-139v85,0,151,57,151,145v0,36,-12,67,-35,95", "w": 319 }, "R": { "d": "163,-111r86,111r-88,0r-67,-104r0,104r-71,0r0,-271v94,0,202,-16,200,83v0,37,-21,70,-60,77xm94,-217r0,67v27,0,55,-2,55,-34v0,-32,-28,-33,-55,-33", "w": 244, "k": { "V": 7, "W": 7, "Y": 14} }, "S": { "d": "211,-91v0,100,-129,125,-200,67r30,-57v18,15,39,28,63,28v17,0,34,-8,34,-27v0,-20,-28,-27,-43,-31v-44,-13,-73,-24,-73,-77v0,-92,110,-112,178,-68r-28,54v-13,-11,-30,-18,-47,-18v-13,0,-30,8,-30,23v0,23,30,25,49,31v38,11,67,31,67,75", "w": 221 }, "T": { "d": "131,-212r0,212r-71,0r0,-212r-58,0r0,-59r187,0r0,59r-58,0", "w": 191, "k": { "w": 29, "y": 29, "A": 22, ",": 33, ".": 40, "o": 27, "a": 27, "c": 27, "e": 27, "r": 20, "s": 33, "u": 29, ":": 13, "-": 36, ";": 24} }, "U": { "d": "188,-271r70,0r0,152v0,35,0,71,-28,96v-47,42,-133,42,-180,0v-28,-25,-28,-61,-28,-96r0,-152r70,0r0,142v0,35,3,74,48,74v45,0,48,-39,48,-74r0,-142", "w": 280 }, "V": { "d": "71,-271r66,164r66,-164r76,0r-116,271r-54,0r-114,-271r76,0", "w": 273, "k": { "y": 6, "A": 32, ",": 58, ".": 54, "o": 27, "a": 27, "e": 27, "r": 13, "u": 13, ":": 20, "-": 20, ";": 33, "i": -7} }, "W": { "d": "68,-271r48,175r57,-175r56,0r54,175r51,-175r74,0r-87,271r-72,0r-48,-157r-54,157r-71,0r-81,-271r73,0", "w": 402, "k": { "A": 29, ",": 50, ".": 33, "o": 14, "a": 13, "e": 14, "r": 14, "u": 14, ":": 6, "-": 13, ";": 22} }, "X": { "d": "103,-145r-86,-126r86,0r42,70r41,-70r87,0r-87,126r101,145r-85,0r-57,-89r-63,89r-85,0", "w": 284 }, "Y": { "d": "93,-130r-100,-141r85,0r51,73r50,-73r85,0r-100,141r0,130r-71,0r0,-130", "w": 257, "k": { "v": 20, "A": 43, ",": 43, ".": 43, "o": 43, "q": 33, "a": 33, "e": 33, "u": 27, ":": 27, "-": 33, ";": 43, "i": -7, "p": 27} }, "Z": { "d": "123,-60r114,0r0,60r-233,0r128,-212r-106,0r0,-59r225,0", "w": 254 }, "[": { "d": "69,-246r0,294r38,0r0,38r-88,0r0,-370r88,0r0,38r-38,0", "w": 126 }, "\\": { "d": "10,-299r52,0r137,299r-51,0", "w": 208 }, "]": { "d": "57,48r0,-294r-38,0r0,-38r88,0r0,370r-88,0r0,-38r38,0", "w": 126 }, "^": { "d": "78,-122r-41,-25r65,-135r43,0r65,135r-41,25r-46,-97" }, "_": { "d": "180,45r-180,0r0,-18r180,0r0,18", "w": 180 }, "a": { "d": "118,-134v-27,0,-42,19,-42,42v0,23,15,41,42,41v27,0,42,-18,42,-41v0,-23,-15,-42,-42,-42xm224,-185r0,185r-66,0v-1,-6,2,-16,-1,-21v-49,63,-149,5,-149,-72v0,-77,95,-131,150,-74r0,-18r66,0", "w": 245 }, "b": { "d": "19,0r0,-299r66,0r0,132v54,-57,150,-3,150,74v0,77,-99,134,-150,72r0,21r-66,0xm125,-134v-27,0,-42,19,-42,42v0,23,15,41,42,41v27,0,42,-18,42,-41v0,-23,-15,-42,-42,-42", "w": 245 }, "c": { "d": "155,-180r0,55v-28,-26,-79,-10,-79,32v0,42,51,60,79,33r0,56v-68,31,-147,-14,-147,-86v0,-74,79,-124,147,-90", "w": 173 }, "d": { "d": "161,0v-1,-6,2,-16,-1,-21v-49,63,-149,6,-149,-72v0,-78,94,-131,150,-74r0,-132r65,0r0,299r-65,0xm121,-134v-27,0,-43,19,-43,42v0,23,16,41,43,41v27,0,42,-18,42,-41v0,-23,-15,-42,-42,-42", "w": 245 }, "e": { "d": "75,-119r75,0v-5,-38,-70,-39,-75,0xm209,-57v-9,41,-48,62,-94,63v-61,0,-107,-34,-107,-98v0,-62,42,-99,102,-99v66,0,103,42,101,110r-138,0v-6,43,55,55,73,24r63,0", "w": 219 }, "f": { "d": "28,-185v-12,-77,41,-135,111,-111r0,57v-20,-12,-49,-10,-45,24r0,30r45,0r0,54r-45,0r0,131r-66,0r0,-131r-23,0r0,-54r23,0", "w": 139 }, "g": { "d": "86,22v3,11,17,18,31,18v38,0,43,-27,42,-62v-52,58,-150,10,-150,-69v0,-78,97,-135,150,-74r0,-20r65,0r0,167v0,78,-39,110,-107,110v-42,0,-99,-21,-105,-70r74,0xm119,-135v-27,0,-42,18,-42,41v0,23,15,42,42,42v27,0,42,-19,42,-42v0,-23,-15,-41,-42,-41", "w": 243 }, "h": { "d": "22,-299r65,0r1,138v36,-55,128,-31,128,48r0,113r-65,0r0,-95v0,-22,-4,-44,-30,-44v-56,0,-27,87,-34,139r-65,0r0,-299", "w": 237 }, "i": { "d": "87,-185r0,185r-65,0r0,-185r65,0xm54,-292v20,0,37,16,37,36v0,20,-17,37,-37,37v-20,0,-36,-17,-36,-37v0,-20,16,-36,36,-36", "w": 108 }, "j": { "d": "87,-185r0,277r-65,0r0,-277r65,0xm54,-292v20,0,37,16,37,36v0,20,-17,37,-37,37v-20,0,-36,-17,-36,-37v0,-20,16,-36,36,-36", "w": 108 }, "k": { "d": "87,-299r0,181r68,-67r90,0r-93,86r99,99r-92,0r-72,-75r0,75r-65,0r0,-299r65,0", "w": 247 }, "l": { "d": "87,-299r0,299r-65,0r0,-299r65,0", "w": 108 }, "m": { "d": "87,-185v1,7,-2,18,1,23v28,-43,98,-38,121,6v13,-23,38,-35,63,-35v90,-1,57,111,63,191r-66,0r0,-88v0,-19,1,-51,-27,-51v-30,0,-31,29,-31,51r0,88r-66,0r0,-88v0,-21,0,-52,-29,-52v-29,0,-29,31,-29,52r0,88r-65,0r0,-185r65,0", "w": 356 }, "n": { "d": "87,-185v1,7,-2,18,1,24v15,-22,33,-30,59,-30v93,-2,65,107,69,191r-65,0r0,-90v0,-18,2,-49,-30,-49v-57,0,-26,87,-34,139r-65,0r0,-185r65,0", "w": 237 }, "o": { "d": "119,-191v59,0,111,36,111,99v0,63,-52,98,-111,98v-59,0,-111,-35,-111,-98v0,-63,52,-99,111,-99xm119,-134v-27,0,-42,19,-42,42v0,23,15,41,42,41v27,0,42,-18,42,-41v0,-23,-15,-42,-42,-42", "w": 238 }, "p": { "d": "85,-185v1,6,-2,16,1,21v49,-63,149,-5,149,72v0,77,-95,131,-150,74r0,110r-66,0r0,-277r66,0xm125,-134v-27,0,-42,19,-42,42v0,23,15,41,42,41v27,0,42,-18,42,-41v0,-23,-15,-42,-42,-42", "w": 245 }, "q": { "d": "226,-185r0,277r-65,0r0,-110v-55,57,-150,4,-150,-74v0,-78,98,-134,150,-72r0,-21r65,0xm121,-134v-27,0,-43,19,-43,42v0,23,16,41,43,41v27,0,42,-18,42,-41v0,-23,-15,-42,-42,-42", "w": 245 }, "r": { "d": "87,-185v1,10,-2,23,1,31v16,-26,37,-35,72,-33r0,63v-39,-18,-73,5,-73,49r0,75r-65,0r0,-185r65,0", "w": 163, "k": { "v": -6, "w": -6, "y": -6, ",": 33, ".": 33, "f": -7, "g": -6, "o": 6, "q": 6, "t": -6, "z": -7} }, "s": { "d": "166,-179r-22,42v-16,-7,-49,-18,-56,3v0,13,20,15,29,17v31,6,54,20,54,54v0,79,-108,83,-162,48r24,-46v13,9,36,19,52,19v8,0,20,-4,20,-14v0,-14,-20,-16,-41,-21v-21,-5,-41,-15,-41,-48v2,-68,87,-79,143,-54", "w": 184 }, "t": { "d": "93,-131r0,131r-65,0r0,-131r-22,0r0,-54r22,0r0,-55r65,0r0,55r37,0r0,54r-37,0", "w": 129 }, "u": { "d": "21,-185r65,0r0,99v0,23,6,40,33,40v58,0,25,-88,33,-139r65,0r0,112v0,61,-43,79,-98,79v-55,0,-98,-18,-98,-79r0,-112", "w": 237 }, "v": { "d": "68,-185r44,95r44,-95r74,0r-97,185r-42,0r-96,-185r73,0", "w": 224, "k": { ",": 43, ".": 27} }, "w": { "d": "67,-185r46,100r47,-100r39,0r46,100r47,-100r72,0r-97,185r-42,0r-46,-101r-45,101r-43,0r-96,-185r72,0", "w": 358, "k": { ",": 50, ".": 33} }, "x": { "d": "87,-100r-75,-85r83,0r33,38r33,-38r85,0r-76,85r92,100r-86,0r-48,-55r-47,55r-86,0", "w": 256 }, "y": { "d": "84,-25r-89,-160r75,0r50,95r48,-95r74,0r-148,277r-73,0", "w": 235, "k": { ",": 43, ".": 33} }, "z": { "d": "112,-54r78,0r0,54r-187,0r87,-130r-76,0r0,-55r185,0", "w": 201 }, "{": { "d": "13,-82r0,-37v7,0,25,2,25,-19r0,-91v7,-55,30,-58,76,-55r0,43v-63,-8,10,136,-60,141v11,1,34,4,34,42r0,80v-3,13,7,24,26,21r0,43v-46,2,-76,1,-76,-54r0,-91v0,-25,-18,-23,-25,-23", "w": 126 }, "|": { "d": "131,-283r0,360r-54,0r0,-360r54,0", "w": 208 }, "}": { "d": "114,-119r0,37v-7,0,-25,-2,-25,23r0,91v-7,54,-30,57,-76,54r0,-43v47,5,18,-62,26,-101v0,-40,25,-39,34,-43v-11,-2,-34,-7,-34,-38r0,-81v3,-13,-7,-24,-26,-21r0,-43v46,-2,76,-1,76,55r0,91v0,21,18,19,25,19", "w": 126 }, "~": { "d": "81,-142v29,-1,58,37,85,38v10,0,18,-20,22,-30r41,35v-13,21,-33,56,-63,56v-33,0,-60,-38,-84,-38v-9,0,-19,18,-24,30r-40,-35v15,-19,33,-56,63,-56" }, "'": { "d": "14,-271r62,0r-10,119r-42,0", "w": 90 }, "`": { "d": "27,-266r40,-29r51,62r-29,21", "w": 144 }, "\u00a0": { "w": 123}} });

/* ------------------------------------------------------------------------
Class: prettyPhoto
Use: Lightbox clone for jQuery
Author: Stephane Caron (http://www.no-margin-for-errors.com)
Version: 2.5.6
------------------------------------------------------------------------- */
(function ($) {
	$.prettyPhoto = { version: '2.5.6' };

	$.fn.prettyPhoto = function (settings) {
		settings = jQuery.extend({
			animationSpeed: 'normal', /* fast/slow/normal */
			opacity: 0.80, /* Value between 0 and 1 */
			showTitle: true, /* true/false */
			allowresize: true, /* true/false */
			default_width: 640,
			default_height: 402,
			counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
			theme: 'dark_square', /* light_rounded / dark_rounded / light_square / dark_square / facebook */
			hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */
			wmode: 'opaque', /* Set the flash wmode attribute */
			autoplay: true, /* Automatically start videos: True/False */
			modal: false, /* If set to true, only the close button will close the window */
			changepicturecallback: function () { }, /* Called everytime an item is shown/changed */
			callback: function () { }, /* Called when prettyPhoto is closed */
			markup: '<div class="pp_pic_holder"> \
						<div class="pp_top"> \
							<div class="pp_left"></div> \
							<div class="pp_middle"></div> \
							<div class="pp_right"></div> \
						</div> \
						<div class="pp_content_container"> \
							<div class="pp_left"> \
							<div class="pp_right"> \
								<div class="pp_content"> \
									<div class="pp_loaderIcon"></div> \
									<div class="pp_fade"> \
										<a href="#" class="pp_expand" title="Expand the image">Expand</a> \
										<div class="pp_hoverContainer"> \
											<a class="pp_next" href="#">next</a> \
											<a class="pp_previous" href="#">previous</a> \
										</div> \
										<div id="pp_full_res"></div> \
										<div class="pp_details clearfix"> \
											<a class="pp_close" href="#">Close</a> \
											<p class="pp_description"></p> \
											<div class="pp_nav"> \
												<a href="#" class="pp_arrow_previous">Previous</a> \
												<p class="currentTextHolder">0/0</p> \
												<a href="#" class="pp_arrow_next">Next</a> \
											</div> \
										</div> \
									</div> \
								</div> \
							</div> \
							</div> \
						</div> \
						<div class="pp_bottom"> \
							<div class="pp_left"></div> \
							<div class="pp_middle"></div> \
							<div class="pp_right"></div> \
						</div> \
					</div> \
					<div class="pp_overlay"></div> \
					<div class="ppt"></div>',
			image_markup: '<img id="fullResImage" src="" />',
			flash_markup: '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><param name="flashvars" value="autoplay=t" /><embed src="{path}" flashvars="autoplay=t&disablebranding=t" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',
			quicktime_markup: '<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',
			iframe_markup: '<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',
			inline_markup: '<div class="pp_inline clearfix">{content}</div>'
		}, settings);

		// Fallback to a supported theme for IE6
		if ($.browser.msie && parseInt($.browser.version) == 6) {
			settings.theme = "light_square";
		}

		if ($('.pp_overlay').size() == 0) _buildOverlay(); // If the overlay is not there, inject it!

		// Global variables accessible only by prettyPhoto
		var doresize = true, percentBased = false, correctSizes,

		// Cached selectors
		$pp_pic_holder, $ppt, $pp_overlay,

		// prettyPhoto container specific
		pp_contentHeight, pp_contentWidth, pp_containerHeight, pp_containerWidth,

		// Window size
		windowHeight = $(window).height(), windowWidth = $(window).width(),

		//Gallery specific
		setPosition = 0,

		// Global elements
		scrollPos = _getScroll();

		// Window/Keyboard events
		$(window).scroll(function () { scrollPos = _getScroll(); _centerOverlay(); _resizeOverlay(); });
		$(window).resize(function () { _centerOverlay(); _resizeOverlay(); });
		$(document).keydown(function (e) {
			if ($pp_pic_holder.is(':visible'))
				switch (e.keyCode) {
				case 37:
					$.prettyPhoto.changePage('previous');
					break;
				case 39:
					$.prettyPhoto.changePage('next');
					break;
				case 27:
					if (!settings.modal)
						$.prettyPhoto.close();
					break;
			};
		});

		// Bind the code to each links
		$(this).each(function () {
			$(this).bind('click', function () {
				_self = this; // Fix scoping

				// Find out if the picture is part of a set
				theRel = $(this).attr('rel');
				galleryRegExp = /\[(?:.*)\]/;
				theGallery = galleryRegExp.exec(theRel);

				// Build the gallery array
				var images = new Array(), titles = new Array(), descriptions = new Array();
				if (theGallery) {
					$('a[rel*=' + theGallery + ']').each(function (i) {
						if ($(this)[0] === $(_self)[0]) setPosition = i; // Get the position in the set
						images.push($(this).attr('href'));
						titles.push($(this).find('img').attr('alt'));
						descriptions.push($(this).attr('title'));
					});
				} else {
					images = $(this).attr('href');
					titles = ($(this).find('img').attr('alt')) ? $(this).find('img').attr('alt') : '';
					descriptions = ($(this).attr('title')) ? $(this).attr('title') : '';
				}

				$.prettyPhoto.open(images, titles, descriptions);
				return false;
			});
		});


		/**
		* Opens the prettyPhoto modal box.
		* @param image {String,Array} Full path to the image to be open, can also be an array containing full images paths.
		* @param title {String,Array} The title to be displayed with the picture, can also be an array containing all the titles.
		* @param description {String,Array} The description to be displayed with the picture, can also be an array containing all the descriptions.
		*/
		$.prettyPhoto.open = function (gallery_images, gallery_titles, gallery_descriptions) {
			// To fix the bug with IE select boxes
			if ($.browser.msie && $.browser.version == 6) {
				$('select').css('visibility', 'hidden');
			};

			if (settings.hideflash) $('object,embed').css('visibility', 'hidden'); // Hide the flash

			// Convert everything to an array in the case it's a single item
			images = $.makeArray(gallery_images);
			titles = $.makeArray(gallery_titles);
			descriptions = $.makeArray(gallery_descriptions);

			image_set = ($(images).size() > 0) ? true : false; // Find out if it's a set

			// Hide the next/previous links if on first or last images.
			_checkPosition($(images).size());

			$('.pp_loaderIcon').show(); // Do I need to explain?

			// Fade the content in
			$pp_overlay.show().fadeTo(settings.animationSpeed, settings.opacity);

			// Display the current position
			$pp_pic_holder.find('.currentTextHolder').text((setPosition + 1) + settings.counter_separator_label + $(images).size());

			// Set the description
			if (descriptions[setPosition]) {
				$pp_pic_holder.find('.pp_description').show().html(unescape(descriptions[setPosition]));
			} else {
				$pp_pic_holder.find('.pp_description').hide().text('');
			};

			// Set the title
			if (titles[setPosition] && settings.showTitle) {
				hasTitle = true;
				$ppt.html(unescape(titles[setPosition]));
			} else {
				hasTitle = false;
			};

			// Get the dimensions
			movie_width = (parseFloat(grab_param('width', images[setPosition]))) ? grab_param('width', images[setPosition]) : settings.default_width.toString();
			movie_height = (parseFloat(grab_param('height', images[setPosition]))) ? grab_param('height', images[setPosition]) : settings.default_height.toString();

			// If the size is % based, calculate according to window dimensions
			if (movie_width.indexOf('%') != -1 || movie_height.indexOf('%') != -1) {
				movie_height = parseFloat(($(window).height() * parseFloat(movie_height) / 100) - 100);
				movie_width = parseFloat(($(window).width() * parseFloat(movie_width) / 100) - 100);
				percentBased = true;
			}

			// Fade the holder
			$pp_pic_holder.fadeIn(function () {
				imgPreloader = "";
				// Inject the proper content
				switch (_getFileType(images[setPosition])) {
					case 'image':
						// Set the new image
						imgPreloader = new Image();

						// Preload the neighbour images
						nextImage = new Image();
						if (image_set && setPosition > $(images).size()) nextImage.src = images[setPosition + 1];
						prevImage = new Image();
						if (image_set && images[setPosition - 1]) prevImage.src = images[setPosition - 1];

						$pp_pic_holder.find('#pp_full_res')[0].innerHTML = settings.image_markup;
						$pp_pic_holder.find('#fullResImage').attr('src', images[setPosition]);

						imgPreloader.onload = function () {
							// Fit item to viewport
							correctSizes = _fitToViewport(imgPreloader.width, imgPreloader.height);

							_showContent();
						};

						imgPreloader.onerror = function () {
							alert('Image cannot be loaded. Make sure the path is correct and image exist.');
							$.prettyPhoto.close();
						};

						imgPreloader.src = images[setPosition];
						break;

					case 'youtube':
						correctSizes = _fitToViewport(movie_width, movie_height); // Fit item to viewport

						movie = 'http://www.youtube.com/v/' + grab_param('v', images[setPosition]);
						if (settings.autoplay) movie += "&autoplay=1";

						toInject = settings.flash_markup.replace(/{width}/g, correctSizes['width']).replace(/{height}/g, correctSizes['height']).replace(/{wmode}/g, settings.wmode).replace(/{path}/g, movie);
						break;

					case 'vimeo':
						correctSizes = _fitToViewport(movie_width, movie_height); // Fit item to viewport

						movie_id = images[setPosition];
						movie = 'http://vimeo.com/moogaloop.swf?clip_id=' + movie_id.replace('http://vimeo.com/', '');
						if (settings.autoplay) movie += "&autoplay=1";

						toInject = settings.flash_markup.replace(/{width}/g, correctSizes['width']).replace(/{height}/g, correctSizes['height']).replace(/{wmode}/g, settings.wmode).replace(/{path}/g, movie);
						break;

					case 'quicktime':
						correctSizes = _fitToViewport(movie_width, movie_height); // Fit item to viewport
						correctSizes['height'] += 15; correctSizes['contentHeight'] += 15; correctSizes['containerHeight'] += 15; // Add space for the control bar

						toInject = settings.quicktime_markup.replace(/{width}/g, correctSizes['width']).replace(/{height}/g, correctSizes['height']).replace(/{wmode}/g, settings.wmode).replace(/{path}/g, images[setPosition]).replace(/{autoplay}/g, settings.autoplay);
						break;

					case 'flash':
						correctSizes = _fitToViewport(movie_width, movie_height); // Fit item to viewport

						flash_vars = images[setPosition];
						flash_vars = flash_vars.substring(images[setPosition].indexOf('flashvars') + 10, images[setPosition].length);

						filename = images[setPosition];
						filename = filename.substring(0, filename.indexOf('?'));

						toInject = settings.flash_markup.replace(/{width}/g, correctSizes['width']).replace(/{height}/g, correctSizes['height']).replace(/{wmode}/g, settings.wmode).replace(/{path}/g, filename + '?' + flash_vars);
						break;

					case 'iframe':
						correctSizes = _fitToViewport(movie_width, movie_height); // Fit item to viewport

						frame_url = images[setPosition];
						frame_url = frame_url.substr(0, frame_url.indexOf('iframe') - 1);

						toInject = settings.iframe_markup.replace(/{width}/g, correctSizes['width']).replace(/{height}/g, correctSizes['height']).replace(/{path}/g, frame_url);
						break;

					case 'inline':
						// to get the item height clone it, apply default width, wrap it in the prettyPhoto containers , then delete
						myClone = $(images[setPosition]).clone().css({ 'width': settings.default_width }).wrapInner('<div id="pp_full_res"><div class="pp_inline clearfix"></div></div>').appendTo($('body'));
						correctSizes = _fitToViewport($(myClone).width(), $(myClone).height());
						$(myClone).remove();
						toInject = settings.inline_markup.replace(/{content}/g, $(images[setPosition]).html());
						break;
				};

				if (!imgPreloader) {
					$pp_pic_holder.find('#pp_full_res')[0].innerHTML = toInject;

					// Show content
					_showContent();
				};
			});

		};

		/**
		* Change page in the prettyPhoto modal box
		* @param direction {String} Direction of the paging, previous or next.
		*/
		$.prettyPhoto.changePage = function (direction) {
			if (direction == 'previous') {
				setPosition--;
				if (setPosition < 0) {
					setPosition = 0;
					return;
				};
			} else {
				if ($('.pp_arrow_next').is('.disabled')) return;
				setPosition++;
			};

			// Allow the resizing of the images
			if (!doresize) doresize = true;

			_hideContent(function () { $.prettyPhoto.open(images, titles, descriptions) });
			$('a.pp_expand,a.pp_contract').fadeOut(settings.animationSpeed);
		};

		/**
		* Closes the prettyPhoto modal box.
		*/
		$.prettyPhoto.close = function () {
			$pp_pic_holder.find('object,embed').css('visibility', 'hidden');

			$('div.pp_pic_holder,div.ppt,.pp_fade').fadeOut(settings.animationSpeed);

			$pp_overlay.fadeOut(settings.animationSpeed, function () {
				$('#pp_full_res').html(''); // Kill the opened content

				$pp_pic_holder.attr('style', '').find('div:not(.pp_hoverContainer)').attr('style', ''); // Reset the width and everything that has been set.
				_centerOverlay(); // Center it

				// To fix the bug with IE select boxes
				if ($.browser.msie && $.browser.version == 6) {
					$('select').css('visibility', 'visible');
				};

				// Show the flash
				if (settings.hideflash) $('object,embed').css('visibility', 'visible');

				setPosition = 0;
				settings.callback();
			});
			doresize = true;
		};

		/**
		* Set the proper sizes on the containers and animate the content in.
		*/
		_showContent = function () {
			$('.pp_loaderIcon').hide();

			// Calculate the opened top position of the pic holder
			projectedTop = scrollPos['scrollTop'] + ((windowHeight / 2) - (correctSizes['containerHeight'] / 2));
			if (projectedTop < 0) projectedTop = 0 + $ppt.height();

			// Resize the content holder
			$pp_pic_holder.find('.pp_content').animate({ 'height': correctSizes['contentHeight'] }, settings.animationSpeed);

			// Resize picture the holder
			$pp_pic_holder.animate({
				'top': projectedTop,
				'left': (windowWidth / 2) - (correctSizes['containerWidth'] / 2),
				'width': correctSizes['containerWidth']
			}, settings.animationSpeed, function () {
				$pp_pic_holder.find('.pp_hoverContainer,#fullResImage').height(correctSizes['height']).width(correctSizes['width']);

				// Fade the new image
				$pp_pic_holder.find('.pp_fade').fadeIn(settings.animationSpeed);

				// Show the nav
				if (image_set && _getFileType(images[setPosition]) == "image") { $pp_pic_holder.find('.pp_hoverContainer').show(); } else { $pp_pic_holder.find('.pp_hoverContainer').hide(); }

				// Show the title
				if (settings.showTitle && hasTitle) {
					$ppt.css({
						'top': $pp_pic_holder.offset().top - 25,
						'left': $pp_pic_holder.offset().left + 20,
						'display': 'none'
					});

					$ppt.fadeIn(settings.animationSpeed);
				};

				// Fade the resizing link if the image is resized
				if (correctSizes['resized']) $('a.pp_expand,a.pp_contract').fadeIn(settings.animationSpeed);

				// Callback!
				settings.changepicturecallback();
			});
		};

		/**
		* Hide the content...DUH!
		*/
		function _hideContent(callback) {
			// Fade out the current picture
			$pp_pic_holder.find('#pp_full_res object,#pp_full_res embed').css('visibility', 'hidden');
			$pp_pic_holder.find('.pp_fade').fadeOut(settings.animationSpeed, function () {
				$('.pp_loaderIcon').show();

				if (callback) callback();
			});

			// Hide the title
			$ppt.fadeOut(settings.animationSpeed);
		}

		/**
		* Check the item position in the gallery array, hide or show the navigation links
		* @param setCount {integer} The total number of items in the set
		*/
		function _checkPosition(setCount) {
			// If at the end, hide the next link
			if (setPosition == setCount - 1) {
				$pp_pic_holder.find('a.pp_next').css('visibility', 'hidden');
				$pp_pic_holder.find('a.pp_arrow_next').addClass('disabled').unbind('click');
			} else {
				$pp_pic_holder.find('a.pp_next').css('visibility', 'visible');
				$pp_pic_holder.find('a.pp_arrow_next.disabled').removeClass('disabled').bind('click', function () {
					$.prettyPhoto.changePage('next');
					return false;
				});
			};

			// If at the beginning, hide the previous link
			if (setPosition == 0) {
				$pp_pic_holder.find('a.pp_previous').css('visibility', 'hidden');
				$pp_pic_holder.find('a.pp_arrow_previous').addClass('disabled').unbind('click');
			} else {
				$pp_pic_holder.find('a.pp_previous').css('visibility', 'visible');
				$pp_pic_holder.find('a.pp_arrow_previous.disabled').removeClass('disabled').bind('click', function () {
					$.prettyPhoto.changePage('previous');
					return false;
				});
			};

			// Hide the bottom nav if it's not a set.
			if (setCount > 1) {
				$('.pp_nav').show();
			} else {
				$('.pp_nav').hide();
			}
		};

		/**
		* Resize the item dimensions if it's bigger than the viewport
		* @param width {integer} Width of the item to be opened
		* @param height {integer} Height of the item to be opened
		* @return An array containin the "fitted" dimensions
		*/
		function _fitToViewport(width, height) {
			hasBeenResized = false;

			_getDimensions(width, height);

			// Define them in case there's no resize needed
			imageWidth = width;
			imageHeight = height;

			if (((pp_containerWidth > windowWidth) || (pp_containerHeight > windowHeight)) && doresize && settings.allowresize && !percentBased) {
				hasBeenResized = true;
				notFitting = true;

				while (notFitting) {
					if ((pp_containerWidth > windowWidth)) {
						imageWidth = (windowWidth - 200);
						imageHeight = (height / width) * imageWidth;
					} else if ((pp_containerHeight > windowHeight)) {
						imageHeight = (windowHeight - 200);
						imageWidth = (width / height) * imageHeight;
					} else {
						notFitting = false;
					};

					pp_containerHeight = imageHeight;
					pp_containerWidth = imageWidth;
				};

				_getDimensions(imageWidth, imageHeight);
			};

			return {
				width: Math.floor(imageWidth),
				height: Math.floor(imageHeight),
				containerHeight: Math.floor(pp_containerHeight),
				containerWidth: Math.floor(pp_containerWidth) + 40,
				contentHeight: Math.floor(pp_contentHeight),
				contentWidth: Math.floor(pp_contentWidth),
				resized: hasBeenResized
			};
		};

		/**
		* Get the containers dimensions according to the item size
		* @param width {integer} Width of the item to be opened
		* @param height {integer} Height of the item to be opened
		*/
		function _getDimensions(width, height) {
			width = parseFloat(width);
			height = parseFloat(height);

			// Get the details height, to do so, I need to clone it since it's invisible
			$pp_details = $pp_pic_holder.find('.pp_details');
			$pp_details.width(width);
			detailsHeight = parseFloat($pp_details.css('marginTop')) + parseFloat($pp_details.css('marginBottom'));
			$pp_details = $pp_details.clone().appendTo($('body')).css({
				'position': 'absolute',
				'top': -10000
			});
			detailsHeight += $pp_details.height();
			detailsHeight = (detailsHeight <= 34) ? 36 : detailsHeight; // Min-height for the details
			if ($.browser.msie && $.browser.version == 7) detailsHeight += 8;
			$pp_details.remove();

			// Get the container size, to resize the holder to the right dimensions
			pp_contentHeight = height + detailsHeight;
			pp_contentWidth = width;
			pp_containerHeight = pp_contentHeight + $ppt.height() + $pp_pic_holder.find('.pp_top').height() + $pp_pic_holder.find('.pp_bottom').height();
			pp_containerWidth = width;
		}

		function _getFileType(itemSrc) {
			if (itemSrc.match(/youtube\.com\/watch/i)) {
				return 'youtube';
			} else if (itemSrc.match(/vimeo\.com/i)) {
				return 'vimeo';
			} else if (itemSrc.indexOf('.mov') != -1) {
				return 'quicktime';
			} else if (itemSrc.indexOf('.swf') != -1) {
				return 'flash';
			} else if (itemSrc.indexOf('iframe') != -1) {
				return 'iframe'
			} else if (itemSrc.substr(0, 1) == '#') {
				return 'inline';
			} else {
				return 'image';
			};
		};

		function _centerOverlay() {
			if (doresize) {
				titleHeight = $ppt.height();
				contentHeight = $pp_pic_holder.height();
				contentwidth = $pp_pic_holder.width();

				projectedTop = (windowHeight / 2) + scrollPos['scrollTop'] - ((contentHeight + titleHeight) / 2);

				$pp_pic_holder.css({
					'top': projectedTop,
					'left': (windowWidth / 2) + scrollPos['scrollLeft'] - (contentwidth / 2)
				});

				$ppt.css({
					'top': projectedTop - titleHeight,
					'left': (windowWidth / 2) + scrollPos['scrollLeft'] - (contentwidth / 2) + 20
				});
			};
		};

		function _getScroll() {
			if (self.pageYOffset) {
				return { scrollTop: self.pageYOffset, scrollLeft: self.pageXOffset };
			} else if (document.documentElement && document.documentElement.scrollTop) { // Explorer 6 Strict
				return { scrollTop: document.documentElement.scrollTop, scrollLeft: document.documentElement.scrollLeft };
			} else if (document.body) {// all other Explorers
				return { scrollTop: document.body.scrollTop, scrollLeft: document.body.scrollLeft };
			};
		};

		function _resizeOverlay() {
			windowHeight = $(window).height();
			windowWidth = $(window).width();

			$pp_overlay.css({
				'height': $(document).height()
			});
		};

		function _buildOverlay() {
			// Inject the markup
			$('body').append(settings.markup);

			// Set my global selectors
			$pp_pic_holder = $('.pp_pic_holder');
			$ppt = $('.ppt');
			$pp_overlay = $('div.pp_overlay');

			$pp_pic_holder.attr('class', 'pp_pic_holder ' + settings.theme); // Set the proper theme

			$pp_overlay
				.css({
					'opacity': 0,
					'height': $(document).height()
				})
				.bind('click', function () {
					if (!settings.modal)
						$.prettyPhoto.close();
				});

			$('a.pp_close').bind('click', function () { $.prettyPhoto.close(); return false; });

			$('a.pp_expand').bind('click', function () {
				$this = $(this); // Fix scoping

				// Expand the image
				if ($this.hasClass('pp_expand')) {
					$this.removeClass('pp_expand').addClass('pp_contract');
					doresize = false;
				} else {
					$this.removeClass('pp_contract').addClass('pp_expand');
					doresize = true;
				};

				_hideContent(function () { $.prettyPhoto.open(images, titles, descriptions) });

				$pp_pic_holder.find('.pp_fade').fadeOut(settings.animationSpeed);

				return false;
			});

			$pp_pic_holder.find('.pp_previous, .pp_arrow_previous').bind('click', function () {
				$.prettyPhoto.changePage('previous');
				return false;
			});

			$pp_pic_holder.find('.pp_next, .pp_arrow_next').bind('click', function () {
				$.prettyPhoto.changePage('next');
				return false;
			});
		};

		_centerOverlay(); // Center it
	};

	function grab_param(name, url) {
		name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
		var regexS = "[\\?&]" + name + "=([^&#]*)";
		var regex = new RegExp(regexS);
		var results = regex.exec(url);
		if (results == null)
			return "";
		else
			return results[1];
	}
})(jQuery);

/* Cufon */
Cufon.replace('h3', { fontFamily: 'Futura Std' });
Cufon.replace('h6.blue', { fontFamily: 'Futura Std' });
Cufon.replace('ul.choice-list li strong', { fontFamily: 'Futura Std'});
Cufon.replace('h4', { fontFamily: 'Futura Std'});
Cufon.replace('#sidebar h6', { fontFamily: 'Futura Std', hover: 'true'});
Cufon.replace('#contact #section label', { fontFamily: 'Futura Std Condensed'});
Cufon.replace('.btn-red-link', { fontFamily: 'Futura Std Condensed', hover: 'true'});
Cufon.replace('.video h6', { fontFamily: 'Futura Std Condensed', hover: 'true'});


/* Button Hovers */
function initButton(selector) {
	jQuery(function() {
		jQuery(selector).css("opacity", "0");
		jQuery(selector).hover(function() {
			jQuery(this).stop().animate({
				opacity: 1
			}, 'fast');
		},
	function() {
		jQuery(this).stop().animate({
			opacity:0
		}, 'fast');
	});
	});
}

jQuery(document).ready(function() {
	initButton('#btn-get-results span');
	initButton('#btn-test span');
	initButton('#btn-still-think span');
	initButton('#btn-questions span');
	initButton('#btn-touch-base span');
	initButton('#btn-learn-about span');
	initButton('#roth span');
	initButton('#strebel span');
	initButton('#lee span');
	initButton('#smith span');
	initButton('#allain span');
	initButton('#pertew span');
	});



$(document).ready(function () {
	$("a[rel^='prettyPhoto']").prettyPhoto();
});


/* Survey Functions */

function submitSurvey() {
	if ($('#hidWho').val() == '' || $('#hidWhat').val() == '') {
		$('#alert').stop().css("display","block");
		return false;
	}

	location.href = '/results/' + $('#hidWho').val() + '/' + $('#hidWhat').val();
}

function hideAlert() {
	$('#alert').stop().css("display","none");
}

function selectWho(who) {
	$('#chkWhoDesigner').removeClass('check-on').addClass('check-off');
	$('#chkWhoIt').removeClass('check-on').addClass('check-off');
	$('#chkWhoCeo').removeClass('check-on').addClass('check-off');
	$('#chkWhoOther').removeClass('check-on').addClass('check-off');

	switch (who) {
		case 'designer':
			$('#chkWhoDesigner').removeClass('check-off').addClass('check-on');
			break;
		case 'it':
			$('#chkWhoIt').removeClass('check-off').addClass('check-on');
			break;
		case 'ceo':
			$('#chkWhoCeo').removeClass('check-off').addClass('check-on');
			break;
		case 'other':
			$('#chkWhoOther').removeClass('check-off').addClass('check-on');
			break;
	}

	$('#hidWho').val(who);
}

function selectWhat(what) {
	$('#chkWhatRegulatory').removeClass('check-on').addClass('check-off');
	$('#chkWhatTraffic').removeClass('check-on').addClass('check-off');
	$('#chkWhatTargeted').removeClass('check-on').addClass('check-off');
	$('#chkWhatNone').removeClass('check-on').addClass('check-off');

	switch (what) {
		case 'regulatory':
			$('#chkWhatRegulatory').removeClass('check-off').addClass('check-on');
			break;
		case 'traffic':
			$('#chkWhatTraffic').removeClass('check-off').addClass('check-on');
			break;
		case 'targeted':
			$('#chkWhatTargeted').removeClass('check-off').addClass('check-on');
			break;
		case 'none':
			$('#chkWhatNone').removeClass('check-off').addClass('check-on');
			break;
	}

	$('#hidWhat').val(what);
}

/* (c) 2008, 2009, 2010 Add This, LLC */
if (!window._ate) { var _atd = "www.addthis.com/", _atr = "//s7.addthis.com/", _atn = "//l.addthiscdn.com/", _euc = encodeURIComponent, _duc = decodeURIComponent, _atc = { dr: 0, ver: 250, loc: 0, enote: "", cwait: 500, tamp: -1, xamp: 0, camp: 1, vamp: 1, famp: 0.02, pamp: 0.2, damp: 1, abf: !!window.addthis_do_ab }; (function () { try { var E = window.location; if (E.protocol.indexOf("file") === 0) { _atr = "http:" + _atr } if (E.hostname.indexOf("localhost") != -1) { _atc.loc = 1 } } catch (K) { } var I = navigator.userAgent.toLowerCase(), L = document, o = window, G = L.location, N = { win: /windows/.test(I), xp: /windows nt 5.1/.test(I) || /windows nt 5.2/.test(I), osx: /os x/.test(I), chr: /chrome/.test(I), iph: /iphone/.test(I), ipa: /ipad/.test(I), saf: /safari/.test(I), web: /webkit/.test(I), opr: /opera/.test(I), msi: (/msie/.test(I)) && !(/opera/.test(I)), ffx: /firefox/.test(I), ff2: /firefox\/2/.test(I), ie6: /msie 6.0/.test(I), ie7: /msie 7.0/.test(I), mod: -1 }, f = { vst: [], rev: "78598", bro: N, show: 1, dl: G, upm: !!o.postMessage && ("" + o.postMessage).toLowerCase().indexOf("[native code]") !== -1, camp: _atc.camp - Math.random(), xamp: _atc.xamp - Math.random(), vamp: _atc.vamp - Math.random(), pamp: _atc.pamp - Math.random(), afamp: _atc.afamp - Math.random(), ab: "-", seq: 1, inst: 1, wait: 500, tmo: null, cvt: [], avt: null, sttm: new Date().getTime(), max: 4294967295, sid: 0, sub: !!window.at_sub, dbm: 0, uid: null, spt: "static/r07/widget20.png", api: {}, imgz: [], hash: window.location.hash }; L.ce = L.createElement; L.gn = L.getElementsByTagName; window._ate = f; var t = function (r, p, q, d) { if (!r) { return q } if (r instanceof Array || (r.length && (typeof r !== "function"))) { for (var l = 0, a = r.length, b = r[0]; l < a; b = r[++l]) { q = p.call(d || r, q, b, l, r) } } else { for (var e in r) { q = p.call(d || r, q, r[e], e, r) } } return q }, z = Array.prototype.slice, B = function (b) { return z.apply(b, z.call(arguments, 1)) }, A = function (a) { return ("" + a).replace(/(^\s+|\s+$)/g, "") }, J = function (a, b) { return t(B(arguments, 1), function (e, d) { return t(d, function (p, l, i) { p[i] = l; return p }, e) }, a) }, m = function (b, a) { return t(b, function (i, e, d) { d = A(d); if (d) { i.push(_euc(d) + "=" + _euc(A(e))) } return i }, []).join(a || "&") }, j = function (b, a) { return t((b || "").split(a || "&"), function (p, r) { try { var l = r.split("="), i = A(_duc(l[0])), d = A(_duc(l.slice(1).join("="))); if (i) { p[i] = d } } catch (q) { } return p }, {}) }, P = function () { var a = B(arguments, 0), d = a.shift(), b = a.shift(); return function () { return d.apply(b, a.concat(B(arguments, 0))) } }, F = function (b, e, a, d) { if (!e) { return } if (we) { e[(b ? "detach" : "attach") + "Event"]("on" + a, d) } else { e[(b ? "remove" : "add") + "EventListener"](a, d, false) } }, k = function (d, a, b) { F(0, d, a, b) }, g = function (d, a, b) { F(1, d, a, b) }, c = { reduce: t, slice: B, strip: A, extend: J, toKV: m, fromKV: j, bind: P, listen: k, unlisten: g }; f.util = c; J(f, c); (function (r, w, Q) { var p, S = r.util; function s(V, U, X, T, W) { this.type = V; this.triggerType = U || V; this.target = X || T; this.triggerTarget = T || X; this.data = W || {} } S.extend(s.prototype, { constructor: s, bubbles: false, preventDefault: S.noop, stopPropagation: S.noop, clone: function () { return new this.constructor(this.type, this.triggerType, this.target, this.triggerTarget, S.extend({}, this.data)) } }); function i(T, U) { this.target = T; this.queues = {}; this.defaultEventType = U || s } function a(T) { var U = this.queues; if (!U[T]) { U[T] = [] } return U[T] } function q(T, U) { this.getQueue(T).push(U) } function e(U, V) { var W = this.getQueue(U), T = W.indexOf(V); if (T !== -1) { W.splice(T, 1) } } function b(T, X, W, V) { var U = this; if (!V) { setTimeout(function () { U.dispatchEvent(new U.defaultEventType(T, T, X, U.target, W)) }, 10) } else { U.dispatchEvent(new U.defaultEventType(T, T, X, U.target, W)) } } function R(U) { for (var V = 0, X = U.target, W = this.getQueue(U.type), T = W.length; V < T; V++) { W[V].call(X, U.clone()) } } function d(U) { if (!U) { return } for (var T in l) { U[T] = S.bind(l[T], this) } return U } var l = { constructor: i, getQueue: a, addEventListener: q, removeEventListener: e, dispatchEvent: R, fire: b, decorate: d }; S.extend(i.prototype, l); r.event = { PolyEvent: s, EventDispatcher: i} })(f, f.api, f); f.ed = new f.event.EventDispatcher(f); var n = { isBound: 0, isReady: 0, readyList: [], onReady: function () { if (!n.isReady) { n.isReady = 1; var a = n.readyList.concat(window.addthis_onload || []); for (var b = 0; b < a.length; b++) { a[b].call(window) } n.readyList = [] } }, addLoad: function (a) { var b = o.onload; if (typeof o.onload != "function") { o.onload = a } else { o.onload = function () { if (b) { b() } a() } } }, bindReady: function () { if (v.isBound || _atc.xol) { return } v.isBound = 1; if (L.addEventListener && !N.opr) { L.addEventListener("DOMContentLoaded", v.onReady, false) } var a = window.addthis_product; if (a && a.indexOf("f") > -1) { v.onReady(); return } if (N.msi && window == top) { (function () { if (v.isReady) { return } try { L.documentElement.doScroll("left") } catch (d) { setTimeout(arguments.callee, 0); return } v.onReady() })() } if (N.opr) { L.addEventListener("DOMContentLoaded", function () { if (v.isReady) { return } for (var d = 0; d < L.styleSheets.length; d++) { if (L.styleSheets[d].disabled) { setTimeout(arguments.callee, 0); return } } v.onReady() }, false) } if (N.saf) { var b; (function () { if (v.isReady) { return } if (L.readyState != "loaded" && L.readyState != "complete") { setTimeout(arguments.callee, 0); return } if (b === undefined) { var d = L.gn("link"); for (var e = 0; e < d.length; e++) { if (d[e].getAttribute("rel") == "stylesheet") { b++ } } var l = L.gn("style"); b += l.length } if (L.styleSheets.length != b) { setTimeout(arguments.callee, 0); return } v.onReady() })() } v.addLoad(v.onReady) }, append: function (b, a) { v.bindReady(); if (v.isReady) { b.call(window, []) } else { v.readyList.push(function () { return b.call(window, []) }) } } }, v = n, O = f; J(f, { plo: [], lad: function (a) { f.plo.push(a) } }); J(f, { pub: function () { return _euc((window.addthis_config || {}).username || window.addthis_pub || "") }, igv: function (a, b) { if (!o.addthis_share) { o.addthis_share = {} } if (!addthis_share.url) { addthis_share.url = (o.addthis_url || a || "").split("#{").shift() } if (!addthis_share.title) { addthis_share.title = (o.addthis_title || b || "").split("#{").shift() } if (!o.addthis_config) { o.addthis_config = { username: o.addthis_pub} } else { if (addthis_config.data_use_cookies === false) { _atc.xck = 1 } } } }); if (!_atc.ost) { if (!o.addthis_conf) { o.addthis_conf = {} } for (var H in addthis_conf) { _atc[H] = addthis_conf[H] } _atc.ost = 1 } (function (b, l, e) { var q, p = document, a = b.util; b.ckv = a.fromKV(p.cookie, ";"); function i(d) { return a.fromKV(p.cookie, ";")[d] } if (!b.cookie) { b.cookie = {} } b.cookie.rck = i })(f, f.api, f); J(f, { qtp: [], xtp: function () { var b = f, d; while (d = b.qtp.pop()) { b.trk(d) } }, gat: function () { }, atf: null, get_atssh: function () { var e = document, b = f, i = e.getElementById("_atssh"); if (!i) { i = e.ce("div"); i.style.visibility = "hidden"; i.id = "_atssh"; b.opp(i.style); e.body.insertBefore(i, e.body.firstChild) } return i }, ctf: function (i) { var p = document, e = window, b = f, s, l = Math.floor(Math.random() * 1000), q = b.get_atssh(); if (!b.bro.msi) { s = p.ce("iframe"); s.id = "_atssh" + l } else { if (b.bro.ie6 && !i && p.location.protocol.indexOf("https") == 0) { i = "javascript:''" } q.innerHTML = '<iframe id="_atssh' + l + '" width="1" height="1" name="_atssh' + l + '" ' + (i ? 'src="' + i + '"' : "") + ">"; s = p.getElementById("_atssh" + l) } b.opp(s.style); s.frameborder = s.style.border = 0; s.style.top = s.style.left = 0; return s }, off: function () { return Math.floor((new Date().getTime() - f.sttm) / 100).toString(16) }, oms: function (d) { var b = f; if (d && d.data && d.data.service) { if (!b.upm) { if (b.dcp) { return } b.dcp = 1 } b.trk({ gen: 300, sh: d.data.service }) } }, omp: function (b, d, e) { var a = {}; if (b) { a.sh = b } if (d) { a.cm = d } if (e) { a.cs = e } f.img("sh", "3", null, a) }, trk: function (e) { var d = f, i = d.dr, b = (d.rev || ""); if (!e) { return } if (i) { i = i.split("http://").pop() } e.xck = _atc.xck ? 1 : 0; e.xxl = 1; e.sid = d.ssid(); e.pub = d.pub(); e.ssl = d.ssl || 0; e.du = d.tru(d.du || d.dl.href); if (d.dt) { e.dt = d.dt } if (d.cb) { e.cb = d.cb } e.lng = d.lng(); e.ver = _atc.ver; if (!d.upm && d.uid) { e.uid = d.uid } e.pc = window.addthis_product || "men-" + _atc.ver; if (i) { e.dr = d.tru(i) } if (d.dh) { e.dh = d.dh } if (b) { e.rev = b } if (d.xfr) { if (d.upm) { if (d.atf) { d.atf.contentWindow.postMessage(m(e), "*") } } else { var l = d.get_atssh(); base = "static/r07/sh20.html" + (false ? "?t=" + new Date().getTime() : ""); if (d.atf) { l.removeChild(l.firstChild) } d.atf = d.ctf(); d.atf.src = _atr + base + "#" + m(e); l.appendChild(d.atf) } } else { f.qtp.push(e) } }, img: function (l, r, b, p, q) { if (!window.at_sub && !_atc.xtr) { var d = f, e = p || {}; e.evt = l; if (b) { e.ext = b } d.avt = e; if (q === 1) { d.xmi(true) } else { d.sxm(true) } } }, cuid: function () { return ((f.sttm / 1000) & f.max).toString(16) + ("00000000" + (Math.floor(Math.random() * (f.max + 1))).toString(16)).slice(-8) }, ssid: function () { if (f.sid === 0) { f.sid = f.cuid() } return f.sid }, sta: function () { var b = f; return "AT-" + (b.pub() ? b.pub() : "unknown") + "/-/" + b.ab + "/" + b.ssid() + "/" + (b.seq++) + (b.uid !== null ? "/" + b.uid : "") }, cst: function (a) { return "CXNID=2000001.521545608054043907" + (a || 2) + "NXC" }, fcv: function (b, a) { return _euc(b) + "=" + _euc(a) + ";" + f.off() }, cev: function (b, a) { f.cvt.push(f.fcv(b, a)); f.sxm(true) }, sxm: function (a) { if (f.tmo !== null) { clearTimeout(f.tmo) } if (a) { f.tmo = f.sto("_ate.xmi(false)", f.wait) } }, xmi: function (r) { var b = f, p = b.dl ? b.dl.hostname : ""; if (b.cvt.length > 0 || b.avt) { b.sxm(false); if (_atc.xtr) { return } var l = b.avt || {}; l.ce = b.cvt.join(","); b.cvt = []; b.avt = null; b.trk(l); if (r) { var q = document, e = q.ce("iframe"); e.id = "_atf"; f.opp(e.style); q.body.appendChild(e); e = q.getElementById("_atf") } } } }); J(f, { _rec: [], rec: function (e) { if (!e) { return } var q = j(e), b = f, d = b.atf, l = b._rec, w; if (q.ssh) { b.ssh(q.ssh) } if (q.uid) { b.uid = q.uid } if (q.dbm) { b.dbm = q.dbm } if (q.rdy) { b.xfr = 1; b.xtp(); return } for (var Q = 0; Q < l.length; Q++) { l[Q](q) } }, xfr: !f.upm || !f.bro.ffx, ssh: function (b) { f.gssh = 1; var a = window.addthis_ssh = _duc(b); f._ssh = a.split(",") }, com: function (a) { if (window.parent && window.postMessage) { window.parent.postMessage(a, "*") } else { f.ifm(a) } }, ifm: function (b) { if (addthis_wpl) { var d = (addthis_wpl.split("#"))[0]; window.parent.location.href = d + "#at" + b } return false }, pmh: function (a) { if (a.origin.slice(-12) == ".addthis.com") { f.rec(a.data) } } }); J(f, { lng: function () { return window.addthis_language || (window.addthis_config || {}).ui_language || (f.bro.msi ? navigator.userLanguage : navigator.language) }, iwb: function (a) { var b = { th: 1, pl: 1, sl: 1, gl: 1, hu: 1, is: 1, nb: 1, se: 1, su: 1 }; return !!b[a] }, ivl: function (a) { var b = { af: 1, afr: "af", ar: 1, ara: "ar", az: 1, aze: "az", be: 1, bye: "be", bg: 1, bul: "bg", bn: 1, ben: "bn", bs: 1, bos: "bs", ca: 1, cat: "ca", cs: 1, ces: "cs", cze: "cs", cy: 1, cym: "cy", da: 1, dan: "da", de: 1, deu: "de", ger: "de", el: 1, gre: "el", ell: "ell", es: 1, esl: "es", spa: "spa", et: 1, est: "et", eu: 1, fa: 1, fas: "fa", per: "fa", fi: 1, fin: "fi", fo: 1, fao: "fo", fr: 1, fra: "fr", fre: "fr", ga: 1, gae: "ga", gdh: "ga", gl: 1, glg: "gl", he: 1, heb: "he", hi: 1, hin: "hin", hr: 1, cro: "hr", hu: 1, hun: "hu", id: 1, ind: "id", is: 1, ice: "is", it: 1, ita: "it", ja: 1, jpn: "ja", ko: 1, kor: "ko", ku: 1, lb: 1, ltz: "lb", lt: 1, lit: "lt", lv: 1, lav: "lv", mk: 1, mac: "mk", mak: "mk", mn: 1, ml: 1, ms: 1, msa: "ms", may: "ms", nb: 1, nl: 1, nla: "nl", dut: "nl", no: 1, nn: 1, nno: "no", oc: 1, oci: "oc", pl: 1, pol: "pl", pt: 1, por: "pt", ro: 1, ron: "ro", rum: "ro", ru: 1, rus: "ru", sk: 1, slk: "sk", slo: "sk", sl: 1, slv: "sl", sq: 1, alb: "sq", sr: 1, se: 1, ser: "sr", su: 1, sv: 1, sve: "sv", sw: 1, swe: "sv", ta: 1, tam: "ta", te: 1, teg: "te", th: 1, tha: "th", tl: 1, tgl: "tl", tr: 1, tur: "tr", uk: 1, ukr: "uk", ur: 1, urd: "ur", vi: 1, vie: "vi", "zh-hk": 1, "chi-hk": "zh-hk", "zho-hk": "zh-hk", "zh-tr": 1, "chi-tr": "zh-tr", "zho-tr": "zh-tr", "zh-tw": 1, "chi-tw": "zh-tw", "zho-tw": "zh-tw", zh: 1, chi: "zh", zho: "zh" }; if (b[a]) { return b[a] } a = a.split("-").shift(); if (b[a]) { if (b[a] === 1) { return a } else { return b[a] } } return 0 }, gvl: function (a) { var b = f.ivl(a) || "en"; if (b === 1) { b = a } return b }, alg: function (e, d) { var a = (e || f.lng() || "en").toLowerCase(), b = f.ivl(a); if (a.indexOf("en") !== 0 && (!f.pll || d)) { if (b) { if (b !== 1) { a = b } f.pll = f.ajs("static/r07/lang03/" + a + ".js") } } } }); J(f, { trim: function (a, b) { try { a = a.replace(/^[\s\u3000]+|[\s\u3000]+$/g, ""); if (b) { a = _euc(a) } } catch (b) { } return a }, trl: [], tru: function (b, a) { var d = ""; if (b) { d = b.substr(0, 300); if (d != b) { f.trl.push(a) } } return d }, sto: function (b, a) { return setTimeout(b, a) }, opp: function (a) { a.width = a.height = "1px"; a.position = "absolute"; a.zIndex = 100000 }, jlr: {}, acs: function (b) { var a = L.ce("link"), d = (L.gn("head")[0] || L.documentElement); a.rel = "stylesheet"; a.type = "text/css"; a.href = b; a.media = "all"; d.insertBefore(a, d.firstChild) }, ajs: function (b, a) { if (!f.jlr[b]) { var e = L.ce("script"), d = L.gn("head")[0] || L.documentElement; e.src = (a ? "" : _atr) + b; d.insertBefore(e, d.firstChild); f.jlr[b] = 1; return e } return 1 }, jlo: function () { try { var q = document, b = f, p = b.lng(), i = function (d) { var a = new Image(); f.imgz.push(a); a.src = d }; b.alg(p); if (!b.pld) { if (b.bro.ie6) { i(_atr + b.spt); } if (b.pll && !window.addthis_translations) { b.sto(function () { b.pld = b.ajs("static/r07/menu56.js") }, 10) } else { b.pld = b.ajs("static/r07/menu56.js") } } } catch (l) { } }, ao: function (b, l, i, d, e, a) { f.lad(["open", b, l, i, d, e, a]); f.jlo(); return false }, ac: function () { }, as: function (b, d, a) { f.lad(["send", b, d, a]); f.jlo() } }); (function (e, l, q) { var w = document, r = 1, a = ["cbea", "kkk", "zvys", "phz"]; function b(d) { return d.replace(/[a-zA-Z]/g, function (i) { return String.fromCharCode((i <= "Z" ? 90 : 122) >= (i = i.charCodeAt(0) + 13) ? i : i - 26) }) } for (var p = 0; p < a.length; p++) { a[p] = " " + b(a[p]) + " " } function s(i) { var S = 0, R; i = (i || "").toLowerCase() + " "; if (!i) { return S } for (var d = 0; d < a.length; d++) { R = a[d]; if (i == R.replace(/ /g, "") || i.indexOf(R) > -1 || i.indexOf(R.replace(/^ /g, "")) === 0) { S |= r } } return S } function Q() { var U = (o.addthis_title || w.title), R = s(U), T = w.all ? w.all.tags("META") : w.getElementsByTagName ? w.getElementsByTagName("META") : new Array(); if (T && T.length) { for (var S = 0; S < T.length; S++) { var d = T[S] || {}, W = (d.name || "").toLowerCase(), V = d.content; if (W == "description" || W == "keywords") { R |= s(V) } } } return R } if (!e.ad) { e.ad = {} } e.ad.cla = Q })(f, f.api, f); var o = window, M = o.addthis_config || {}; function h() { try { var ad = f, q = ad.bro.msi, b = 0, S = L.title, T = L.referer || L.referrer || "", R = G ? G.href : null, r = R, aa = G.hostname, ac = R ? R.indexOf("sms_ss") : -1, W = (f.lng().split("-")).shift(), p = (G.href.indexOf(_atr) == -1 && !ad.sub), X = L.gn("link"), d = _atr + "static/r07/sh20.html#", U = R && R.indexOf("https") === 0 ? 1 : 0, s, ae, Q = function () { ae.pc = window.addthis_product || "men" + _atc.ver }; for (var Y = 0; Y < X.length; Y++) { var V = X[Y]; if (V.rel && V.rel == "canonical" && V.href) { r = V.href } } r = r.split("#{").shift(); ad.igv(r, L.title || ""); ad.dr = ad.tru(T, "fr"); ad.du = ad.tru(r, "fp"); ad.dt = S = o.addthis_share.title; ad.cb = ad.ad.cla(); ad.dh = G.hostname; ad.ssl = U; ae = { cb: ad.cb, ab: ad.ab, dh: ad.dh, dr: ad.dr, du: ad.du, dt: S, inst: ad.inst, lng: ad.lng(), pc: o.addthis_product || "men", pub: ad.pub(), ssl: U, sid: f.ssid(), srd: _atc.damp, srf: _atc.famp, srp: _atc.pamp, srx: _atc.xamp, ver: _atc.ver, xck: _atc.xck || 0 }; if (ad.trl.length) { ae.trl = ad.trl.join(",") } if (ad.rev) { ae.rev = ad.rev } if (ac > -1 && R.indexOf(_atd + "book") == -1) { var w = []; var Z = R.substr(ac); Z = Z.split("&").shift().split("#").shift().split("=").pop(); ae.sr = Z; if (ad.vamp >= 0 && !ad.sub && Z.length) { w.push(ad.fcv("plv", Math.round(1 / _atc.vamp))); w.push(ad.fcv("rsc", Z)); ae.ce = w.join(",") } } if (ad.upm) { ae.xd = 1; if (f.bro.ffx) { ae.xld = 1 } } if (p) { if (ad.upm) { if (q) { f.sto(function () { Q(); ad.atf = s = ad.ctf(d + m(ae)) }, f.wait); o.attachEvent("onmessage", ad.pmh) } else { s = ad.ctf(); o.addEventListener("message", ad.pmh, false) } if (f.bro.ffx) { s.src = d; f.qtp.push(ae) } else { if (!q) { f.sto(function () { Q(); s.src = d + m(ae) }, f.wait) } } } else { s = ad.ctf(); f.sto(function () { Q(); s.src = d + m(ae) }, f.wait) } if (s) { ad.atf = s = ad.get_atssh().appendChild(s) } } if (o.addthis_language || M.ui_language) { ad.alg() } if (ad.plo.length > 0) { ad.jlo() } } catch (ab) { } } f.ed.addEventListener("addthis.menu.share", f.oms); o._ate = O; o._adr = v; try { var D = L.gn("script"), u = D[D.length - 1], x = u.src.indexOf("#") > -1 ? u.src.replace(/^[^\#]+\#?/, "") : u.src.replace(/^[^\?]+\??/, ""), y = j(x); if (y.pub || y.username) { o.addthis_pub = _duc(y.pub ? y.pub : y.username) } if (o.addthis_pub && o.addthis_config) { o.addthis_config.username = o.addthis_pub } if (y.domready) { _atc.dr = 1 } if (y.async) { _atc.xol = 1 } if (_atc.ver === 120) { var C = "atb" + f.cuid(); L.write('<span id="' + C + '"></span>'); f.igv(); f.lad(["span", C, addthis_share.url || "[url]", addthis_share.title || "[title]"]) } if (o.addthis_clickout) { f.lad(["cout"]) } } catch (K) { } n.bindReady(); n.append(h); (function (i, l, p) { var d, w = i.util, b = i.event.EventDispatcher, r = 25, e = []; function q(T, V, S) { var R = []; function R() { R.push(arguments) } function U() { S[T] = V; while (R.length) { V.apply(S, R.shift()) } } R.ready = U; return R } function s(T) { if (T && T instanceof a) { e.push(T) } for (var R = 0; R < e.length; ) { var S = e[R]; if (S && S.test()) { e.splice(R, 1); a.fire("load", S, { resource: S }) } else { R++ } } if (e.length) { setTimeout(s, r) } } function a(V, S, U) { var R = this, T = new b(R); T.decorate(T).decorate(R); this.ready = false; this.loading = false; this.id = V; this.url = S; if (typeof (U) === "function") { this.test = U } else { this.test = function () { return (!!_window[U]) } } a.addEventListener("load", function (W) { var X = W.resource; if (!X || X.id !== R.id) { return } R.loading = false; R.ready = true; T.fire(W.type, X, { resource: X }) }) } w.extend(a.prototype, { load: function () { if (this.url.substr(this.url.length - 4) == ".css") { f.acs(this.url) } else { f.ajs(this.url, 1) } this.loading = true; a.monitor(this) } }); var Q = new b(a); Q.decorate(Q).decorate(a); w.extend(a, { known: { jquery: new a("jquery", "//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", "jQuery"), ga: new a("ga", "//www.google-analytics.com/ga.js", function () { var R = _window._gat; return !!(R && (typeof (R._getTracker) === "function")) }) }, loading: e, monitor: s }); i.resource = { Resource: a, ApiQueueFactory: q} })(f, f.api, f) })(); function addthis_open() { if (typeof iconf == "string") { iconf = null } return _ate.ao.apply(_ate, arguments) } function addthis_close() { _ate.ac() } function addthis_sendto() { _ate.as.apply(_ate, arguments); return false } if (_atc.dr) { _adr.onReady() } } else { _ate.inst++ } if (_atc.abf) { addthis_open(document.getElementById("ab"), "emailab", window.addthis_url || "[URL]", window.addthis_title || "[TITLE]") }; if (!window.addthis || window.addthis.nodeType !== undefined) { window.addthis = (function () { var g = { aim: "AIM", a1webmarks: "A1&#8209;Webmarks", aim: "AIM Share", amazonwishlist: "Amazon", aolmail: "AOL Mail", aviary: "Aviary Capture", domaintoolswhois: "Whois Lookup", googlereader: "Google Reader", googletranslate: "Google Translate", linkagogo: "Link-a-Gogo", meneame: "Men&eacute;ame", misterwong: "Mister Wong", mailto: "Email App", myaol: "myAOL", myspace: "MySpace", readitlater: "Read It Later", stumbleupon: "StumbleUpon", typepad: "TypePad", wordpress: "WordPress", yahoobkm: "Y! Bookmarks", yahoomail: "Y! Mail" }, i = document, f = i.gn("body").item(0), h = _ate.util.bind, c = _ate.ed, b = function (d, n) { var o; if (window._atw && _atw.list) { o = _atw.list[d] } else { if (g[d]) { o = g[d] } else { o = (n ? d : (d.substr(0, 1).toUpperCase() + d.substr(1))) } } return o.replace(/&nbsp;/g, " ") }, l = function (d, w, u, t, v) { w = w.toUpperCase(); var r = (d == f && addthis.cache[w] ? addthis.cache[w] : (d || f || i.body).getElementsByTagName(w)), q = [], s, p; if (d == f) { addthis.cache[w] = r } if (v) { for (s = 0; s < r.length; s++) { p = r[s]; if (p.className.indexOf(u) > -1) { q.push(p) } } } else { u = u.replace(/\-/g, "\\-"); var n = new RegExp("(^|\\s)" + u + (t ? "\\w*" : "") + "(\\s|$)"); for (s = 0; s < r.length; s++) { p = r[s]; if (n.test(p.className)) { q.push(p) } } } return (q) }, m = i.getElementsByClassname || l; function k(d) { if (typeof d == "string") { var n = d.substr(0, 1); if (n == "#") { d = i.getElementById(d.substr(1)) } else { if (n == ".") { d = m(f, "*", d.substr(1)) } else { } } } if (!d) { d = [] } else { if (!(d instanceof Array)) { d = [d] } } return d } function a(n, d) { return function () { addthis.plo.push({ call: n, args: arguments, ns: d }) } } function j(o) { var n = this, d = this.queue = []; this.name = o; this.call = function () { d.push(arguments) }; this.call.queuer = this; this.flush = function (r, q) { for (var p = 0; p < d.length; p++) { r.apply(q || n, d[p]) } return r } } return { ost: 0, cache: {}, plo: [], links: [], ems: [], init: _adr.onReady, _Queuer: j, _queueFor: a, _select: k, _gebcn: l, button: a("button"), toolbox: a("toolbox"), update: a("update"), util: { getServiceName: b }, addEventListener: h(_ate.ed.addEventListener, _ate.ed), removeEventListener: h(_ate.ed.removeEventListener, _ate.ed)} })() } _adr.append((function () { if (!window.addthis.ost) { _ate.extend(addthis, _ate.api); var d = document, u = undefined, w = window, unaccent = function (s) { if (s.indexOf("&") > -1) { s = s.replace(/&([aeiou]).+;/g, "$1") } return s }, customServices = {}, globalConfig = w.addthis_config, globalShare = w.addthis_share, upConfig = {}, upShare = {}, body = d.gn("body").item(0), mrg = function (o, n) { if (n && o !== n) { for (var k in n) { if (o[k] === u) { o[k] = n[k] } } } }, addevts = function (o, ss, au) { var oldclick = o.onclick || function () { }, genshare = function () { _ate.ed.fire("addthis.menu.share", window.addthis || {}, { service: ss, url: o.share.url }) }; if (o.conf.data_ga_tracker || addthis_config.data_ga_tracker || o.conf.data_ga_property || addthis_config.data_ga_property) { o.onclick = function () { _ate.gat(ss, au, o.conf, o.share); genshare(); oldclick() } } else { o.onclick = function () { genshare(); oldclick() } } }, rpl = function (o, n) { var r = {}; for (var k in o) { if (n[k]) { r[k] = n[k] } else { r[k] = o[k] } } return r }, addthis = window.addthis, genieu = function (share) { return "mailto:?subject=" + _euc(share.title ? share.title : "%20") + "&body=" + _euc(share.title ? share.title : "") + (share.title ? "%0D%0A" : "") + _euc(share.url) + "%0D%0A%0D%0AShared via AddThis.com" }, b_title = { email: "Email", mailto: "Email", print: "Print", favorites: "Save to Favorites", twitter: "Tweet This", digg: "Digg This", more: "View more services" }, json = { email_vars: 1, templates: 1, services_custom: 1 }, nosend = { feed: 1, more: 1, email: 1, mailto: 1 }, nowindow = { feed: 1, email: 1, mailto: 1, print: 1, more: 1, favorites: 1 }, a_config = ["username", "services_custom", "services_exclude", "services_compact", "services_expanded", "ui_click", "ui_hide_embed", "ui_delay", "ui_hover_direction", "ui_language", "ui_offset_top", "ui_offset_left", "ui_header_color", "ui_header_background", "ui_icons", "ui_cobrand", "data_use_cookies", "data_track_clickback", "data_track_linkback"], a_share = ["url", "title", "templates", "email_template", "email_vars", "html", "swfurl", "width", "height", "screenshot", "author", "description", "content"], _uniquify = function (r) { var a = []; var l = r.length; for (var i = 0; i < l; i++) { for (var j = i + 1; j < l; j++) { if (r[i] === r[j]) { j = ++i } } a.push(r[i]) } return a }, _svcurl = function (config, share) { var sv = config.services instanceof Array ? config.services[0] : config.services || ""; return "http://" + _atd + "bookmark.php?v=" + _atc.ver + "&pub=" + _euc(_ate.pub()) + "&s=" + sv + (share.url ? "&url=" + _euc(share.url) : "") + (share.title ? "&title=" + _euc(share.title) : "") + "&tt=0" }, _makeButton = function (w, h, alt, url) { var img = d.ce("img"); img.width = w; img.height = h; img.border = 0; img.alt = alt; img.src = url; return img }, _parseThirdPartyAttributes = function (el, prefix) { var key, attr = [], rv = {}; for (var i = 0; i < el.attributes.length; i++) { key = el.attributes[i]; attr = key.name.split(prefix + ":"); if (attr.length == 2) { rv[attr.pop()] = key.value } } return rv }, _parseAttributes = function (el, attrs, overrides, childWins) { var rv = {}; overrides = overrides || {}; for (var i = 0; i < attrs.length; i++) { if (overrides[attrs[i]] && !childWins) { rv[attrs[i]] = overrides[attrs[i]] } else { if (el) { var p = "addthis:" + attrs[i], v = el.getAttribute ? el.getAttribute(p) || el[p] : el[p]; if (v) { rv[attrs[i]] = v } else { if (overrides[attrs[i]]) { rv[attrs[i]] = overrides[attrs[i]] } } if (rv[attrs[i]] === "true") { rv[attrs[i]] = true } else { if (rv[attrs[i]] === "false") { rv[attrs[i]] = false } } } } if (rv[attrs[i]] !== undefined && json[attrs[i]] && (typeof rv[attrs[i]] == "string")) { eval("var e = " + rv[attrs[i]]); rv[attrs[i]] = e } } return rv }, _processCustomServices = function (conf) { var acs = (conf || {}).services_custom; if (!acs) { return } if (!(acs instanceof Array)) { acs = [acs] } for (var i = 0; i < acs.length; i++) { var service = acs[i]; if (service.name && service.icon && service.url) { service.code = service.url = service.url.replace(/ /g, ""); if (service.code.indexOf("http") === 0) { service.code = service.code.substr((service.code.indexOf("https") === 0 ? 8 : 7)) } service.code = service.code.split("?").shift().split("/").shift().toLowerCase(); customServices[service.code] = service } } }, _select = addthis._select, _getCustomService = function (ss, conf) { return customServices[ss] || {} }, _getATtributes = function (el, config, share, childWins) { var rv = { conf: config || {}, share: share || {} }; rv.conf = _parseAttributes(el, a_config, config, childWins); rv.share = _parseAttributes(el, a_share, share, childWins); return rv }, _render = function (what, conf, attrs) { _ate.igv(); if (what) { conf = conf || {}; attrs = attrs || {}; var config = conf.conf || globalConfig, share = conf.share || globalShare, onmouseover = attrs.onmouseover, onmouseout = attrs.onmouseout, onclick = attrs.onclick, internal = attrs.internal, ss = attrs.singleservice; if (ss) { config.product = "tbx-" + _atc.ver; if (onclick === u) { onclick = nosend[ss] ? function (el, config, share) { var s = rpl(share, upShare); return addthis_open(el, ss, s.url, s.title, rpl(config, upConfig), s) } : nowindow[ss] ? function (el, config, share) { var s = rpl(share, upShare); return addthis_sendto(ss, rpl(config, upConfig), s) } : null } } else { if (!attrs.noevents) { if (!attrs.nohover) { if (onmouseover === u) { onmouseover = function (el, config, share) { return addthis_open(el, "", null, null, config, share) } } if (onmouseout === u) { onmouseout = function (el) { return addthis_close() } } if (onclick === u) { onclick = function (el, config, share) { return addthis_sendto("more", config, share) } } } else { if (onclick === u) { onclick = function (el, config, share) { return addthis_open(el, "more", null, null, config, share) } } } } } what = _select(what); for (var i = 0; i < what.length; i++) { var o = what[i], oattr = _getATtributes(o, config, share, true) || {}; mrg(oattr.conf, globalConfig); mrg(oattr.share, globalShare); o.conf = oattr.conf; o.share = oattr.share; if (o.conf.ui_language) { _ate.alg(o.conf.ui_language) } _processCustomServices(o.conf); if ((!o.conf || !o.conf.ui_click) && !_ate.bro.ipa) { if (onmouseover) { o.onmouseover = function () { return onmouseover(this, this.conf, this.share) } } if (onmouseout) { o.onmouseout = function () { return onmouseout(this) } } if (onclick) { o.onclick = function () { return onclick(this, this.conf, this.share) } } } else { if (onclick) { if (ss) { o.onclick = function () { return onclick(this, this.conf, this.share) } } else { o.onclick = function () { return addthis_open(this, "", null, null, this.conf, this.share) } } } } if (o.tagName.toLowerCase() == "a") { if (ss) { var customService = _getCustomService(ss, o.conf); o.conf.product = "tbx-" + _atc.ver; if (customService && customService.code && customService.icon) { if (o.firstChild && o.firstChild.className.indexOf("at300bs") > -1) { o.firstChild.style.background = "url(" + customService.icon + ") no-repeat top left" } } if (!nowindow[ss]) { var t = _ate.trim, template = o.share.templates && o.share.templates[ss] ? o.share.templates[ss] : "", url = o.share.url || addthis_share.url, title = o.share.title || addthis_share.title, swfurl = o.share.swfurl || addthis_share.swfurl, width = o.share.width || addthis_share.width, height = o.share.height || addthis_share.height, description = o.share.description || addthis_share.description, screenshot = o.share.screenshot || addthis_share.screenshot; o.href = "//" + _atd + "bookmark.php?pub=" + t(addthis_config.username || o.conf.username || _ate.pub(), 1) + "&v=" + _atc.ver + "&source=tbx-" + _atc.ver + "&tt=0&s=" + ss + "&url=" + _euc(url || "") + "&title=" + t(title || "", 1) + "&content=" + t(o.share.content || addthis_share.content || "", 1) + (template ? "&template=" + _euc(template) : "") + (o.conf.data_track_clickback || o.conf.data_track_linkback || (!_ate.pub()) ? "&sms_ss=1" : "") + "&lng=" + (o.conf.ui_language || _ate.lng() || "xy").split("-").shift() + (description ? "&description=" + t(description, 1) : "") + (swfurl ? "&swfurl=" + _euc(swfurl) : "") + (attrs.issh ? "&ips=1" : "") + (width ? "&width=" + _euc(width) : "") + (height ? "&height=" + _euc(height) : "") + (screenshot ? "&screenshot=" + _euc(screenshot) : "") + (customService && customService.url ? "&acn=" + _euc(customService.name) + "&acc=" + _euc(customService.code) + "&acu=" + _euc(customService.url) : "") + (_ate.uid ? "&uid=" + _euc(_ate.uid) : ""); addevts(o, ss, url); o.target = "_blank"; addthis.links.push(o) } else { if (ss == "mailto" || (ss == "email" && (o.conf.ui_use_mailto || _ate.bro.iph || _ate.bro.ipa))) { o.onclick = function () { }; o.href = genieu(o.share); addevts(o, ss, url); addthis.ems.push(o) } } if (!o.title || o.at_titled) { o.title = unaccent(b_title[ss] ? b_title[ss] : "Send to " + addthis.util.getServiceName(ss, !customService)); o.at_titled = 1 } } } var app; switch (internal) { case "img": if (!o.hasChildNodes()) { var lang = (o.conf.ui_language || _ate.lng()).split("-").shift(), validatedLang = _ate.ivl(lang); if (!validatedLang) { lang = "en" } else { if (validatedLang !== 1) { lang = validatedLang } } } break } if (app) { o.appendChild(app) } } } }, buttons = addthis._gebcn(body, "A", "addthis_button_", true, true), _renderToolbox = function (collection, config, share, reprocess) { for (var i = 0; i < collection.length; i++) { var b = collection[i]; if (b == null) { continue } if (reprocess !== false || !b.ost) { var attr = _getATtributes(b, config, share, true), hc = 0, a = "at300", c = b.className || "", passthrough = "", s = c.match(/addthis_button_([\w\.]+)(?:\s|$)/), options = u, sv = s && s.length ? s[1] : 0; mrg(attr.conf, globalConfig); mrg(attr.share, globalShare); if (sv) { if (sv === "tweetmeme") { var tm_attr = _parseThirdPartyAttributes(b, "tm"), tmw = 50, tmh = 61; passthrough = _ate.util.toKV(tm_attr); if (tm_attr.style === "compact") { tmw = 95; tmh = 25 } b.innerHTML = '<iframe frameborder="0" width="' + tmw + '" height="' + tmh + '" scrolling="no" allowTransparency="true" scrollbars="no"' + (_ate.bro.ie6 ? " src=\"javascript:''\"" : "") + "></iframe>"; var tm = b.firstChild; tm.src = "//api.tweetmeme.com/button.js?url=" + _euc(attr.share.url) + "&" + passthrough } else { if (sv === "facebook_like") { var fblike; passthrough = _ate.util.toKV(_parseThirdPartyAttributes(b, "fb:like")); if (!_ate.bro.msi) { fblike = d.ce("iframe") } else { b.innerHTML = '<iframe frameborder="0" scrolling="no" allowTransparency="true" scrollbars="no"' + (_ate.bro.ie6 ? " src=\"javascript:''\"" : "") + "></iframe>"; fblike = b.firstChild } fblike.style.overflow = "hidden"; fblike.style.border = "none"; fblike.style.borderWidth = "0px"; fblike.style.width = "82px"; fblike.style.height = "25px"; fblike.style.marginTop = "-2px"; fblike.src = "//www.facebook.com/plugins/like.php?href=" + _euc(attr.share.url) + "&layout=button_count&show_faces=false&width=100&action=like&font=arial&" + passthrough; if (!_ate.bro.msi) { b.appendChild(fblike) } } else { if (sv.indexOf("preferred") > -1) { if (b._iss) { continue } window.addthis_product = "tbx-" + _atc.ver; s = c.match(/addthis_button_preferred_([0-9]+)(?:\s|$)/); var svidx = ((s && s.length) ? Math.min(12, Math.max(1, parseInt(s[1]))) : 1) - 1; if (window._atw) { var excl = _atw.conf.services_exclude, locopts = _atw.loc, opts = _uniquify(addthis_options.replace(",more", "").split(",").concat(locopts.split(","))); do { sv = opts[svidx++] } while ((excl.indexOf(sv) > -1 || (b.parentNode.services || {})[sv]) && svidx < opts.length); b._ips = 1; if (b.className.indexOf(sv) == -1) { b.className += " addthis_button_" + sv; b._iss = 1 } if (!b.parentNode.services) { b.parentNode.services = {} } b.parentNode.services[sv] = 1 } else { if (attr.conf.ui_language || window.addthis_language) { _ate.alg(attr.conf.ui_language) } _ate.plo.push(["deco", _renderToolbox, [b], config, share, true]); if (_ate.gssh) { _ate.pld = _ate.ajs("static/r07/menu56.js") } else { if (!_ate.pld) { _ate.pld = 1; var loadmenu = function () { _ate.pld = _ate.ajs("static/r07/menu56.js") }; if (_ate.upm) { _ate._rec.push(function (data) { if (data.ssh) { loadmenu() } }); _ate.sto(loadmenu, 500) } else { loadmenu() } } } continue } } } } if (!b.childNodes.length) { var sp = d.ce("span"); b.appendChild(sp); sp.className = a + "bs at15t_" + sv } else { if (b.childNodes.length == 1) { var cn = b.childNodes[0]; if (cn.nodeType == 3) { var sp = d.ce("span"), tv = cn.nodeValue; b.insertBefore(sp, cn); sp.className = a + "bs at15t_" + sv } } else { hc = 1 } } if (sv === "compact") { if (!hc && c.indexOf(a) == -1) { b.className += " " + a + "m" } } else { if (sv === "expanded") { if (!hc && c.indexOf(a) == -1) { b.className += " " + a + "m" } options = { nohover: true, singleservice: "more"} } else { if ((b.parentNode.className || "").indexOf("toolbox") > -1) { if (!b.parentNode.services) { b.parentNode.services = {} } b.parentNode.services[sv] = 1 } if (!hc && c.indexOf(a) == -1) { b.className += " " + a + "b" } options = { singleservice: sv} } } if (b._ips) { if (!options) { options = {} } options.issh = true } _render([b], attr, options); b.ost = 1; window.addthis_product = "tbx-" + _atc.ver } } } }, gat = function (s, au, conf, share) { var pageTracker = conf.data_ga_tracker, propertyId = conf.data_ga_property; if (propertyId && typeof (window._gat) == "object") { pageTracker = _gat._getTracker(propertyId) } if (pageTracker && typeof (pageTracker) == "string") { pageTracker = window[pageTracker] } if (pageTracker && typeof (pageTracker) == "object") { var gaUrl = au || (share || {}).url || location.href; if (gaUrl.toLowerCase().replace("https", "http").indexOf("http%3a%2f%2f") == 0) { gaUrl = _duc(gaUrl) } try { pageTracker._trackEvent("addthis", s, gaUrl) } catch (e) { try { pageTracker._initData(); pageTracker._trackEvent("addthis", s, gaUrl) } catch (e) { } } } }; _ate.gat = gat; addthis.update = function (which, what, value) { if (which == "share") { if (!window.addthis_share) { window.addthis_share = {} } window.addthis_share[what] = value; upShare[what] = value; for (var i in addthis.links) { var o = addthis.links[i], rx = new RegExp("&" + what + "=(.*)&"), ns = "&" + what + "=" + _euc(value) + "&"; o.href = o.href.replace(rx, ns); if (o.href.indexOf(what) == -1) { o.href += ns } } for (var i in addthis.ems) { var o = addthis.ems[i]; o.href = genieu(addthis_share) } } else { if (which == "config") { if (!window.addthis_config) { window.addthis_config = {} } window.addthis_config[what] = value; upConfig[what] = value } } }; addthis._render = _render; var rsrcs = [new _ate.resource.Resource("counter", _atr + "js/250/api.sharecounter.js", function () { return window.addthis.counter.ost }), new _ate.resource.Resource("countercss", _atr + "static/r07/counter40.css", function () { return true })]; addthis.counter = function (what, config, share) { if (what) { what = addthis._select(what); if (what.length) { for (var k in rsrcs) { rsrcs[k].load() } } } }; addthis.button = function (what, config, share) { _render(what, { conf: config, share: share }, { internal: "img" }) }; addthis.toolbox = function (what, config, share) { var toolboxes = _select(what); for (var i = 0; i < toolboxes.length; i++) { var tb = toolboxes[i], attr = _getATtributes(tb, config, share), sp = d.ce("div"), c; if (tb) { c = tb.getElementsByTagName("a"); if (c) { _renderToolbox(c, attr.conf, attr.share) } tb.appendChild(sp) } sp.className = "atclear" } }; addthis.ready = function () { var at = addthis, a = ".addthis_"; if (at.ost) { return } at.ost = 1; addthis.toolbox(a + "toolbox"); addthis.button(a + "button"); addthis.counter(a + "counter"); _renderToolbox(buttons, null, null, false); _ate.ed.fire("addthis.ready", addthis); for (var i = 0, plo = at.plo, q; i < plo.length; i++) { q = plo[i]; (q.ns ? at[q.ns] : at)[q.call].apply(this, q.args) } }; addthis.util.getAttributes = _getATtributes; window.addthis = addthis; window.addthis.ready() } })); _ate.extend(addthis, { counter: (function () { var s = 1, z = _ate, x = document, n = window, p = addthis, j = n.addthis_config, k = n.addthis_share, r = function (w, d, a) { w /= d; return Math.round(w * 10) / 10 + a }, i = function (a) { var d = ("" + a).split(".").shift().length; if (isNaN(a)) { return a } else { if (d < 4) { return Math.round(a) } else { if (d < 7) { return r(a, 1000, "K") } else { if (d < 10) { return r(a, 1000000, "M") } else { return r(a, 1000000000, "B") } } } } }, q = function (d) { try { if (n.JSON && n.JSON.parse) { return JSON.parse(d) } return _ate.util.fromKV(d) } catch (a) { return {} } }, o = function (d) { try { if (n.JSON && n.JSON.stringify) { return JSON.stringify(d) } return _ate.util.toKV(d) } catch (a) { return "" } }, g = function (d) { var a = _ate.cookie.rck("_atshc"); if (a) { return (q(a) || {})[d] || -1 } return -1 }, c = function (d, w) { var a = _ate.cookie.rck("_atshc"), B; if (a) { a = q(a); B = (a || {})[d] || 0; if (B && w > B) { delete a[d]; _ate.cookie.sck("_atshc", o(a), 0, 1) } } }, y = function (d) { var a = _ate.cookie.rck("_atshc"), w = A(d) + 1; u(d, w); if (!a) { a = {} } else { a = q(a) } if (a[d.url]) { delete a[d.url] } a[_euc(d.url)] = w; _ate.cookie.sck("_atshc", o(a), 0, 1) }, A = function (a) { var d = 0; if (a && a.firstChild && a.firstChild.firstChild) { d = parseInt(a.firstChild.firstChild.nodeValue); if (isNaN(d)) { d = 0 } } return d }, u = function (d, D) { if (!d) { return } if (d.firstChild && d.firstChild.nodeType == 3) { d.removeChild(d.firstChild) } if (!d.firstChild) { var F = x.ce("a"), B = x.ce("a"), E = x.ce("span"), a = x.createTextNode("Share"), w = d.addthis_conf || {}, C = d.addthis_share || {}; F.className = "addthis_button_expanded"; B.className = "atc_s addthis_button_compact"; d.appendChild(F); d.appendChild(B); B.appendChild(E); E.appendChild(a); w.ui_offset_top = 18; w.ui_offset_left = -4; addthis.button(B, w, C); addthis._render([F], { conf: w, share: C }, { nohover: true, singleservice: "more" }) } if (d.firstChild.firstChild) { d.firstChild.removeChild(d.firstChild.firstChild) } D = x.createTextNode(D); d.firstChild.appendChild(D) }, b = function (a, d) { u(a, i(d)) }, f = [], l = function (a, B, C) { var d = 0, w = g(a.url); if (B.error) { d = "?" } else { d = B.shares } if (!isNaN(w) && ((isNaN(d) && w > 0) || w > d)) { d = w } c(a.url, d); C(a, d) }, m = {}, t = {}, v = function (a, w) { if (!t[a.url]) { t[a.url] = [] } t[a.url].push(a); if (m[a.url]) { w(a, m[a.url]) } else { _ate.ed.addEventListener("addthis.menu.share", function (B) { try { if (B.data.service && B.data.url == a.url) { y(a) } } catch (B) { } }); var d = "sc_" + encodeURIComponent(a.url).replace(/[0-3][A-Z]|[^a-zA-Z0-9]/g, ""); if (!_ate.cbs) { _ate.cbs = {} } if (!_ate.cbs[d]) { _ate.cbs[d] = function (C) { if (C && !C.error && C.shares) { m[a.url] = C.shares } for (var B = 0; B < t[a.url].length; B++) { l(t[a.url][B], C, w) } }; _ate.cbs["time_" + d] = (new Date()).getTime(); _ate.ajs("//api-public.addthis.com/url/shares.json?suppress_response_codes=true&url=" + _euc(a.url) + "&callback=_ate.cbs." + encodeURIComponent(d), 1) } } }, h = function (E, w, D) { if (E) { E = addthis._select(E); for (var B = 0; B < E.length; B++) { var a = E[B], C = ((a.parentNode || {}).className || "").indexOf("addthis_toolbox") > -1 ? addthis.util.getAttributes(a.parentNode, w, D) : null, d = addthis.util.getAttributes(a, C ? C.conf : w, C ? C.share : D, true); if (!a.ost) { a.url = d.share.url || (n.addthis_share || {}).url; a.addthis_conf = d.conf; a.addthis_share = d.share; a.ost = 1; u(a, "--"); v(a, function (F, G) { b(F, G) }) } } } }; addthis.addEventListener("addthis.ready", function () { addthis.counter = function (w, a, d) { h(w, a, d) }; addthis.counter.ost = 1; addthis.counter(".addthis_counter") }); return addthis })() }); _ate.extend(addthis, { user: (function () { var f = _ate, c = addthis, g = {}, d = 0, j; function i(a, k) { return f.reduce(["getID", "getServiceShareHistory"], a, k) } function h(a, k) { return function (l) { setTimeout(function () { l(f[a] || k) }, 0) } } function b() { if (d) { return } if (j !== null) { clearTimeout(j) } j = null; d = 1; i(function (l, a, k) { g[a] = g[a].queuer.flush(h.apply(c, l[k]), c); return l }, [["uid", ""], ["_ssh", []]]) } f._rec.push(b); j = setTimeout(b, 5000); g.getPreferredServices = function (a) { if (window._atw) { a(addthis_options.split(",")) } else { f.plo.push(["pref", a]); _ate.alg(); if (f.gssh) { f.pld = f.ajs("static/r07/menu56.js") } else { if (!f.pld) { f.pld = 1; _ate._rec.push(function (k) { if (k.ssh) { _ate.pld = _ate.ajs("static/r07/menu56.js") } }) } } } }; return i(function (k, a) { k[a] = (new c._Queuer(a)).call; return k }, g) })() });
