/*
 * 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 1993 Greg Thompson. Agenda is a Trademark of Greg Thompson. Produced
 * by The Font Bureau, Inc.
 */
Cufon.registerFont({"w":67,"face":{"font-family":"agenda","font-weight":500,"font-stretch":"normal","units-per-em":"360","panose-1":"0 0 0 0 0 0 0 0 0 0","ascent":"288","descent":"-72","x-height":"4","bbox":"-22 -265 322 84","underline-thickness":"6.48","underline-position":"-57.24","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":85},"!":{"d":"52,-56r-19,-5r-4,-185r27,0xm43,-36v20,3,21,36,0,40v-20,-4,-21,-37,0,-40","w":84},"\"":{"d":"82,-183r-13,0r-5,-73r22,0xm30,-183r-13,0r-4,-73r23,0","w":99},"#":{"d":"115,-139r-11,48r25,0r0,15r-29,0r-17,76r-17,0r17,-76r-38,0r-18,76r-17,0r17,-76r-21,0r0,-15r25,0r11,-48r-25,0r0,-15r28,0r18,-76r17,0r-17,76r39,0r17,-76r17,0r-17,76r21,0r0,15r-25,0xm59,-139r-11,48r39,0r11,-48r-39,0","w":148},"$":{"d":"129,-102v37,37,9,106,-44,105r0,32r-15,0r0,-31v-25,-1,-40,-7,-56,-18r6,-21v26,28,104,27,103,-23v-2,-64,-113,-48,-108,-117v2,-32,22,-56,55,-58r0,-32r15,0r0,31v21,1,33,6,47,14r-5,19v-27,-20,-89,-18,-89,24v0,42,77,50,91,75","w":162},"%":{"d":"111,-185v0,27,-21,49,-48,49v-28,0,-49,-20,-49,-49v0,-28,21,-49,49,-49v27,0,48,22,48,49xm37,7r-11,-10r189,-234r11,10xm238,-45v0,28,-21,49,-49,49v-27,0,-48,-22,-48,-49v0,-27,21,-49,48,-49v28,0,49,21,49,49xm92,-185v0,-16,-13,-31,-29,-31v-16,0,-31,14,-30,31v1,17,12,31,30,31v16,0,29,-15,29,-31xm219,-45v0,-17,-14,-31,-30,-30v-16,0,-29,13,-29,30v0,16,13,31,29,31v17,0,30,-13,30,-31","w":252},"&":{"d":"144,-180v-2,32,-24,47,-48,62r61,61v12,-16,20,-33,26,-53r16,15v-6,19,-15,37,-27,53r43,42r-31,0r-26,-26v-34,44,-144,40,-143,-30v0,-36,20,-52,47,-67v-21,-21,-32,-40,-32,-57v-1,-31,26,-54,56,-54v29,0,59,23,58,54xm122,-180v0,-17,-17,-36,-36,-34v-43,6,-44,52,-5,81v27,-15,41,-31,41,-47xm38,-57v0,50,81,51,105,16r-67,-67v-21,12,-38,23,-38,51","w":211},"'":{"d":"30,-183r-13,0r-4,-73r23,0","w":48},"(":{"d":"78,-250v-52,84,-53,244,-1,331r-24,-6v-52,-83,-49,-247,2,-330","w":87},")":{"d":"9,76v53,-85,55,-243,2,-332r24,7v52,84,49,248,-3,330","w":87},"*":{"d":"87,-175r33,43r-15,16r-32,-48r-29,44r-19,-9r35,-45r-51,-14r3,-21r52,19r-1,-52r21,-5r-3,57r50,-18r11,19","w":146},"+":{"d":"94,-90r0,54r-22,0r0,-54r-56,0r0,-19r56,0r0,-54r22,0r0,54r56,0r0,19r-56,0","w":166},",":{"d":"33,-36v34,10,5,62,-13,77r-10,-1v12,-14,18,-28,20,-40v-19,-4,-13,-34,3,-36"},"-":{"d":"16,-90r0,-19r90,0r0,19r-90,0","w":121},".":{"d":"33,-36v20,3,20,36,0,40v-20,-4,-21,-37,0,-40"},"\/":{"d":"26,5r-16,-12r188,-232r15,12","w":223},"0":{"d":"180,-115v0,64,-28,119,-82,119v-55,0,-83,-55,-83,-119v0,-65,28,-119,83,-119v53,0,82,56,82,119xm157,-115v0,-52,-17,-98,-59,-98v-78,0,-84,196,0,196v43,0,59,-45,59,-98","w":195},"1":{"d":"50,0r0,-212r-46,4r5,-20r64,-5r0,233r-23,0","w":105},"2":{"d":"141,-165v-5,55,-55,109,-90,145r102,0r0,20r-143,0r0,-5v51,-54,99,-94,108,-161v7,-52,-67,-58,-95,-32r-6,-21v46,-31,130,-13,124,54","w":164},"3":{"d":"135,-68v0,60,-67,88,-119,63r-7,-25v39,26,105,13,103,-41v-1,-29,-26,-54,-61,-49r-5,-19v23,-2,48,-19,48,-41v1,-37,-49,-42,-75,-23r-5,-19v36,-26,103,-8,103,40v0,23,-17,43,-35,47v28,5,53,31,53,67","w":150},"4":{"d":"131,-64r0,64r-23,0r0,-64r-100,0r-4,-19r111,-147r16,0r0,147r28,0r0,19r-28,0xm108,-190r-80,107r80,0r0,-107","w":172},"5":{"d":"145,-69v0,59,-67,90,-121,63r-6,-24v36,25,104,13,104,-39v0,-47,-55,-65,-96,-46r4,-115r96,0r-4,20r-71,0r-1,70v52,-11,95,23,95,71","w":160},"6":{"d":"163,-69v0,42,-32,74,-73,73v-84,-2,-92,-109,-45,-170v22,-29,44,-53,75,-69r23,10v-43,21,-80,59,-97,103v36,-43,117,-9,117,53xm140,-68v0,-62,-94,-72,-101,-15v-5,38,18,66,51,66v29,0,50,-22,50,-51","w":177},"7":{"d":"57,0r-25,0r90,-210r-114,0r0,-20r147,0","w":158},"8":{"d":"164,-62v0,40,-33,66,-74,66v-41,0,-75,-26,-75,-66v-1,-32,25,-55,49,-64v-19,-8,-39,-27,-39,-52v0,-33,31,-56,65,-56v34,0,64,22,64,56v0,26,-21,45,-40,52v25,8,50,31,50,64xm91,-136v56,-9,52,-78,-1,-78v-34,0,-57,38,-31,62v8,7,19,12,32,16xm89,-16v41,0,71,-51,37,-79v-10,-9,-23,-15,-38,-19v-25,6,-51,23,-51,51v-1,26,25,47,52,47","w":179},"9":{"d":"87,-234v84,1,92,109,46,170v-22,29,-45,53,-75,69r-23,-10v42,-22,79,-59,96,-103v-37,42,-117,7,-117,-54v0,-40,33,-73,73,-72xm139,-147v5,-38,-20,-65,-52,-66v-29,-1,-48,23,-50,51v-5,62,94,71,102,15","w":177},":":{"d":"33,-167v20,4,21,37,0,40v-20,-3,-20,-36,0,-40xm33,-36v20,3,20,36,0,40v-20,-4,-21,-37,0,-40"},";":{"d":"33,-167v20,4,21,37,0,40v-20,-3,-20,-36,0,-40xm33,-36v34,10,5,62,-13,77r-10,-1v12,-14,18,-28,20,-40v-19,-4,-13,-34,3,-36"},"<":{"d":"81,-36r-63,-64r63,-63r15,14r-48,49r48,49","w":126},"=":{"d":"16,-121r0,-19r134,0r0,19r-134,0xm16,-59r0,-19r134,0r0,19r-134,0","w":166},">":{"d":"45,-36r-15,-15r49,-49r-49,-49r15,-14r64,63","w":126},"?":{"d":"123,-188v0,52,-69,68,-52,132r-19,-4v-19,-63,45,-81,48,-130v3,-42,-64,-50,-85,-21r-5,-20v34,-35,113,-17,113,43xm63,-36v20,4,21,36,0,40v-20,-4,-21,-37,0,-40","w":137},"@":{"d":"261,-139v0,39,-28,92,-68,90v-15,0,-24,-11,-24,-27v-7,17,-26,27,-49,27v-24,0,-41,-20,-41,-46v0,-58,71,-109,121,-71r-14,85v0,10,3,14,9,14v78,-22,54,-150,-37,-150v-66,0,-123,56,-123,122v0,66,67,101,119,69r-5,21v-64,29,-134,-18,-134,-90v0,-77,67,-139,144,-139v58,0,102,40,102,95xm100,-95v0,33,38,37,54,13v14,-15,20,-46,24,-74v-38,-19,-78,22,-78,61","w":276},"A":{"d":"183,0r-27,-64r-97,0r-26,64r-24,0r95,-234r8,0r95,234r-24,0xm148,-84r-40,-106v-12,36,-28,70,-41,106r81,0","w":216},"B":{"d":"167,-68v-1,67,-70,73,-142,68r0,-230v60,-4,118,1,118,57v0,19,-11,38,-25,43v24,5,50,33,49,62xm118,-173v0,-33,-33,-39,-69,-36r0,72v36,2,69,-2,69,-36xm142,-68v0,-44,-44,-52,-93,-48r0,95v48,3,93,-2,93,-47","w":181},"C":{"d":"15,-115v0,-93,105,-149,189,-103r-4,21v-64,-40,-160,1,-160,82v0,83,97,123,164,82r-6,25v-81,38,-183,-17,-183,-107","w":215},"D":{"d":"212,-115v0,93,-83,125,-187,115r0,-230v104,-10,187,21,187,115xm188,-115v0,-72,-60,-100,-139,-94r0,188v79,6,139,-22,139,-94","w":227},"E":{"d":"25,0r0,-230r120,0r0,21r-96,0r0,83r78,0r0,21r-78,0r0,84r108,0r0,21r-132,0","w":165},"F":{"d":"49,-209r0,83r83,0r0,21r-83,0r0,105r-24,0r0,-230r122,0r0,21r-98,0","w":152},"G":{"d":"40,-114v0,80,94,122,159,81r0,-57r-61,0r0,-19r84,0r0,88v-76,58,-207,10,-207,-94v0,-96,111,-149,194,-101r-5,21v-65,-43,-164,-4,-164,81","w":243},"H":{"d":"181,0r0,-105r-132,0r0,105r-24,0r0,-230r24,0r0,104r132,0r0,-104r24,0r0,230r-24,0","w":229},"I":{"d":"31,0r0,-230r24,0r0,230r-24,0","w":86},"J":{"d":"-22,28v38,-8,58,-31,58,-77r0,-181r24,0v-8,105,34,252,-66,275","w":90},"K":{"d":"152,0r-103,-110r0,110r-24,0r0,-230r24,0r0,111r100,-111r28,0r-103,114r108,116r-30,0","w":186},"L":{"d":"25,0r0,-230r24,0r0,209r107,0r0,21r-131,0","w":159},"M":{"d":"253,0r-14,-179r-87,182r-8,0r-87,-182r-14,179r-22,0r19,-230r15,0r93,194r94,-194r15,0r19,230r-23,0","w":295},"N":{"d":"218,5r-169,-196r0,191r-24,0r0,-230r17,0r159,184r0,-184r24,0r0,235r-7,0","w":249},"O":{"d":"256,-115v0,67,-57,119,-121,119v-64,0,-120,-52,-120,-119v0,-66,56,-120,120,-119v65,0,121,52,121,119xm231,-115v0,-56,-44,-98,-96,-98v-51,0,-95,43,-95,98v0,55,44,98,95,98v52,0,96,-42,96,-98","w":270},"P":{"d":"156,-167v0,53,-48,68,-107,62r0,105r-24,0r0,-230v67,-4,131,0,131,63xm132,-167v-1,-37,-40,-46,-83,-42r0,83v43,2,84,-1,83,-41","w":162},"Q":{"d":"162,-1v21,8,74,40,108,20v-10,10,-12,26,-33,26v-39,0,-88,-32,-113,-42v-58,-4,-109,-55,-109,-118v0,-66,56,-120,120,-119v65,0,121,52,121,119v0,58,-42,107,-94,114xm231,-115v0,-56,-44,-98,-96,-98v-51,0,-95,43,-95,98v0,55,44,98,95,98v52,0,96,-42,96,-98","w":270},"R":{"d":"158,-167v0,30,-20,51,-45,58r80,109r-28,0r-76,-105r-40,0r0,105r-24,0r0,-230v67,-4,133,0,133,63xm133,-167v0,-39,-40,-46,-84,-42r0,83v43,3,85,0,84,-41","w":189},"S":{"d":"152,-62v0,66,-90,83,-136,48r-7,-28v29,29,115,41,118,-17v3,-64,-107,-42,-107,-117v0,-53,75,-75,117,-44r-5,20v-23,-20,-92,-19,-88,23v6,60,108,42,108,115","w":166},"T":{"d":"105,-209r0,209r-24,0r0,-209r-78,0r0,-21r182,0r0,21r-80,0","w":187},"U":{"d":"204,-80v0,52,-37,84,-90,84v-53,0,-90,-32,-89,-84r0,-150r24,0r0,148v-1,41,25,64,66,64v40,0,66,-24,66,-64r0,-148r23,0r0,150","w":228},"V":{"d":"104,4r-6,0r-92,-234r25,0r71,185r71,-185r23,0","w":201},"W":{"d":"241,4r-7,0r-68,-201r-68,201r-8,0r-80,-234r24,0r61,181r61,-181r21,0r61,181r61,-181r23,0","w":331},"X":{"d":"160,0r-61,-99r-63,99r-26,0r75,-117r-71,-113r28,0r57,94r59,-94r26,0r-70,112r74,118r-28,0","w":198},"Y":{"d":"116,-106r0,106r-24,0r0,-106r-88,-124r27,0r73,105r75,-105r25,0","w":208},"Z":{"d":"9,0r0,-5r120,-204r-110,0r0,-21r144,0r0,6r-120,203r124,0r0,21r-158,0","w":177},"[":{"d":"23,78r0,-330r71,0r0,19r-48,0r0,292r48,0r0,19r-71,0","w":106},"\\":{"d":"198,5r-188,-232r15,-12r188,232","w":223},"]":{"d":"13,78r0,-19r49,0r0,-292r-49,0r0,-19r71,0r0,330r-71,0","w":106},"^":{"d":"68,-242v14,20,32,37,55,48r-15,14v-16,-7,-29,-17,-40,-29v-11,12,-24,22,-40,29r-15,-14v23,-11,41,-27,55,-48","w":136},"_":{"d":"0,83r0,-20r181,0r0,20r-181,0","w":180},"`":{"d":"32,-236v18,19,39,30,68,38r-13,12v-27,-7,-42,-13,-60,-29","w":129},"a":{"d":"132,-112v0,36,-13,94,20,101r-14,15v-11,-2,-23,-14,-25,-25v-18,39,-100,30,-100,-23v0,-49,50,-53,96,-55v12,-52,-52,-57,-82,-36r-4,-19v38,-25,109,-13,109,42xm66,-16v30,-1,49,-26,43,-64v-32,4,-73,0,-74,36v0,15,14,29,31,28","w":160},"b":{"d":"171,-82v0,75,-90,108,-147,70r0,-244r22,0r0,99v54,-31,125,14,125,75xm148,-82v0,-52,-61,-83,-102,-53r0,111v46,21,102,-7,102,-58","w":183},"c":{"d":"13,-81v0,-68,79,-108,139,-73r-5,20v-43,-31,-111,-3,-111,53v0,55,67,81,114,53r-5,23v-58,28,-132,-12,-132,-76","w":164},"d":{"d":"13,-81v0,-66,78,-109,131,-72r0,-103r23,0r0,256r-20,0r-1,-14v-48,44,-133,1,-133,-67xm36,-81v-6,56,73,84,108,47r0,-95v-34,-38,-115,-10,-108,48","w":190},"e":{"d":"92,-167v41,0,74,30,68,72r-14,14r-109,0v-4,55,74,85,116,48r-6,25v-56,34,-134,-9,-134,-73v0,-46,36,-86,79,-86xm138,-100v4,-43,-50,-61,-80,-33v-10,10,-17,21,-19,33r99,0","w":173},"f":{"d":"32,-163v-8,-67,33,-111,94,-89r-4,19v-43,-19,-76,15,-67,70r52,0r-5,19r-47,0r0,144r-23,0r0,-144r-26,0r0,-19r26,0","w":114},"g":{"d":"142,-1v32,39,-10,84,-61,84v-38,0,-72,-22,-72,-56v-1,-26,19,-44,39,-50r-20,-17v0,-12,13,-23,23,-26v-15,-8,-30,-25,-30,-47v-1,-36,32,-61,70,-53v14,3,41,8,55,-1v2,10,11,22,-5,22v-4,1,-8,2,-12,2v28,33,-2,90,-48,85v-25,-3,-37,16,-14,24v25,9,60,15,75,33xm119,-113v-1,-19,-18,-35,-38,-35v-21,-1,-39,15,-39,35v0,20,16,36,39,36v19,0,39,-16,38,-36xm81,64v47,0,72,-51,22,-64v-28,-15,-74,-12,-73,27v0,24,24,37,51,37","w":164},"h":{"d":"46,-145v26,-39,115,-24,115,35r0,110r-23,0v-5,-59,22,-150,-45,-147v-25,0,-47,14,-47,39r0,108r-22,0r0,-256r22,0r0,111","w":182},"i":{"d":"41,-230v18,4,20,32,0,35v-17,-3,-18,-30,0,-35xm30,0r0,-163r23,0r0,163r-23,0","w":82},"j":{"d":"41,-230v18,4,20,32,0,35v-17,-3,-18,-30,0,-35xm9,83r-15,-15v24,-6,36,-22,36,-51r0,-180r23,0r0,182v0,31,-19,59,-44,64","w":82},"k":{"d":"124,0r-78,-79r0,79r-22,0r0,-256r22,0r0,171r76,-78r27,0r-77,80r81,83r-29,0","w":155},"l":{"d":"53,-38v-1,14,9,26,20,28r-15,15v-17,-5,-28,-18,-28,-41r0,-220r23,0r0,218","w":91},"m":{"d":"141,-141v21,-40,113,-34,113,25r0,116r-23,0v-7,-56,25,-149,-40,-147v-23,0,-43,11,-42,33r0,114r-23,0v-7,-56,25,-147,-40,-147v-23,0,-43,11,-42,33r0,114r-23,0r0,-163r21,0r0,18v17,-29,86,-30,99,4","w":275},"n":{"d":"42,-143v25,-41,116,-28,116,33r0,110r-23,0v-5,-59,22,-150,-45,-147v-25,0,-46,15,-46,39r0,108r-23,0r0,-163r21,0r0,20","w":179},"o":{"d":"185,-81v0,49,-37,85,-86,85v-48,0,-86,-37,-86,-85v0,-47,39,-86,86,-86v49,0,86,37,86,86xm162,-81v0,-37,-27,-66,-63,-66v-36,0,-63,29,-63,66v0,37,27,64,63,64v36,0,63,-28,63,-64","w":198},"p":{"d":"177,-82v0,67,-78,109,-131,72r0,93r-22,0r0,-246r20,0r0,14v48,-43,133,-1,133,67xm154,-82v5,-57,-73,-85,-108,-47r0,95v34,36,115,10,108,-48","w":190},"q":{"d":"13,-82v0,-67,73,-105,131,-74v5,-4,6,-10,16,-9r0,248r-22,0r0,-89v-55,31,-125,-14,-125,-76xm36,-82v0,51,59,83,102,54r0,-108v-41,-28,-102,1,-102,54","w":183},"r":{"d":"109,-146v-39,-1,-61,25,-61,66r0,80r-23,0r0,-163r21,0r2,31v7,-20,28,-33,56,-33","w":114},"s":{"d":"107,-74v34,42,-14,97,-70,74v-7,-2,-14,-6,-20,-10r-6,-26v15,13,32,20,52,20v17,0,34,-9,33,-25v-4,-43,-78,-30,-78,-82v0,-44,58,-54,91,-33r-5,18v-18,-12,-63,-17,-63,14v0,32,50,30,66,50","w":133},"t":{"d":"99,1v-32,8,-60,-9,-60,-42r0,-103r-34,0r0,-19r34,0r0,-35r22,-12r0,47r59,0r-5,19r-54,0r0,103v-2,23,26,29,43,20","w":125},"u":{"d":"89,-16v25,0,46,-14,46,-39r0,-108r23,0r0,163r-20,0r-1,-20v-25,41,-116,27,-116,-33r0,-110r23,0v5,59,-22,150,45,147","w":179},"v":{"d":"87,3r-9,0r-68,-166r23,0r50,125r51,-125r22,0","w":165},"w":{"d":"184,3r-8,0r-47,-134r-49,134r-8,0r-60,-166r21,0r43,122r44,-122r17,0r43,122r44,-122r20,0","w":255},"x":{"d":"118,0r-40,-65r-41,65r-25,0r53,-83r-50,-80r26,0r37,61r39,-61r24,0r-50,79r53,84r-26,0","w":156},"y":{"d":"-3,69v39,-14,57,-41,75,-83r-63,-149r24,0r51,123r52,-123r22,0v-45,84,-60,209,-147,247","w":167},"z":{"d":"9,0v24,-52,59,-97,86,-143r-79,-1r0,-19r114,0v-26,54,-56,92,-86,143r92,1r0,19r-127,0","w":146},"{":{"d":"32,-86v49,26,3,147,76,147r-5,18v-49,0,-65,-39,-65,-89v0,-37,-9,-63,-33,-76v60,-26,0,-166,98,-166r5,18v-73,-1,-27,122,-76,148","w":118},"|":{"d":"29,83r0,-339r20,0r0,339r-20,0","w":77},"}":{"d":"87,-86v-49,-26,-3,-148,-76,-148r4,-18v49,0,65,39,66,89v1,36,10,63,33,77v-60,26,1,167,-99,165r-4,-18v73,1,26,-122,76,-147","w":118},"~":{"d":"117,-97v-11,9,-30,17,-49,17r-6,-19v-18,1,-26,6,-42,15r4,-18v14,-9,29,-18,49,-18r6,21v15,-1,30,-9,42,-16","w":140},"\u00a0":{"w":85}}});
;
/*  ========================================================================
    Plugin JS
    ========================================================================    */

    (function($){

    })(this.jQuery);
    
    /*
    * TipTip
    * Copyright 2010 Drew Wilson
    * www.drewwilson.com
    * code.drewwilson.com/entry/tiptip-jquery-plugin
    * Version 1.3   -   Updated: Mar. 23, 2010
    * This TipTip jQuery plug-in is dual licensed under the MIT and GPL licenses:
    *   http://www.opensource.org/licenses/mit-license.php
    *   http://www.gnu.org/licenses/gpl.html
    */
    (function($){$.fn.tipTip=function(options){var defaults={activation:"hover",keepAlive:false,maxWidth:"200px",edgeOffset:3,defaultPosition:"bottom",delay:400,fadeIn:200,fadeOut:200,attribute:"title",content:false,enter:function(){},exit:function(){}};var opts=$.extend(defaults,options);if($("#tiptip_holder").length<=0){var tiptip_holder=$('<div id="tiptip_holder" style="max-width:'+opts.maxWidth+';"></div>');var tiptip_content=$('<div id="tiptip_content"></div>');var tiptip_arrow=$('<div id="tiptip_arrow"></div>');$("body").append(tiptip_holder.html(tiptip_content).prepend(tiptip_arrow.html('<div id="tiptip_arrow_inner"></div>')))}else{var tiptip_holder=$("#tiptip_holder");var tiptip_content=$("#tiptip_content");var tiptip_arrow=$("#tiptip_arrow")}return this.each(function(){var org_elem=$(this);if(opts.content){var org_title=opts.content}else{var org_title=org_elem.attr(opts.attribute)}if(org_title!=""){if(!opts.content){org_elem.removeAttr(opts.attribute)}var timeout=false;if(opts.activation=="hover"){org_elem.hover(function(){active_tiptip()},function(){if(!opts.keepAlive){deactive_tiptip()}});if(opts.keepAlive){tiptip_holder.hover(function(){},function(){deactive_tiptip()})}}else if(opts.activation=="focus"){org_elem.focus(function(){active_tiptip()}).blur(function(){deactive_tiptip()})}else if(opts.activation=="click"){org_elem.click(function(){active_tiptip();return false}).hover(function(){},function(){if(!opts.keepAlive){deactive_tiptip()}});if(opts.keepAlive){tiptip_holder.hover(function(){},function(){deactive_tiptip()})}}function active_tiptip(){opts.enter.call(this);tiptip_content.html(org_title);tiptip_holder.hide().removeAttr("class").css("margin","0");tiptip_arrow.removeAttr("style");var top=parseInt(org_elem.offset()['top']);var left=parseInt(org_elem.offset()['left']);var org_width=parseInt(org_elem.outerWidth());var org_height=parseInt(org_elem.outerHeight());var tip_w=tiptip_holder.outerWidth();var tip_h=tiptip_holder.outerHeight();var w_compare=Math.round((org_width-tip_w)/2);var h_compare=Math.round((org_height-tip_h)/2);var marg_left=Math.round(left+w_compare);var marg_top=Math.round(top+org_height+opts.edgeOffset);var t_class="";var arrow_top="";var arrow_left=Math.round(tip_w-12)/2;if(opts.defaultPosition=="bottom"){t_class="_bottom"}else if(opts.defaultPosition=="top"){t_class="_top"}else if(opts.defaultPosition=="left"){t_class="_left"}else if(opts.defaultPosition=="right"){t_class="_right"}var right_compare=(w_compare+left)<parseInt($(window).scrollLeft());var left_compare=(tip_w+left)>parseInt($(window).width());if((right_compare&&w_compare<0)||(t_class=="_right"&&!left_compare)||(t_class=="_left"&&left<(tip_w+opts.edgeOffset+5))){t_class="_right";arrow_top=Math.round(tip_h-13)/2;arrow_left=-12;marg_left=Math.round(left+org_width+opts.edgeOffset);marg_top=Math.round(top+h_compare)}else if((left_compare&&w_compare<0)||(t_class=="_left"&&!right_compare)){t_class="_left";arrow_top=Math.round(tip_h-13)/2;arrow_left=Math.round(tip_w);marg_left=Math.round(left-(tip_w+opts.edgeOffset+5));marg_top=Math.round(top+h_compare)}var top_compare=(top+org_height+opts.edgeOffset+tip_h+8)>parseInt($(window).height()+$(window).scrollTop());var bottom_compare=((top+org_height)-(opts.edgeOffset+tip_h+8))<0;if(top_compare||(t_class=="_bottom"&&top_compare)||(t_class=="_top"&&!bottom_compare)){if(t_class=="_top"||t_class=="_bottom"){t_class="_top"}else{t_class=t_class+"_top"}arrow_top=tip_h;marg_top=Math.round(top-(tip_h+5+opts.edgeOffset))}else if(bottom_compare|(t_class=="_top"&&bottom_compare)||(t_class=="_bottom"&&!top_compare)){if(t_class=="_top"||t_class=="_bottom"){t_class="_bottom"}else{t_class=t_class+"_bottom"}arrow_top=-12;marg_top=Math.round(top+org_height+opts.edgeOffset)}if(t_class=="_right_top"||t_class=="_left_top"){marg_top=marg_top+5}else if(t_class=="_right_bottom"||t_class=="_left_bottom"){marg_top=marg_top-5}if(t_class=="_left_top"||t_class=="_left_bottom"){marg_left=marg_left+5}tiptip_arrow.css({"margin-left":arrow_left+"px","margin-top":arrow_top+"px"});tiptip_holder.css({"margin-left":marg_left+"px","margin-top":marg_top+"px"}).attr("class","tip"+t_class);if(timeout){clearTimeout(timeout)}timeout=setTimeout(function(){tiptip_holder.stop(true,true).fadeIn(opts.fadeIn)},opts.delay)}function deactive_tiptip(){opts.exit.call(this);if(timeout){clearTimeout(timeout)}tiptip_holder.fadeOut(opts.fadeOut)}}})}})(jQuery);
    
    // ColorBox v1.3.16 - a full featured, light-weight, customizable lightbox based on jQuery 1.3+
    // Copyright (c) 2011 Jack Moore - jack@colorpowered.com
    // Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
    (function(a,b,c){function ba(b){if(!T){O=b,Z(a.extend(J,a.data(O,e))),x=a(O),P=0,J.rel!=="nofollow"&&(x=a("."+V).filter(function(){var b=a.data(this,e).rel||this.rel;return b===J.rel}),P=x.index(O),P===-1&&(x=x.add(O),P=x.length-1));if(!R){R=S=!0,q.show();if(J.returnFocus)try{O.blur(),a(O).one(k,function(){try{this.focus()}catch(a){}})}catch(c){}p.css({opacity:+J.opacity,cursor:J.overlayClose?"pointer":"auto"}).show(),J.w=X(J.initialWidth,"x"),J.h=X(J.initialHeight,"y"),U.position(0),n&&y.bind("resize."+o+" scroll."+o,function(){p.css({width:y.width(),height:y.height(),top:y.scrollTop(),left:y.scrollLeft()})}).trigger("resize."+o),$(g,J.onOpen),I.add(C).hide(),H.html(J.close).show()}U.load(!0)}}function _(){var a,b=f+"Slideshow_",c="click."+f,d,e,g;J.slideshow&&x[1]&&(d=function(){E.text(J.slideshowStop).unbind(c).bind(i,function(){if(P<x.length-1||J.loop)a=setTimeout(U.next,J.slideshowSpeed)}).bind(h,function(){clearTimeout(a)}).one(c+" "+j,e),q.removeClass(b+"off").addClass(b+"on"),a=setTimeout(U.next,J.slideshowSpeed)},e=function(){clearTimeout(a),E.text(J.slideshowStart).unbind([i,h,j,c].join(" ")).one(c,d),q.removeClass(b+"on").addClass(b+"off")},J.slideshowAuto?d():e())}function $(b,c){c&&c.call(O),a.event.trigger(b)}function Z(b){for(var c in b)a.isFunction(b[c])&&c.substring(0,2)!=="on"&&(b[c]=b[c].call(O));b.rel=b.rel||O.rel||"nofollow",b.href=a.trim(b.href||a(O).attr("href")),b.title=b.title||O.title}function Y(a){return J.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(a)}function X(a,b){b=b==="x"?y.width():y.height();return typeof a=="string"?Math.round(/%/.test(a)?b/100*parseInt(a,10):parseInt(a,10)):a}function W(c,d){var e=b.createElement("div");e.id=c?f+c:!1,e.style.cssText=d||!1;return a(e)}var d={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:!1,returnFocus:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0},e="colorbox",f="cbox",g=f+"_open",h=f+"_load",i=f+"_complete",j=f+"_cleanup",k=f+"_closed",l=f+"_purge",m=a.browser.msie&&!a.support.opacity,n=m&&a.browser.version<7,o=f+"_IE6",p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J={},K,L,M,N,O,P,Q,R,S,T=!1,U,V=f+"Element";U=a.fn[e]=a[e]=function(b,c){var f=this,g;if(!f[0]&&f.selector)return f;b=b||{},c&&(b.onComplete=c);if(!f[0]||f.selector===undefined)f=a("<a/>"),b.open=!0;f.each(function(){a.data(this,e,a.extend({},a.data(this,e)||d,b)),a(this).addClass(V)}),g=b.open,a.isFunction(g)&&(g=g.call(f)),g&&ba(f[0]);return f},U.init=function(){y=a(c),q=W().attr({id:e,"class":m?f+(n?"IE6":"IE"):""}),p=W("Overlay",n?"position:absolute":"").hide(),r=W("Wrapper"),s=W("Content").append(z=W("LoadedContent","width:0; height:0; overflow:hidden"),B=W("LoadingOverlay").add(W("LoadingGraphic")),C=W("Title"),D=W("Current"),F=W("Next"),G=W("Previous"),E=W("Slideshow").bind(g,_),H=W("Close")),r.append(W().append(W("TopLeft"),t=W("TopCenter"),W("TopRight")),W(!1,"clear:left").append(u=W("MiddleLeft"),s,v=W("MiddleRight")),W(!1,"clear:left").append(W("BottomLeft"),w=W("BottomCenter"),W("BottomRight"))).children().children().css({"float":"left"}),A=W(!1,"position:absolute; width:9999px; visibility:hidden; display:none"),a("body").prepend(p,q.append(r,A)),s.children().hover(function(){a(this).addClass("hover")},function(){a(this).removeClass("hover")}).addClass("hover"),K=t.height()+w.height()+s.outerHeight(!0)-s.height(),L=u.width()+v.width()+s.outerWidth(!0)-s.width(),M=z.outerHeight(!0),N=z.outerWidth(!0),q.css({"padding-bottom":K,"padding-right":L}).hide(),F.click(function(){U.next()}),G.click(function(){U.prev()}),H.click(function(){U.close()}),I=F.add(G).add(D).add(E),s.children().removeClass("hover"),a("."+V).live("click",function(a){a.button!==0&&typeof a.button!="undefined"||a.ctrlKey||a.shiftKey||a.altKey||(a.preventDefault(),ba(this))}),p.click(function(){J.overlayClose&&U.close()}),a(b).bind("keydown",function(a){R&&J.escKey&&a.keyCode===27&&(a.preventDefault(),U.close()),R&&J.arrowKey&&!S&&x[1]&&(a.keyCode===37&&(P||J.loop)?(a.preventDefault(),G.click()):a.keyCode===39&&(P<x.length-1||J.loop)&&(a.preventDefault(),F.click()))})},U.remove=function(){q.add(p).remove(),a("."+V).die("click").removeData(e).removeClass(V)},U.position=function(a,c){function g(a){t[0].style.width=w[0].style.width=s[0].style.width=a.style.width,B[0].style.height=B[1].style.height=s[0].style.height=u[0].style.height=v[0].style.height=a.style.height}var d,e=Math.max(b.documentElement.clientHeight-J.h-M-K,0)/2+y.scrollTop(),f=Math.max(y.width()-J.w-N-L,0)/2+y.scrollLeft();d=q.width()===J.w+N&&q.height()===J.h+M?0:a,r[0].style.width=r[0].style.height="9999px",q.dequeue().animate({width:J.w+N,height:J.h+M,top:e,left:f},{duration:d,complete:function(){g(this),S=!1,r[0].style.width=J.w+N+L+"px",r[0].style.height=J.h+M+K+"px",c&&c()},step:function(){g(this)}})},U.resize=function(a){if(R){a=a||{},a.width&&(J.w=X(a.width,"x")-N-L),a.innerWidth&&(J.w=X(a.innerWidth,"x")),z.css({width:J.w}),a.height&&(J.h=X(a.height,"y")-M-K),a.innerHeight&&(J.h=X(a.innerHeight,"y"));if(!a.innerHeight&&!a.height){var b=z.wrapInner("<div style='overflow:auto'></div>").children();J.h=b.height(),b.replaceWith(b.children())}z.css({height:J.h}),U.position(J.transition==="none"?0:J.speed)}},U.prep=function(b){function h(b){U.position(b,function(){var b,d,g,h,j=x.length,k,n;!R||(n=function(){B.hide(),$(i,J.onComplete)},m&&Q&&z.fadeIn(100),C.html(J.title).add(z).show(),j>1?(typeof J.current=="string"&&D.html(J.current.replace(/\{current\}/,P+1).replace(/\{total\}/,j)).show(),F[J.loop||P<j-1?"show":"hide"]().html(J.next),G[J.loop||P?"show":"hide"]().html(J.previous),b=P?x[P-1]:x[j-1],g=P<j-1?x[P+1]:x[0],J.slideshow&&E.show(),J.preloading&&(h=a.data(g,e).href||g.href,d=a.data(b,e).href||b.href,h=a.isFunction(h)?h.call(g):h,d=a.isFunction(d)?d.call(b):d,Y(h)&&(a("<img/>")[0].src=h),Y(d)&&(a("<img/>")[0].src=d))):I.hide(),J.iframe?(k=a("<iframe frameborder=0/>").addClass(f+"Iframe")[0],J.fastIframe?n():a(k).load(n),k.name=f+ +(new Date),k.src=J.href,J.scrolling||(k.scrolling="no"),m&&(k.allowTransparency="true"),a(k).appendTo(z).one(l,function(){k.src="//about:blank"})):n(),J.transition==="fade"?q.fadeTo(c,1,function(){q[0].style.filter=""}):q[0].style.filter="",y.bind("resize."+f,function(){U.position(0)}))})}function g(){J.h=J.h||z.height(),J.h=J.mh&&J.mh<J.h?J.mh:J.h;return J.h}function d(){J.w=J.w||z.width(),J.w=J.mw&&J.mw<J.w?J.mw:J.w;return J.w}if(!!R){var c=J.transition==="none"?0:J.speed;y.unbind("resize."+f),z.remove(),z=W("LoadedContent").html(b),z.hide().appendTo(A.show()).css({width:d(),overflow:J.scrolling?"auto":"hidden"}).css({height:g()}).prependTo(s),A.hide(),a(Q).css({"float":"none"}),n&&a("select").not(q.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(j,function(){this.style.visibility="inherit"}),J.transition==="fade"?q.fadeTo(c,0,function(){h(0)}):h(c)}},U.load=function(b){var c,d,g=U.prep;S=!0,Q=!1,O=x[P],b||Z(a.extend(J,a.data(O,e))),$(l),$(h,J.onLoad),J.h=J.height?X(J.height,"y")-M-K:J.innerHeight&&X(J.innerHeight,"y"),J.w=J.width?X(J.width,"x")-N-L:J.innerWidth&&X(J.innerWidth,"x"),J.mw=J.w,J.mh=J.h,J.maxWidth&&(J.mw=X(J.maxWidth,"x")-N-L,J.mw=J.w&&J.w<J.mw?J.w:J.mw),J.maxHeight&&(J.mh=X(J.maxHeight,"y")-M-K,J.mh=J.h&&J.h<J.mh?J.h:J.mh),c=J.href,B.show(),J.inline?(W().hide().insertBefore(a(c)[0]).one(l,function(){a(this).replaceWith(z.children())}),g(a(c))):J.iframe?g(" "):J.html?g(J.html):Y(c)?(a(Q=new Image).addClass(f+"Photo").error(function(){J.title=!1,g(W("Error").text("This image could not be loaded"))}).load(function(){var a;Q.onload=null,J.scalePhotos&&(d=function(){Q.height-=Q.height*a,Q.width-=Q.width*a},J.mw&&Q.width>J.mw&&(a=(Q.width-J.mw)/Q.width,d()),J.mh&&Q.height>J.mh&&(a=(Q.height-J.mh)/Q.height,d())),J.h&&(Q.style.marginTop=Math.max(J.h-Q.height,0)/2+"px"),x[1]&&(P<x.length-1||J.loop)&&(Q.style.cursor="pointer",Q.onclick=function(){U.next()}),m&&(Q.style.msInterpolationMode="bicubic"),setTimeout(function(){g(Q)},1)}),setTimeout(function(){Q.src=c},1)):c&&A.load(c,function(b,c,d){g(c==="error"?W("Error").text("Request unsuccessful: "+d.statusText):a(this).contents())})},U.next=function(){S||(P=P<x.length-1?P+1:0,U.load())},U.prev=function(){S||(P=P?P-1:x.length-1,U.load())},U.close=function(){R&&!T&&(T=!0,R=!1,$(j,J.onCleanup),y.unbind("."+f+" ."+o),p.fadeTo(200,0),q.stop().fadeTo(300,0,function(){q.add(p).css({opacity:1,cursor:"auto"}).hide(),$(l),z.remove(),setTimeout(function(){T=!1,$(k,J.onClosed)},1)}))},U.element=function(){return a(O)},U.settings=d,a(U.init)})(jQuery,document,this);

    window.log = function(){
        log.history = log.history || [];   
        log.history.push(arguments);
        if(this.console){
            console.log( Array.prototype.slice.call(arguments) );
        }
    };
    
    (function(doc){
        var write = doc.write;
        doc.write = function(q){ 
            log('document.write(): ',arguments); 
            if (/docwriteregexwhitelist/.test(q)) write.apply(doc,arguments);  
        };
    })(document);;
/*  ========================================================================
    Script JS
    ========================================================================    */
    
    (function ($) {
        
        /* Images */
        
        image = {
        
            home_image_fix: function(){
                
                $('#homepage-container, .stack-prop').css({'height': ($(window).height()-120)+'px'});
                
                var newImg = new Image();
                newImg.src = $('#homepage-container img').attr('src');                
                
                if (newImg.height > ($(window).height()-120)){
                
                    $('#homepage-container img').css({
                        'height': ($(window).height()-120)+'px'
                    });
                }
                
                if (newImg.height > ($(window).height()-120) && (newImg.width+70) > $(window).width()){
                
                    $('#homepage-container img').css({
                        'width': 'auto',
                        'height': 'auto'
                    });
                }
                
                if (($(window).height()-120) > newImg.height && $(window).width() > newImg.width){
                    
                    $('#homepage-container img').css({
                        'width': 'auto',
                        'height': 'auto'
                    });
                }
            },
            
            detail_fix: function(){
                $('#slide img').css({'height': ($(window).height()-307)+'px'});
            },
            
            selected_work_grid_hover: function(){
                
                if (navigator.userAgent.indexOf('MSIE 6.0') <= 0){
                    $.each( $('#thumbnails a'), function(i, n){
                        
                       // console.log( $(this).parent().siblings('div') );
                        
                        $(this).hover(
                            function () {
                                $(this).siblings('ul').css({'left':'auto'});
                                //$(this).siblings('ul').children('li').css({'left':'0'});
                            }, 
                            function () {
                                $(this).siblings('ul').css({'left':'-9999em'});
                                //$(this).siblings('ul').children('li').css({'left':'-9999em'});
                            }
                        );
                    });
                }
            },
            
            portraitHeight: 0,
            selected_work_grid_fix_rerun: 0,
        
            selected_work_grid_fix: function(){
                
                // console.log('selected_work_grid_fix');
                
                if ($('.selected-work').length > 0){
                    
                    $.each( $('#thumbnails img'), function(i, n){
                        
                        if ($(window).width() > 1440){
                            $(this).css({'width':'auto','height':'auto','max-width':'100%','max-height':'100%'});
                            $(this).parent().siblings('ul').css({'width':'auto'});
                        }
                        else {
                            
                            var newImg = new Image();
                            newImg.src = $(this).attr('src');
                            if (newImg.width > newImg.height){
                                // Landscape
                                var hratio = (newImg.height/newImg.width)*100;
                                var wratio = 100;
                                
                                $(this).css({'width':wratio.toFixed(2)+'%','height':hratio.toFixed(2)+'%','max-width':'251px','max-height':'251px'});

                                image.portraitHeight = $(this).width();
                            }
                            
                            if (newImg.height > newImg.width){
                                
                                if (image.portraitHeight>0){
                                    $(this).css({'width':'auto','height':image.portraitHeight+'px','max-width':'100%','max-height':'100%'});
                                }
                                else {
                                    image.selected_work_grid_fix_rerun = 1;
                                }
                            }
                        }
                    });
                }
                
                if (image.selected_work_grid_fix_rerun == 1){
                    image.selected_work_grid_fix_rerun = 0;
                    image.selected_work_grid_fix();
                }
            },
            
            blog_grid_fix: function(){
                
                if ($('#blog-sidebar').length > 0){
                    
                    $.each( $('article'), function(i, n){
                        nHeight = $('img:first', this).height();
                        // Restore auto for resizing
                        $(this).css({'min-height':'auto'});
                        $(this).css({'min-height': nHeight+'px' });
                    });
                }
            }
        }
        
        layout = {
            
            equalHeight: function (group) {
                var tallest = 0;
                group.each(function() {
                    var thisHeight = $(this).height();
                    if(thisHeight > tallest) {
                        tallest = thisHeight;
                    }
                });
                group.height(tallest);
            },
            
            selected_work_archive_sidebar: function (){
            
                /* Selected Work Archived Sidebar */
                
                if ($('#archived-work-sidebar').length > 0){
                    $('#selected-work-sidebar section').hide();
                    $('#archived-work-sidebar section').show();
                }
            }
        }
        
        /* RSS Whats This */
        
            if ($('.rss-feed').length > 0){
                $('.rss-feed li:first a').tipTip();
            }
        
        /* Cufon */
        
            Cufon.replace('h1, h2, h3, h4, #main-navigation li a, #skip-navigation ul li a, .read-more a, .comment-reply a, .title, .sold', {
                fontFamily: 'agenda',
                hover: true
            });
            
        /* Remove filter-wrapper on comment form */
        
            if ($('.filter-wrapper').length > 0) {
                $('.filter-wrapper').remove();
            }
        
        /* Colorbox */
        
            if ($('#article-info').length > 0 || $('#slide').length > 0){
                $('a[rel$="gallery"]').colorbox({scalePhotos: true, maxWidth:'90%',maxHeight:'90%',scrolling: false});
            }
            
        /* Equalheights */
        
            if ($('.links, .sitemap').length > 0) {
                layout.equalHeight($(".aside-container"));
            }
            
        /* External Links */
        
            if($('a.external-link')){
                $('a.external-link').each(function(i){
                    var tmp = $(this).html();
                    $(this).html( tmp +'<span class="offpage external-icon"> - (Opens in a new window)</span>');
                    tmp = null;
                });
                $('a.external-link').click(function(){
                    window.open(this.href);
                    return false;
                });
            }
            
        /* Homepage */
        
                if ($('.home').length > 0){
                    image.home_image_fix();
                    $(window).resize(function() {
                        image.home_image_fix();
                    }).trigger('resize');
                }
        
            /* Homepage Min/Max  */
            
                $('p#minimise a').click(function(){
                    $('#welcome-message').hide();
                    $('p#minimise').hide();
                    $('p#maximise').show();
                    return false;
                });
                
                $('p#maximise a').click(function(){
                    $('#welcome-message').show();
                    $('p#minimise').show();
                    $('p#maximise').hide();
                    return false;
                });
    
        /* Sidebar  */
        
            if ($('#sidebar').height() > $(window).height()){
                $('#sidebar').css({'position' : 'absolute'});
            }
      
        /* Selected Work */
    
            /* Select Work listing fix call */
            
                if ($('.selected-work').length > 0){
                    
                    if (navigator.userAgent.indexOf('Firefox') > 0 || (navigator.userAgent.indexOf('MSIE') > 0 && navigator.userAgent.indexOf('MSIE 6.0') <= 0) ){
                        image.selected_work_grid_fix();
                        $(window).resize(function() {
                            image.selected_work_grid_fix();
                        });
                    }
                    image.selected_work_grid_hover();
                }
                
            /* Selected Work Archived Sidebar */
            
                if ($('.archived').length > 0){
                    $('#selected-work-sidebar section').hide();
                    $('#archived-work-sidebar section').show();
                }
                
                if ($('.selected-work').length > 0 && $('#slide').length > 0){
                    $('#page-footer').hide();
                    image.detail_fix();
                    $(window).resize(function() {
                        image.detail_fix();
                    });
                }
            
        /* Blog listing fix call */
        
            if ($('#blog-sidebar').length > 0){
    
                image.blog_grid_fix();
                $(window).resize(function() {
                    image.blog_grid_fix();
                });
            }
            
            if ($('#comment-form').length > 0){
                $('h2.title a').click(function(){
                    $('#comment-form').toggle();
                });
            }
            
        /* Remove status message */
            
            if ($('.messages.status').length > 0){
                
                var timeout = setTimeout(function(){
                    $('.messages.status').fadeOut(1000, function () {
                        $(this).remove();
                    });
                }, 5000);
            }
        
    })(jQuery);
;

