﻿/// <reference path="jquery-1.4.2.min.js" />
/* Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
 * Licensed under the MIT License (LICENSE.txt).
 *
 * Bgiframe
 *
 * Version 2.1.2
 */
(function(a){a.fn.bgiframe=(a.browser.msie&&/msie 6\.0/i.test(navigator.userAgent)?function(d){d=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},d);var c='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+d.src+'"style="display:block;position:absolute;z-index:-1;'+(d.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(d.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":b(d.top))+";left:"+(d.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":b(d.left))+";width:"+(d.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":b(d.width))+";height:"+(d.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":b(d.height))+';"/>';return this.each(function(){if(a(this).children("iframe.bgiframe").length===0){this.insertBefore(document.createElement(c),this.firstChild)}})}:function(){return this});a.fn.bgIframe=a.fn.bgiframe;function b(c){return c&&c.constructor===Number?c+"px":c}})(jQuery);

/*
* jScrollPane - v2.0.0beta5 - 2010-09-18
* http://jscrollpane.kelvinluck.com/
*
* Copyright (c) 2010 Kelvin Luck
* Dual licensed under the MIT and GPL licenses.
*/
(function (b, a, c) {
    b.fn.jScrollPane = function (f) {
        function d(C, L) {
            var au, N = this, V, ah, v, aj, Q, W, y, q, av, aB, ap, i, H, h, j, X, R, al, U, t, A, am, ac, ak, F, l, ao, at, x, aq, aE, g, aA, ag = true, M = true, aD = false, k = false, Z = b.fn.mwheelIntent ? "mwheelIntent.jsp" : "mousewheel.jsp"; aE = C.css("paddingTop") + " " + C.css("paddingRight") + " " + C.css("paddingBottom") + " " + C.css("paddingLeft"); g = (parseInt(C.css("paddingLeft")) || 0) + (parseInt(C.css("paddingRight")) || 0); an(L); function an(aH) { var aL, aK, aJ, aG, aF, aI; au = aH; if (V == c) { C.css({ overflow: "hidden", padding: 0 }); ah = C.innerWidth() + g; v = C.innerHeight(); C.width(ah); V = b('<div class="jspPane" />').wrap(b('<div class="jspContainer" />').css({ width: ah + "px", height: v + "px" })); C.wrapInner(V.parent()); aj = C.find(">.jspContainer"); V = aj.find(">.jspPane"); V.css("padding", aE) } else { C.css("width", null); aI = C.outerWidth() + g != ah || C.outerHeight() != v; if (aI) { ah = C.innerWidth() + g; v = C.innerHeight(); aj.css({ width: ah + "px", height: v + "px" }) } aA = V.innerWidth(); if (!aI && V.outerWidth() == Q && V.outerHeight() == W) { if (aB || av) { V.css("width", aA + "px"); C.css("width", (aA + g) + "px") } return } V.css("width", null); C.css("width", (ah) + "px"); aj.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end() } aL = V.clone().css("position", "absolute"); aK = b('<div style="width:1px; position: relative;" />').append(aL); b("body").append(aK); Q = Math.max(V.outerWidth(), aL.outerWidth()); aK.remove(); W = V.outerHeight(); y = Q / ah; q = W / v; av = q > 1; aB = y > 1; if (!(aB || av)) { C.removeClass("jspScrollable"); V.css({ top: 0, width: aj.width() - g }); n(); D(); O(); w(); af() } else { C.addClass("jspScrollable"); aJ = au.maintainPosition && (H || X); if (aJ) { aG = ay(); aF = aw() } aC(); z(); E(); if (aJ) { K(aG); J(aF) } I(); ad(); if (au.enableKeyboardNavigation) { P() } if (au.clickOnTrack) { p() } B(); if (au.hijackInternalLinks) { m() } } if (au.autoReinitialise && !aq) { aq = setInterval(function () { an(au) }, au.autoReinitialiseDelay) } else { if (!au.autoReinitialise && aq) { clearInterval(aq) } } C.trigger("jsp-initialised", [aB || av]) } function aC() { if (av) { aj.append(b('<div class="jspVerticalBar" />').append(b('<div class="jspCap jspCapTop" />'), b('<div class="jspTrack" />').append(b('<div class="jspDrag" />').append(b('<div class="jspDragTop" />'), b('<div class="jspDragBottom" />'))), b('<div class="jspCap jspCapBottom" />'))); R = aj.find(">.jspVerticalBar"); al = R.find(">.jspTrack"); ap = al.find(">.jspDrag"); if (au.showArrows) { am = b('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp", az(0, -1)).bind("click.jsp", ax); ac = b('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp", az(0, 1)).bind("click.jsp", ax); if (au.arrowScrollOnHover) { am.bind("mouseover.jsp", az(0, -1, am)); ac.bind("mouseover.jsp", az(0, 1, ac)) } ai(al, au.verticalArrowPositions, am, ac) } t = v; aj.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function () { t -= b(this).outerHeight() }); ap.hover(function () { ap.addClass("jspHover") }, function () { ap.removeClass("jspHover") }).bind("mousedown.jsp", function (aF) { b("html").bind("dragstart.jsp selectstart.jsp", function () { return false }); ap.addClass("jspActive"); var s = aF.pageY - ap.position().top; b("html").bind("mousemove.jsp", function (aG) { S(aG.pageY - s, false) }).bind("mouseup.jsp mouseleave.jsp", ar); return false }); o() } } function o() { al.height(t + "px"); H = 0; U = au.verticalGutter + al.outerWidth(); V.width(ah - U - g); if (R.position().left == 0) { V.css("margin-left", U + "px") } } function z() {
                if (aB) {
                    aj.append(b('<div class="jspHorizontalBar" />').append(b('<div class="jspCap jspCapLeft" />'), b('<div class="jspTrack" />').append(b('<div class="jspDrag" />').append(b('<div class="jspDragLeft" />'), b('<div class="jspDragRight" />'))), b('<div class="jspCap jspCapRight" />'))); ak = aj.find(">.jspHorizontalBar"); F = ak.find(">.jspTrack"); h = F.find(">.jspDrag"); if (au.showArrows) {
                        at = b('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp", az(-1, 0)).bind("click.jsp", ax); x = b('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp", az(1, 0)).bind("click.jsp", ax);
                        if (au.arrowScrollOnHover) { at.bind("mouseover.jsp", az(-1, 0, at)); x.bind("mouseover.jsp", az(1, 0, x)) } ai(F, au.horizontalArrowPositions, at, x)
                    } h.hover(function () { h.addClass("jspHover") }, function () { h.removeClass("jspHover") }).bind("mousedown.jsp", function (aF) { b("html").bind("dragstart.jsp selectstart.jsp", function () { return false }); h.addClass("jspActive"); var s = aF.pageX - h.position().left; b("html").bind("mousemove.jsp", function (aG) { T(aG.pageX - s, false) }).bind("mouseup.jsp mouseleave.jsp", ar); return false }); l = aj.innerWidth(); ae()
                } else { }
            } function ae() { aj.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function () { l -= b(this).outerWidth() }); F.width(l + "px"); X = 0 } function E() { if (aB && av) { var aF = F.outerHeight(), s = al.outerWidth(); t -= aF; b(ak).find(">.jspCap:visible,>.jspArrow").each(function () { l += b(this).outerWidth() }); l -= s; v -= s; ah -= aF; F.parent().append(b('<div class="jspCorner" />').css("width", aF + "px")); o(); ae() } if (aB) { V.width((aj.outerWidth() - g) + "px") } W = V.outerHeight(); q = W / v; if (aB) { ao = 1 / y * l; if (ao > au.horizontalDragMaxWidth) { ao = au.horizontalDragMaxWidth } else { if (ao < au.horizontalDragMinWidth) { ao = au.horizontalDragMinWidth } } h.width(ao + "px"); j = l - ao; ab(X) } if (av) { A = 1 / q * t; if (A > au.verticalDragMaxHeight) { A = au.verticalDragMaxHeight } else { if (A < au.verticalDragMinHeight) { A = au.verticalDragMinHeight } } ap.height(A + "px"); i = t - A; aa(H) } } function ai(aG, aI, aF, s) { var aK = "before", aH = "after", aJ; if (aI == "os") { aI = /Mac/.test(navigator.platform) ? "after" : "split" } if (aI == aK) { aH = aI } else { if (aI == aH) { aK = aI; aJ = aF; aF = s; s = aJ } } aG[aK](aF)[aH](s) } function az(aF, s, aG) { return function () { G(aF, s, this, aG); this.blur(); return false } } function G(aH, aF, aK, aJ) { aK = b(aK).addClass("jspActive"); var aI, s = function () { if (aH != 0) { T(X + aH * au.arrowButtonSpeed, false) } if (aF != 0) { S(H + aF * au.arrowButtonSpeed, false) } }, aG = setInterval(s, au.arrowRepeatFreq); s(); aI = aJ == c ? "mouseup.jsp" : "mouseout.jsp"; aJ = aJ || b("html"); aJ.bind(aI, function () { aK.removeClass("jspActive"); clearInterval(aG); aJ.unbind(aI) }) } function p() { w(); if (av) { al.bind("mousedown.jsp", function (aH) { if (aH.originalTarget == c || aH.originalTarget == aH.currentTarget) { var aG = b(this), s = setInterval(function () { var aI = aG.offset(), aJ = aH.pageY - aI.top; if (H + A < aJ) { S(H + au.trackClickSpeed) } else { if (aJ < H) { S(H - au.trackClickSpeed) } else { aF() } } }, au.trackClickRepeatFreq), aF = function () { s && clearInterval(s); s = null; b(document).unbind("mouseup.jsp", aF) }; b(document).bind("mouseup.jsp", aF); return false } }) } if (aB) { F.bind("mousedown.jsp", function (aH) { if (aH.originalTarget == c || aH.originalTarget == aH.currentTarget) { var aG = b(this), s = setInterval(function () { var aI = aG.offset(), aJ = aH.pageX - aI.left; if (X + ao < aJ) { T(X + au.trackClickSpeed) } else { if (aJ < X) { T(X - au.trackClickSpeed) } else { aF() } } }, au.trackClickRepeatFreq), aF = function () { s && clearInterval(s); s = null; b(document).unbind("mouseup.jsp", aF) }; b(document).bind("mouseup.jsp", aF); return false } }) } } function w() { F && F.unbind("mousedown.jsp"); al && al.unbind("mousedown.jsp") } function ar() { b("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp"); ap && ap.removeClass("jspActive"); h && h.removeClass("jspActive") } function S(s, aF) { if (!av) { return } if (s < 0) { s = 0 } else { if (s > i) { s = i } } if (aF == c) { aF = au.animateScroll } if (aF) { N.animate(ap, "top", s, aa) } else { ap.css("top", s); aa(s) } } function aa(aF) { if (aF == c) { aF = ap.position().top } aj.scrollTop(0); H = aF; var aI = H == 0, aG = H == i, aH = aF / i, s = -aH * (W - v); if (ag != aI || aD != aG) { ag = aI; aD = aG; C.trigger("jsp-arrow-change", [ag, aD, M, k]) } u(aI, aG); V.css("top", s); C.trigger("jsp-scroll-y", [-s, aI, aG]) } function T(aF, s) { if (!aB) { return } if (aF < 0) { aF = 0 } else { if (aF > j) { aF = j } } if (s == c) { s = au.animateScroll } if (s) { N.animate(h, "left", aF, ab) } else { h.css("left", aF); ab(aF) } } function ab(aF) { if (aF == c) { aF = h.position().left } aj.scrollTop(0); X = aF; var aI = X == 0, aH = X == j, aG = aF / j, s = -aG * (Q - ah); if (M != aI || k != aH) { M = aI; k = aH; C.trigger("jsp-arrow-change", [ag, aD, M, k]) } r(aI, aH); V.css("left", s); C.trigger("jsp-scroll-x", [-s, aI, aH]) } function u(aF, s) { if (au.showArrows) { am[aF ? "addClass" : "removeClass"]("jspDisabled"); ac[s ? "addClass" : "removeClass"]("jspDisabled") } } function r(aF, s) {
                if (au.showArrows) {
                    at[aF ? "addClass" : "removeClass"]("jspDisabled");
                    x[s ? "addClass" : "removeClass"]("jspDisabled")
                }
            } function J(s, aF) { var aG = s / (W - v); S(aG * i, aF) } function K(aF, s) { var aG = aF / (Q - ah); T(aG * j, s) } function Y(aN, aL, aF) { var aJ, aH, s = 0, aG, aK, aM; try { aJ = b(aN) } catch (aI) { return } aH = aJ.outerHeight(); aj.scrollTop(0); while (!aJ.is(".jspPane")) { s += aJ.position().top; aJ = aJ.offsetParent(); if (/^body|html$/i.test(aJ[0].nodeName)) { return } } aG = aw(); aK = aG + v; if (s < aG || aL) { aM = s - au.verticalGutter } else { if (s + aH > aK) { aM = s - v + aH + au.verticalGutter } } if (aM) { J(aM, aF) } } function ay() { return -V.position().left } function aw() { return -V.position().top } function ad() { aj.unbind(Z).bind(Z, function (aI, aJ, aH, aF) { var aG = X, s = H; T(X + aH * au.mouseWheelSpeed, false); S(H - aF * au.mouseWheelSpeed, false); return aG == X && s == H }) } function n() { aj.unbind(Z) } function ax() { return false } function I() { V.unbind("focusin.jsp").bind("focusin.jsp", function (s) { if (s.target === V[0]) { return } Y(s.target, false) }) } function D() { V.unbind("focusin.jsp") } function P() { var aF, s; C.attr("tabindex", 0).unbind("keydown.jsp").bind("keydown.jsp", function (aJ) { if (aJ.target !== C[0]) { return } var aH = X, aG = H, aI = aF ? 2 : 16; switch (aJ.keyCode) { case 40: S(H + aI, false); break; case 38: S(H - aI, false); break; case 34: case 32: J(aw() + Math.max(32, v) - 16); break; case 33: J(aw() - v + 16); break; case 35: J(W - v); break; case 36: J(0); break; case 39: T(X + aI, false); break; case 37: T(X - aI, false); break } if (!(aH == X && aG == H)) { aF = true; clearTimeout(s); s = setTimeout(function () { aF = false }, 260); return false } }); if (au.hideFocus) { C.css("outline", "none"); if ("hideFocus" in aj[0]) { C.attr("hideFocus", true) } } else { C.css("outline", ""); if ("hideFocus" in aj[0]) { C.attr("hideFocus", false) } } } function O() { C.attr("tabindex", "-1").removeAttr("tabindex").unbind("keydown.jsp") } function B() { if (location.hash && location.hash.length > 1) { var aG, aF; try { aG = b(location.hash) } catch (s) { return } if (aG.length && V.find(aG)) { if (aj.scrollTop() == 0) { aF = setInterval(function () { if (aj.scrollTop() > 0) { Y(location.hash, true); b(document).scrollTop(aj.position().top); clearInterval(aF) } }, 50) } else { Y(location.hash, true); b(document).scrollTop(aj.position().top) } } } } function af() { b("a.jspHijack").unbind("click.jsp-hijack").removeClass("jspHijack") } function m() { af(); b("a[href^=#]").addClass("jspHijack").bind("click.jsp-hijack", function () { var s = this.href.split("#"), aF; if (s.length > 1) { aF = s[1]; if (aF.length > 0 && V.find("#" + aF).length > 0) { Y("#" + aF, true); return false } } }) } b.extend(N, { reinitialise: function (aF) { aF = b.extend({}, aF, au); an(aF) }, scrollToElement: function (aG, aF, s) { Y(aG, aF, s) }, scrollTo: function (aG, s, aF) { K(aG, aF); J(s, aF) }, scrollToX: function (aF, s) { K(aF, s) }, scrollToY: function (s, aF) { J(s, aF) }, scrollBy: function (aF, s, aG) { N.scrollByX(aF, aG); N.scrollByY(s, aG) }, scrollByX: function (s, aG) { var aF = ay() + s, aH = aF / (Q - ah); T(aH * j, aG) }, scrollByY: function (s, aG) { var aF = aw() + s, aH = aF / (W - v); S(aH * i, aG) }, animate: function (aF, aI, s, aH) { var aG = {}; aG[aI] = s; aF.animate(aG, { duration: au.animateDuration, ease: au.animateEase, queue: false, step: aH }) }, getContentPositionX: function () { return ay() }, getContentPositionY: function () { return aw() }, getIsScrollableH: function () { return aB }, getIsScrollableV: function () { return av }, getContentPane: function () { return V }, scrollToBottom: function (s) { S(i, s) }, hijackInternalLinks: function () { m() } })
        } f = b.extend({}, b.fn.jScrollPane.defaults, f); var e; this.each(function () { var g = b(this), h = g.data("jsp"); if (h) { h.reinitialise(f) } else { h = new d(g, f); g.data("jsp", h) } e = e ? e.add(g) : g }); return e
    }; b.fn.jScrollPane.defaults = { showArrows: false, maintainPosition: true, clickOnTrack: true, autoReinitialise: false, autoReinitialiseDelay: 500, verticalDragMinHeight: 0, verticalDragMaxHeight: 99999, horizontalDragMinWidth: 0, horizontalDragMaxWidth: 99999, animateScroll: false, animateDuration: 300, animateEase: "linear", hijackInternalLinks: false, verticalGutter: 4, horizontalGutter: 4, mouseWheelSpeed: 10, arrowButtonSpeed: 10, arrowRepeatFreq: 100, arrowScrollOnHover: false, trackClickSpeed: 30, trackClickRepeatFreq: 100, verticalArrowPositions: "split", horizontalArrowPositions: "split", enableKeyboardNavigation: true, hideFocus: false }
})(jQuery, this);

/*
* Copyright (c) 2009 Simo Kinnunen.
* Licensed under the MIT license.
*
* @version 1.09i
*/
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("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 } })()); 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 } })());

/*!
* The following copyright notice may not be removed under any circumstances.
* 
* Copyright:
* Copyright (c) 1989, 1995 Adobe Systems Incorporated.  All Rights Reserved.
* 
* Description:
*  The digitally encoded machine readable software for producing the  Typefaces
* licensed to you is copyrighted (c) 1989, 1995 Adobe Systems.  All Rights
* Reserved. This software is the property of Adobe Systems  Incorporated and its
* licensors, and may not be reproduced, used,   displayed, modified, disclosed or
* transferred without the express   written approval of Adobe.    The digitally
* encoded machine readable outline data for producing  the Typefaces licensed to
* you is copyrighted (c) 1981 Linotype-Hell  AG and/or its subsidiaries. All
* Rights Reserved.  This data is the property of Linotype-Hell AG and/or its
* subsidiaries  and may not be reproduced, used, displayed, modified, disclosed or
*   transferred without the express written approval of Linotype-Hell AG   and/or
* its subsidiaries.
*/
Cufon.registerFont({ "w": 192, "face": { "font-family": "homeserve", "font-weight": 250, "font-stretch": "normal", "units-per-em": "360", "panose-1": "2 0 5 3 3 0 0 2 0 4", "ascent": "288", "descent": "-72", "x-height": "2", "cap-height": "2", "bbox": "-20.1463 -283.51 288 103.5", "underline-thickness": "18", "underline-position": "-18", "stemh": "24", "stemv": "26", "unicode-range": "U+0020-U+00A3" }, "glyphs": { " ": { "w": 86 }, "!": { "d": "33,-14v0,-9,8,-17,17,-17v9,0,17,8,17,17v0,9,-8,16,-17,16v-9,0,-17,-7,-17,-16xm37,-89r0,-153v0,-11,5,-16,13,-16v8,0,13,5,13,16r0,153v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16", "w": 100 }, "\"": { "d": "33,-184v-20,-3,-11,-41,-11,-61v0,-8,5,-13,11,-13v20,2,12,40,12,61v0,8,-6,13,-12,13xm80,-184v-20,-2,-12,-40,-12,-61v0,-17,24,-17,24,0v0,21,9,58,-12,61", "w": 113 }, "#": { "d": "66,-78r-10,67v1,15,-21,17,-21,3v0,-25,6,-47,9,-70v-15,0,-37,3,-37,-11v0,-15,25,-9,40,-10r8,-58v-15,0,-37,3,-37,-11v0,-15,24,-10,40,-11r9,-67v-1,-14,24,-16,22,-2r-9,69r47,0r10,-67v-1,-15,22,-16,21,-2v0,25,-6,46,-9,69v15,0,37,-3,37,11v0,15,-24,10,-40,11r-8,58v14,1,37,-4,37,10v0,15,-24,10,-40,11r-9,67v1,14,-24,18,-22,3r9,-70r-47,0xm117,-99r8,-58r-48,0r-8,58r48,0" }, "$": { "d": "88,-123r0,101v27,-5,46,-30,46,-55v0,-27,-22,-37,-46,-46xm75,-156r0,-78v-26,4,-37,19,-37,38v0,22,16,32,37,40xm75,-22r0,-106v-31,-11,-63,-23,-63,-66v0,-37,28,-60,63,-64v-4,-13,5,-36,13,-17r0,17v27,1,56,14,56,28v0,6,-2,12,-10,12v-10,0,-17,-16,-46,-17r0,85v33,13,71,25,71,70v0,44,-29,77,-71,81v4,14,-6,37,-13,17r0,-16v-41,-1,-68,-17,-68,-32v0,-4,4,-10,12,-10v14,0,19,18,56,18", "w": 166 }, "%": { "d": "70,-134v-30,0,-56,-25,-56,-61v0,-86,111,-81,111,0v0,36,-25,61,-55,61xm70,-151v24,0,34,-23,34,-44v0,-27,-13,-46,-34,-46v-21,0,-34,19,-34,46v0,21,10,44,34,44xm197,2v-30,0,-56,-25,-56,-61v0,-86,111,-81,111,0v0,36,-25,61,-55,61xm197,-15v24,0,34,-23,34,-44v0,-27,-13,-46,-34,-46v-21,0,-34,19,-34,46v0,21,10,44,34,44xm74,-3r97,-250v1,-10,20,-13,21,-1r-97,251v-1,11,-21,12,-21,0", "w": 266 }, "&": { "d": "113,-152r63,73v12,-15,29,-53,40,-51v7,0,11,5,11,12v0,5,-7,21,-35,57v11,16,31,29,38,48v0,16,-17,19,-24,6r-29,-33v-19,23,-47,42,-78,42v-53,0,-84,-31,-84,-77v0,-36,24,-62,61,-83v-23,-25,-30,-37,-30,-52v0,-27,20,-48,57,-48v31,0,57,15,57,46v0,29,-25,47,-47,60xm134,-210v0,-16,-13,-27,-32,-27v-14,0,-30,6,-30,27v0,12,14,27,25,39v28,-16,37,-25,37,-39xm160,-59r-70,-81v-61,20,-65,117,8,118v19,0,44,-10,62,-37", "w": 240 }, "(": { "d": "58,-258v-25,70,-26,207,0,278v-9,17,-22,7,-28,-14v-20,-81,-21,-168,0,-249v4,-15,10,-23,18,-23v6,0,10,3,10,8", "w": 73 }, ")": { "d": "15,20v26,-67,27,-210,0,-278v10,-16,22,-7,28,15v21,81,19,168,0,249v-5,22,-20,31,-28,14", "w": 73 }, "*": { "d": "58,-194v-13,-8,-38,-12,-44,-26v11,-26,38,9,50,15v1,-18,-15,-49,6,-53v22,2,5,32,6,53v12,-8,23,-22,38,-25v14,0,14,15,1,21r-33,15v13,8,38,11,43,25v-10,28,-38,-10,-49,-15v-1,18,15,50,-6,54v-21,-2,-7,-34,-6,-54v-12,8,-25,21,-38,26v-15,0,-15,-16,-1,-22", "w": 139 }, "+": { "d": "96,-103v4,-26,-11,-72,12,-79v23,6,8,54,12,79v26,4,72,-11,79,12v-6,23,-54,8,-79,12v-4,26,11,72,-12,79v-23,-6,-8,-54,-12,-79v-26,-4,-72,11,-79,-12v6,-23,54,-8,79,-12", "w": 216 }, ",": { "d": "12,33v3,-22,16,-37,23,-56v11,-18,33,-1,22,14v-11,17,-12,46,-33,53v-8,0,-12,-6,-12,-11", "w": 86 }, "-": { "d": "15,-96v7,-24,56,-12,83,-12v18,0,18,24,0,24r-70,0v-8,0,-13,-6,-13,-12", "w": 126 }, ".": { "d": "27,-14v0,-9,7,-17,16,-17v9,0,17,8,17,17v0,9,-8,16,-17,16v-9,0,-16,-7,-16,-16", "w": 86 }, "\/": { "d": "14,-7r95,-242v2,-12,23,-11,23,0v-27,84,-66,160,-94,242v-4,12,-23,11,-24,0", "w": 146 }, "0": { "d": "96,2v-36,0,-81,-32,-81,-130v0,-98,45,-130,81,-130v36,0,82,32,82,130v0,98,-46,130,-82,130xm96,-235v-36,0,-53,46,-53,107v0,61,17,106,53,106v36,0,54,-45,54,-106v0,-61,-18,-107,-54,-107" }, "1": { "d": "63,-233v-17,-1,-46,5,-46,-11v0,-20,39,-10,59,-12v8,0,13,6,13,12r0,230v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-219", "w": 126 }, "2": { "d": "59,-24r99,0v18,0,18,24,0,24r-120,0v-19,-2,-16,-13,-7,-26r83,-115v33,-36,30,-93,-19,-94v-31,0,-48,20,-48,59v0,9,-5,13,-12,13v-8,0,-14,-4,-14,-17v0,-44,30,-78,75,-78v69,0,84,69,44,124" }, "3": { "d": "30,-68v22,6,12,45,60,46v31,0,50,-21,50,-49v0,-37,-23,-47,-36,-49v-25,-4,-26,-8,-26,-14v0,-6,4,-11,16,-13v21,-3,32,-19,32,-46v0,-14,-7,-42,-36,-42v-22,0,-35,15,-35,41v0,7,-6,13,-13,13v-7,0,-13,-6,-13,-13v0,-34,24,-64,61,-64v66,0,85,92,35,121v25,8,43,33,43,61v0,45,-33,78,-78,78v-46,0,-72,-38,-72,-56v0,-10,7,-14,12,-14" }, "4": { "d": "141,2v-23,-2,-9,-48,-13,-71r-103,0v-22,-3,-13,-16,-4,-31r86,-142v6,-20,48,-23,47,5r0,144v24,-7,39,20,14,24r-14,0v-3,24,10,68,-13,71xm128,-93r-1,-144r-83,144r84,0" }, "5": { "d": "42,-140r16,-100v2,-10,4,-16,15,-16r77,0v19,0,18,23,0,23r-68,0r-11,75v48,-23,98,15,97,69v0,55,-33,91,-79,91v-41,0,-71,-28,-71,-39v17,-34,25,15,71,15v32,0,51,-27,51,-63v0,-33,-19,-56,-50,-56v-22,-1,-39,24,-48,1" }, "6": { "d": "98,2v-56,0,-76,-50,-76,-85v0,-68,42,-129,86,-172v10,-10,23,-8,25,7v1,11,-37,24,-68,93v51,-28,106,6,106,72v0,40,-22,85,-73,85xm95,-22v26,0,48,-19,48,-59v0,-37,-19,-63,-47,-63v-31,0,-46,23,-46,63v0,29,14,59,45,59" }, "7": { "d": "163,-248r-100,241v-14,19,-30,5,-21,-15r89,-211r-107,0v-8,0,-14,-5,-14,-11v0,-6,6,-12,14,-12r126,0v9,0,13,3,13,8", "w": 173 }, "8": { "d": "96,-131v-62,0,-61,107,0,109v62,-1,63,-109,0,-109xm96,2v-83,0,-99,-124,-30,-143v-17,-14,-35,-32,-34,-58v0,-31,27,-59,64,-59v71,-1,83,89,31,117v27,7,44,33,44,65v0,41,-27,78,-75,78xm96,-155v26,0,39,-18,39,-41v0,-22,-17,-39,-39,-39v-23,0,-38,17,-38,38v0,23,12,42,38,42" }, "9": { "d": "95,-258v56,0,76,50,76,85v0,68,-42,129,-86,172v-10,10,-23,8,-25,-7v-1,-11,37,-24,68,-93v-51,28,-106,-6,-106,-72v0,-40,22,-85,73,-85xm98,-235v-26,0,-48,20,-48,60v0,37,19,62,47,62v31,0,46,-22,46,-62v0,-29,-14,-60,-45,-60" }, ":": { "d": "27,-136v0,-9,7,-17,16,-17v9,0,17,8,17,17v0,9,-8,16,-17,16v-9,0,-16,-7,-16,-16xm27,-14v0,-9,7,-17,16,-17v9,0,17,8,17,17v0,9,-8,16,-17,16v-9,0,-16,-7,-16,-16", "w": 86 }, ";": { "d": "12,33v3,-22,16,-37,23,-56v11,-18,33,-1,22,14v-11,17,-12,46,-33,53v-8,0,-12,-6,-12,-11xm60,-136v0,9,-8,16,-17,16v-9,0,-16,-7,-16,-16v0,-9,7,-17,16,-17v9,0,17,8,17,17", "w": 86 }, "<": { "d": "50,-91r142,69v15,4,14,23,0,24v-60,-22,-112,-53,-169,-80v-15,-7,-15,-19,0,-26r158,-77v8,-5,22,-3,22,6v0,8,-5,11,-13,15", "w": 216 }, "=": { "d": "31,-139r154,0v20,0,17,24,0,24r-154,0v-19,0,-17,-24,0,-24xm31,-67r154,0v8,0,14,6,14,12v0,6,-6,12,-14,12r-154,0v-19,0,-17,-24,0,-24", "w": 216 }, ">": { "d": "166,-91r-140,-69v-14,-3,-19,-22,-2,-24v60,22,112,53,169,80v15,7,15,19,0,26r-158,77v-9,5,-22,4,-22,-8v0,-6,3,-9,11,-13", "w": 216 }, "?": { "d": "76,-72v-21,0,-13,-41,-13,-62v0,-9,1,-14,14,-15v63,-6,53,-88,1,-86v-19,0,-39,10,-42,29v-3,21,-26,17,-26,1v0,-32,32,-53,68,-53v42,0,72,26,72,63v0,44,-29,60,-61,68v-2,20,7,55,-13,55xm59,-14v0,-9,8,-17,17,-17v9,0,17,8,17,17v0,9,-8,16,-17,16v-9,0,-17,-7,-17,-16", "w": 159 }, "@": { "d": "94,-107v0,19,10,33,29,33v32,0,57,-50,57,-74v0,-20,-10,-32,-30,-32v-32,0,-56,42,-56,73xm191,-176v0,-15,20,-31,28,-13v-10,37,-26,69,-32,109v0,6,4,11,10,11v29,0,56,-43,56,-80v0,-55,-47,-90,-105,-90v-65,0,-113,50,-113,112v0,62,51,110,110,110v73,0,90,-42,103,-42v5,0,8,4,8,8v0,12,-45,53,-109,53v-74,0,-133,-58,-133,-131v0,-72,61,-129,134,-129v71,0,126,44,126,107v0,60,-54,101,-84,101v-17,1,-25,-10,-30,-23v-9,11,-20,23,-43,23v-33,0,-51,-25,-51,-55v0,-67,84,-140,125,-71", "w": 288 }, "A": { "d": "48,-56v-11,19,-9,51,-31,58v-14,-1,-13,-11,-9,-21r82,-221v3,-8,7,-18,20,-18v13,0,17,10,20,18r83,221v3,10,4,20,-9,21v-24,-6,-21,-39,-32,-58r-124,0xm164,-80r-54,-145r-53,145r107,0", "w": 220, "k": { "y": 6, "w": 6, "v": 6, "Y": 13, "W": 13, "V": 20, "T": 27} }, "B": { "d": "24,-14r0,-229v0,-23,41,-12,62,-13v88,-5,94,96,38,117v80,15,76,145,-25,139v-25,-1,-75,12,-75,-14xm50,-233r0,86v44,3,84,-3,84,-44v0,-35,-40,-47,-84,-42xm50,-125r0,101v53,3,104,1,104,-50v0,-46,-51,-56,-104,-51", "w": 193 }, "C": { "d": "126,-258v43,0,78,25,78,38v0,9,-7,14,-12,14v-11,0,-24,-29,-66,-29v-107,0,-119,215,4,213v45,0,59,-25,68,-25v6,0,11,4,11,13v0,11,-33,36,-80,36v-78,0,-115,-59,-115,-127v0,-67,36,-133,112,-133", "w": 213 }, "D": { "d": "24,-14r0,-229v0,-9,4,-13,16,-13r64,0v78,0,108,70,108,130v0,104,-66,126,-172,126v-12,0,-16,-5,-16,-14xm50,-233r0,209r50,0v62,0,84,-47,84,-107v0,-49,-21,-102,-82,-102r-52,0", "w": 226 }, "E": { "d": "50,-116r0,92r78,0v18,0,18,24,0,24r-88,0v-12,0,-16,-5,-16,-14r0,-229v0,-9,4,-13,16,-13r85,0v17,0,17,23,0,23r-75,0r0,93r71,0v8,0,14,6,14,12v-8,23,-58,8,-85,12", "w": 159 }, "F": { "d": "50,-116r0,102v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-229v0,-7,6,-13,13,-13r91,0v17,0,17,23,0,23r-78,0r0,93r69,0v18,0,17,24,0,24r-69,0", "w": 146, "k": { "A": 13, ".": 27, ",": 27} }, "G": { "d": "146,-132v3,-20,41,-12,63,-12v18,0,22,9,22,19v0,99,-48,127,-104,127v-80,0,-113,-64,-113,-130v0,-64,36,-130,112,-130v50,0,87,28,87,39v0,9,-6,13,-12,13v-12,0,-30,-29,-74,-29v-117,0,-113,213,2,213v56,0,76,-48,76,-99v-20,-2,-56,8,-59,-11", "w": 240 }, "H": { "d": "50,-120r0,106v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-228v0,-11,5,-16,13,-16v8,0,13,5,13,16r0,99r140,0r0,-99v0,-11,5,-16,13,-16v8,0,13,5,13,16r0,228v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-106r-140,0", "w": 240 }, "I": { "d": "50,-242r0,228v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-228v0,-11,5,-16,13,-16v8,0,13,5,13,16", "w": 73 }, "J": { "d": "103,-242r0,183v0,37,-22,61,-57,61v-30,0,-52,-15,-52,-25v10,-29,18,5,51,4v26,0,32,-18,32,-40r0,-183v0,-11,5,-16,13,-16v8,0,13,5,13,16", "w": 126 }, "K": { "d": "50,-124r0,110v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-228v0,-11,5,-16,13,-16v8,0,13,5,13,16r0,95r115,-103v12,-18,37,-2,21,13r-113,101r121,115v9,8,8,22,-5,23v-6,0,-11,-3,-16,-8", "w": 200 }, "L": { "d": "50,-242r0,218v26,4,74,-11,81,12v0,6,-6,12,-14,12r-80,0v-7,0,-13,-6,-13,-13r0,-229v0,-11,5,-16,13,-16v8,0,13,5,13,16", "w": 133, "k": { "y": 20, "Y": 40, "W": 27, "V": 33, "T": 33} }, "M": { "d": "149,-43r59,-199v6,-23,42,-23,46,4r34,228v-2,20,-24,13,-26,-3r-33,-217r-64,215v-4,22,-23,22,-28,4r-67,-219r-32,217v1,16,-24,23,-26,3r34,-228v5,-27,41,-27,47,-4", "w": 300 }, "N": { "d": "50,-14v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-229v0,-19,20,-17,28,-6r138,201r0,-194v0,-11,5,-16,13,-16v8,0,13,5,13,16r0,228v1,21,-18,19,-26,7r-140,-204r0,197", "w": 239 }, "O": { "d": "123,2v-145,0,-145,-260,0,-260v146,0,145,260,0,260xm123,-22v60,0,81,-58,81,-106v0,-48,-21,-107,-81,-107v-60,0,-81,59,-81,107v0,48,21,106,81,106", "w": 246 }, "P": { "d": "50,-98r0,84v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-229v0,-9,4,-13,16,-13r62,0v114,6,102,159,-7,158r-45,0xm50,-233r0,111r47,0v79,-2,78,-109,0,-111r-47,0", "w": 186, "k": { "A": 20, ".": 33, ",": 33} }, "Q": { "d": "211,-47v10,13,26,23,32,39v-14,26,-36,-12,-46,-21v-18,19,-43,31,-74,31v-145,0,-145,-260,0,-260v103,0,135,132,88,211xm180,-46v-9,-11,-23,-21,-28,-34v11,-25,30,4,40,13v27,-66,12,-170,-69,-170v-60,0,-81,59,-81,109v0,50,21,109,81,109v26,0,45,-11,57,-27", "w": 246 }, "R": { "d": "50,-114r0,100v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-229v2,-24,49,-11,72,-13v103,-8,99,143,9,142r-23,0r88,94v9,7,5,22,-6,22v-4,0,-8,-2,-12,-6xm50,-233r0,97v49,2,98,1,98,-46v0,-51,-46,-54,-98,-51", "w": 186 }, "S": { "d": "19,-41v16,5,25,19,55,19v36,0,59,-28,59,-55v0,-62,-121,-38,-121,-116v0,-41,35,-64,74,-65v35,0,78,25,47,41v-13,0,-22,-18,-49,-18v-27,0,-47,19,-47,40v0,57,122,34,122,116v0,46,-32,81,-81,81v-42,0,-71,-16,-71,-30v0,-7,5,-13,12,-13", "w": 166 }, "T": { "d": "90,-233r0,219v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-219v-22,-3,-60,8,-64,-11v0,-6,6,-12,14,-12r125,0v19,0,18,23,0,23r-49,0", "w": 153, "k": { "y": 33, "w": 33, "u": 33, "s": 33, "r": 33, "q": 33, "o": 33, "i": 11, "e": 33, "d": 33, "c": 33, "a": 33, "A": 27, ";": 33, ":": 33, ".": 33, "-": 40, ",": 33} }, "U": { "d": "24,-87r0,-155v0,-11,5,-16,13,-16v8,0,13,5,13,16r0,152v0,47,34,68,70,68v36,0,70,-21,70,-68r0,-152v0,-11,5,-16,13,-16v8,0,13,5,13,16r0,155v0,59,-46,89,-96,89v-50,0,-96,-30,-96,-89", "w": 239 }, "V": { "d": "171,-248v3,-15,27,-12,26,2r-81,232v-3,19,-28,20,-31,0r-81,-232v-1,-14,20,-16,25,-2r71,207", "w": 200, "k": { "u": 6, "r": 6, "q": 13, "o": 13, "e": 13, "d": 13, "c": 13, "a": 13, "A": 20, ";": 6, ":": 6, ".": 33, "-": 13, ",": 33} }, "W": { "d": "133,-246v1,-15,27,-15,28,0r62,218r35,-218v2,-17,24,-16,26,-2r-42,236v-5,19,-34,19,-39,0r-56,-206r-58,206v-5,19,-35,19,-38,0r-41,-236v2,-14,24,-14,26,2r35,218", "w": 293, "k": { "q": 6, "o": 6, "e": 6, "d": 6, "c": 6, "a": 6, "A": 13, ";": 3, ":": 3, ".": 13, "-": 13, ",": 13} }, "X": { "d": "107,-158r63,-91v5,-13,23,-11,25,1v-20,40,-51,73,-74,110r83,118v10,9,6,21,-7,22v-6,0,-9,-3,-13,-9r-77,-110r-77,110v-5,13,-24,11,-26,-1v24,-48,61,-86,89,-130v-25,-37,-53,-70,-75,-110v2,-11,21,-14,26,-1", "w": 213 }, "Y": { "d": "87,-147r62,-104v4,-11,25,-8,24,3v-19,43,-51,86,-73,127r0,107v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-107v-24,-42,-54,-83,-74,-127v-1,-11,20,-14,24,-3", "w": 173, "k": { "v": 6, "u": 13, "q": 27, "p": 20, "o": 27, "e": 27, "d": 27, "c": 27, "a": 27, "A": 20, ";": 13, ":": 13, ".": 33, "-": 27, ",": 27} }, "Z": { "d": "42,-24r134,0v18,0,18,24,0,24r-144,0v-30,-3,-25,-17,-11,-37r128,-196r-120,0v-8,0,-14,-5,-14,-11v0,-6,6,-12,14,-12r144,0v17,1,13,13,7,22", "w": 200 }, "[": { "d": "27,8r0,-254v0,-16,21,-12,37,-12v16,0,15,19,0,21r-11,0r0,236v20,-5,33,16,11,22v-16,0,-37,3,-37,-13", "w": 79 }, "\\": { "d": "38,-249r94,242v-1,12,-19,11,-23,0r-95,-242v0,-11,22,-13,24,0", "w": 146 }, "]": { "d": "53,-246r0,254v0,16,-21,13,-37,13v-16,0,-15,-20,0,-22r11,0r0,-236v-11,2,-24,-3,-22,-11v-2,-12,22,-10,35,-10v7,0,13,5,13,12", "w": 79 }, "^": { "d": "17,-104v23,-51,52,-99,79,-147v6,-12,18,-11,24,0r79,147v-4,16,-23,11,-27,-3r-64,-116r-64,116v-4,14,-23,19,-27,3", "w": 216 }, "_": { "d": "180,45r-180,0v-6,0,-10,-3,-10,-9v0,-6,4,-9,10,-9r180,0v6,0,10,3,10,9v0,6,-4,9,-10,9", "w": 180 }, "a": { "d": "149,-165v2,-9,-1,-29,14,-29v8,0,13,6,13,17r0,163v0,11,-5,16,-13,16v-14,0,-12,-17,-14,-28v-12,19,-31,28,-53,28v-55,0,-82,-44,-82,-98v0,-48,27,-98,82,-98v22,0,38,10,53,29xm42,-96v0,35,14,77,54,77v40,0,54,-42,54,-77v0,-35,-14,-76,-54,-76v-39,0,-54,41,-54,76", "w": 200 }, "b": { "d": "24,-14r0,-247v0,-11,5,-17,13,-17v8,0,13,6,13,17r1,96v15,-19,31,-29,53,-29v55,0,82,50,82,98v0,54,-27,98,-82,98v-23,1,-40,-11,-54,-28v8,26,-26,41,-26,12xm49,-96v0,35,15,77,55,77v40,0,54,-42,54,-77v0,-35,-14,-76,-54,-76v-40,0,-55,41,-55,76", "w": 200 }, "c": { "d": "96,-22v32,0,39,-23,50,1v0,16,-24,23,-50,23v-111,-2,-107,-196,4,-196v24,0,47,9,47,20v-7,28,-20,4,-51,4v-75,0,-68,148,0,148", "w": 159 }, "d": { "d": "149,-165v4,-29,0,-65,1,-96v0,-11,5,-17,13,-17v8,0,13,6,13,17r0,247v0,11,-5,16,-13,16v-14,0,-12,-17,-14,-28v-12,19,-31,28,-53,28v-55,0,-82,-44,-82,-98v0,-48,27,-98,82,-98v22,0,38,10,53,29xm42,-96v0,35,14,77,54,77v40,0,54,-42,54,-77v0,-35,-14,-76,-54,-76v-39,0,-54,41,-54,76", "w": 200 }, "e": { "d": "161,-84r-119,0v1,33,24,65,57,65v41,0,52,-30,64,-30v7,0,12,3,12,13v0,12,-29,38,-74,38v-118,1,-114,-196,-5,-196v54,0,82,46,82,94v0,7,-2,16,-17,16xm42,-106r108,0v-1,-32,-19,-66,-54,-66v-35,0,-53,34,-54,66", "w": 186 }, "f": { "d": "56,-170r0,156v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-156v-12,1,-30,0,-28,-11v-2,-10,16,-12,28,-11v-1,-45,-5,-97,48,-86v21,-1,24,23,4,24v-37,-8,-24,34,-26,62v13,0,36,-2,34,11v2,13,-21,12,-34,11", "w": 86, "k": { "f": -6} }, "g": { "d": "150,-166v-7,-27,26,-41,26,-11r0,168v0,59,-41,87,-83,87v-38,0,-74,-22,-74,-35v0,-8,4,-13,13,-13v10,0,28,24,58,24v38,0,66,-29,60,-81v-11,19,-31,29,-54,29v-55,0,-82,-44,-82,-98v0,-48,27,-98,82,-98v23,0,43,13,54,28xm42,-96v0,35,14,77,54,77v49,0,55,-44,55,-95v0,-27,-20,-58,-55,-58v-40,0,-54,41,-54,76", "w": 200 }, "h": { "d": "50,-120r0,106v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-247v0,-11,5,-17,13,-17v8,0,13,6,13,17r0,93v30,-46,119,-29,119,43r0,111v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16v-6,-62,24,-158,-47,-156v-24,0,-46,17,-46,50" }, "i": { "d": "50,-177r0,163v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-163v0,-11,5,-17,13,-17v8,0,13,6,13,17xm19,-241v0,-10,8,-17,18,-17v10,0,17,7,17,17v0,10,-7,18,-17,18v-10,0,-18,-8,-18,-18", "w": 73 }, "j": { "d": "19,-241v0,-10,8,-17,18,-17v10,0,17,7,17,17v0,10,-7,18,-17,18v-10,0,-18,-8,-18,-18xm7,78v-10,-1,-29,-1,-27,-13v3,-24,44,6,44,-32r0,-210v0,-11,4,-17,13,-17v9,0,13,6,13,17r0,209v0,30,-15,46,-43,46", "w": 73 }, "k": { "d": "50,-91r0,77v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-247v0,-11,5,-17,13,-17v8,0,13,6,13,17r0,137v30,-23,58,-50,90,-70v13,0,13,18,4,25r-78,60r86,84v13,8,13,27,-1,27v-8,0,-13,-4,-23,-14", "w": 159 }, "l": { "d": "50,-261r0,247v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-247v0,-11,5,-17,13,-17v8,0,13,6,13,17", "w": 73 }, "m": { "d": "163,-120r0,106v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-106v-1,-76,-87,-61,-87,0r0,106v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-163v0,-11,5,-17,13,-17v11,-1,14,12,13,26v19,-34,87,-35,101,8v32,-57,125,-40,125,35r0,111v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-106v-1,-76,-87,-61,-87,0", "w": 299 }, "n": { "d": "50,-120r0,106v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-163v0,-11,5,-17,13,-17v11,-1,14,12,13,26v30,-46,119,-29,119,43r0,111v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16v-6,-62,24,-158,-47,-156v-24,0,-46,17,-46,50" }, "o": { "d": "42,-96v0,35,14,77,54,77v40,0,55,-42,55,-77v0,-35,-15,-76,-55,-76v-40,0,-54,41,-54,76xm179,-96v0,54,-28,98,-83,98v-55,0,-82,-44,-82,-98v0,-48,26,-98,82,-98v57,0,83,50,83,98" }, "p": { "d": "24,61r0,-238v0,-11,5,-17,13,-17v14,0,12,17,14,29v12,-19,31,-29,53,-29v55,0,82,44,82,98v0,48,-27,98,-82,98v-23,1,-37,-11,-54,-28r0,87v0,11,-5,17,-13,17v-8,0,-13,-6,-13,-17xm49,-96v0,35,15,77,55,77v40,0,54,-42,54,-77v0,-35,-14,-76,-54,-76v-40,0,-55,41,-55,76", "w": 200 }, "q": { "d": "14,-96v0,-54,27,-98,82,-98v23,-1,40,12,54,29v-8,-27,26,-42,26,-12r0,238v0,11,-5,17,-13,17v-8,0,-13,-6,-13,-17r-1,-87v-15,19,-31,28,-53,28v-55,0,-82,-50,-82,-98xm151,-96v0,-35,-15,-76,-55,-76v-40,0,-54,41,-54,76v0,35,14,77,54,77v40,0,55,-42,55,-77", "w": 200 }, "r": { "d": "50,-108r0,94v0,11,-5,16,-13,16v-8,0,-13,-5,-13,-16r0,-163v0,-11,5,-17,13,-17v14,-1,14,20,13,35v9,-21,27,-35,43,-35v23,0,23,25,-1,28v-14,2,-42,16,-42,58", "w": 113, "k": { "y": -6, "v": -6, ".": 20, "-": 20, ",": 20} }, "s": { "d": "76,-194v37,0,69,16,68,30v0,6,-2,12,-13,12v-10,0,-24,-20,-50,-20v-32,0,-53,36,-19,50v35,14,87,23,87,69v0,34,-31,55,-71,55v-49,0,-89,-30,-57,-49v12,0,24,28,58,28v25,0,42,-15,42,-33v0,-54,-106,-29,-105,-91v0,-31,31,-51,60,-51", "w": 159 }, "t": { "d": "99,-11v1,12,-16,12,-26,13v-70,0,-35,-110,-43,-172v-13,0,-30,3,-28,-11v-2,-14,15,-11,28,-11v2,-21,-8,-59,13,-59v21,0,10,38,13,59v15,2,39,-6,39,11v0,17,-24,9,-39,11r0,128v-1,23,15,24,33,20v7,0,10,4,10,11", "w": 107, "k": { "q": 5, "o": 5, "e": 5, "d": 5, "c": 5, "a": 4} }, "u": { "d": "24,-63r0,-114v0,-11,5,-17,13,-17v8,0,13,6,13,17v5,62,-21,158,46,158v68,0,43,-96,47,-158v0,-11,5,-17,13,-17v8,0,13,6,13,17r0,114v0,41,-32,65,-73,65v-41,0,-72,-24,-72,-65" }, "v": { "d": "76,-43v18,-44,33,-93,47,-139v5,-16,25,-15,26,0v-16,61,-39,116,-59,174v-5,15,-22,14,-27,0r-59,-174v0,-15,21,-16,26,0", "w": 153, "k": { ".": 20, ",": 20} }, "w": { "d": "73,-40v17,-45,29,-96,45,-142v5,-16,25,-16,30,0r45,142r45,-142v2,-16,26,-15,26,0v-16,60,-39,115,-57,173v-11,18,-23,15,-30,-5r-44,-139r-45,144v-7,16,-24,16,-29,0r-57,-173v1,-16,22,-15,27,0", "w": 266, "k": { ".": 14, ",": 14} }, "x": { "d": "83,-83r-54,76v-8,13,-23,11,-25,-3v15,-35,44,-61,64,-92v-18,-27,-42,-49,-56,-80v1,-14,16,-15,25,-3r46,63r46,-63v8,-13,24,-11,26,3v-14,30,-39,53,-57,80v21,31,47,58,65,92v-2,14,-17,15,-26,3", "w": 166 }, "y": { "d": "64,-5r-60,-177v0,-15,21,-16,26,0r47,139r46,-139v3,-16,25,-15,26,0v-24,86,-60,163,-84,247v-5,17,-25,16,-26,2v6,-26,17,-48,25,-72", "w": 153, "k": { ".": 20, ",": 20} }, "z": { "d": "140,-166r-96,142r92,0v18,0,18,24,0,24r-111,0v-23,-1,-15,-15,-9,-26r96,-142r-84,0v-20,0,-17,-24,0,-24r103,0v19,0,16,15,9,26", "w": 159 }, "{": { "d": "10,-129v54,3,-16,-146,70,-129v16,3,15,18,0,19v-32,-5,-22,38,-22,67v0,37,-23,49,-28,54v6,2,28,16,28,52v0,26,-12,67,22,67v16,0,15,19,0,20v-29,1,-45,-3,-46,-39v0,-34,6,-91,-24,-91v-11,0,-12,-20,0,-20", "w": 92 }, "|": { "d": "28,90r0,-360v0,-19,24,-17,24,0r0,360v0,18,-24,18,-24,0", "w": 79 }, "}": { "d": "35,-172v0,-26,12,-67,-22,-67v-16,0,-17,-18,0,-19v28,-1,45,3,46,38v1,33,-7,91,23,91v12,0,11,20,0,20v-52,-2,16,147,-69,130v-16,-3,-16,-19,0,-20v32,5,22,-38,22,-67v0,-37,23,-48,28,-53v-6,-2,-28,-17,-28,-53", "w": 92 }, "~": { "d": "73,-117v28,0,46,27,71,27v22,0,20,-26,36,-27v6,-1,11,3,11,11v0,18,-21,39,-48,39v-28,1,-46,-27,-71,-27v-22,0,-20,26,-36,27v-6,1,-11,-3,-11,-11v0,-18,21,-39,48,-39", "w": 216 }, "\u00a3": { "d": "27,-12v16,-31,58,-54,39,-106v-19,-2,-53,7,-53,-12v0,-16,28,-11,45,-12v-39,-54,-15,-115,55,-116v52,0,82,41,82,65v0,15,-19,17,-23,4v-9,-28,-27,-46,-59,-46v-49,1,-59,51,-28,93v20,2,57,-8,57,12v0,18,-32,10,-50,12v10,42,1,60,-30,94r125,0v18,0,18,24,0,24r-147,0v-9,0,-13,-6,-13,-12", "w": 213 }, "'": { "d": "33,-184v-20,-3,-11,-41,-11,-61v0,-8,5,-13,11,-13v20,2,12,40,12,61v0,8,-6,13,-12,13", "w": 66 }, "`": { "d": "66,-217v-21,-4,-40,-15,-59,-21v-17,-6,-11,-21,0,-24v21,4,40,15,59,21v17,6,11,21,0,24", "w": 73 }, "\u00a0": { "w": 86}} });
/*!
* The following copyright notice may not be removed under any circumstances.
* 
* Copyright:
* Copyright (c) 1989, 1995 Adobe Systems Incorporated.  All Rights Reserved.
* 
* Description:
*  The digitally encoded machine readable software for producing the  Typefaces
* licensed to you is copyrighted (c) 1989, 1995 Adobe Systems.  All Rights
* Reserved. This software is the property of Adobe Systems  Incorporated and its
* licensors, and may not be reproduced, used,   displayed, modified, disclosed or
* transferred without the express   written approval of Adobe.    The digitally
* encoded machine readable outline data for producing  the Typefaces licensed to
* you is copyrighted (c) 1981 Linotype-Hell  AG and/or its subsidiaries. All
* Rights Reserved.  This data is the property of Linotype-Hell AG and/or its
* subsidiaries  and may not be reproduced, used, displayed, modified, disclosed or
*   transferred without the express written approval of Linotype-Hell AG   and/or
* its subsidiaries.
*/
Cufon.registerFont({ "w": 206, "face": { "font-family": "homeserve", "font-weight": 700, "font-stretch": "normal", "units-per-em": "360", "panose-1": "2 0 8 3 3 0 0 2 0 4", "ascent": "288", "descent": "-72", "x-height": "4", "cap-height": "2", "bbox": "-31 -292 324.113 112", "underline-thickness": "18", "underline-position": "-18", "stemh": "50", "stemv": "52", "unicode-range": "U+0020-U+00A3" }, "glyphs": { " ": { "w": 96 }, "!": { "d": "34,-98r0,-138v0,-15,11,-25,26,-25v14,0,26,10,26,25r0,138v0,15,-12,25,-26,25v-15,0,-26,-10,-26,-25xm60,4v-15,0,-28,-13,-28,-28v0,-15,13,-28,28,-28v15,0,28,13,28,28v0,15,-13,28,-28,28", "w": 120 }, "\"": { "d": "113,-156v-34,-1,-22,-51,-22,-83v0,-13,9,-22,22,-22v33,1,21,52,21,83v0,13,-8,22,-21,22xm47,-156v-33,-1,-21,-52,-21,-83v0,-13,8,-22,21,-22v34,1,22,51,22,83v0,13,-9,22,-22,22", "w": 159 }, "#": { "d": "53,-108r6,-41v-20,0,-48,4,-48,-17v0,-22,32,-16,53,-17v8,-24,-3,-75,26,-75v33,0,8,49,9,75r34,0v8,-24,-3,-75,26,-75v33,0,8,49,9,75v20,0,48,-4,48,17v0,22,-32,16,-53,17r-6,41v21,0,48,-4,48,18v0,22,-32,16,-53,17v-8,24,3,75,-26,75v-33,0,-8,-49,-9,-75r-34,0v-8,24,3,75,-26,75v-33,0,-8,-49,-9,-75v-20,0,-48,4,-48,-17v0,-23,31,-18,53,-18xm94,-149r-6,41r34,0r6,-41r-34,0", "w": 216 }, "$": { "d": "105,-102r0,53v29,-7,32,-47,0,-53xm85,-166r0,-41v-23,4,-27,36,0,41xm85,-48r0,-60v-34,-10,-77,-20,-77,-71v-1,-47,36,-74,77,-82v1,-12,-3,-27,10,-27v14,0,9,16,10,28v22,1,63,9,63,35v-1,35,-37,27,-63,17r0,48v35,10,81,23,81,81v1,49,-38,76,-81,83v-1,12,4,28,-10,28v-14,0,-9,-16,-10,-28v-29,-1,-78,-9,-78,-40v0,-42,46,-19,78,-12", "w": 193 }, "%": { "d": "67,-181v12,0,18,-9,18,-21v0,-12,-6,-22,-18,-22v-12,0,-19,10,-19,22v0,12,7,21,19,21xm50,-13v35,-86,86,-156,123,-238v10,-21,37,-11,38,8v-36,84,-86,157,-124,238v-9,19,-36,11,-37,-8xm67,-144v-32,0,-56,-27,-56,-58v0,-31,24,-59,56,-59v32,0,55,28,55,59v0,31,-23,58,-55,58xm193,4v-32,0,-55,-27,-55,-58v0,-31,23,-58,55,-58v32,0,56,27,56,58v0,31,-24,58,-56,58xm193,-32v12,0,19,-10,19,-22v0,-12,-7,-21,-19,-21v-12,0,-18,9,-18,21v0,12,6,22,18,22", "w": 259 }, "&": { "d": "144,-64r-53,-58v-37,12,-45,81,7,79v19,0,32,-8,46,-21xm143,-141r37,42v11,-12,23,-36,42,-33v37,5,11,54,-9,66v10,15,30,25,32,46v2,20,-29,32,-44,16r-25,-26v-46,55,-168,43,-167,-43v0,-36,24,-63,54,-79v-14,-14,-24,-28,-24,-48v0,-41,39,-61,76,-61v32,0,73,19,73,57v0,29,-22,51,-45,63xm139,-199v-2,-29,-46,-27,-46,-3v0,11,5,17,19,31v11,-5,27,-15,27,-28", "w": 253 }, "(": { "d": "85,-240v-31,82,-35,191,0,272v2,24,-33,31,-42,10v-38,-88,-39,-217,7,-298v12,-11,36,-2,35,16", "w": 86 }, ")": { "d": "2,35v31,-82,34,-192,0,-273v-2,-25,33,-30,42,-9v38,88,39,217,-7,298v-13,10,-36,1,-35,-16", "w": 86 }, "*": { "d": "70,-258v21,0,19,21,15,39v16,-18,45,-21,45,6v0,14,-18,16,-29,22v11,5,29,8,29,22v0,26,-30,24,-45,6v4,18,6,40,-15,40v-21,0,-21,-21,-16,-40v-16,18,-44,21,-44,-6v0,-14,18,-17,29,-22v-11,-6,-29,-8,-29,-22v0,-27,29,-24,44,-6v-5,-19,-5,-39,16,-39", "w": 140 }, "+": { "d": "86,-113v2,-29,-10,-73,22,-73v32,0,20,44,22,73v29,2,73,-10,73,22v0,32,-44,20,-73,22v-2,29,10,73,-22,73v-32,0,-20,-44,-22,-73v-29,-2,-73,10,-73,-22v0,-32,44,-20,73,-22", "w": 216 }, ",": { "d": "76,-32v-6,27,-24,45,-35,68v-11,22,-45,11,-45,-12v8,-26,23,-46,35,-68v12,-22,44,-11,45,12", "w": 96 }, "-": { "d": "11,-104v0,-38,62,-23,97,-23v27,0,28,45,0,45v-35,0,-97,14,-97,-22", "w": 140 }, ".": { "d": "20,-24v0,-15,13,-28,28,-28v15,0,28,13,28,28v0,15,-13,28,-28,28v-15,0,-28,-13,-28,-28", "w": 96 }, "\/": { "d": "3,-15v29,-80,67,-154,99,-232v3,-21,44,-16,42,6r-99,232v-5,19,-44,16,-42,-6", "w": 146 }, "0": { "d": "103,-45v37,0,40,-57,40,-83v0,-27,-3,-84,-40,-84v-37,0,-39,57,-39,84v0,26,2,83,39,83xm103,4v-73,0,-95,-73,-95,-132v0,-59,22,-133,95,-133v73,0,96,74,96,133v0,59,-23,132,-96,132" }, "1": { "d": "55,-26r0,-181v-24,3,-46,-3,-46,-24v0,-33,44,-24,76,-25v15,0,24,11,24,25r0,205v0,18,-12,28,-27,28v-15,0,-27,-10,-27,-28", "w": 133 }, "2": { "d": "96,-48v36,4,92,-14,94,24v0,17,-11,24,-25,24r-121,0v-25,4,-34,-26,-20,-42v32,-34,63,-68,90,-108v17,-17,19,-60,-13,-61v-41,0,-21,58,-56,58v-17,0,-27,-12,-27,-26v0,-45,41,-82,85,-82v44,0,80,29,80,75v0,50,-56,99,-87,138" }, "3": { "d": "98,-261v81,0,99,85,47,121v76,32,43,144,-47,144v-53,0,-86,-39,-86,-67v0,-14,14,-24,27,-24v24,0,19,42,60,42v19,0,33,-15,33,-34v0,-50,-61,-14,-61,-56v0,-38,51,-12,51,-52v0,-14,-10,-24,-26,-24v-34,0,-30,35,-54,35v-15,0,-23,-13,-23,-26v0,-28,39,-59,79,-59" }, "4": { "d": "118,-57v-41,-4,-135,15,-107,-37r80,-146v18,-34,79,-28,79,25r0,111v18,-2,31,8,31,24v0,16,-13,25,-31,23v0,28,4,59,-26,59v-30,0,-26,-30,-26,-59xm118,-104r-1,-100r-49,100r50,0" }, "5": { "d": "90,-207r-5,39v55,-17,101,22,101,73v0,60,-33,99,-95,99v-26,0,-79,-16,-79,-48v0,-13,11,-24,24,-24v14,0,32,23,56,23v45,1,54,-84,3,-84v-21,0,-24,12,-42,12v-20,0,-22,-13,-20,-29r9,-76v4,-28,11,-34,28,-34v39,0,109,-16,113,22v-6,50,-53,19,-93,27" }, "6": { "d": "152,-234v-9,28,-48,50,-56,73v51,-20,98,28,98,76v0,47,-38,89,-91,89v-55,0,-90,-41,-90,-89v0,-60,58,-141,103,-173v16,-12,34,8,36,24xm103,-122v-21,0,-34,16,-34,37v0,20,12,37,34,37v21,0,35,-16,35,-37v0,-19,-12,-37,-35,-37" }, "7": { "d": "31,-23v24,-67,64,-121,93,-184v-40,-5,-116,16,-119,-24v0,-13,7,-25,27,-25r130,0v29,5,29,27,18,49r-89,182v-10,20,-15,27,-31,27v-20,0,-29,-15,-29,-25", "w": 193 }, "8": { "d": "103,-117v-21,0,-32,16,-32,36v0,18,10,36,32,36v21,0,33,-18,33,-36v0,-23,-13,-36,-33,-36xm103,4v-83,0,-122,-111,-50,-144v-54,-35,-19,-129,50,-121v68,-6,107,84,51,121v24,12,38,34,38,62v0,50,-41,82,-89,82xm103,-213v-17,0,-26,12,-26,27v0,16,9,28,26,28v17,0,27,-12,27,-28v0,-15,-10,-27,-27,-27" }, "9": { "d": "54,-22v9,-28,49,-50,57,-73v-53,18,-99,-27,-98,-76v0,-47,37,-90,90,-90v55,0,91,42,91,90v0,60,-61,139,-103,173v-17,8,-35,-7,-37,-24xm103,-134v21,0,35,-16,35,-37v0,-20,-13,-38,-35,-38v-21,0,-34,17,-34,38v0,19,11,37,34,37" }, ":": { "d": "20,-139v0,-15,13,-28,28,-28v15,0,28,13,28,28v0,15,-13,28,-28,28v-15,0,-28,-13,-28,-28xm20,-24v0,-15,13,-28,28,-28v15,0,28,13,28,28v0,15,-13,28,-28,28v-15,0,-28,-13,-28,-28", "w": 96 }, ";": { "d": "31,-44v12,-22,44,-11,45,12v-6,27,-24,45,-35,68v-11,22,-45,11,-45,-12v8,-26,23,-46,35,-68xm20,-139v0,-15,13,-28,28,-28v15,0,28,13,28,28v0,15,-13,28,-28,28v-15,0,-28,-13,-28,-28", "w": 96 }, "<": { "d": "71,-91r119,50v22,5,13,43,-4,41v-57,-18,-106,-51,-160,-71v-17,-6,-16,-35,0,-41v55,-20,102,-51,160,-70v17,-1,25,32,4,41", "w": 216 }, "=": { "d": "34,-153r148,0v13,0,21,9,21,22v0,13,-8,21,-21,21r-148,0v-13,0,-21,-8,-21,-21v0,-13,8,-22,21,-22xm34,-72r148,0v13,0,21,8,21,21v0,13,-8,22,-21,22r-148,0v-13,0,-21,-9,-21,-22v0,-13,8,-21,21,-21", "w": 216 }, ">": { "d": "26,-41r119,-50r-119,-50v-22,-5,-13,-43,4,-41v57,17,106,50,160,70v16,6,17,38,0,41v-54,23,-102,52,-160,71v-17,1,-25,-32,-4,-41", "w": 216 }, "?": { "d": "53,-134v2,-28,58,-11,58,-50v0,-16,-15,-27,-30,-27v-30,0,-35,36,-58,36v-13,0,-22,-10,-22,-26v0,-38,48,-60,80,-60v46,0,86,29,86,77v0,40,-25,64,-62,73v2,22,-6,37,-26,38v-30,0,-29,-32,-26,-61xm79,4v-15,0,-28,-13,-28,-28v0,-15,13,-28,28,-28v15,0,28,13,28,28v0,15,-13,28,-28,28", "w": 173 }, "@": { "d": "129,-91v38,3,52,-67,9,-69v-36,-1,-49,65,-9,69xm256,-47v-12,41,-72,52,-112,51v-73,0,-132,-59,-132,-132v0,-73,59,-133,132,-133v67,0,132,49,132,116v0,70,-74,91,-92,91v-19,1,-23,-10,-26,-18v-32,41,-91,4,-91,-45v0,-60,75,-111,113,-58v-1,-15,5,-22,21,-22v15,-1,18,9,15,22v-6,26,-14,48,-16,77v0,4,2,8,8,8v10,0,36,-16,36,-55v0,-51,-48,-83,-100,-83v-55,0,-100,45,-100,100v0,55,45,100,100,100v37,0,76,-16,99,-32v6,0,13,2,13,13", "w": 288 }, "A": { "d": "1,-23v20,-75,53,-136,75,-208v12,-38,64,-37,77,0r73,209v1,30,-43,30,-51,5r-11,-33r-100,0v-9,20,-8,52,-37,52v-14,0,-26,-11,-26,-25xm80,-100r68,0r-34,-104", "w": 226, "k": { "y": 6, "w": 6, "v": 6, "Y": 27, "W": 20, "V": 27, "T": 33} }, "B": { "d": "16,-27r0,-202v0,-41,60,-23,98,-27v65,-6,94,92,34,116v29,7,55,29,55,62v0,80,-77,82,-158,78v-17,0,-29,-10,-29,-27xm70,-209r0,54v29,1,58,1,57,-28v-1,-28,-29,-27,-57,-26xm70,-107r0,59v36,0,77,6,77,-31v0,-30,-43,-30,-77,-28" }, "C": { "d": "6,-128v0,-75,51,-133,124,-133v26,0,77,9,77,41v-9,41,-36,11,-77,11v-45,0,-68,38,-68,82v0,43,24,79,68,79v30,0,42,-15,57,-15v16,0,24,17,24,25v0,35,-54,42,-81,42v-73,0,-124,-57,-124,-132", "w": 219 }, "D": { "d": "16,-27r0,-202v0,-39,52,-27,88,-27v81,0,126,51,126,131v0,100,-75,125,-185,125v-12,0,-29,-6,-29,-27xm70,-207r0,157v66,8,104,-19,104,-77v0,-59,-36,-88,-104,-80", "w": 240 }, "E": { "d": "16,-27r0,-198v-1,-50,74,-31,118,-31v17,0,25,12,25,25v1,34,-56,22,-89,24r0,53v34,1,86,-9,86,25v0,33,-52,24,-86,25r0,54v35,3,93,-12,92,25v-2,42,-77,25,-118,25v-16,0,-28,-11,-28,-27", "w": 166 }, "F": { "d": "16,-26r0,-202v1,-46,77,-28,120,-28v16,0,25,12,25,25v0,35,-57,22,-91,24r0,53v32,1,82,-8,82,24v0,34,-49,26,-82,26v-4,39,15,106,-27,106v-15,0,-27,-10,-27,-28", "w": 159, "k": { "A": 20, ".": 40, ",": 40} }, "G": { "d": "129,-127v1,-37,52,-25,87,-25v23,0,31,12,31,35v0,69,-45,121,-117,121v-73,0,-124,-57,-124,-132v0,-75,51,-133,124,-133v54,0,99,26,99,51v0,15,-9,25,-22,25v-24,0,-30,-26,-77,-26v-45,0,-68,39,-68,83v0,44,22,83,68,83v28,0,61,-16,61,-57v-29,0,-63,5,-62,-25", "w": 253 }, "H": { "d": "16,-26r0,-204v0,-18,12,-28,27,-28v41,0,23,65,27,104r113,0v3,-39,-14,-104,27,-104v15,0,27,10,27,28r0,204v0,18,-12,28,-27,28v-42,0,-23,-67,-27,-106r-113,0v-4,39,15,106,-27,106v-15,0,-27,-10,-27,-28", "w": 253 }, "I": { "d": "16,-26r0,-204v0,-18,12,-28,27,-28v15,0,27,10,27,28r0,204v0,18,-12,28,-27,28v-15,0,-27,-10,-27,-28", "w": 86 }, "J": { "d": "132,-230r0,158v0,60,-38,76,-71,76v-25,0,-66,-10,-66,-41v0,-10,8,-22,20,-22v14,0,27,14,43,14v20,0,20,-19,20,-31r0,-154v0,-18,12,-28,27,-28v15,0,27,10,27,28", "w": 146 }, "K": { "d": "16,-24r0,-208v0,-15,11,-26,27,-26v42,0,23,66,27,104r89,-94v11,-16,49,-11,47,15v-13,39,-60,66,-85,96r83,87v23,15,18,54,-13,52v-10,0,-18,-6,-28,-17r-93,-101v-6,43,19,118,-27,118v-15,0,-27,-10,-27,-26", "w": 219 }, "L": { "d": "16,-30r0,-200v0,-18,12,-28,27,-28v15,0,27,10,27,28r0,180v35,1,93,-10,90,26v-3,40,-75,24,-116,24v-18,0,-28,-12,-28,-30", "w": 153, "k": { "y": 20, "Y": 46, "W": 27, "V": 40, "T": 40} }, "M": { "d": "9,-24r33,-207v2,-32,62,-34,72,-2r43,143r42,-143v5,-32,67,-30,72,2r34,207v0,16,-12,26,-26,26v-18,0,-25,-8,-28,-25r-22,-147r-44,151v-3,9,-9,21,-28,21v-19,0,-26,-12,-29,-21r-44,-151r-21,147v-3,17,-10,25,-28,25v-14,0,-29,-10,-26,-26", "w": 313 }, "N": { "d": "14,-26r0,-204v-1,-30,35,-36,50,-17r115,153r0,-136v0,-18,12,-28,27,-28v15,0,27,10,27,28r0,204v1,30,-35,35,-50,16r-115,-150r0,134v0,18,-12,28,-27,28v-15,0,-27,-10,-27,-28", "w": 246 }, "O": { "d": "130,-45v46,0,68,-39,68,-83v0,-44,-23,-83,-68,-83v-45,0,-68,39,-68,83v0,44,22,83,68,83xm130,4v-73,0,-124,-57,-124,-132v0,-75,51,-133,124,-133v72,0,124,60,124,133v0,75,-50,132,-124,132", "w": 259 }, "P": { "d": "16,-26r0,-202v-2,-40,55,-28,92,-28v53,0,92,35,92,86v0,68,-56,92,-130,85v-1,35,10,89,-27,87v-15,0,-27,-10,-27,-28xm70,-209r0,77v39,3,74,-2,74,-39v0,-37,-35,-41,-74,-38", "w": 200, "k": { "A": 27, ".": 43, ",": 43} }, "Q": { "d": "263,-5v-9,41,-55,12,-70,-7v-86,47,-187,-17,-187,-116v0,-75,51,-133,124,-133v104,0,158,133,100,216v11,12,31,20,33,40xm158,-101v14,0,21,13,31,19v23,-53,2,-130,-59,-129v-45,0,-68,39,-68,83v0,52,34,95,91,80v-22,-10,-29,-53,5,-53", "w": 259 }, "R": { "d": "16,-26r0,-202v-2,-40,54,-28,91,-28v55,0,90,24,90,81v0,40,-30,62,-67,68r62,66v17,16,2,43,-20,43v-6,0,-15,-2,-21,-9r-81,-97v-4,39,15,106,-27,106v-15,0,-27,-10,-27,-28xm70,-207r0,64v35,1,71,3,71,-32v0,-35,-36,-33,-71,-32", "w": 200, "k": { "Y": 13, "W": 6, "V": 6, "T": 6} }, "S": { "d": "97,-261v20,0,71,8,71,36v-1,61,-102,-18,-102,40v0,37,120,13,120,106v0,51,-42,83,-92,83v-28,0,-87,-6,-87,-40v0,-45,50,-12,84,-12v24,0,37,-12,37,-30v0,-42,-120,-17,-120,-101v0,-50,41,-82,89,-82", "w": 193 }, "T": { "d": "59,-26r0,-181v-28,1,-63,4,-63,-24v0,-13,9,-25,24,-25r133,0v15,0,24,12,24,25v0,28,-36,25,-64,24r0,181v0,18,-12,28,-27,28v-15,0,-27,-10,-27,-28", "w": 172, "k": { "y": 40, "w": 40, "u": 33, "s": 40, "r": 33, "o": 40, "e": 40, "c": 40, "a": 40, "A": 33, ";": 33, ":": 33, ".": 33, "-": 40, ",": 33} }, "U": { "d": "14,-102r0,-128v0,-18,12,-28,27,-28v15,0,27,10,27,28v0,75,-24,185,55,185v78,0,52,-110,56,-185v0,-18,12,-28,27,-28v15,0,27,10,27,28r0,128v0,60,-51,106,-110,106v-60,0,-109,-45,-109,-106", "w": 246 }, "V": { "d": "80,-19v-22,-73,-60,-137,-81,-214v0,-29,43,-33,52,-8r56,150r55,-150v8,-25,53,-21,53,8v-22,76,-60,141,-82,214v-8,26,-45,26,-53,0", "w": 213, "k": { "y": 6, "u": 13, "r": 13, "o": 20, "e": 20, "a": 20, "A": 27, ";": 20, ":": 20, ".": 40, "-": 20, ",": 40} }, "W": { "d": "50,-26r-47,-209v2,-32,48,-28,54,2r32,153r46,-157v7,-28,50,-27,57,0r47,157r31,-153v-1,-33,57,-31,54,-2v-9,74,-35,138,-47,209v-6,33,-60,36,-71,2r-43,-139r-42,139v-4,15,-17,26,-35,26v-20,0,-32,-13,-36,-28", "w": 326, "k": { "y": 6, "u": 13, "r": 13, "o": 13, "i": 4, "e": 13, "a": 20, "A": 20, ";": 6, ":": 6, ".": 27, "-": 6, ",": 27} }, "X": { "d": "1,-23v18,-47,54,-74,78,-114r-58,-79v-14,-16,0,-46,21,-42v37,7,45,52,68,76v23,-24,32,-65,68,-76v22,-2,36,24,22,42r-59,79r72,96v13,15,4,43,-21,43v-10,0,-18,-4,-23,-12r-59,-82r-59,82v-11,21,-52,12,-50,-13", "w": 220 }, "Y": { "d": "96,2v-49,-5,-19,-78,-27,-122r-68,-96v-12,-17,-1,-43,21,-42v9,0,18,3,23,10r51,76r52,-76v19,-26,65,3,44,32r-69,96v-7,44,22,117,-27,122", "w": 192, "k": { "v": 20, "u": 27, "q": 33, "p": 27, "o": 33, "i": 6, "e": 33, "a": 33, "A": 27, ";": 27, ":": 27, ".": 40, "-": 36, ",": 40} }, "Z": { "d": "75,-48r105,0v15,0,26,9,26,24v0,14,-13,24,-26,24r-142,0v-29,1,-38,-28,-23,-47r116,-162r-95,0v-14,0,-25,-8,-25,-23v0,-14,11,-24,25,-24r132,0v33,0,36,30,22,49", "w": 213 }, "[": { "d": "16,30r0,-265v-1,-30,33,-27,62,-26v10,0,19,6,19,21v-1,22,-16,20,-36,20r0,234v20,-1,35,-1,36,21v0,29,-30,20,-55,20v-16,0,-26,-9,-26,-25", "w": 100 }, "\\": { "d": "44,-247r100,232v2,21,-39,26,-42,6r-99,-232v-2,-22,38,-27,41,-6", "w": 146 }, "]": { "d": "84,-235r0,265v1,30,-33,25,-62,25v-10,0,-19,-5,-19,-20v1,-22,16,-22,36,-21r0,-234v-20,0,-35,2,-36,-20v0,-30,30,-21,55,-21v16,0,26,10,26,26", "w": 100 }, "^": { "d": "108,-204r-45,83v-15,21,-50,-1,-32,-21r58,-106v9,-14,30,-14,38,0v21,40,45,77,63,120v1,17,-30,20,-37,7", "w": 216 }, "_": { "d": "180,45r-180,0v-6,0,-10,-3,-10,-9v0,-6,4,-9,10,-9r180,0v6,0,10,3,10,9v0,6,-4,9,-10,9", "w": 180 }, "a": { "d": "192,-160r0,128v0,13,0,34,-25,34v-15,0,-21,-8,-25,-22v-49,57,-135,5,-135,-75v0,-79,84,-135,135,-77v1,-13,12,-22,25,-22v25,0,25,21,25,34xm100,-148v-55,1,-55,104,0,105v54,-1,53,-104,0,-105" }, "b": { "d": "15,-27r0,-221v0,-17,11,-29,26,-29v39,1,23,62,26,99v14,-12,31,-18,49,-18v112,2,108,201,-2,200v-18,0,-37,-7,-47,-23v-6,33,-52,25,-52,-8xm107,-148v-55,1,-53,103,0,105v55,-2,54,-102,0,-105" }, "c": { "d": "163,-163v0,11,-7,25,-19,25v-13,0,-24,-10,-41,-10v-30,0,-44,26,-44,53v0,26,16,52,44,52v27,-7,60,-22,60,12v0,27,-44,35,-63,35v-56,0,-93,-45,-93,-99v0,-53,38,-101,93,-101v21,0,63,8,63,33", "w": 166 }, "d": { "d": "192,-248r0,221v3,33,-47,40,-52,8v-48,59,-133,-5,-133,-74v0,-50,28,-103,84,-103v18,0,35,6,49,18v3,-38,-13,-98,26,-99v15,0,26,12,26,29xm99,-43v54,-2,56,-104,0,-105v-53,3,-54,103,0,105" }, "e": { "d": "167,-78r-110,0v4,26,24,37,48,37v27,0,45,-21,59,-21v11,0,21,11,21,22v0,22,-45,44,-84,44v-58,0,-97,-42,-97,-99v0,-53,37,-101,92,-101v56,0,94,51,94,94v0,15,-7,24,-23,24xm55,-113r83,0v-3,-23,-18,-40,-42,-40v-23,0,-38,18,-41,40", "w": 193 }, "f": { "d": "27,-27r0,-119v-20,2,-35,-4,-35,-23v0,-17,15,-26,35,-23v-5,-49,12,-87,54,-85v18,0,36,5,36,23v1,38,-50,1,-39,62v23,-1,43,-1,43,23v0,23,-20,24,-43,23r0,119v0,17,-10,29,-25,29v-15,0,-26,-12,-26,-29", "w": 106, "k": { "f": 6} }, "g": { "d": "192,-165r0,150v0,62,-41,93,-100,93v-21,0,-82,-10,-82,-38v11,-42,45,-9,86,-7v28,1,50,-22,43,-53v-11,16,-28,24,-52,24v-54,0,-80,-48,-80,-99v0,-72,84,-138,133,-77v5,-34,52,-26,52,7xm99,-43v56,-1,54,-103,0,-105v-54,1,-53,106,0,105" }, "h": { "d": "15,-27r0,-221v0,-17,11,-29,26,-29v39,1,23,62,26,99v42,-39,124,-12,118,52v-4,45,19,123,-26,128v-62,-5,16,-155,-59,-155v-51,0,-33,78,-33,126v0,17,-11,29,-26,29v-15,0,-26,-12,-26,-29", "w": 200 }, "i": { "d": "14,-27r0,-138v0,-17,11,-29,26,-29v15,0,26,12,26,29r0,138v0,17,-11,29,-26,29v-15,0,-26,-12,-26,-29xm40,-271v15,0,29,13,29,28v0,16,-13,30,-29,30v-15,0,-29,-14,-29,-30v0,-15,14,-28,29,-28", "w": 79 }, "j": { "d": "40,-271v15,0,29,13,29,28v0,16,-13,30,-29,30v-15,0,-29,-14,-29,-30v0,-15,14,-28,29,-28xm66,28v0,33,-28,50,-53,50v-27,0,-44,-8,-44,-27v0,-15,15,-23,31,-19v8,0,14,-5,14,-13r0,-184v0,-17,11,-29,26,-29v15,0,26,12,26,29r0,193", "w": 79 }, "k": { "d": "15,-27r0,-221v0,-17,11,-29,26,-29v15,0,26,12,26,29r0,121v26,-21,44,-58,80,-67v22,1,29,29,12,44r-46,41r61,72v14,15,3,42,-18,41v-9,0,-17,-6,-25,-16r-64,-78v-2,36,11,92,-26,92v-15,0,-26,-12,-26,-29", "w": 180 }, "l": { "d": "14,-27r0,-221v0,-17,11,-29,26,-29v15,0,26,12,26,29r0,221v0,17,-11,29,-26,29v-15,0,-26,-12,-26,-29", "w": 79 }, "m": { "d": "15,-27r0,-138v-3,-32,46,-40,49,-9v27,-31,78,-29,102,4v39,-48,132,-27,126,44v-4,45,19,128,-26,128v-63,0,14,-155,-56,-155v-48,0,-31,79,-31,126v0,17,-11,29,-26,29v-63,-4,13,-144,-56,-155v-49,3,-30,80,-30,126v0,17,-11,29,-26,29v-15,0,-26,-12,-26,-29", "w": 306 }, "n": { "d": "15,-27r0,-138v-3,-32,45,-40,49,-10v34,-43,129,-17,121,49v-6,45,19,123,-26,128v-62,-5,16,-155,-59,-155v-51,0,-33,78,-33,126v0,17,-11,29,-26,29v-15,0,-26,-12,-26,-29", "w": 200 }, "o": { "d": "100,-196v55,0,93,48,93,101v0,54,-37,99,-93,99v-56,0,-93,-45,-93,-99v0,-53,38,-101,93,-101xm100,-148v-55,1,-55,104,0,105v55,-1,55,-103,0,-105", "w": 200 }, "p": { "d": "15,50r0,-215v-2,-34,48,-39,52,-7v10,-16,30,-24,49,-24v112,2,108,201,-2,200v-16,0,-33,-6,-47,-18v-2,36,12,92,-26,92v-15,0,-26,-11,-26,-28xm107,-148v-55,1,-53,103,0,105v55,-2,54,-102,0,-105" }, "q": { "d": "192,-165r0,215v0,17,-11,28,-26,28v-37,0,-24,-56,-26,-92v-57,49,-133,-11,-133,-79v0,-50,28,-103,84,-103v19,0,39,8,49,24v5,-34,52,-26,52,7xm99,-43v54,-2,56,-104,0,-105v-53,3,-54,103,0,105" }, "r": { "d": "128,-166v-4,32,-62,20,-62,60v0,40,15,106,-26,108v-15,0,-26,-12,-26,-29r0,-141v-1,-31,52,-38,52,-4v15,-24,58,-36,62,6", "w": 119, "k": { "q": 6, "o": 6, "n": -6, "m": -6, "e": 6, "d": 6, "c": 6, ".": 29, "-": 20, ",": 29} }, "s": { "d": "145,-158v0,39,-39,8,-68,8v-9,0,-17,4,-17,14v0,24,90,20,90,79v0,35,-29,61,-74,61v-29,0,-72,-17,-72,-40v0,-8,8,-23,22,-23v20,0,30,18,54,18v16,0,20,-5,20,-15v0,-24,-90,-20,-90,-79v0,-36,29,-61,70,-61v26,0,65,12,65,38", "w": 153 }, "t": { "d": "27,-49r0,-97v-20,2,-34,-5,-34,-23v0,-17,14,-25,34,-23v-2,-29,-1,-59,26,-59v26,0,28,30,26,59v22,-1,40,0,40,23v0,22,-18,24,-40,23r0,89v2,24,45,2,45,31v0,19,-17,28,-44,28v-25,0,-53,-18,-53,-51", "w": 124, "k": { "o": 4} }, "u": { "d": "15,-71v0,-44,-18,-123,26,-123v63,0,-15,151,59,155v50,3,34,-79,34,-126v0,-17,10,-29,25,-29v44,0,26,80,26,123v0,46,-30,75,-85,75v-55,0,-85,-29,-85,-75", "w": 200 }, "v": { "d": "55,-19v-18,-50,-41,-95,-55,-149v-2,-32,47,-32,50,-7r34,102r33,-102v4,-28,51,-24,50,7v-15,52,-38,99,-56,149v-5,13,-10,21,-28,21v-18,0,-23,-8,-28,-21", "w": 166, "k": { ".": 20, ",": 20} }, "w": { "d": "52,-24v-13,-50,-49,-94,-49,-149v0,-28,48,-26,50,0r31,99r30,-97v4,-30,43,-29,52,0r31,97r30,-99v4,-29,53,-27,51,5v-13,50,-37,95,-50,144v-8,31,-51,34,-61,2r-27,-83r-27,83v-7,33,-53,29,-61,-2", "w": 280, "k": { ".": 13, ",": 13} }, "x": { "d": "0,-23v7,-35,42,-50,60,-77v-17,-23,-42,-38,-52,-68v0,-23,31,-35,46,-16r36,46v18,-18,27,-49,55,-56v21,0,34,26,19,44r-44,50v19,26,52,42,60,77v5,25,-38,33,-47,14r-43,-53r-43,53v-9,19,-52,11,-47,-14", "w": 180 }, "y": { "d": "59,-15r-57,-143v-9,-17,6,-37,22,-36v13,0,22,7,26,19r35,97r38,-97v6,-26,49,-24,51,4v-25,81,-61,151,-89,229v-4,27,-55,24,-52,-2v3,-28,18,-47,26,-71", "w": 173, "k": { ".": 27, ",": 27} }, "z": { "d": "4,-18v22,-50,59,-84,86,-128v-33,-3,-83,12,-84,-23v0,-14,11,-23,24,-23r118,0v11,-4,25,23,11,32r-82,115v34,4,90,-14,92,22v0,14,-10,23,-23,23r-121,0v-12,0,-21,-6,-21,-18", "w": 173 }, "{": { "d": "101,55v-81,0,-73,-52,-70,-117v2,-39,-36,-12,-35,-41v0,-28,35,-2,35,-41v0,-54,-11,-117,48,-117v19,0,38,-3,38,17v0,29,-41,1,-41,37r0,68v1,34,-28,33,-39,37v13,1,39,3,39,36v0,32,-18,89,25,89v9,0,16,5,16,16v0,11,-7,16,-16,16", "w": 119 }, "|": { "d": "18,90r0,-360v0,-13,9,-22,22,-22v13,0,22,9,22,22r0,360v0,13,-9,22,-22,22v-13,0,-22,-9,-22,-22", "w": 79 }, "}": { "d": "19,-261v80,0,73,52,70,117v-2,39,34,13,34,41v0,29,-34,3,-34,41v0,54,11,122,-48,117v-18,-1,-38,4,-38,-16v0,-29,41,-1,41,-37r0,-68v-1,-34,27,-33,38,-37v-13,-1,-38,-3,-38,-36v0,-32,18,-89,-25,-89v-9,0,-16,-5,-16,-16v0,-11,7,-17,16,-17", "w": 119 }, "~": { "d": "146,-100v20,0,25,-22,40,-22v12,0,15,8,15,17v0,22,-19,48,-54,48v-27,0,-59,-25,-77,-25v-20,0,-25,22,-40,22v-12,0,-15,-8,-15,-17v0,-22,19,-48,54,-48v27,0,59,25,77,25", "w": 216 }, "\u00a3": { "d": "98,-153v33,2,81,-10,81,25v1,32,-41,24,-72,25v0,19,-7,37,-19,53v44,7,126,-20,126,25v0,15,-11,25,-26,25r-141,0v-18,0,-28,-11,-28,-28v0,-15,31,-30,31,-75v-24,2,-44,-3,-44,-25v0,-17,13,-27,33,-25v-29,-58,17,-108,82,-108v50,0,91,27,91,63v0,17,-12,27,-28,27v-24,0,-24,-38,-61,-38v-33,0,-44,34,-25,56", "w": 219 }, "'": { "d": "43,-156v-33,-1,-21,-52,-21,-83v0,-13,8,-22,21,-22v34,1,22,51,22,83v0,13,-9,22,-22,22", "w": 86 }, "`": { "d": "-4,-256v0,-42,55,-8,78,0v24,16,-1,52,-23,37v-17,-12,-55,-10,-55,-37", "w": 79 }, "\u00a0": { "w": 96}} });

/**
* --------------------------------------------------------------------
* jQuery-Plugin "pngFix"
* Version: 1.1, 11.09.2007
* by Andreas Eberhard, andreas.eberhard@gmail.com
*                      http://jquery.andreaseberhard.de/
*
* Copyright (c) 2007 Andreas Eberhard
* Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
*/
eval(function (p, a, c, k, e, r) { e = function (c) { return (c < 62 ? '' : e(parseInt(c / 62))) + ((c = c % 62) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e } ]; e = function () { return '([237-9n-zA-Z]|1\\w)' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p } ('(s(m){3.fn.pngFix=s(c){c=3.extend({P:\'blank.gif\'},c);8 e=(o.Q=="t R S"&&T(o.u)==4&&o.u.A("U 5.5")!=-1);8 f=(o.Q=="t R S"&&T(o.u)==4&&o.u.A("U 6.0")!=-1);p(3.browser.msie&&(e||f)){3(2).B("img[n$=.C]").D(s(){3(2).7(\'q\',3(2).q());3(2).7(\'r\',3(2).r());8 a=\'\';8 b=\'\';8 g=(3(2).7(\'E\'))?\'E="\'+3(2).7(\'E\')+\'" \':\'\';8 h=(3(2).7(\'F\'))?\'F="\'+3(2).7(\'F\')+\'" \':\'\';8 i=(3(2).7(\'G\'))?\'G="\'+3(2).7(\'G\')+\'" \':\'\';8 j=(3(2).7(\'H\'))?\'H="\'+3(2).7(\'H\')+\'" \':\'\';8 k=(3(2).7(\'V\'))?\'float:\'+3(2).7(\'V\')+\';\':\'\';8 d=(3(2).parent().7(\'href\'))?\'cursor:hand;\':\'\';p(2.9.v){a+=\'v:\'+2.9.v+\';\';2.9.v=\'\'}p(2.9.w){a+=\'w:\'+2.9.w+\';\';2.9.w=\'\'}p(2.9.x){a+=\'x:\'+2.9.x+\';\';2.9.x=\'\'}8 l=(2.9.cssText);b+=\'<y \'+g+h+i+j;b+=\'9="W:X;white-space:pre-line;Y:Z-10;I:transparent;\'+k+d;b+=\'q:\'+3(2).q()+\'z;r:\'+3(2).r()+\'z;\';b+=\'J:K:L.t.M(n=\\\'\'+3(2).7(\'n\')+\'\\\', N=\\\'O\\\');\';b+=l+\'"></y>\';p(a!=\'\'){b=\'<y 9="W:X;Y:Z-10;\'+a+d+\'q:\'+3(2).q()+\'z;r:\'+3(2).r()+\'z;">\'+b+\'</y>\'}3(2).hide();3(2).after(b)});3(2).B("*").D(s(){8 a=3(2).11(\'I-12\');p(a.A(".C")!=-1){8 b=a.13(\'url("\')[1].13(\'")\')[0];3(2).11(\'I-12\',\'none\');3(2).14(0).15.J="K:L.t.M(n=\'"+b+"\',N=\'O\')"}});3(2).B("input[n$=.C]").D(s(){8 a=3(2).7(\'n\');3(2).14(0).15.J=\'K:L.t.M(n=\\\'\'+a+\'\\\', N=\\\'O\\\');\';3(2).7(\'n\',c.P)})}return 3}})(3);', [], 68, '||this|jQuery||||attr|var|style||||||||||||||src|navigator|if|width|height|function|Microsoft|appVersion|border|padding|margin|span|px|indexOf|find|png|each|id|class|title|alt|background|filter|progid|DXImageTransform|AlphaImageLoader|sizingMethod|scale|blankgif|appName|Internet|Explorer|parseInt|MSIE|align|position|relative|display|inline|block|css|image|split|get|runtimeStyle'.split('|'), 0, {}))

// Content Change Plugin
jQuery.fn.contentChange = function (callback) {
    var elms = jQuery(this);
    elms.each(
      function (i) {
          var elm = jQuery(this);
          elm.data("lastContents", elm.html());
          window.watchContentChange = window.watchContentChange ? window.watchContentChange : [];
          window.watchContentChange.push({ "element": elm, "callback": callback });
      }
    )
    return elms;
}
setInterval(function () {
    if (window.watchContentChange) {
        for (i in window.watchContentChange) {
            if (window.watchContentChange[i].element.data("lastContents") != window.watchContentChange[i].element.html()) {
                window.watchContentChange[i].callback.apply(window.watchContentChange[i].element);
                window.watchContentChange[i].element.data("lastContents", window.watchContentChange[i].element.html())
            };
        }
    }
}, 500);

// ColorBox v1.3.9 - a full featured, light-weight, customizable lightbox based on jQuery 1.3
// c) 2009 Jack Moore - www.colorpowered.com - jack@colorpowered.com
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
(function ($, window) {
	
	var
	// ColorBox Default Settings.	
	// See http://colorpowered.com/colorbox for details.
	defaults = {
		transition: "elastic",
		speed: 300,
		width: false,
		initialWidth: "600",
		innerWidth: false,
		maxWidth: false,
		height: false,
		initialHeight: "450",
		innerHeight: false,
		maxHeight: false,
		scalePhotos: true,
		scrolling: true,
		inline: false,
		html: false,
		iframe: false,
		photo: false,
		href: false,
		title: false,
		rel: false,
		opacity: 0.9,
		preloading: true,
		current: "image {current} of {total}",
		previous: "previous",
		next: "next",
		close: "close",
		open: false,
		loop: true,
		slideshow: false,
		slideshowAuto: true,
		slideshowSpeed: 2500,
		slideshowStart: "start slideshow",
		slideshowStop: "stop slideshow",
		onOpen: false,
		onLoad: false,
		onComplete: false,
		onCleanup: false,
		onClosed: false,
		overlayClose: true,		
		escKey: true,
		arrowKey: true
	},
	
	// Abstracting the HTML and event identifiers for easy rebranding
	colorbox = 'colorbox',
	prefix = 'cbox',
	
	// Events	
	event_open = prefix + '_open',
	event_load = prefix + '_load',
	event_complete = prefix + '_complete',
	event_cleanup = prefix + '_cleanup',
	event_closed = prefix + '_closed',
	
	// Special Handling for IE
	isIE = $.browser.msie && !$.support.opacity, // feature detection alone gave a false positive on at least one phone browser and on some development versions of Chrome.
	isIE6 = isIE && $.browser.version < 7,
	event_ie6 = prefix + '_IE6',

	// Cached jQuery Object Variables
	$overlay,
	$box,
	$wrap,
	$content,
	$topBorder,
	$leftBorder,
	$rightBorder,
	$bottomBorder,
	$related,
	$window,
	$loaded,
	$loadingBay,
	$loadingOverlay,
	$title,
	$current,
	$slideshow,
	$next,
	$prev,
	$close,

	// Variables for cached values or use across multiple functions
	interfaceHeight,
	interfaceWidth,
	loadedHeight,
	loadedWidth,
	element,
	bookmark,
	index,
	settings,
	open,
	active,
	
	publicMethod,
	boxElement = prefix + 'Element';
	
	// ****************
	// HELPER FUNCTIONS
	// ****************

	// jQuery object generator to reduce code size
	function $div(id, css) { 
		id = id ? ' id="' + prefix + id + '"' : '';
		css = css ? ' style="' + css + '"' : '';
		return $('<div' + id + css + '/>');
	}

	// Convert % values to pixels
	function setSize(size, dimension) {
		dimension = dimension === 'x' ? $window.width() : $window.height();
		return (typeof size === 'string') ? Math.round((size.match(/%/) ? (dimension / 100) * parseInt(size, 10) : parseInt(size, 10))) : size;
	}

	// Checks an href to see if it is a photo.
	// There is a force photo option (photo: true) for hrefs that cannot be matched by this regex.
	function isImage(url) {
		url = $.isFunction(url) ? url.call(element) : url;
		return settings.photo || url.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i);
	}
	
	// Assigns functions results to their respective settings.  This allows functions to be used to set ColorBox options.
	function process() {
		for (var i in settings) {
			if ($.isFunction(settings[i]) && i.substring(0, 2) !== 'on') { // checks to make sure the function isn't one of the callbacks, they will be handled at the appropriate time.
			    settings[i] = settings[i].call(element);
			}
		}
		settings.rel = settings.rel || element.rel || 'nofollow';
		settings.href = settings.href || $(element).attr('href');
		settings.title = settings.title || element.title;
	}

	function launch(elem) {
		
		element = elem;
		
		settings = $.extend({}, $(element).data(colorbox));
		
		process(); // Convert functions to their returned values.
		
		if (settings.rel !== 'nofollow') {
			$related = $('.' + boxElement).filter(function () {
				var relRelated = $(this).data(colorbox).rel || this.rel;
				return (relRelated === settings.rel);
			});
			index = $related.index(element);
			
			// Check direct calls to ColorBox.
			if (index === -1) {
				$related = $related.add(element);
				index = $related.length - 1;
			}
		} else {
			$related = $(element);
			index = 0;
		}
		
		if (!open) {
			open = active = true; // Prevents the page-change action from queuing up if the visitor holds down the left or right keys.
			
			bookmark = element;
			
			try {
				bookmark.blur(); // Remove the focus from the calling element.
			}catch (e) {}
			
			$.event.trigger(event_open);
			if (settings.onOpen) {
				settings.onOpen.call(element);
			}
			
			// +settings.opacity avoids a problem in IE when using non-zero-prefixed-string-values, like '.5'
			$overlay.css({"opacity": +settings.opacity, "cursor": settings.overlayClose ? "pointer" : "auto"}).show();
			
			// Opens inital empty ColorBox prior to content being loaded.
			settings.w = setSize(settings.initialWidth, 'x');
			settings.h = setSize(settings.initialHeight, 'y');
			publicMethod.position(0);
			
			if (isIE6) {
				$window.bind('resize.' + event_ie6 + ' scroll.' + event_ie6, function () {
					$overlay.css({width: $window.width(), height: $window.height(), top: $window.scrollTop(), left: $window.scrollLeft()});
				}).trigger('scroll.' + event_ie6);
			}
		}
		
		$current.add($prev).add($next).add($slideshow).add($title).hide();
		
		$close.html(settings.close).show();
		
		publicMethod.slideshow();
		
		publicMethod.load();
	}

	// ****************
	// PUBLIC FUNCTIONS
	// Usage format: $.fn.colorbox.close();
	// Usage from within an iframe: parent.$.fn.colorbox.close();
	// ****************
	
	publicMethod = $.fn[colorbox] = $[colorbox] = function (options, callback) {
		var $this = this;
		
		if (!$this[0] && $this.selector) { // if a selector was given and it didn't match any elements, go ahead and exit.
			return $this;
		}
		
		options = options || {};
		
		if (callback) {
			options.onComplete = callback;
		}
		
		if (!$this[0] || $this.selector === undefined) { // detects $.colorbox() and $.fn.colorbox()
			$this = $('<a/>');
			options.open = true; // assume an immediate open
		}
		
		$this.each(function () {
			$(this).data(colorbox, $.extend({}, $(this).data(colorbox) || defaults, options)).addClass(boxElement);
		});
		
		if (options.open) {
			launch($this[0]);
		}
		
		return $this;
	};

	// Initialize ColorBox: store common calculations, preload the interface graphics, append the html.
	// This preps colorbox for a speedy open when clicked, and lightens the burdon on the browser by only
	// having to run once, instead of each time colorbox is opened.
	publicMethod.init = function () {
		// Create & Append jQuery Objects
		$window = $(window);
		$box = $div().attr({id: colorbox, 'class': isIE ? prefix + 'IE' : ''});
		$overlay = $div("Overlay", isIE6 ? 'position:absolute' : '').hide();
		
		$wrap = $div("Wrapper");
		$content = $div("Content").append(
			$loaded = $div("LoadedContent", 'width:0; height:0'),
			$loadingOverlay = $div("LoadingOverlay").add($div("LoadingGraphic")),
			$title = $div("Title"),
			$current = $div("Current"),
			$next = $div("Next"),
			$prev = $div("Previous"),
			$slideshow = $div("Slideshow"),
			$close = $div("Close")
		);
		$wrap.append( // The 3x3 Grid that makes up ColorBox
			$div().append(
				$div("TopLeft"),
				$topBorder = $div("TopCenter"),
				$div("TopRight")
			),
			$div().append(
				$leftBorder = $div("MiddleLeft"),
				$content,
				$rightBorder = $div("MiddleRight")
			),
			$div().append(
				$div("BottomLeft"),
				$bottomBorder = $div("BottomCenter"),
				$div("BottomRight")
			)
		).children().children().css({'float': 'left'});
		
		$loadingBay = $div(false, 'position:absolute; width:9999px; visibility:hidden; display:none');

		$('form').prepend($overlay, $box.append($wrap, $loadingBay));
		
		$content.children()
		.hover(function () {
			$(this).addClass('hover');
		}, function () {
			$(this).removeClass('hover');
		}).addClass('hover');
		
		// Cache values needed for size calculations
		interfaceHeight = $topBorder.height() + $bottomBorder.height() + $content.outerHeight(true) - $content.height();//Subtraction needed for IE6
		interfaceWidth = $leftBorder.width() + $rightBorder.width() + $content.outerWidth(true) - $content.width();
		loadedHeight = $loaded.outerHeight(true);
		loadedWidth = $loaded.outerWidth(true);
		
		// Setting padding to remove the need to do size conversions during the animation step.
		$box.css({"padding-bottom": interfaceHeight, "padding-right": interfaceWidth}).hide();
		
		// Setup button events.
		$next.click(publicMethod.next);
		$prev.click(publicMethod.prev);
		$close.click(publicMethod.close);
		
		// Adding the 'hover' class allowed the browser to load the hover-state
		// background graphics.  The class can now can be removed.
		$content.children().removeClass('hover');
		
		$('.' + boxElement).live('click', function (e) {
			// checks to see if it was a non-left mouse-click and for clicks modified with ctrl, shift, or alt.
			if ((e.button !== 0 && typeof e.button !== 'undefined') || e.ctrlKey || e.shiftKey || e.altKey) {
				return true;
			} else {
				launch(this);			
				return false;
			}
		});
		
		$overlay.click(function () {
			if (settings.overlayClose) {
				publicMethod.close();
			}
		});
		
		// Set Navigation Key Bindings
		$(document).bind("keydown", function (e) {
			if (open && settings.escKey && e.keyCode === 27) {
				e.preventDefault();
				publicMethod.close();
			}
			if (open && settings.arrowKey && !active && $related[1]) {
				if (e.keyCode === 37 && (index || settings.loop)) {
					e.preventDefault();
					$prev.click();
				} else if (e.keyCode === 39 && (index < $related.length - 1 || settings.loop)) {
					e.preventDefault();
					$next.click();
				}
			}
		});
	};
	
	publicMethod.remove = function () {
		$box.add($overlay).remove();
		$('.' + boxElement).die('click').removeData(colorbox).removeClass(boxElement);
	};

	publicMethod.position = function (speed, loadedCallback) {
		var
		animate_speed,
		// keeps the top and left positions within the browser's viewport.
		posTop = Math.max($window.height() - settings.h - loadedHeight - interfaceHeight, 0) / 2 + $window.scrollTop(),
		posLeft = Math.max($window.width() - settings.w - loadedWidth - interfaceWidth, 0) / 2 + $window.scrollLeft();
		
		// setting the speed to 0 to reduce the delay between same-sized content.
		animate_speed = ($box.width() === settings.w + loadedWidth && $box.height() === settings.h + loadedHeight) ? 0 : speed;
		
		// this gives the wrapper plenty of breathing room so it's floated contents can move around smoothly,
		// but it has to be shrank down around the size of div#colorbox when it's done.  If not,
		// it can invoke an obscure IE bug when using iframes.
		$wrap[0].style.width = $wrap[0].style.height = "9999px";
		
		function modalDimensions(that) {
			// loading overlay height has to be explicitly set for IE6.
			$topBorder[0].style.width = $bottomBorder[0].style.width = $content[0].style.width = that.style.width;
			$loadingOverlay[0].style.height = $loadingOverlay[1].style.height = $content[0].style.height = $leftBorder[0].style.height = $rightBorder[0].style.height = that.style.height;
		}
		
		$box.dequeue().animate({width: settings.w + loadedWidth, height: settings.h + loadedHeight, top: posTop, left: posLeft}, {
			duration: animate_speed,
			complete: function () {
				modalDimensions(this);
				
				active = false;
				
				// shrink the wrapper down to exactly the size of colorbox to avoid a bug in IE's iframe implementation.
				$wrap[0].style.width = (settings.w + loadedWidth + interfaceWidth) + "px";
				$wrap[0].style.height = (settings.h + loadedHeight + interfaceHeight) + "px";
				
				if (loadedCallback) {
					loadedCallback();
				}
			},
			step: function () {
				modalDimensions(this);
			}
		});
	};

	publicMethod.resize = function (options) {
		if (open) {
			options = options || {};
			
			if (options.width) {
				settings.w = setSize(options.width, 'x') - loadedWidth - interfaceWidth;
			}
			if (options.innerWidth) {
				settings.w = setSize(options.innerWidth, 'x');
			}
			$loaded.css({width: settings.w});
			
			if (options.height) {
				settings.h = setSize(options.height, 'y') - loadedHeight - interfaceHeight;
			}
			if (options.innerHeight) {
				settings.h = setSize(options.innerHeight, 'y');
			}
			if (!options.innerHeight && !options.height) {				
				var $child = $loaded.wrapInner("<div style='overflow:auto'></div>").children(); // temporary wrapper to get an accurate estimate of just how high the total content should be.
				settings.h = $child.height();
				$child.replaceWith($child.children()); // ditch the temporary wrapper div used in height calculation
			}
			$loaded.css({height: settings.h});
			
			publicMethod.position(settings.transition === "none" ? 0 : settings.speed);
		}
	};

	publicMethod.prep = function (object) {
		if (!open) {
			return;
		}
		
		var photo,
		speed = settings.transition === "none" ? 0 : settings.speed;
		
		$window.unbind('resize.' + prefix);
		$loaded.remove();
		$loaded = $div('LoadedContent').html(object);
		
		function getWidth() {
			settings.w = settings.w || $loaded.width();
			settings.w = settings.mw && settings.mw < settings.w ? settings.mw : settings.w;
			return settings.w;
		}
		function getHeight() {
			settings.h = settings.h || $loaded.height();
			settings.h = settings.mh && settings.mh < settings.h ? settings.mh : settings.h;
			return settings.h;
		}
		
		$loaded.hide()
		.appendTo($loadingBay.show())// content has to be appended to the DOM for accurate size calculations.
		.css({width: getWidth(), overflow: settings.scrolling ? 'auto' : 'hidden'})
		.css({height: getHeight()})// sets the height independently from the width in case the new width influences the value of height.
		.prependTo($content);
		
		$loadingBay.hide();
		
		$('#' + prefix + 'Photo').css({cssFloat: 'none'});// floating the IMG removes the bottom line-height and fixed a problem where IE miscalculates the width of the parent element as 100% of the document width.
		
		// Hides SELECT elements in IE6 because they would otherwise sit on top of the overlay.
		if (isIE6) {
			$('select').not($box.find('select')).filter(function () {
				return this.style.visibility !== 'hidden';
			}).css({'visibility': 'hidden'}).one(event_cleanup, function () {
				this.style.visibility = 'inherit';
			});
		}
				
		function setPosition(s) {
			var prev, prevSrc, next, nextSrc, total = $related.length, loop = settings.loop;
			publicMethod.position(s, function () {
				function defilter() {
					if (isIE) {
						//IE adds a filter when ColorBox fades in and out that can cause problems if the loaded content contains transparent pngs.
						$box[0].style.removeAttribute("filter");
					}
				}
				
				if (!open) {
					return;
				}
				
				if (isIE) {
					//This fadeIn helps the bicubic resampling to kick-in.
					if (photo) {
						$loaded.fadeIn(100);
					}
				}
				
				//Waited until the iframe is added to the DOM & it is visible before setting the src.
				//This increases compatability with pages using DOM dependent JavaScript.
				if (settings.iframe) {
					$("<iframe frameborder=0" + (settings.scrolling ? "" : " scrolling='no'") + (isIE ? " allowtransparency='true'" : '') + "/>")
					.attr({src: settings.href, name: new Date().getTime()})
					.appendTo($loaded);
				}
				
				$loaded.show();
				
				$title.show().html(settings.title);
				
				if (total > 1) { // handle grouping
					$current.html(settings.current.replace(/\{current\}/, index + 1).replace(/\{total\}/, total)).show();
					
					$next[(loop || index < total - 1) ? "show" : "hide"]().html(settings.next);
					$prev[(loop || index) ? "show" : "hide"]().html(settings.previous);
					
					prev = index ? $related[index - 1] : $related[total - 1];
					next = index < total - 1 ? $related[index + 1] : $related[0];
					
					if (settings.slideshow) {
						$slideshow.show();
						if (index === total - 1 && !loop && $box.is('.' + prefix + 'Slideshow_on')) {
							$slideshow.click();
						}
					}
					
					// Preloads images within a rel group
					if (settings.preloading) {
						nextSrc = $(next).data(colorbox).href || next.href;
						prevSrc = $(prev).data(colorbox).href || prev.href;
						
						if (isImage(nextSrc)) {
							$('<img/>')[0].src = nextSrc;
						}
						
						if (isImage(prevSrc)) {
							$('<img/>')[0].src = prevSrc;
						}
					}
				}
				
				$loadingOverlay.hide();
				
				if (settings.transition === 'fade') {
					$box.fadeTo(speed, 1, function () {
						defilter();
					});
				} else {
					defilter();
				}
				
				$window.bind('resize.' + prefix, function () {
					publicMethod.position(0);
				});
				
				$.event.trigger(event_complete);
				if (settings.onComplete) {
					settings.onComplete.call(element);
				}
			});
		}
		
		if (settings.transition === 'fade') {
			$box.fadeTo(speed, 0, function () {
				setPosition(0);
			});
		} else {
			setPosition(speed);
		}
	};

	publicMethod.load = function () {
		var href, img, setResize, prep = publicMethod.prep;
		
		active = true;
		
		element = $related[index];
		
		settings = $.extend({}, $(element).data(colorbox));
		
		//convert functions to static values
		process();
		
		$.event.trigger(event_load);
		if (settings.onLoad) {
			settings.onLoad.call(element);
		}
		
		settings.h = settings.height ?
				setSize(settings.height, 'y') - loadedHeight - interfaceHeight :
				settings.innerHeight && setSize(settings.innerHeight, 'y');
		
		settings.w = settings.width ?
				setSize(settings.width, 'x') - loadedWidth - interfaceWidth :
				settings.innerWidth && setSize(settings.innerWidth, 'x');
		
		// Sets the minimum dimensions for use in image scaling
		settings.mw = settings.w;
		settings.mh = settings.h;
		
		// Re-evaluate the minimum width and height based on maxWidth and maxHeight values.
		// If the width or height exceed the maxWidth or maxHeight, use the maximum values instead.
		if (settings.maxWidth) {
			settings.mw = setSize(settings.maxWidth, 'x') - loadedWidth - interfaceWidth;
			settings.mw = settings.w && settings.w < settings.mw ? settings.w : settings.mw;
		}
		if (settings.maxHeight) {
			settings.mh = setSize(settings.maxHeight, 'y') - loadedHeight - interfaceHeight;
			settings.mh = settings.h && settings.h < settings.mh ? settings.h : settings.mh;
		}
		
		href = settings.href;
		
		$loadingOverlay.show();
		
		if (settings.inline) {
			// Inserts an empty placeholder where inline content is being pulled from.
			// An event is bound to put inline content back when ColorBox closes or loads new content.
			$div('InlineTemp').hide().insertBefore($(href)[0]).bind(event_load + ' ' + event_cleanup, function () {
				$(this).replaceWith($loaded.children());
			});
			prep($(href));
		} else if (settings.iframe) {
			// IFrame element won't be added to the DOM until it is ready to be displayed,
			// to avoid problems with DOM-ready JS that might be trying to run in that iframe.
			prep(" ");
		} else if (settings.html) {
			prep(settings.html);
		} else if (isImage(href)) {
			img = new Image();
			img.onload = function () {
				var percent;
				
				img.onload = null;
				img.id = prefix + 'Photo';
				$(img).css({margin: 'auto', border: 'none', display: 'block', cssFloat: 'left'});
				
				if (settings.scalePhotos) {
					setResize = function () {
						img.height -= img.height * percent;
						img.width -= img.width * percent;	
					};
					if (settings.mw && img.width > settings.mw) {
						percent = (img.width - settings.mw) / img.width;
						setResize();
					}
					if (settings.mh && img.height > settings.mh) {
						percent = (img.height - settings.mh) / img.height;
						setResize();
					}
				}
				
				if (settings.h) {
					img.style.marginTop = Math.max(settings.h - img.height, 0) / 2 + 'px';
				}
				
				setTimeout(function () { // Chrome will sometimes report a 0 by 0 size if there isn't pause in execution
					prep(img);
				}, 1);
				
				if ($related[1] && (index < $related.length - 1 || settings.loop)) {
					$(img).css({cursor: 'pointer'}).click(publicMethod.next);
				}
				
				if (isIE) {
					img.style.msInterpolationMode = 'bicubic';
				}
			};
			img.src = href;
		} else {
			$div().appendTo($loadingBay).load(href, function (data, status, xhr) {
				prep(status === 'error' ? 'Request unsuccessful: ' + xhr.statusText : this);
			});
		}
	};

	// Navigates to the next page/image in a set.
	publicMethod.next = function () {
		if (!active) {
			index = index < $related.length - 1 ? index + 1 : 0;
			publicMethod.load();
		}
	};
	
	publicMethod.prev = function () {
		if (!active) {
			index = index ? index - 1 : $related.length - 1;
			publicMethod.load();
		}
	};

	publicMethod.slideshow = function () {
		var stop, timeOut, className = prefix + 'Slideshow_';
		
		$slideshow.bind(event_closed, function () {
			$slideshow.unbind();
			clearTimeout(timeOut);
			$box.removeClass(className + "off " + className + "on");
		});
		
		function start() {
			$slideshow
			.text(settings.slideshowStop)
			.bind(event_complete, function () {
				timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
			})
			.bind(event_load, function () {
				clearTimeout(timeOut);	
			}).one("click", function () {
				stop();
			});
			$box.removeClass(className + "off").addClass(className + "on");
		}
		
		stop = function () {
			clearTimeout(timeOut);
			$slideshow
			.text(settings.slideshowStart)
			.unbind(event_complete + ' ' + event_load)
			.one("click", function () {
				start();
				timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
			});
			$box.removeClass(className + "on").addClass(className + "off");
		};
		
		if (settings.slideshow && $related[1]) {
			if (settings.slideshowAuto) {
				start();
			} else {
				stop();
			}
		}
	};

	// Note: to use this within an iframe use the following format: parent.$.fn.colorbox.close();
	publicMethod.close = function () {
		if (open) {
			open = false;
			
			$.event.trigger(event_cleanup);
			
			if (settings.onCleanup) {
				settings.onCleanup.call(element);
			}
			
			$window.unbind('.' + prefix + ' .' + event_ie6);
			
			$overlay.fadeTo('fast', 0);
			
			$box.stop().fadeTo('fast', 0, function () {
				$box.find('iframe').attr('src', 'about:blank'); // change the location of the iframe to avoid a problem in IE with flash objects not clearing.
				
				$loaded.remove();
				
				$box.add($overlay).css({'opacity': 1, cursor: 'auto'}).hide();
				
				try {
					bookmark.focus();
				} catch (e) {
					// do nothing
				}
				
				setTimeout(function () {
					$.event.trigger(event_closed);
					if (settings.onClosed) {
						settings.onClosed.call(element);
					}
				}, 1);
			});
		}
	};

	// A method for fetching the current element ColorBox is referencing.
	// returns a jQuery object.
	publicMethod.element = function () {
		return $(element);
	};

	publicMethod.settings = defaults;

	// Initializes ColorBox when the DOM has loaded
	$(publicMethod.init);

}(jQuery, this));

// maphighlight 
(function($) {
	var has_VML, create_canvas_for, add_shape_to, clear_canvas, shape_from_area,
		canvas_style, fader, hex_to_decimal, css3color, is_image_loaded, options_from_area;

	has_VML = document.namespaces;
	has_canvas = !!document.createElement('canvas').getContext;

	if(!(has_canvas || has_VML)) {
		$.fn.maphilight = function() { return this; };
		return;
	}
	
	if(has_canvas) {
		fader = function(element, opacity, interval) {
			if(opacity <= 1) {
				element.style.opacity = opacity;
				window.setTimeout(fader, 10, element, opacity + 0.1, 10);
			}
		};
		
		hex_to_decimal = function(hex) {
			return Math.max(0, Math.min(parseInt(hex, 16), 255));
		};
		css3color = function(color, opacity) {
			return 'rgba('+hex_to_decimal(color.substr(0,2))+','+hex_to_decimal(color.substr(2,2))+','+hex_to_decimal(color.substr(4,2))+','+opacity+')';
		};
		create_canvas_for = function(img) {
			var c = $('<canvas style="width:'+img.width+'px;height:'+img.height+'px;"></canvas>').get(0);
			c.getContext("2d").clearRect(0, 0, c.width, c.height);
			return c;
		};
		add_shape_to = function(canvas, shape, coords, options, name) {
			var i, context = canvas.getContext('2d');
			context.beginPath();
			if(shape == 'rect') {
				context.rect(coords[0], coords[1], coords[2] - coords[0], coords[3] - coords[1]);
			} else if(shape == 'poly') {
				context.moveTo(coords[0], coords[1]);
				for(i=2; i < coords.length; i+=2) {
					context.lineTo(coords[i], coords[i+1]);
				}
			} else if(shape == 'circ') {
				context.arc(coords[0], coords[1], coords[2], 0, Math.PI * 2, false);
			}
			context.closePath();
			if(options.fill) {
				context.fillStyle = css3color(options.fillColor, options.fillOpacity);
				context.fill();
			}
			if(options.stroke) {
				context.strokeStyle = css3color(options.strokeColor, options.strokeOpacity);
				context.lineWidth = options.strokeWidth;
				context.stroke();
			}
			if(options.fade) {
				fader(canvas, 0);
			}
		};
		clear_canvas = function(canvas) {
			canvas.getContext('2d').clearRect(0, 0, canvas.width,canvas.height);
		};
	} else {   // ie executes this code
		create_canvas_for = function(img) {
			return $('<var style="zoom:1;overflow:hidden;display:block;width:'+img.width+'px;height:'+img.height+'px;"></var>').get(0);
		};
		add_shape_to = function(canvas, shape, coords, options, name) {
			var fill, stroke, opacity, e;
			fill = '<v:fill color="#'+options.fillColor+'" opacity="'+(options.fill ? options.fillOpacity : 0)+'" />';
			stroke = (options.stroke ? 'strokeweight="'+options.strokeWidth+'" stroked="t" strokecolor="#'+options.strokeColor+'"' : 'stroked="f"');
			opacity = '<v:stroke opacity="'+options.strokeOpacity+'"/>';
			if(shape == 'rect') {
				e = $('<v:rect name="'+name+'" filled="t" '+stroke+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+coords[0]+'px;top:'+coords[1]+'px;width:'+(coords[2] - coords[0])+'px;height:'+(coords[3] - coords[1])+'px;"></v:rect>');
			} else if(shape == 'poly') {
				e = $('<v:shape name="'+name+'" filled="t" '+stroke+' coordorigin="0,0" coordsize="'+canvas.width+','+canvas.height+'" path="m '+coords[0]+','+coords[1]+' l '+coords.join(',')+' x e" style="zoom:1;margin:0;padding:0;display:block;position:absolute;top:0px;left:0px;width:'+canvas.width+'px;height:'+canvas.height+'px;"></v:shape>');
			} else if(shape == 'circ') {
				e = $('<v:oval name="'+name+'" filled="t" '+stroke+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+(coords[0] - coords[2])+'px;top:'+(coords[1] - coords[2])+'px;width:'+(coords[2]*2)+'px;height:'+(coords[2]*2)+'px;"></v:oval>');
			}
			e.get(0).innerHTML = fill+opacity;
			$(canvas).append(e);
		};
		clear_canvas = function(canvas) {
			$(canvas).find('[name=highlighted]').remove();
		};
	}
	
	shape_from_area = function(area) {
		var i, coords = area.getAttribute('coords').split(',');
		for (i=0; i < coords.length; i++) { coords[i] = parseFloat(coords[i]); }
		return [area.getAttribute('shape').toLowerCase().substr(0,4), coords];
	};

	options_from_area = function(area, options) {
		var $area = $(area);
		return $.extend({}, options, $.metadata ? $area.metadata() : false, $area.data('maphilight'));
	};
	
	is_image_loaded = function(img) {
		if(!img.complete) { return false; } // IE
		if(typeof img.naturalWidth != "undefined" && img.naturalWidth == 0) { return false; } // Others
		return true;
	};

	canvas_style = {
		position: 'absolute',
		left: 0,
		top: 0,
		padding: 0,
		border: 0
	};
	
	var ie_hax_done = false;
	$.fn.maphilight = function(opts) {
		opts = $.extend({}, $.fn.maphilight.defaults, opts);
		
		if($.browser.msie && !ie_hax_done) {
			document.namespaces.add("v", "urn:schemas-microsoft-com:vml");
			var style = document.createStyleSheet();
			var shapes = ['shape','rect', 'oval', 'circ', 'fill', 'stroke', 'imagedata', 'group','textbox'];
			$.each(shapes,
				function() {
					style.addRule('v\\:' + this, "behavior: url(#default#VML); antialias:true");
				}
			);
			ie_hax_done = true;
		}
		
		return this.each(function() {
			var img, wrap, options, map, canvas, canvas_always, mouseover, highlighted_shape, usemap;
			img = $(this);

			if(!is_image_loaded(this)) {
				// If the image isn't fully loaded, this won't work right.  Try again later.
				return window.setTimeout(function() {
					img.maphilight(opts);
				}, 200);
			}

			options = $.extend({}, opts, $.metadata ? img.metadata() : false, img.data('maphilight'));

			// jQuery bug with Opera, results in full-url#usemap being returned from jQuery's attr.
			// So use raw getAttribute instead.
			usemap = img.get(0).getAttribute('usemap');

			map = $('map[name="'+usemap.substr(1)+'"]');

			if(!(img.is('img') && usemap && map.size() > 0)) { return; }

			if(img.hasClass('maphilighted')) {
				// We're redrawing an old map, probably to pick up changes to the options.
				// Just clear out all the old stuff.
				var wrapper = img.parent();
				img.insertBefore(wrapper);
				wrapper.remove();
				$(map).unbind('.maphilight').find('area[coords]').unbind('.maphilight');
			}

			wrap = $('<div></div>').css({
				display:'block',
				background:'url('+this.src+')',
				position:'relative',
				padding:0,
				width:this.width,
				height:this.height
				});
			if(options.wrapClass) {
				if(options.wrapClass === true) {
					wrap.addClass($(this).attr('class'));
				} else {
					wrap.addClass(options.wrapClass);
				}
			}
			img.before(wrap).css('opacity', 0).css(canvas_style).remove();
			if($.browser.msie) { img.css('filter', 'Alpha(opacity=0)'); }
			wrap.append(img);
			
			canvas = create_canvas_for(this);
			$(canvas).css(canvas_style);
			canvas.height = this.height;
			canvas.width = this.width;
			
			mouseover = function(e) {
				var shape, area_options;
				area_options = options_from_area(this, options);
				if(
					!area_options.neverOn
					&&
					!area_options.alwaysOn
				) {
					shape = shape_from_area(this);
					add_shape_to(canvas, shape[0], shape[1], area_options, "highlighted");
					if(area_options.groupBy && $(this).attr(area_options.groupBy)) {
						var first = this;
						map.find('area['+area_options.groupBy+'='+$(this).attr(area_options.groupBy)+']').each(function() {
							if(this != first) {
								var subarea_options = options_from_area(this, options);
								if(!subarea_options.neverOn && !subarea_options.alwaysOn) {
									var shape = shape_from_area(this);
									add_shape_to(canvas, shape[0], shape[1], subarea_options, "highlighted");
								}
							}
						});
					}
				}
			}

			$(map).bind('alwaysOn.maphilight', function() {
				// Check for areas with alwaysOn set. These are added to a *second* canvas,
				// which will get around flickering during fading.
				if(canvas_always) {
					clear_canvas(canvas_always)
				}
				if(!has_canvas) {
					$(canvas).empty();
				}
				$(map).find('area[coords]').each(function() {
					var shape, area_options;
					area_options = options_from_area(this, options);
					if(area_options.alwaysOn) {
						if(!canvas_always && has_canvas) {
							canvas_always = create_canvas_for(img.get());
							$(canvas_always).css(canvas_style);
							canvas_always.width = img.width();
							canvas_always.height = img.height();
							img.before(canvas_always);
						}
						shape = shape_from_area(this);
						if (has_canvas) {
							add_shape_to(canvas_always, shape[0], shape[1], area_options, "");
						} else {
							add_shape_to(canvas, shape[0], shape[1], area_options, "");
						}
					}
				});
			});
			
			if(options.alwaysOn) {
				$(map).find('area[coords]').each(mouseover);
			} else {
				$(map).find('area[coords]')
					.trigger('alwaysOn.maphilight')
					.bind('mouseover.maphilight', mouseover)
					.bind('mouseout.maphilight', function(e) { clear_canvas(canvas); });
			}
			
			img.before(canvas); // if we put this after, the mouseover events wouldn't fire.
			
			img.addClass('maphilighted');
		});
	};
	$.fn.maphilight.defaults = {
		fill: true,
		fillColor: '000000',
		fillOpacity: 0.2,
		stroke: true,
		strokeColor: 'ff0000',
		strokeOpacity: 1,
		strokeWidth: 1,
		fade: true,
		alwaysOn: false,
		neverOn: false,
		groupBy: false,
		wrapClass: true
	};
})(jQuery);


/*
* Metadata - jQuery plugin for parsing metadata from elements
*
* Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan
*
* Dual licensed under the MIT and GPL licenses:
*   http://www.opensource.org/licenses/mit-license.php
*   http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.metadata.js 3640 2007-10-11 18:34:38Z pmclanahan $
*
*/

/**
* Sets the type of metadata to use. Metadata is encoded in JSON, and each property
* in the JSON will become a property of the element itself.
*
* There are four supported types of metadata storage:
*
*   attr:  Inside an attribute. The name parameter indicates *which* attribute.
*          
*   class: Inside the class attribute, wrapped in curly braces: { }
*   
*   elem:  Inside a child element (e.g. a script tag). The
*          name parameter indicates *which* element.
*   html5: Values are stored in data-* attributes.
*          
* The metadata for an element is loaded the first time the element is accessed via jQuery.
*
* As a result, you can define the metadata type, use $(expr) to load the metadata into the elements
* matched by expr, then redefine the metadata type and run another $(expr) for other elements.
* 
* @name $.metadata.setType
*
* @example <p id="one" class="some_class {item_id: 1, item_label: 'Label'}">This is a p</p>
* @before $.metadata.setType("class")
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
* @desc Reads metadata from the class attribute
* 
* @example <p id="one" class="some_class" data="{item_id: 1, item_label: 'Label'}">This is a p</p>
* @before $.metadata.setType("attr", "data")
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
* @desc Reads metadata from a "data" attribute
* 
* @example <p id="one" class="some_class"><script>{item_id: 1, item_label: 'Label'}</script>This is a p</p>
* @before $.metadata.setType("elem", "script")
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
* @desc Reads metadata from a nested script element
* 
* @example <p id="one" class="some_class" data-item_id="1" data-item_label="Label">This is a p</p>
* @before $.metadata.setType("html5")
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
* @desc Reads metadata from a series of data-* attributes
*
* @param String type The encoding type
* @param String name The name of the attribute to be used to get metadata (optional)
* @cat Plugins/Metadata
* @descr Sets the type of encoding to be used when loading metadata for the first time
* @type undefined
* @see metadata()
*/

(function ($) {

    $.extend({
        metadata: {
            defaults: {
                type: 'class',
                name: 'metadata',
                cre: /({.*})/,
                single: 'metadata'
            },
            setType: function (type, name) {
                this.defaults.type = type;
                this.defaults.name = name;
            },
            get: function (elem, opts) {
                var settings = $.extend({}, this.defaults, opts);
                // check for empty string in single property
                if (!settings.single.length) settings.single = 'metadata';

                var data = $.data(elem, settings.single);
                // returned cached data if it already exists
                if (data) return data;

                data = "{}";

                var getData = function (data) {
                    if (typeof data != "string") return data;

                    if (data.indexOf('{') < 0) {
                        data = eval("(" + data + ")");
                    }
                }

                var getObject = function (data) {
                    if (typeof data != "string") return data;

                    data = eval("(" + data + ")");
                    return data;
                }

                if (settings.type == "html5") {
                    var object = {};
                    $(elem.attributes).each(function () {
                        var name = this.nodeName;
                        if (name.match(/^data-/)) name = name.replace(/^data-/, '');
                        else return true;
                        object[name] = getObject(this.nodeValue);
                    });
                } else {
                    if (settings.type == "class") {
                        var m = settings.cre.exec(elem.className);
                        if (m)
                            data = m[1];
                    } else if (settings.type == "elem") {
                        if (!elem.getElementsByTagName) return;
                        var e = elem.getElementsByTagName(settings.name);
                        if (e.length)
                            data = $.trim(e[0].innerHTML);
                    } else if (elem.getAttribute != undefined) {
                        var attr = elem.getAttribute(settings.name);
                        if (attr)
                            data = attr;
                    }
                    object = getObject(data.indexOf("{") < 0 ? "{" + data + "}" : data);
                }

                $.data(elem, settings.single, object);
                return object;
            }
        }
    });

    /**
    * Returns the metadata object for the first member of the jQuery object.
    *
    * @name metadata
    * @descr Returns element's metadata object
    * @param Object opts An object contianing settings to override the defaults
    * @type jQuery
    * @cat Plugins/Metadata
    */
    $.fn.metadata = function (opts) {
        return $.metadata.get(this[0], opts);
    };

})(jQuery);

/*
### jQuery Star Rating Plugin v3.13 - 2009-03-26 ###
* Home: http://www.fyneworks.com/jquery/star-rating/
* Code: http://code.google.com/p/jquery-star-rating-plugin/
*
* Dual licensed under the MIT and GPL licenses:
*   http://www.opensource.org/licenses/mit-license.php
*   http://www.gnu.org/licenses/gpl.html
###
*/
eval(function (p, a, c, k, e, r) { e = function (c) { return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) r[e(c)] = k[c] || e(c); k = [function (e) { return r[e] } ]; e = function () { return '\\w+' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p } (';5(29.1j)(7($){5($.1L.1J)1I{1t.1H("1K",J,H)}1M(e){};$.n.3=7(i){5(4.Q==0)k 4;5(A I[0]==\'1h\'){5(4.Q>1){8 j=I;k 4.W(7(){$.n.3.y($(4),j)})};$.n.3[I[0]].y(4,$.1T(I).1U(1)||[]);k 4};8 i=$.12({},$.n.3.1s,i||{});$.n.3.K++;4.2a(\'.9-3-1f\').o(\'9-3-1f\').W(7(){8 a,l=$(4);8 b=(4.23||\'21-3\').1v(/\\[|\\]/g,\'Z\').1v(/^\\Z+|\\Z+$/g,\'\');8 c=$(4.1X||1t.1W);8 d=c.6(\'3\');5(!d||d.18!=$.n.3.K)d={z:0,18:$.n.3.K};8 e=d[b];5(e)a=e.6(\'3\');5(e&&a)a.z++;x{a=$.12({},i||{},($.1b?l.1b():($.1S?l.6():s))||{},{z:0,F:[],v:[]});a.w=d.z++;e=$(\'<1R V="9-3-1Q"/>\');l.1P(e);e.o(\'3-15-T-17\');5(l.S(\'R\'))a.m=H;e.1c(a.E=$(\'<P V="3-E"><a 14="\'+a.E+\'">\'+a.1d+\'</a></P>\').1g(7(){$(4).3(\'O\');$(4).o(\'9-3-N\')}).1i(7(){$(4).3(\'u\');$(4).G(\'9-3-N\')}).1l(7(){$(4).3(\'r\')}).6(\'3\',a))};8 f=$(\'<P V="9-3 q-\'+a.w+\'"><a 14="\'+(4.14||4.1p)+\'">\'+4.1p+\'</a></P>\');e.1c(f);5(4.11)f.S(\'11\',4.11);5(4.1r)f.o(4.1r);5(a.1F)a.t=2;5(A a.t==\'1u\'&&a.t>0){8 g=($.n.10?f.10():0)||a.1w;8 h=(a.z%a.t),Y=1y.1z(g/a.t);f.10(Y).1A(\'a\').1B({\'1C-1D\':\'-\'+(h*Y)+\'1E\'})};5(a.m)f.o(\'9-3-1o\');x f.o(\'9-3-1G\').1g(7(){$(4).3(\'1n\');$(4).3(\'D\')}).1i(7(){$(4).3(\'u\');$(4).3(\'C\')}).1l(7(){$(4).3(\'r\')});5(4.L)a.p=f;l.1q();l.1N(7(){$(4).3(\'r\')});f.6(\'3.l\',l.6(\'3.9\',f));a.F[a.F.Q]=f[0];a.v[a.v.Q]=l[0];a.q=d[b]=e;a.1O=c;l.6(\'3\',a);e.6(\'3\',a);f.6(\'3\',a);c.6(\'3\',d)});$(\'.3-15-T-17\').3(\'u\').G(\'3-15-T-17\');k 4};$.12($.n.3,{K:0,D:7(){8 a=4.6(\'3\');5(!a)k 4;5(!a.D)k 4;8 b=$(4).6(\'3.l\')||$(4.U==\'13\'?4:s);5(a.D)a.D.y(b[0],[b.M(),$(\'a\',b.6(\'3.9\'))[0]])},C:7(){8 a=4.6(\'3\');5(!a)k 4;5(!a.C)k 4;8 b=$(4).6(\'3.l\')||$(4.U==\'13\'?4:s);5(a.C)a.C.y(b[0],[b.M(),$(\'a\',b.6(\'3.9\'))[0]])},1n:7(){8 a=4.6(\'3\');5(!a)k 4;5(a.m)k;4.3(\'O\');4.1a().19().X(\'.q-\'+a.w).o(\'9-3-N\')},O:7(){8 a=4.6(\'3\');5(!a)k 4;5(a.m)k;a.q.1V().X(\'.q-\'+a.w).G(\'9-3-1k\').G(\'9-3-N\')},u:7(){8 a=4.6(\'3\');5(!a)k 4;4.3(\'O\');5(a.p){a.p.6(\'3.l\').S(\'L\',\'L\');a.p.1a().19().X(\'.q-\'+a.w).o(\'9-3-1k\')}x $(a.v).1m(\'L\');a.E[a.m||a.1Y?\'1q\':\'1Z\']();4.20()[a.m?\'o\':\'G\'](\'9-3-1o\')},r:7(a,b){8 c=4.6(\'3\');5(!c)k 4;5(c.m)k;c.p=s;5(A a!=\'B\'){5(A a==\'1u\')k $(c.F[a]).3(\'r\',B,b);5(A a==\'1h\')$.W(c.F,7(){5($(4).6(\'3.l\').M()==a)$(4).3(\'r\',B,b)})}x c.p=4[0].U==\'13\'?4.6(\'3.9\'):(4.22(\'.q-\'+c.w)?4:s);4.6(\'3\',c);4.3(\'u\');8 d=$(c.p?c.p.6(\'3.l\'):s);5((b||b==B)&&c.1e)c.1e.y(d[0],[d.M(),$(\'a\',c.p)[0]])},m:7(a,b){8 c=4.6(\'3\');5(!c)k 4;c.m=a||a==B?H:J;5(b)$(c.v).S("R","R");x $(c.v).1m("R");4.6(\'3\',c);4.3(\'u\')},1x:7(){4.3(\'m\',H,H)},24:7(){4.3(\'m\',J,J)}});$.n.3.1s={E:\'25 26\',1d:\'\',t:0,1w:16};$(7(){$(\'l[27=28].9\').3()})})(1j);', 62, 135, '|||rating|this|if|data|function|var|star|||||||||||return|input|readOnly|fn|addClass|current|rater|select|null|split|draw|inputs|serial|else|apply|count|typeof|undefined|blur|focus|cancel|stars|removeClass|true|arguments|false|calls|checked|val|hover|drain|div|length|disabled|attr|be|tagName|class|each|filter|spw|_|width|id|extend|INPUT|title|to||drawn|call|andSelf|prevAll|metadata|append|cancelValue|callback|applied|mouseover|string|mouseout|jQuery|on|click|removeAttr|fill|readonly|value|hide|className|options|document|number|replace|starWidth|disable|Math|floor|find|css|margin|left|px|half|live|execCommand|try|msie|BackgroundImageCache|browser|catch|change|context|before|control|span|meta|makeArray|slice|children|body|form|required|show|siblings|unnamed|is|name|enable|Cancel|Rating|type|radio|window|not'.split('|'), 0, {}))

/*
* jQuery Cycle Plugin (with Transition Definitions)
* Examples and documentation at: http://jquery.malsup.com/cycle/
* Copyright (c) 2007-2010 M. Alsup
* Version: 2.94 (20-DEC-2010)
* Dual licensed under the MIT and GPL licenses.
* http://jquery.malsup.com/license.html
* Requires: jQuery v1.2.6 or later
*/
; (function ($) { var ver = "2.94"; if ($.support == undefined) { $.support = { opacity: !($.browser.msie) }; } function debug(s) { if ($.fn.cycle.debug) { log(s); } } function log() { if (window.console && window.console.log) { window.console.log("[cycle] " + Array.prototype.join.call(arguments, " ")); } } $.fn.cycle = function (options, arg2) { var o = { s: this.selector, c: this.context }; if (this.length === 0 && options != "stop") { if (!$.isReady && o.s) { log("DOM not ready, queuing slideshow"); $(function () { $(o.s, o.c).cycle(options, arg2); }); return this; } log("terminating; zero elements found by selector" + ($.isReady ? "" : " (DOM not ready)")); return this; } return this.each(function () { var opts = handleArguments(this, options, arg2); if (opts === false) { return; } opts.updateActivePagerLink = opts.updateActivePagerLink || $.fn.cycle.updateActivePagerLink; if (this.cycleTimeout) { clearTimeout(this.cycleTimeout); } this.cycleTimeout = this.cyclePause = 0; var $cont = $(this); var $slides = opts.slideExpr ? $(opts.slideExpr, this) : $cont.children(); var els = $slides.get(); if (els.length < 2) { log("terminating; too few slides: " + els.length); return; } var opts2 = buildOptions($cont, $slides, els, opts, o); if (opts2 === false) { return; } var startTime = opts2.continuous ? 10 : getTimeout(els[opts2.currSlide], els[opts2.nextSlide], opts2, !opts2.backwards); if (startTime) { startTime += (opts2.delay || 0); if (startTime < 10) { startTime = 10; } debug("first timeout: " + startTime); this.cycleTimeout = setTimeout(function () { go(els, opts2, 0, !opts.backwards); }, startTime); } }); }; function handleArguments(cont, options, arg2) { if (cont.cycleStop == undefined) { cont.cycleStop = 0; } if (options === undefined || options === null) { options = {}; } if (options.constructor == String) { switch (options) { case "destroy": case "stop": var opts = $(cont).data("cycle.opts"); if (!opts) { return false; } cont.cycleStop++; if (cont.cycleTimeout) { clearTimeout(cont.cycleTimeout); } cont.cycleTimeout = 0; $(cont).removeData("cycle.opts"); if (options == "destroy") { destroy(opts); } return false; case "toggle": cont.cyclePause = (cont.cyclePause === 1) ? 0 : 1; checkInstantResume(cont.cyclePause, arg2, cont); return false; case "pause": cont.cyclePause = 1; return false; case "resume": cont.cyclePause = 0; checkInstantResume(false, arg2, cont); return false; case "prev": case "next": var opts = $(cont).data("cycle.opts"); if (!opts) { log('options not found, "prev/next" ignored'); return false; } $.fn.cycle[options](opts); return false; default: options = { fx: options }; } return options; } else { if (options.constructor == Number) { var num = options; options = $(cont).data("cycle.opts"); if (!options) { log("options not found, can not advance slide"); return false; } if (num < 0 || num >= options.elements.length) { log("invalid slide index: " + num); return false; } options.nextSlide = num; if (cont.cycleTimeout) { clearTimeout(cont.cycleTimeout); cont.cycleTimeout = 0; } if (typeof arg2 == "string") { options.oneTimeFx = arg2; } go(options.elements, options, 1, num >= options.currSlide); return false; } } return options; function checkInstantResume(isPaused, arg2, cont) { if (!isPaused && arg2 === true) { var options = $(cont).data("cycle.opts"); if (!options) { log("options not found, can not resume"); return false; } if (cont.cycleTimeout) { clearTimeout(cont.cycleTimeout); cont.cycleTimeout = 0; } go(options.elements, options, 1, !options.backwards); } } } function removeFilter(el, opts) { if (!$.support.opacity && opts.cleartype && el.style.filter) { try { el.style.removeAttribute("filter"); } catch (smother) { } } } function destroy(opts) { if (opts.next) { $(opts.next).unbind(opts.prevNextEvent); } if (opts.prev) { $(opts.prev).unbind(opts.prevNextEvent); } if (opts.pager || opts.pagerAnchorBuilder) { $.each(opts.pagerAnchors || [], function () { this.unbind().remove(); }); } opts.pagerAnchors = null; if (opts.destroy) { opts.destroy(opts); } } function buildOptions($cont, $slides, els, options, o) { var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {}); if (opts.autostop) { opts.countdown = opts.autostopCount || els.length; } var cont = $cont[0]; $cont.data("cycle.opts", opts); opts.$cont = $cont; opts.stopCount = cont.cycleStop; opts.elements = els; opts.before = opts.before ? [opts.before] : []; opts.after = opts.after ? [opts.after] : []; opts.after.unshift(function () { opts.busy = 0; }); if (!$.support.opacity && opts.cleartype) { opts.after.push(function () { removeFilter(this, opts); }); } if (opts.continuous) { opts.after.push(function () { go(els, opts, 0, !opts.backwards); }); } saveOriginalOpts(opts); if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg) { clearTypeFix($slides); } if ($cont.css("position") == "static") { $cont.css("position", "relative"); } if (opts.width) { $cont.width(opts.width); } if (opts.height && opts.height != "auto") { $cont.height(opts.height); } if (opts.startingSlide) { opts.startingSlide = parseInt(opts.startingSlide); } else { if (opts.backwards) { opts.startingSlide = els.length - 1; } } if (opts.random) { opts.randomMap = []; for (var i = 0; i < els.length; i++) { opts.randomMap.push(i); } opts.randomMap.sort(function (a, b) { return Math.random() - 0.5; }); opts.randomIndex = 1; opts.startingSlide = opts.randomMap[1]; } else { if (opts.startingSlide >= els.length) { opts.startingSlide = 0; } } opts.currSlide = opts.startingSlide || 0; var first = opts.startingSlide; $slides.css({ position: "absolute", top: 0, left: 0 }).hide().each(function (i) { var z; if (opts.backwards) { z = first ? i <= first ? els.length + (i - first) : first - i : els.length - i; } else { z = first ? i >= first ? els.length - (i - first) : first - i : els.length - i; } $(this).css("z-index", z); }); $(els[first]).css("opacity", 1).show(); removeFilter(els[first], opts); if (opts.fit && opts.width) { $slides.width(opts.width); } if (opts.fit && opts.height && opts.height != "auto") { $slides.height(opts.height); } var reshape = opts.containerResize && !$cont.innerHeight(); if (reshape) { var maxw = 0, maxh = 0; for (var j = 0; j < els.length; j++) { var $e = $(els[j]), e = $e[0], w = $e.outerWidth(), h = $e.outerHeight(); if (!w) { w = e.offsetWidth || e.width || $e.attr("width"); } if (!h) { h = e.offsetHeight || e.height || $e.attr("height"); } maxw = w > maxw ? w : maxw; maxh = h > maxh ? h : maxh; } if (maxw > 0 && maxh > 0) { $cont.css({ width: maxw + "px", height: maxh + "px" }); } } if (opts.pause) { $cont.hover(function () { this.cyclePause++; }, function () { this.cyclePause--; }); } if (supportMultiTransitions(opts) === false) { return false; } var requeue = false; options.requeueAttempts = options.requeueAttempts || 0; $slides.each(function () { var $el = $(this); this.cycleH = (opts.fit && opts.height) ? opts.height : ($el.height() || this.offsetHeight || this.height || $el.attr("height") || 0); this.cycleW = (opts.fit && opts.width) ? opts.width : ($el.width() || this.offsetWidth || this.width || $el.attr("width") || 0); if ($el.is("img")) { var loadingIE = ($.browser.msie && this.cycleW == 28 && this.cycleH == 30 && !this.complete); var loadingFF = ($.browser.mozilla && this.cycleW == 34 && this.cycleH == 19 && !this.complete); var loadingOp = ($.browser.opera && ((this.cycleW == 42 && this.cycleH == 19) || (this.cycleW == 37 && this.cycleH == 17)) && !this.complete); var loadingOther = (this.cycleH == 0 && this.cycleW == 0 && !this.complete); if (loadingIE || loadingFF || loadingOp || loadingOther) { if (o.s && opts.requeueOnImageNotLoaded && ++options.requeueAttempts < 100) { log(options.requeueAttempts, " - img slide not loaded, requeuing slideshow: ", this.src, this.cycleW, this.cycleH); setTimeout(function () { $(o.s, o.c).cycle(options); }, opts.requeueTimeout); requeue = true; return false; } else { log("could not determine size of image: " + this.src, this.cycleW, this.cycleH); } } } return true; }); if (requeue) { return false; } opts.cssBefore = opts.cssBefore || {}; opts.animIn = opts.animIn || {}; opts.animOut = opts.animOut || {}; $slides.not(":eq(" + first + ")").css(opts.cssBefore); if (opts.cssFirst) { $($slides[first]).css(opts.cssFirst); } if (opts.timeout) { opts.timeout = parseInt(opts.timeout); if (opts.speed.constructor == String) { opts.speed = $.fx.speeds[opts.speed] || parseInt(opts.speed); } if (!opts.sync) { opts.speed = opts.speed / 2; } var buffer = opts.fx == "shuffle" ? 500 : 250; while ((opts.timeout - opts.speed) < buffer) { opts.timeout += opts.speed; } } if (opts.easing) { opts.easeIn = opts.easeOut = opts.easing; } if (!opts.speedIn) { opts.speedIn = opts.speed; } if (!opts.speedOut) { opts.speedOut = opts.speed; } opts.slideCount = els.length; opts.currSlide = opts.lastSlide = first; if (opts.random) { if (++opts.randomIndex == els.length) { opts.randomIndex = 0; } opts.nextSlide = opts.randomMap[opts.randomIndex]; } else { if (opts.backwards) { opts.nextSlide = opts.startingSlide == 0 ? (els.length - 1) : opts.startingSlide - 1; } else { opts.nextSlide = opts.startingSlide >= (els.length - 1) ? 0 : opts.startingSlide + 1; } } if (!opts.multiFx) { var init = $.fn.cycle.transitions[opts.fx]; if ($.isFunction(init)) { init($cont, $slides, opts); } else { if (opts.fx != "custom" && !opts.multiFx) { log("unknown transition: " + opts.fx, "; slideshow terminating"); return false; } } } var e0 = $slides[first]; if (opts.before.length) { opts.before[0].apply(e0, [e0, e0, opts, true]); } if (opts.after.length > 1) { opts.after[1].apply(e0, [e0, e0, opts, true]); } if (opts.next) { $(opts.next).bind(opts.prevNextEvent, function () { return advance(opts, 1); }); } if (opts.prev) { $(opts.prev).bind(opts.prevNextEvent, function () { return advance(opts, 0); }); } if (opts.pager || opts.pagerAnchorBuilder) { buildPager(els, opts); } exposeAddSlide(opts, els); return opts; } function saveOriginalOpts(opts) { opts.original = { before: [], after: [] }; opts.original.cssBefore = $.extend({}, opts.cssBefore); opts.original.cssAfter = $.extend({}, opts.cssAfter); opts.original.animIn = $.extend({}, opts.animIn); opts.original.animOut = $.extend({}, opts.animOut); $.each(opts.before, function () { opts.original.before.push(this); }); $.each(opts.after, function () { opts.original.after.push(this); }); } function supportMultiTransitions(opts) { var i, tx, txs = $.fn.cycle.transitions; if (opts.fx.indexOf(",") > 0) { opts.multiFx = true; opts.fxs = opts.fx.replace(/\s*/g, "").split(","); for (i = 0; i < opts.fxs.length; i++) { var fx = opts.fxs[i]; tx = txs[fx]; if (!tx || !txs.hasOwnProperty(fx) || !$.isFunction(tx)) { log("discarding unknown transition: ", fx); opts.fxs.splice(i, 1); i--; } } if (!opts.fxs.length) { log("No valid transitions named; slideshow terminating."); return false; } } else { if (opts.fx == "all") { opts.multiFx = true; opts.fxs = []; for (p in txs) { tx = txs[p]; if (txs.hasOwnProperty(p) && $.isFunction(tx)) { opts.fxs.push(p); } } } } if (opts.multiFx && opts.randomizeEffects) { var r1 = Math.floor(Math.random() * 20) + 30; for (i = 0; i < r1; i++) { var r2 = Math.floor(Math.random() * opts.fxs.length); opts.fxs.push(opts.fxs.splice(r2, 1)[0]); } debug("randomized fx sequence: ", opts.fxs); } return true; } function exposeAddSlide(opts, els) { opts.addSlide = function (newSlide, prepend) { var $s = $(newSlide), s = $s[0]; if (!opts.autostopCount) { opts.countdown++; } els[prepend ? "unshift" : "push"](s); if (opts.els) { opts.els[prepend ? "unshift" : "push"](s); } opts.slideCount = els.length; $s.css("position", "absolute"); $s[prepend ? "prependTo" : "appendTo"](opts.$cont); if (prepend) { opts.currSlide++; opts.nextSlide++; } if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg) { clearTypeFix($s); } if (opts.fit && opts.width) { $s.width(opts.width); } if (opts.fit && opts.height && opts.height != "auto") { $s.height(opts.height); } s.cycleH = (opts.fit && opts.height) ? opts.height : $s.height(); s.cycleW = (opts.fit && opts.width) ? opts.width : $s.width(); $s.css(opts.cssBefore); if (opts.pager || opts.pagerAnchorBuilder) { $.fn.cycle.createPagerAnchor(els.length - 1, s, $(opts.pager), els, opts); } if ($.isFunction(opts.onAddSlide)) { opts.onAddSlide($s); } else { $s.hide(); } }; } $.fn.cycle.resetState = function (opts, fx) { fx = fx || opts.fx; opts.before = []; opts.after = []; opts.cssBefore = $.extend({}, opts.original.cssBefore); opts.cssAfter = $.extend({}, opts.original.cssAfter); opts.animIn = $.extend({}, opts.original.animIn); opts.animOut = $.extend({}, opts.original.animOut); opts.fxFn = null; $.each(opts.original.before, function () { opts.before.push(this); }); $.each(opts.original.after, function () { opts.after.push(this); }); var init = $.fn.cycle.transitions[fx]; if ($.isFunction(init)) { init(opts.$cont, $(opts.elements), opts); } }; function go(els, opts, manual, fwd) { if (manual && opts.busy && opts.manualTrump) { debug("manualTrump in go(), stopping active transition"); $(els).stop(true, true); opts.busy = false; } if (opts.busy) { debug("transition active, ignoring new tx request"); return; } var p = opts.$cont[0], curr = els[opts.currSlide], next = els[opts.nextSlide]; if (p.cycleStop != opts.stopCount || p.cycleTimeout === 0 && !manual) { return; } if (!manual && !p.cyclePause && !opts.bounce && ((opts.autostop && (--opts.countdown <= 0)) || (opts.nowrap && !opts.random && opts.nextSlide < opts.currSlide))) { if (opts.end) { opts.end(opts); } return; } var changed = false; if ((manual || !p.cyclePause) && (opts.nextSlide != opts.currSlide)) { changed = true; var fx = opts.fx; curr.cycleH = curr.cycleH || $(curr).height(); curr.cycleW = curr.cycleW || $(curr).width(); next.cycleH = next.cycleH || $(next).height(); next.cycleW = next.cycleW || $(next).width(); if (opts.multiFx) { if (opts.lastFx == undefined || ++opts.lastFx >= opts.fxs.length) { opts.lastFx = 0; } fx = opts.fxs[opts.lastFx]; opts.currFx = fx; } if (opts.oneTimeFx) { fx = opts.oneTimeFx; opts.oneTimeFx = null; } $.fn.cycle.resetState(opts, fx); if (opts.before.length) { $.each(opts.before, function (i, o) { if (p.cycleStop != opts.stopCount) { return; } o.apply(next, [curr, next, opts, fwd]); }); } var after = function () { $.each(opts.after, function (i, o) { if (p.cycleStop != opts.stopCount) { return; } o.apply(next, [curr, next, opts, fwd]); }); }; debug("tx firing; currSlide: " + opts.currSlide + "; nextSlide: " + opts.nextSlide); opts.busy = 1; if (opts.fxFn) { opts.fxFn(curr, next, opts, after, fwd, manual && opts.fastOnEvent); } else { if ($.isFunction($.fn.cycle[opts.fx])) { $.fn.cycle[opts.fx](curr, next, opts, after, fwd, manual && opts.fastOnEvent); } else { $.fn.cycle.custom(curr, next, opts, after, fwd, manual && opts.fastOnEvent); } } } if (changed || opts.nextSlide == opts.currSlide) { opts.lastSlide = opts.currSlide; if (opts.random) { opts.currSlide = opts.nextSlide; if (++opts.randomIndex == els.length) { opts.randomIndex = 0; } opts.nextSlide = opts.randomMap[opts.randomIndex]; if (opts.nextSlide == opts.currSlide) { opts.nextSlide = (opts.currSlide == opts.slideCount - 1) ? 0 : opts.currSlide + 1; } } else { if (opts.backwards) { var roll = (opts.nextSlide - 1) < 0; if (roll && opts.bounce) { opts.backwards = !opts.backwards; opts.nextSlide = 1; opts.currSlide = 0; } else { opts.nextSlide = roll ? (els.length - 1) : opts.nextSlide - 1; opts.currSlide = roll ? 0 : opts.nextSlide + 1; } } else { var roll = (opts.nextSlide + 1) == els.length; if (roll && opts.bounce) { opts.backwards = !opts.backwards; opts.nextSlide = els.length - 2; opts.currSlide = els.length - 1; } else { opts.nextSlide = roll ? 0 : opts.nextSlide + 1; opts.currSlide = roll ? els.length - 1 : opts.nextSlide - 1; } } } } if (changed && opts.pager) { opts.updateActivePagerLink(opts.pager, opts.currSlide, opts.activePagerClass); } var ms = 0; if (opts.timeout && !opts.continuous) { ms = getTimeout(els[opts.currSlide], els[opts.nextSlide], opts, fwd); } else { if (opts.continuous && p.cyclePause) { ms = 10; } } if (ms > 0) { p.cycleTimeout = setTimeout(function () { go(els, opts, 0, !opts.backwards); }, ms); } } $.fn.cycle.updateActivePagerLink = function (pager, currSlide, clsName) { $(pager).each(function () { $(this).children().removeClass(clsName).eq(currSlide).addClass(clsName); }); }; function getTimeout(curr, next, opts, fwd) { if (opts.timeoutFn) { var t = opts.timeoutFn.call(curr, curr, next, opts, fwd); while ((t - opts.speed) < 250) { t += opts.speed; } debug("calculated timeout: " + t + "; speed: " + opts.speed); if (t !== false) { return t; } } return opts.timeout; } $.fn.cycle.next = function (opts) { advance(opts, 1); }; $.fn.cycle.prev = function (opts) { advance(opts, 0); }; function advance(opts, moveForward) { var val = moveForward ? 1 : -1; var els = opts.elements; var p = opts.$cont[0], timeout = p.cycleTimeout; if (timeout) { clearTimeout(timeout); p.cycleTimeout = 0; } if (opts.random && val < 0) { opts.randomIndex--; if (--opts.randomIndex == -2) { opts.randomIndex = els.length - 2; } else { if (opts.randomIndex == -1) { opts.randomIndex = els.length - 1; } } opts.nextSlide = opts.randomMap[opts.randomIndex]; } else { if (opts.random) { opts.nextSlide = opts.randomMap[opts.randomIndex]; } else { opts.nextSlide = opts.currSlide + val; if (opts.nextSlide < 0) { if (opts.nowrap) { return false; } opts.nextSlide = els.length - 1; } else { if (opts.nextSlide >= els.length) { if (opts.nowrap) { return false; } opts.nextSlide = 0; } } } } var cb = opts.onPrevNextEvent || opts.prevNextClick; if ($.isFunction(cb)) { cb(val > 0, opts.nextSlide, els[opts.nextSlide]); } go(els, opts, 1, moveForward); return false; } function buildPager(els, opts) { var $p = $(opts.pager); $.each(els, function (i, o) { $.fn.cycle.createPagerAnchor(i, o, $p, els, opts); }); opts.updateActivePagerLink(opts.pager, opts.startingSlide, opts.activePagerClass); } $.fn.cycle.createPagerAnchor = function (i, el, $p, els, opts) { var a; if ($.isFunction(opts.pagerAnchorBuilder)) { a = opts.pagerAnchorBuilder(i, el); debug("pagerAnchorBuilder(" + i + ", el) returned: " + a); } else { a = '<a href="#">' + (i + 1) + "</a>"; } if (!a) { return; } var $a = $(a); if ($a.parents("body").length === 0) { var arr = []; if ($p.length > 1) { $p.each(function () { var $clone = $a.clone(true); $(this).append($clone); arr.push($clone[0]); }); $a = $(arr); } else { $a.appendTo($p); } } opts.pagerAnchors = opts.pagerAnchors || []; opts.pagerAnchors.push($a); $a.bind(opts.pagerEvent, function (e) { e.preventDefault(); opts.nextSlide = i; var p = opts.$cont[0], timeout = p.cycleTimeout; if (timeout) { clearTimeout(timeout); p.cycleTimeout = 0; } var cb = opts.onPagerEvent || opts.pagerClick; if ($.isFunction(cb)) { cb(opts.nextSlide, els[opts.nextSlide]); } go(els, opts, 1, opts.currSlide < i); }); if (!/^click/.test(opts.pagerEvent) && !opts.allowPagerClickBubble) { $a.bind("click.cycle", function () { return false; }); } if (opts.pauseOnPagerHover) { $a.hover(function () { opts.$cont[0].cyclePause++; }, function () { opts.$cont[0].cyclePause--; }); } }; $.fn.cycle.hopsFromLast = function (opts, fwd) { var hops, l = opts.lastSlide, c = opts.currSlide; if (fwd) { hops = c > l ? c - l : opts.slideCount - l; } else { hops = c < l ? l - c : l + opts.slideCount - c; } return hops; }; function clearTypeFix($slides) { debug("applying clearType background-color hack"); function hex(s) { s = parseInt(s).toString(16); return s.length < 2 ? "0" + s : s; } function getBg(e) { for (; e && e.nodeName.toLowerCase() != "html"; e = e.parentNode) { var v = $.css(e, "background-color"); if (v.indexOf("rgb") >= 0) { var rgb = v.match(/\d+/g); return "#" + hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]); } if (v && v != "transparent") { return v; } } return "#ffffff"; } $slides.each(function () { $(this).css("background-color", getBg(this)); }); } $.fn.cycle.commonReset = function (curr, next, opts, w, h, rev) { $(opts.elements).not(curr).hide(); opts.cssBefore.opacity = 1; opts.cssBefore.display = "block"; if (opts.slideResize && w !== false && next.cycleW > 0) { opts.cssBefore.width = next.cycleW; } if (opts.slideResize && h !== false && next.cycleH > 0) { opts.cssBefore.height = next.cycleH; } opts.cssAfter = opts.cssAfter || {}; opts.cssAfter.display = "none"; $(curr).css("zIndex", opts.slideCount + (rev === true ? 1 : 0)); $(next).css("zIndex", opts.slideCount + (rev === true ? 0 : 1)); }; $.fn.cycle.custom = function (curr, next, opts, cb, fwd, speedOverride) { var $l = $(curr), $n = $(next); var speedIn = opts.speedIn, speedOut = opts.speedOut, easeIn = opts.easeIn, easeOut = opts.easeOut; $n.css(opts.cssBefore); if (speedOverride) { if (typeof speedOverride == "number") { speedIn = speedOut = speedOverride; } else { speedIn = speedOut = 1; } easeIn = easeOut = null; } var fn = function () { $n.animate(opts.animIn, speedIn, easeIn, cb); }; $l.animate(opts.animOut, speedOut, easeOut, function () { if (opts.cssAfter) { $l.css(opts.cssAfter); } if (!opts.sync) { fn(); } }); if (opts.sync) { fn(); } }; $.fn.cycle.transitions = { fade: function ($cont, $slides, opts) { $slides.not(":eq(" + opts.currSlide + ")").css("opacity", 0); opts.before.push(function (curr, next, opts) { $.fn.cycle.commonReset(curr, next, opts); opts.cssBefore.opacity = 0; }); opts.animIn = { opacity: 1 }; opts.animOut = { opacity: 0 }; opts.cssBefore = { top: 0, left: 0 }; } }; $.fn.cycle.ver = function () { return ver; }; $.fn.cycle.defaults = { fx: "fade", timeout: 4000, timeoutFn: null, continuous: 0, speed: 1000, speedIn: null, speedOut: null, next: null, prev: null, onPrevNextEvent: null, prevNextEvent: "click.cycle", pager: null, onPagerEvent: null, pagerEvent: "click.cycle", allowPagerClickBubble: false, pagerAnchorBuilder: null, before: null, after: null, end: null, easing: null, easeIn: null, easeOut: null, shuffle: null, animIn: null, animOut: null, cssBefore: null, cssAfter: null, fxFn: null, height: "auto", startingSlide: 0, sync: 1, random: 0, fit: 0, containerResize: 1, slideResize: 1, pause: 0, pauseOnPagerHover: 0, autostop: 0, autostopCount: 0, delay: 0, slideExpr: null, cleartype: !$.support.opacity, cleartypeNoBg: false, nowrap: 0, fastOnEvent: 0, randomizeEffects: 1, rev: 0, manualTrump: true, requeueOnImageNotLoaded: true, requeueTimeout: 250, activePagerClass: "activeSlide", updateActivePagerLink: null, backwards: false }; })(jQuery);

// general
jQuery.noConflict();
(function ($) {
    $(function () {
        $(document).ready(function () {

            //tabs
            if ($(".tabs").length > null) {
                /*generic tabs*/
                $(".tabs").tabs();

                //refresh the Cufon font when tabs are switched (odd bug)
//                $(".tabs").bind("tabsshow", function (event, ui) {
//                    Cufon.refresh(".font");
//                });
            }

            /*Module blocks*/
            //Cover heights
            //get and sets height based on tallest cover box
            $.fn.coverHeight = function() {
                //initialise tallest
                var tallest = 0;

                //get tallest
                $(this).each(function(i) {
                    if ($(this).height() > tallest) {
                        tallest = $(this).height();
                    }
                });

                //set tallest as css height
                $(this).each(function(i) {
                    $(this).css("height", tallest);
                });

                return tallest;
            };

            //set tl and tr height and negative margin = inner.height();
            $.fn.trtlHeight = function() {
                $(this).each(function(i) {
                    var height = $(this).children(".inner").height();
                    $(this).find(".tl, .tr").each(function(i) {
                        $(this).css({ "height": height, "margin-bottom": -height });
                    });
                });
            };

            //set all .policyTable row heights
            $(".policyTable tr").each(function(i) {
                if ($(this).children().length > 0)
                {
                    $(this).children().coverHeight();
                }
            });


            //set all cover options heights
            if ($(".cover-options h2").length > 0)
            {
                $(".cover-options h2").coverHeight();
            }

            //set all .cover heights
            if ($(".cover").length > 0) {
                $(".cover").coverHeight();
            }


            //set all .inner heights
            if ($(".cover-block .inner").length > 0) {
                $(".cover-block .inner").coverHeight();
            }

            $(".cover-block .inner dl").each(function(i) {
                $(this).css("position", "absolute");
            });

            //set tl and tr height on all modules
            window.setTimeout(function() {
                if ($(".mod").length > 0) {
                    $(".mod").trtlHeight();
                }
            }, 150);

            //set regional areas in footer height same as container
            //$(".footer-content .right").css("height", $(".footer-content").height());

            //add alternate class to policy table rows
            if ($(".policyTable").length > 0) {
                $(".policyTable tbody tr:even").addClass("grey");
            }

            if ($(".table").length > 0) {
                $(".table tbody tr:even").addClass("grey");
            }

            //Policy tables toggle
            if (($(".tables-wrap").length > 0) && ($(".table-toggle").length > 0)) {
                $(".tables-wrap").hide(); //hide tables to start
                $(".table-toggle").click(function() {
                    $(".tables-wrap").slideToggle();
                });
            }

            /*help pop ups*/
            if ($('.help').length > 0) {
                $('.help').hover(function() {
                    $(this).find('.help-wrap').fadeIn();
                }, function() {
                    $(this).find('.help-wrap').fadeOut();
                });
            };

            //

            String.prototype.startsWith = function(str) {
                return (this.match("^" + str) == str);
            };

            $.fn.ShowPaymentForm = function() {
                if ($(this).val().startsWith("dd")) {
                    if ($(".direct-debit").is(":hidden")) {
                        $(".debit-card").hide();
                        $(".credit-card").hide();
                        $(".direct-debit").show();
                        $(".BillingAddress").hide();
                    }
                }

                else if ($(this).val().startsWith("cc")) {
                    if ($(".credit-card").is(":hidden")) {
                        $(".direct-debit").hide();
                        $(".debit-card").hide();
                        $(".credit-card").show();
                        $(".BillingAddress").show();
                    }
                    if ($(".debit-card").is(":visible")) {
                        $(".debit-card").hide();
                    }

                }

                else if ($(this).val().startsWith("dc")) {
                    if ($(".debit-card").is(":hidden")) {
                        $(".direct-debit").hide();
                        $(".credit-card").show();
                        $(".debit-card").show();
                        $(".BillingAddress").show();
                    }
                }

                else if ($(this).val().startsWith("0")) {
                    $(".direct-debit").hide();
                    $(".credit-card").hide();
                    $(".debit-card").hide();
                    $(".BillingAddress").hide();
                }

                return false;
            };

            /*payment options*/
            if ($(".pay-type").length > 0) {
                $(".pay-type").ShowPaymentForm();
                $(".pay-type").change(function() {
                    $(".pay-type").ShowPaymentForm();
                });
            };

            // Review and Confirm button
            $('.review_submit')
                .button()
                .live("click", function() {
                    $(this).hide();
                    $('#processing-button').show();

                });


            //Date picker
            $(".datepicker").datepicker({
                    dateFormat: 'dd/mm/yy',
                    beforeShow: function(input, inst) {
                        var newclass = 'blitzer';
                        if (!inst.dpDiv.parent().hasClass('calendar-base')) {
                            inst.dpDiv.wrap('<div class="' + newclass + '"></div>')
                        }
                    }
                });

            //centering function
            $.fn.center = function() {
                this.css("position", "absolute");
                this.css("top", (jQuery(window).height() - this.height()) / 2 + jQuery(window).scrollTop() + "px");
                this.css("left", (jQuery(window).width() - this.width()) / 2 + jQuery(window).scrollLeft() + "px");
                return this;
            }


            //Address picker
            $("#address-dialog").hide();
            $("#address-dialog").dialog({
                    autoOpen: false,
                    resizable: false,
                    height: 250,
                    modal: true,
                    dialogClass: 'address-pop-wrap',
                    buttons: {
                        'Enter address manually': function() {
                            $(this).dialog('close');
                            $('#AddressForm').show();
                            $('.row select').show();
                        }
                    }
                });


            //fixes centering issue in chrome;
            $("#address-dialog").parent().center();

            $('div#address-dialog').bind('dialogclose', function(event) {
                $('.row select').show();
            });

            if ($('.address-pop-wrap .ui-dialog-titlebar-close .ui-icon').length > 0)
            {
                $('.address-pop-wrap .ui-dialog-titlebar-close .ui-icon').addClass('font');
            }

            if ($('.address-pop-wrap .ui-dialog-buttonset').length > 0) {
                $('.address-pop-wrap .ui-dialog-buttonset').prepend('<span>Address not shown?</span>');
                $('.address-pop-wrap .ui-dialog-buttonset .ui-button:first').addClass('btn-manual');
            }

            $('.populate-address')
                .button()
                .live("click", function() {
                    $('#AddressForm').show();
                    $('#address-dialog').dialog('close');
                    $('.row select').show();
                });

            // Region map
            $.fn.maphilight.defaults = {
                fill: true,
                fillColor: '5bae42',
                fillOpacity: .6,
                stroke: true,
                strokeColor: '999999',
                strokeOpacity: 1,
                strokeWidth: 2,
                fade: true,
                alwaysOn: false,
                neverOn: false,
                groupBy: false
            }

            // Location Picker
            $(".open-picker").colorbox({
                    width: "440px",
                    inline: true,
                    href: "#location-picker",
                    onComplete: function() { $('.uk').maphilight(); }
                });

            // Terms and Conditions
            $(".open-tc").colorbox({ width: "75%", height: "75%", inline: true, href: "#dialog-tc" });

            // Referrer popup    
            if ($('#dialog-modal').length) { // implies *not* zero               
                $.colorbox({ inline: true, open: true, href: "#dialog-modal" });
            }

            // Contact Us Policy Number
            // Hide policy number
            $('.policyNumber').hide();

            //Show policy number if Yes radio button is clicked.
            $("li.RadioButton input[value='Yes']")
                .button()
                .live("click", function() {
                    $('.policyNumber').show();
                });

            //Hide policy number if No radio button is clicked.
            $("li.RadioButton input[value='No']")
                .button()
                .live("click", function() {
                    $('.policyNumber').hide();
                });

            // Set width on recaptcha buttons
            var tr = $('.contact table#recaptcha_table tbody tr:nth-child(1) td:nth-child(2)');
            tr.addClass('re_buttons');

            //************************** preload images function

            var cache = [];
            $.preLoadImages = function() {
                var imageCount = arguments.length;
                for (var i = imageCount; i--;) {
                    var cacheImage = document.createElement('img');
                    cacheImage.src = arguments[i];
                    cache.push(cacheImage);
                }

            };

            //************************** sub navigation drop downs 

            /*cache images for sub menus*/
            $.preLoadImages(
                "/img/components/sprite/sprite-sub-menu.png",
                "/img/components/sprite/sprite-sub-menu.gif",
                "/img/components/sprite/sprite-sub-menu-bd-col2.png",
                "/img/components/sprite/sprite-sub-menu-bd-col3.png",
                "/img/components/rounded/curve-inner-top-subnav.png",
                "/img/components/rounded/curve-inner-btm-subnav.png",
                "/img/components/rounded/curve-inner-mid-subnav.gif",
                "/img/components/rounded/curve-inner-mid-subnav.png",
                "/img/components/rounded/curve-inner-top-subnav.gif",
                "/img/components/rounded/curve-inner-top-subnav.png"
            );

            /*navigation drop downs*/
            var menuClass = "";
            var menuSection = "";
            var section = "";
            var headerWidth = 960;

            $(".site-nav ul").each(function() {
                var dl = $(this).find('dl').length;
                if (dl > 0 && dl == 2) {$(this).parent().addClass('col2');}
                if (dl > 0 && dl == 3) {$(this).parent().addClass('col3');}
            });

            //add default class to submenus without a theme
            $(".site-nav > li").each(function() {
                if ($(this).attr("id").length == 0 && $(this).children("ul").length > 0)
                {
                    $(this).attr("id", "default");
                    $(this).children("ul").addClass("menu-default");
                }
            });

            //left positioning                       
            $(".site-nav > li").mouseenter(function() {

                var submenu = $(this).children("ul"); // submenu of current tab

                // width of current submenu
                // set with constants due to previous issue getting correct val.
                var width = 0;
                if ($(this).hasClass('col2')) {width = 584;} // 2 column
                if ($(this).hasClass('col3')) {width = 836;} // 3 column

                if (submenu.length > 0)
                {
                    var offsetLeft = $(this).position().left; // current tab parent offset left
                    var offsetRight = offsetLeft + width; // offset right of submenu
                    var offset = 0;
                    var borderSpace = 80; // width of the gradient border either side

                    if (offsetRight > headerWidth)
                    {
                        offset = offsetRight - headerWidth;
                        offset = offsetLeft - offset - borderSpace;
                        submenu.css('left', offset);
                    }

                    else
                    {
                        offset = offsetLeft - borderSpace;
                        submenu.css('left', offset);
                    }
                }
            });

            $(".site-nav > li").hover(function() {
                var section = $(this).attr("id"),
                    sectionClone = section;
                if (section.length > 0) {
                    var menu = ".menu-" + section;
                    $('.sub-menu', this).show();
                    var menuOn = section + "-on";
                    $(this).addClass(menuOn);
                    var menuInner = ".menu" + sectionClone + ".bd .bd";
                    $(menuInner).coverHeight();
                }
            }, function() {

                section = $(this).attr("id");
                if (section.length > 0) {
                    var menu = ".menu-" + section;
                    $('.sub-menu', this).hide();
                    var menuOn = section + "-on";
                    $(this).removeClass(menuOn);
                }
            });

            // FAQ List
            if ($(".faq-list").length > 0) {
                $(".faq-list .answer").hide();

                var maxAnswerHeight = 0;
                $(".answer").each(function(i) {
                    if ($(this).height() > maxAnswerHeight)
                    {
                        maxAnswerHeight = $(this).height();
                    }
                });

                if ($(".main").height() < maxAnswerHeight)
                {
                    $(".main").css('height', maxAnswerHeight);
                }

                var ftrOffset = $(".footer-wrap").offset().top;

                $(".question").live("click", function() {

                    //Hide all and remove class
                    $(".faq-list .answer").hide();
                    $(".faq-list .question").removeClass("faq-hover");

                    //Show selected answer
                    $(this).siblings().show();
                    $(this).addClass("faq-hover");

                    var answerHeight = $(this).siblings().height();

                    ftrOffset = $(".footer-wrap").offset().top;
                    var faqOffset = $(this).offset().top;
                    var overlapHeight = (answerHeight + faqOffset - 12); //12 is the css top prop, (couldnt GET)

                    if (overlapHeight > ftrOffset) {
                        $(this).siblings().css("top", -(overlapHeight - ftrOffset + 12));
                        $(this).siblings().show();
                    }
                    else {
                        $(this).siblings().show();
                    }

                });

            }

            //accordion
            if ($("#accordion").length > 0) {
                if ($(".home-accord").length > 0) {
                    $(".home-accord").accordion({ autoHeight: false });
                    $(".home-accord").bind("accordionchange", function(event, ui) {
                        $(".mod").trtlHeight();
                    });
                }

                if ($(".home-side-accord").length > 0) {
                    $(".home-side-accord").accordion({ autoHeight: false });
                }

            };

            if ($("#job-drop-down").length > 0) {
                $("#job-drop-down").hide();
                $("#job-drop-toggle").click(function() {
                    $("#job-drop-down").slideToggle("fast");
                });
            }


            if ($("#help-nav").length > 0) {
                if ($('#help-nav dd a.active').length < 1)
                {
                    $('#help-nav dd').hide();
                }
                $("#help-nav .help-video").click(function() {
                    $('#help-nav dd').toggle();
                });
                $("#help-nav li:first-child").addClass("first");
                $("#help-nav dt:last, #help-nav li:last-child").addClass("last");
            }

            if ($("#help-advice-widget").length > 0) {
                $("#help-advice-widget .video-list").jScrollPane();
            }

            $(".helpTabs").tabs({
                    cache: true,
                    load: function(event, ui) {
                        $(ui.panel).tabs();
                        $(".video-list").jScrollPane();
                    },
                    ajaxOptions: {
                        error: function(xhr, status, index, anchor) {
                            $(anchor.hash).html(
                                "Couldn't load this tab.");
                        }
                    }
                });

            // Validation Styling
            $.fn.ValidationSummary = function() {
                if ($('.validation-summary').length > 0) {
                    $('.validation-summary ul').each(function() {
                        $(this).children().first().addClass("first");
                        $(this).children().last().addClass("last");
                    });
                }
                return false;
            };

            $(this).ValidationSummary();

            $('.validation-summary').contentChange(function() {
                $(this).ValidationSummary();
            });
            
            var styleValidation = function() {

                if(!$('html').hasClass('oldie'))
                {
                    $('.purchase-validation').each(function() {
                        if ($(this).css("visibility") == "visible") {
                            $(this).show();
                            $(this).parents('.row').addClass('purchase-validation-row'); //if visible style row
                        }

                        else {

                            if ($(this).siblings('.purchase-validation').css('visibility') == 'visible') {
                                //if sibling validator is visible maintain error styling but remove inline styling
                                $(this).attr('style', '');
                            }
                            else {
                                $(this).parents('.row').removeClass('purchase-validation-row'); //remove styling
                            }
                        }
                    });
                }
                else {
                    $('.purchase-validation').each(function() {
                        if ($(this).css("visibility") == "visible") {
                            $(this).show();
                        }

                        else {

                            if ($(this).siblings('.purchase-validation').css('visibility') == 'visible') {
                                //if sibling validator is visible maintain error styling but remove inline styling
                                $(this).css('display', 'none');
                            }
                            else if($(this).css("visibility") == "hidden") {
                                $(this).css('display', 'none');
                            }
                        }
                    });
                }
                
            }; 

            $('.purchase .row input[type=text]').change(function() {
                setTimeout(styleValidation, 50);
            });

            $('.direct-debit .radio-list label').click(function() {
                setTimeout(styleValidation, 50);
            });
            
            $(window).load(function() {
                setTimeout(styleValidation, 0); //for post backs   
            });
            
            $('.purchase .action .btn-med a, .purchase .btn-sml').click(function() {
                setTimeout(styleValidation, 50);
            });
            
            $('input:radio').each(function() {
                $(this).addClass('rdo');
            });

            //footer regions
            $('#areas dd:odd').addClass("region-right");

            // Fix ie6 select bug
            $('.purchase .help-wrap').bgiframe();

            // Jquery slideshow for homepage
			 $('#homeslideshow').cycle({
				fx:     'fade',
				speed:  1200,
				timeout: 8000,
				pager:  '#nav',
				slideExpr: '.fadeItem',
				delay: 5000,
				pause: true
			});

            /*fonts on buttons*/
            Cufon.replace('.btn-sml a', {textShadow: '#444 0.5px 0.5px, #444 -0.5px -0.5px'});
            Cufon.replace('.btn-sml-red a', {textShadow: '#444 0.5px 0.5px, #444 -0.5px -0.5px'});
            Cufon.replace('.btn-sml-grey a', {textShadow: '#444 0.5px 0.5px, #444 -0.5px -0.5px'});
            Cufon.replace('.btn-med a', {textShadow: '#444 0.5px 0.5px, #444 -0.5px -0.5px'});
            Cufon.replace('.btn-lrg a', {textShadow: '#444 0.5px 0.5px, #444 -0.5px -0.5px'});
            Cufon.replace('.btn-print a', {textShadow: '#444 0.5px 0.5px, #444 -0.5px -0.5px'});

            /*font replacement*/
            Cufon.replace('h1')('.freephone p')('.font', {hover:true});
            Cufon.replace('.mod-content h3')('.help-home .main-mid h2');
            Cufon.replace('.header li .btn-med a', { textShadow: '#444 0.5px 0.5px, #444 -0.5px -0.5px' });
        });
    });
})(jQuery);
function handleDropDownEvents(e) {
    window.location = e.value;
}







