/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09
 */
var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																										   
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																										   /*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Typeface © 1992 Fonderia Caratteri Svizzera Walter Fruttiger A.G. Data © 1992
 * URW. Portions © 1992 Microsoft Corp. All rights reserved.
 * 
 * Trademark:
 * Eurostile is a licensed trademark of Fonderia Caratteri Svizzera Walter
 * Fruttiger A.G.
 */
Cufon.registerFont({"w":1256,"face":{"font-family":"Eurostile","font-weight":400,"font-stretch":"normal","units-per-em":"2048","panose-1":"2 11 5 4 2 2 2 5 2 4","ascent":"1638","descent":"-410","x-height":"14","bbox":"-136 -1492 2041 428.977","underline-thickness":"130","underline-position":"-136","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":512},"A":{"d":"969,-289r-691,0r-105,289r-163,0r500,-1365r216,0r510,1365r-161,0xm924,-405r-303,-834r-299,834r602,0","w":1246},"B":{"d":"1182,-393v0,291,-94,393,-383,393r-669,0r0,-1365r604,0v329,9,406,43,406,361v0,151,-58,247,-175,287r0,3v145,35,217,142,217,321xm993,-1016v0,-202,-50,-219,-262,-219r-447,0r0,470r405,0v247,-8,304,-17,304,-251xm750,-131v226,-6,285,-23,285,-238v0,-122,-17,-199,-55,-225v-97,-65,-497,-35,-696,-41r0,505","w":1264},"C":{"d":"1007,-990v-6,-237,-49,-259,-295,-259v-220,0,-354,18,-403,55v-49,37,-73,138,-73,305v0,383,16,608,49,674v33,66,144,99,335,99v181,0,295,-14,340,-43v45,-29,67,-101,67,-216r-2,-81r153,0r0,52v0,186,-32,302,-95,348v-63,46,-223,70,-478,70v-229,0,-374,-40,-436,-122v-62,-82,-93,-274,-93,-577v0,-237,7,-386,21,-447v14,-61,54,-115,120,-163v77,-56,244,-84,501,-84v341,0,435,65,442,394r1,37r-153,0","w":1222},"D":{"d":"762,-1365v431,10,501,163,501,623v0,296,-31,494,-93,593v-62,99,-184,149,-369,149r-671,0r0,-1365r632,0xm284,-130r445,0v163,0,269,-33,316,-98v47,-65,71,-211,71,-437v0,-248,-21,-405,-62,-471v-41,-66,-139,-99,-294,-99r-476,0r0,1105","w":1338},"E":{"d":"229,-1235r0,465r693,0r0,130r-693,0r0,510r723,0r0,130r-877,0r0,-1365r877,0r0,130r-723,0","w":1020},"F":{"d":"284,-1235r0,477r665,0r0,130r-665,0r0,628r-154,0r0,-1365r837,0r0,130r-683,0","w":1001},"G":{"d":"695,-116v336,0,353,-17,364,-349v0,-13,-3,-41,-8,-84r-434,0r0,-130r585,0v3,35,4,85,4,149v0,246,-30,398,-90,456v-60,58,-218,88,-473,88v-495,0,-553,-73,-567,-568r0,-322v10,-434,125,-503,576,-503v232,0,380,23,449,65v76,46,107,182,101,345r-151,0v4,-114,-18,-215,-69,-241v-47,-24,-164,-39,-357,-39v-361,0,-401,24,-401,381v0,219,-30,612,74,693v50,39,182,59,397,59","w":1268},"H":{"d":"1236,-1365r0,1365r-154,0r0,-633r-798,0r0,633r-154,0r0,-1365r154,0r0,602r798,0r0,-602r154,0","w":1365},"I":{"d":"284,-1365r0,1365r-154,0r0,-1365r154,0","w":417},"J":{"d":"474,-116v253,0,270,-48,270,-311r0,-938r154,0r0,963v-6,328,-90,416,-418,416v-310,0,-427,-57,-427,-349v0,-62,1,-116,3,-162r151,0r0,130v7,235,28,251,267,251","w":1028},"K":{"d":"284,-1365r0,596r135,0r560,-596r199,0r-624,658r700,707r-211,0r-624,-639r-135,0r0,639r-154,0r0,-1365r154,0","w":1235},"L":{"d":"284,-1365r0,1222r702,0r0,143r-856,0r0,-1365r154,0","w":993},"M":{"d":"1628,-1365r0,1365r-154,0r2,-1256r-4,0r-50,127r-465,1129r-154,0r-517,-1242r-4,0r2,1242r-154,0r0,-1365r267,0r479,1168r4,0r477,-1168r271,0","w":1757},"N":{"d":"1296,-1365r0,1365r-253,0r-757,-1234r-4,0r2,1234r-154,0r0,-1365r252,0r758,1241r4,0r-2,-1241r154,0","w":1426},"O":{"d":"49,-908v9,-397,157,-471,580,-471v258,0,419,38,484,113v65,75,97,264,97,565v0,325,-31,525,-93,601v-62,76,-225,114,-488,114v-262,0,-424,-38,-487,-113v-63,-75,-95,-270,-95,-584xm628,-1249v-216,0,-342,24,-379,72v-37,48,-55,213,-55,494v0,282,18,447,55,495v37,48,163,72,379,72v217,0,343,-24,380,-72v37,-48,55,-213,55,-495r-1,-218v0,-151,-25,-246,-76,-287v-51,-41,-170,-61,-358,-61"},"P":{"d":"1154,-943v0,321,-92,403,-416,404r-454,1r0,538r-154,0r0,-1365r625,0v320,6,399,97,399,422xm1007,-931v0,-254,-9,-302,-250,-303r-473,-1r0,567v200,-5,559,22,658,-47v43,-31,65,-103,65,-216","w":1208},"Q":{"d":"1322,-167r-63,105r-122,-79v-73,103,-242,155,-507,155v-270,0,-435,-38,-494,-114v-59,-76,-88,-289,-88,-638v0,-279,34,-456,101,-530v67,-74,228,-111,481,-111v258,0,419,38,484,113v65,75,97,264,97,565v0,226,-8,374,-25,444xm606,-489r71,-105r373,247v9,-49,14,-135,14,-258v0,-329,-16,-519,-50,-569v-34,-50,-162,-75,-385,-75v-216,0,-342,24,-379,72v-37,48,-55,213,-55,494v0,282,18,447,55,495v37,48,162,72,377,72v213,0,343,-35,388,-105","w":1342},"R":{"d":"1180,-976v0,243,-37,323,-236,360r0,3v145,11,217,99,217,264r0,349r-154,0r0,-314v-1,-179,-84,-239,-258,-239r-465,0r0,553r-154,0r0,-1365r650,0v294,4,400,96,400,389xm1033,-938v0,-238,-24,-297,-251,-297r-498,0r0,552r445,0v225,-4,304,-41,304,-255","w":1276},"S":{"d":"70,-990v0,-348,128,-389,504,-389v204,0,337,25,399,73v62,48,93,152,93,311r-153,0v-7,-245,-54,-254,-314,-254v-161,0,-265,15,-312,43v-47,28,-70,91,-70,189v0,110,18,177,55,201v37,24,146,41,327,49v213,10,347,36,405,81v58,45,87,145,87,300v0,168,-33,277,-99,326v-66,49,-213,74,-440,74v-197,0,-325,-27,-392,-74v-75,-53,-103,-200,-99,-362r153,0v-3,120,15,234,56,262v39,27,133,44,287,44v177,0,285,-14,326,-44v41,-30,61,-109,61,-238v0,-178,-41,-207,-215,-216r-312,-16v-231,-16,-347,-136,-347,-360","w":1146},"T":{"d":"606,-1222r0,1222r-154,0r0,-1222r-445,0r0,-143r1040,0r0,143r-441,0","w":1054},"U":{"d":"1058,-1365r154,0r0,956v0,173,-34,287,-104,341v-70,54,-216,82,-439,82v-209,0,-349,-27,-425,-78v-83,-56,-113,-182,-113,-345r0,-956r154,0r0,956v0,129,21,210,63,243v42,33,145,50,310,50v179,0,290,-16,334,-48v44,-32,66,-114,66,-245r0,-956","w":1341},"V":{"d":"1016,-1365r165,0r-483,1365r-220,0r-488,-1365r164,0r400,1136r33,105r4,0v20,-67,42,-137,67,-208","w":1171},"W":{"d":"2041,-1365r-430,1365r-234,0r-358,-1229r-3,0r-364,1229r-230,0r-419,-1365r158,0r373,1247r3,0r367,-1247r228,0r364,1247r3,0r381,-1247r161,0","w":2045},"X":{"d":"1167,-1365r-436,659r469,706r-182,0r-413,-628r-4,0r-422,628r-189,0r488,-706r-449,-659r186,0r386,583v18,-9,35,-56,44,-63r340,-520r182,0","w":1190},"Y":{"d":"1163,-1365r-516,795r0,570r-154,0r0,-570r-503,-795r179,0r404,639r4,0r403,-639r183,0","w":1152},"Z":{"d":"1095,-1365r0,130r-859,1102r0,3r877,0r0,130r-1065,0r0,-133r857,-1099r0,-3r-832,0r0,-130r1022,0","w":1161},"a":{"d":"768,-600v-6,-218,-28,-261,-242,-261v-185,0,-269,45,-257,173r-139,0v7,-251,99,-282,371,-282v305,0,407,51,407,339r0,631r-140,0r11,-103r-3,-1v-53,79,-162,118,-325,118v-241,0,-362,-97,-362,-291v0,-252,107,-305,374,-305v168,0,269,33,302,99r3,-1r0,-116xm775,-282v0,-176,-83,-191,-281,-191v-194,0,-258,5,-258,180v0,172,58,191,243,191v197,0,296,-60,296,-180","w":1044},"b":{"d":"950,-466v0,342,-68,480,-390,480v-150,0,-250,-44,-300,-133r-4,1r7,118r-140,0r0,-1365r140,0r0,531r3,3v32,-93,137,-139,314,-139v317,0,370,156,370,504xm550,-102v241,0,253,-101,253,-370v0,-158,-16,-262,-49,-310v-33,-48,-103,-72,-210,-72v-245,0,-277,88,-277,351v0,173,17,283,51,330v34,47,111,71,232,71","w":1047},"c":{"d":"534,-102v219,0,239,-25,246,-243r140,0v18,248,-112,359,-401,359v-373,0,-424,-106,-424,-497v0,-362,62,-487,406,-487v294,0,396,49,403,326r-140,0v2,-189,-68,-209,-274,-210v-105,0,-173,23,-203,70v-30,47,-45,151,-45,314v0,159,18,260,52,303v34,43,114,65,240,65","w":993},"d":{"d":"97,-492v0,-334,61,-478,371,-478v174,0,278,45,311,135r3,-2r0,-528r140,0r0,1365r-140,0r7,-124r-4,-1v-44,93,-146,139,-307,139v-330,0,-381,-147,-381,-506xm781,-506v0,-259,-37,-348,-280,-348v-239,0,-257,97,-257,361v0,160,16,265,50,315v34,50,104,76,210,76v115,0,190,-26,225,-76v35,-50,52,-159,52,-328","w":1045},"e":{"d":"518,-102v205,0,271,-1,270,-187r143,0v9,257,-128,303,-407,303v-382,0,-429,-103,-429,-502v0,-367,58,-482,408,-482v365,0,419,74,428,443r0,75r-688,0v10,285,8,350,275,350xm787,-606v-6,-219,-47,-248,-271,-248v-240,0,-264,48,-271,293r543,0","w":1029},"f":{"d":"160,0r0,-840r-146,0r0,-116r146,0r0,-142v-8,-224,157,-309,390,-274r0,116v-148,-24,-251,3,-250,145r0,155r250,0r0,116r-250,0r0,840r-140,0","w":543},"g":{"d":"96,-472v0,-356,54,-498,384,-498v157,0,259,48,307,144r3,-1r-7,-129r140,0r0,1018v-6,297,-111,364,-420,364v-274,0,-364,-52,-370,-313r135,0v5,183,50,197,245,197v208,0,265,-36,270,-236r0,-192r-3,-1v-36,89,-140,133,-312,133v-316,0,-372,-144,-372,-486xm779,-502v0,-270,-22,-352,-273,-352v-110,0,-176,28,-214,70v-61,68,-60,544,0,612v38,43,104,70,214,70v111,0,185,-26,220,-78v35,-52,53,-159,53,-322","w":1045},"h":{"d":"561,-854v-248,0,-298,64,-298,316r0,538r-140,0r0,-1365r140,0r0,527r3,2v35,-89,134,-134,296,-134v255,1,360,117,360,359r0,611r-140,0r0,-638v0,-144,-74,-216,-221,-216","w":1053},"i":{"d":"263,-1365r0,157r-140,0r0,-157r140,0xm263,-956r0,956r-140,0r0,-956r140,0","w":385},"j":{"d":"254,-1365r0,157r-140,0r0,-157r140,0xm254,-956r0,1085v3,185,-97,262,-264,230r0,-99v37,-1,63,-13,92,-22v21,-18,32,-68,32,-150r0,-1044r140,0","w":381},"k":{"d":"263,-1365r0,793r64,0r338,-384r176,0r-409,439r483,517r-189,0r-406,-463r-57,0r0,463r-140,0r0,-1365r140,0","w":881},"l":{"d":"263,-1365r0,1365r-140,0r0,-1365r140,0","w":386},"m":{"d":"1186,-854v-230,0,-284,67,-284,301r0,553r-140,0r-2,-669v0,-123,-70,-185,-211,-185v-191,0,-286,104,-286,311r0,543r-140,0r0,-956r140,0r-3,144r3,3v54,-107,158,-161,312,-161v162,0,260,54,295,161r4,0v60,-107,170,-161,329,-161v225,0,338,115,338,345r0,625r-140,0r0,-638v-3,-171,-45,-216,-215,-216","w":1691},"n":{"d":"786,-610v3,-186,-37,-244,-228,-244v-197,0,-295,93,-295,279r0,575r-140,0r0,-956r135,0r-4,130r4,3v43,-98,149,-147,318,-147v278,0,350,70,350,348r0,622r-140,0r0,-610","w":1056},"o":{"d":"518,14v-382,0,-422,-93,-422,-492v0,-205,26,-339,79,-400v53,-61,167,-92,343,-92v383,0,423,92,423,492v0,205,-26,339,-79,400v-53,61,-167,92,-344,92xm518,-854v-124,0,-200,20,-230,60v-59,47,-59,586,0,632v30,40,106,60,230,60v125,0,202,-20,232,-60v59,-47,59,-586,0,-632v-30,-40,-107,-60,-232,-60","w":1036},"p":{"d":"947,-464v0,333,-61,478,-369,478v-157,0,-261,-42,-312,-127r-3,0r0,523r-140,0r0,-1366r140,0r-7,121r4,3v49,-92,153,-138,314,-138v322,0,373,152,373,506xm541,-102v244,0,259,-95,259,-364v0,-163,-16,-268,-49,-316v-33,-48,-105,-72,-216,-72v-112,0,-185,24,-219,72v-34,48,-51,153,-51,312v0,273,25,368,276,368","w":1045},"q":{"d":"96,-479v0,-343,60,-491,377,-491v156,0,260,45,313,135r3,-3r-7,-118r140,0r0,1366r-140,0r0,-526r-3,-3v-42,89,-147,133,-314,133v-310,0,-369,-154,-369,-493xm503,-102v243,0,275,-91,275,-353v0,-169,-18,-279,-52,-327v-34,-48,-111,-72,-231,-72v-103,0,-171,25,-203,75v-32,50,-49,155,-49,314v0,273,13,363,260,363","w":1044},"r":{"d":"137,-956r140,0r-14,110r3,3v55,-90,147,-135,274,-135v200,0,281,123,263,338r-138,0v24,-132,-16,-222,-154,-222v-156,0,-234,96,-234,289r0,573r-140,0r0,-956","w":816},"s":{"d":"88,-702v0,-252,113,-268,396,-268v269,0,392,72,380,264r-140,0v0,-67,-13,-108,-40,-124v-27,-16,-97,-24,-209,-24v-182,0,-240,-10,-240,148v0,98,47,149,141,154r256,13v173,9,260,99,260,272v0,247,-126,281,-401,281v-296,0,-423,-42,-411,-318r145,0r1,45v5,148,70,157,237,157v200,0,282,1,282,-171v0,-101,-46,-151,-137,-151v-213,0,-353,-18,-420,-54v-67,-36,-100,-111,-100,-224","w":970},"t":{"d":"630,-956r0,116r-368,0r0,585v0,102,45,153,136,153v109,0,143,-70,136,-184r2,-53r130,0v17,222,-62,356,-267,353v-198,-3,-277,-86,-277,-269r0,-585r-132,0r0,-116r132,0r0,-230r140,0r0,230r368,0","w":667},"u":{"d":"475,-102v228,0,288,-74,288,-306r0,-548r140,0r0,956r-140,0r10,-125r-3,-3v-49,95,-153,142,-312,142v-223,0,-335,-111,-335,-334r0,-636r140,0r0,636v4,175,38,218,212,218","w":1039},"v":{"d":"831,-956r-320,956r-201,0r-317,-956r144,0r273,847r4,0r261,-847r156,0","w":824},"w":{"d":"1367,-956r-268,956r-208,0r-204,-855r-3,0r-206,855r-212,0r-259,-956r147,0r217,861r4,0r210,-861r204,0r208,861r3,0r217,-861r150,0","w":1373},"x":{"d":"797,-956r-310,450r347,506r-167,0r-253,-386r-254,386r-167,0r347,-500r-311,-456r168,0r217,349r216,-349r167,0","w":827},"y":{"d":"802,-956r-271,1011v-38,143,-81,241,-127,294v-58,67,-151,94,-265,73r0,-116v124,29,166,-30,217,-176r36,-130r-53,0r-346,-956r149,0r294,851r4,0r213,-851r149,0","w":796},"z":{"d":"92,-956r689,0r0,136r-570,704r570,0r0,116r-737,0r0,-133r572,-707r-524,0r0,-116","w":826},"1":{"d":"810,-1365r0,1365r-154,0r0,-1250r-349,387r-97,-92r378,-410r222,0","w":1257},"2":{"d":"632,-1379v365,0,466,74,466,431v0,163,-29,273,-88,328v-59,55,-188,92,-385,111v-173,17,-277,41,-310,72v-39,23,-53,173,-50,307r829,0r0,130r-983,0r0,-257v0,-144,28,-238,84,-283v56,-45,189,-79,399,-103v168,-19,269,-44,304,-76v35,-32,53,-115,53,-249v0,-251,-55,-281,-314,-281v-164,0,-268,15,-311,43v-43,28,-64,96,-64,204r2,102r-151,0r1,-71v10,-364,128,-408,518,-408"},"3":{"d":"977,-391v0,-221,-57,-235,-289,-242r-188,0r0,-131v162,4,361,-7,390,-34v41,-23,61,-87,61,-191v0,-120,-17,-193,-53,-220v-35,-51,-529,-55,-572,-1v-44,22,-56,154,-52,264r-146,0r1,-54v9,-347,105,-379,475,-379v201,0,334,22,398,67v64,45,96,138,96,279v0,232,-32,298,-230,328r0,7v209,34,256,82,256,318v0,352,-120,394,-496,394v-215,0,-354,-27,-423,-72v-80,-52,-107,-213,-100,-386r150,0r0,79v0,116,20,186,59,211v39,25,151,38,335,38v277,0,328,-11,328,-275"},"4":{"d":"972,-1365r0,920r204,0r0,130r-204,0r0,315r-154,0r0,-315r-764,0r0,-181r680,-869r238,0xm818,-445r0,-821r-3,0r-634,821r637,0"},"5":{"d":"986,-485v0,-292,-48,-319,-347,-319v-208,0,-322,44,-342,131r-139,0r0,-692r919,0r0,130r-766,0r-7,414r3,0v53,-75,173,-113,359,-113v360,0,467,88,467,443v0,425,-70,505,-492,505v-202,0,-336,-25,-405,-71v-78,-51,-109,-177,-103,-333r145,0v0,123,20,200,58,230v38,30,136,44,293,44v346,0,357,-20,357,-369"},"6":{"d":"103,-934v9,-378,92,-445,478,-445v195,0,327,23,397,65v79,48,113,155,104,294r-150,0v3,-25,4,-41,4,-49v-7,-174,-81,-180,-280,-180v-172,0,-279,16,-326,44v-97,58,-63,322,-69,487r3,0v58,-81,189,-122,393,-122v361,0,461,65,461,416v0,386,-101,438,-503,438v-420,0,-503,-67,-513,-480r-3,-248xm246,-472v0,335,30,356,367,356v160,0,260,-16,299,-47v39,-31,59,-112,59,-241v0,-139,-19,-224,-58,-257v-47,-64,-538,-65,-599,-4v-46,30,-68,94,-68,193","w":1255},"7":{"d":"1093,-1365r0,196r-661,1169r-183,0r716,-1235r-867,0r0,-130r995,0"},"8":{"d":"1108,-1016v0,215,-41,263,-218,307r0,3v194,45,233,85,233,315v0,366,-104,405,-491,405v-222,0,-365,-24,-430,-72v-65,-48,-98,-152,-98,-315v0,-244,34,-290,237,-335r0,-3v-185,-45,-219,-89,-219,-316v0,-145,31,-240,92,-285v61,-45,190,-67,386,-67v216,0,355,21,416,65v61,44,92,143,92,298xm672,-769v245,0,289,-20,289,-257v0,-102,-19,-165,-57,-188v-38,-45,-546,-48,-585,2v-33,24,-50,92,-50,205v0,110,21,177,62,201v41,24,155,37,341,37xm251,-383v0,210,23,259,223,264r193,3v106,-4,240,-14,274,-76v21,-37,35,-107,35,-212v0,-102,-22,-167,-65,-194v-52,-53,-552,-56,-602,1v-39,28,-58,99,-58,214","w":1257},"9":{"d":"1122,-417v-9,379,-109,431,-506,431v-202,0,-338,-21,-409,-62v-82,-47,-117,-159,-103,-300r145,0v-6,90,12,176,59,199v41,20,135,33,286,33v172,0,274,-21,315,-50v63,-45,58,-328,57,-485r-3,0v-53,81,-190,122,-410,122v-343,0,-440,-70,-440,-405v0,-389,94,-445,494,-445v408,0,504,60,514,454r4,367xm965,-913v0,-329,-34,-336,-372,-336v-294,0,-333,10,-333,294v0,271,37,296,312,296v177,0,286,-13,329,-41v43,-28,64,-99,64,-213","w":1257},"0":{"d":"628,-1379v253,0,405,33,457,101v52,68,78,266,78,595v0,313,-25,503,-74,570v-63,85,-217,127,-461,127v-244,0,-398,-42,-461,-127v-49,-67,-74,-273,-74,-619v0,-299,27,-482,82,-548v55,-66,206,-99,453,-99xm628,-1249v-191,0,-304,25,-338,74v-34,49,-50,213,-50,492v0,279,16,444,50,493v34,49,147,74,338,74v191,0,304,-25,338,-74v34,-49,50,-214,50,-493v0,-279,-16,-443,-50,-492v-34,-49,-147,-74,-338,-74"},"$":{"d":"1020,-1017v-6,-210,-51,-208,-275,-216r-57,0r0,474v203,0,338,25,408,76v70,51,105,150,105,298v0,322,-127,378,-469,384r-44,1r0,154r-116,0r0,-154r-99,0v-51,0,-93,-1,-126,-4v-195,-15,-292,-156,-292,-421r151,0r0,25v8,266,40,264,318,274r48,2r0,-505v-206,0,-341,-24,-406,-71v-65,-47,-97,-147,-97,-298v0,-146,33,-244,101,-293v68,-49,202,-74,402,-74r0,-127r116,0r0,127r57,1v315,7,417,44,425,338r-1,43r-148,0xm216,-1016v0,239,66,248,320,256r36,1r0,-476r-47,0v-234,8,-309,8,-309,219xm1054,-385v-8,-229,-79,-233,-329,-241r-37,-1r0,503v220,41,374,-44,366,-261","w":1257},".":{"d":"277,-184r0,184r-154,0r0,-184r154,0","w":400},":":{"d":"277,-184r0,184r-154,0r0,-184r154,0xm277,-956r0,184r-154,0r0,-184r154,0","w":400},",":{"d":"283,-184r0,198v-1,141,-54,200,-174,185r0,-76v71,-3,93,-49,85,-123r-65,0r0,-184r154,0","w":406},";":{"d":"242,-184r0,198v-1,141,-54,200,-174,185r0,-76v71,-3,93,-49,85,-123r-65,0r0,-184r154,0xm232,-956r0,184r-154,0r0,-184r154,0","w":365},"!":{"d":"322,-184r0,184r-154,0r0,-184r154,0xm328,-1365r-20,988r-131,0r-17,-988r168,0","w":491},"?":{"d":"541,-184r0,184r-154,0r0,-184r154,0xm561,-1379v310,0,400,68,400,372v0,208,-64,335,-193,381r-84,30v-103,40,-143,94,-138,202r-151,0v0,-92,9,-185,39,-221v27,-50,167,-104,254,-136v84,-31,126,-113,126,-242v0,-240,-31,-256,-276,-256v-255,0,-277,20,-285,272r1,39r-145,0r1,-45v9,-349,88,-396,451,-396","w":1064},"\/":{"d":"1179,-1365r-1200,1775r-115,0r1201,-1775r114,0","w":1323},"-":{"d":"3,-562r422,0r0,130r-425,0","w":425},"\u00ad":{"d":"3,-562r422,0r0,130r-425,0","w":425},"(":{"d":"465,286r0,130v-161,8,-288,-33,-317,-124v-27,-84,-45,-340,-45,-770v0,-430,17,-686,45,-770v30,-91,155,-132,317,-124r0,130v-97,0,-157,24,-175,73v-43,119,-27,692,-27,936v0,249,10,397,29,446v19,49,76,73,173,73","w":568},")":{"d":"102,-1242r0,-130v161,-8,287,33,316,124v27,84,46,340,46,770v0,430,-18,686,-46,770v-30,91,-154,132,-316,124r0,-130v97,0,156,-24,174,-73v43,-118,29,-692,29,-935v0,-249,-10,-398,-29,-447v-19,-49,-77,-73,-174,-73","w":568},"[":{"d":"113,-1365r349,0r0,116r-195,0r0,1543r195,0r0,116r-349,0r0,-1775","w":567},"]":{"d":"454,410r-349,0r0,-116r195,0r0,-1543r-195,0r0,-116r349,0r0,1775","w":567},"&":{"d":"672,-1223v-181,0,-246,7,-253,167v-5,94,60,159,121,210r514,428r0,-185r152,0v3,102,3,216,-14,299r239,197r-84,107r-202,-167v-57,121,-209,181,-458,181v-240,0,-395,-27,-465,-80v-70,-53,-105,-172,-105,-355v0,-261,66,-322,279,-363v-83,-69,-124,-149,-124,-239v0,-279,109,-330,406,-330v290,0,391,49,398,322r-2,85r-151,0r0,-51v-7,-218,-27,-226,-251,-226xm492,-701v-201,54,-228,49,-228,284v0,139,20,224,60,255v40,31,152,46,334,46v218,0,340,-49,367,-146","w":1434},"*":{"d":"994,-1074r-281,105r167,238r-80,60r-170,-247r-183,247r-80,-60r175,-238r-279,-105r35,-100r280,100r0,-291r102,0r0,291r278,-100","w":1257},"'":{"d":"211,-819r-99,0r-19,-546r138,0","w":323},"\"":{"d":"211,-819r-99,0r-19,-546r138,0xm527,-819r-99,0r-20,-546r138,0","w":639},"@":{"d":"349,-625v0,-245,38,-344,265,-344v118,0,191,31,220,94r3,0r0,-94r102,0r2,514v0,72,28,108,83,108v66,0,99,-117,99,-351v0,-197,-22,-316,-67,-358v-45,-42,-173,-63,-384,-63v-236,0,-380,25,-430,74v-50,49,-75,189,-75,420v0,245,27,395,83,450v56,55,210,82,461,82v171,0,271,-27,300,-82r68,49v-40,70,-168,105,-385,105v-263,0,-432,-36,-504,-107v-72,-71,-108,-236,-108,-495v0,-254,34,-415,103,-483v69,-68,231,-102,487,-102v226,0,372,28,438,85v66,57,98,183,98,379v0,179,-13,301,-39,368v-26,67,-74,101,-143,101v-97,0,-153,-37,-168,-110r-4,0v-32,77,-113,116,-243,116v-227,0,-262,-107,-262,-356xm451,-622v0,203,3,281,182,281v90,0,146,-19,169,-57v23,-38,34,-131,34,-282v0,-145,-64,-217,-193,-217v-191,0,-192,63,-192,275","w":1290},"#":{"d":"1101,-525r-16,92r-236,0r-68,433r-109,0r69,-433r-304,0r-68,433r-108,0r69,-433r-236,0r15,-92r236,0r49,-320r-236,0r16,-92r236,0r67,-428r108,0r-68,428r303,0r68,-428r109,0r-68,428r234,0r-16,92r-234,0r-48,320r236,0xm805,-845r-303,0r-49,320r303,0"},"+":{"d":"558,-210r0,-407r-403,0r0,-130r403,0r0,-409r140,0r0,409r403,0r0,130r-403,0r0,407r-140,0"},"=":{"d":"155,-918r946,0r0,130r-946,0r0,-130xm155,-577r946,0r0,130r-946,0r0,-130"},"{":{"d":"300,-479v85,41,128,120,128,238r0,341v1,137,60,201,185,197r0,113r-88,0v-158,0,-237,-102,-237,-307r0,-338v0,-101,-39,-164,-117,-187r0,-113v78,-23,117,-85,117,-188r0,-337v0,-203,79,-305,237,-305r88,0r0,111v-123,0,-185,66,-185,197r0,341v0,118,-43,197,-128,237","w":783},"}":{"d":"488,-477v-85,-40,-128,-119,-128,-237r0,-341v-1,-137,-62,-201,-189,-197r0,-113r90,0v159,0,239,102,239,307r0,338v0,101,38,164,113,187r0,113v-75,24,-113,86,-113,187r0,338v0,203,-80,305,-239,305r-90,0r0,-111v126,0,189,-66,189,-197r0,-341v0,-118,43,-197,128,-238","w":783},"%":{"d":"34,-1032v0,-285,23,-338,299,-338v298,0,297,33,297,342v0,157,-15,254,-46,293v-31,39,-109,58,-234,58v-303,0,-316,-42,-316,-355xm545,-1137v-5,-167,-33,-161,-214,-161v-220,0,-212,26,-212,257v0,145,11,230,33,255v22,25,101,37,234,37v106,0,159,-53,159,-159r0,-229xm1315,-1365r-927,1365r-93,0r921,-1365r99,0xm975,-350v0,-285,23,-338,299,-338v298,0,297,33,297,342v0,157,-15,256,-46,294v-31,38,-109,57,-234,57v-303,0,-316,-42,-316,-355xm1486,-455v-5,-167,-34,-161,-214,-161v-220,0,-212,26,-212,257v0,145,12,230,34,255v22,25,100,37,233,37v106,0,159,-53,159,-159r0,-229","w":1609},"\\":{"d":"-136,-1365r115,0r1200,1775r-114,0","w":1323},"`":{"d":"358,-1351r271,205r-49,74r-294,-181","w":1024},"<":{"d":"887,-1163r0,140r-737,334r737,335r0,139r-887,-413r0,-122","w":887},">":{"d":"0,-215r0,-140r737,-334r-737,-334r0,-139r887,413r0,122","w":887},"^":{"d":"152,-752r-152,0r365,-617r184,0r365,617r-153,0r-306,-506","w":914},"|":{"d":"0,-1365r140,0r0,1706r-140,0r0,-1706","w":140},"_":{"d":"0,136r1024,0r0,130r-1024,0r0,-130","w":1024},"~":{"d":"279,-1482v81,0,354,143,432,143v68,0,130,-49,187,-147r86,51v-113,214,-243,280,-460,179v-69,-32,-181,-96,-257,-96v-67,0,-128,52,-183,156r-84,-54v77,-155,170,-232,279,-232","w":984},"\u00a0":{"w":512}}});




(function($){
	/* hoverIntent by Brian Cherne */
	$.fn.hoverIntent = function(f,g) {
		// default configuration options
		var cfg = {
			sensitivity: 7,
			interval: 100,
			timeout: 0
		};
		// override configuration options with user supplied object
		cfg = $.extend(cfg, g ? { over: f, out: g } : f );

		// instantiate variables
		// cX, cY = current X and Y position of mouse, updated by mousemove event
		// pX, pY = previous X and Y position of mouse, set by mouseover and polling interval
		var cX, cY, pX, pY;

		// A private function for getting mouse position
		var track = function(ev) {
			cX = ev.pageX;
			cY = ev.pageY;
		};

		// A private function for comparing current and previous mouse position
		var compare = function(ev,ob) {
			ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);
			// compare mouse positions to see if they've crossed the threshold
			if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) {
				$(ob).unbind("mousemove",track);
				// set hoverIntent state to true (so mouseOut can be called)
				ob.hoverIntent_s = 1;
				return cfg.over.apply(ob,[ev]);
			} else {
				// set previous coordinates for next time
				pX = cX; pY = cY;
				// use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs)
				ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval );
			}
		};

		// A private function for delaying the mouseOut function
		var delay = function(ev,ob) {
			ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);
			ob.hoverIntent_s = 0;
			return cfg.out.apply(ob,[ev]);
		};

		// A private function for handling mouse 'hovering'
		var handleHover = function(e) {
			// next three lines copied from jQuery.hover, ignore children onMouseOver/onMouseOut
			var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget;
			while ( p && p != this ) { try { p = p.parentNode; } catch(e) { p = this; } }
			if ( p == this ) { return false; }

			// copy objects to be passed into t (required for event object to be passed in IE)
			var ev = jQuery.extend({},e);
			var ob = this;

			// cancel hoverIntent timer if it exists
			if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); }

			// else e.type == "onmouseover"
			if (e.type == "mouseover") {
				// set "previous" X and Y position based on initial entry point
				pX = ev.pageX; pY = ev.pageY;
				// update "current" X and Y position based on mousemove
				$(ob).bind("mousemove",track);
				// start polling interval (self-calling timeout) to compare mouse coordinates over time
				if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );}

			// else e.type == "onmouseout"
			} else {
				// unbind expensive mousemove event
				$(ob).unbind("mousemove",track);
				// if hoverIntent state is true, then call the mouseOut function after the specified delay
				if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );}
			}
		};

		// bind the function to the two event listeners
		return this.mouseover(handleHover).mouseout(handleHover);
	};
	
})(jQuery);
/*
 * Superfish v1.4.8 - jQuery menu widget
 * Copyright (c) 2008 Joel Birch
 *
 * Dual licensed under the MIT and GPL licenses:
 * 	http://www.opensource.org/licenses/mit-license.php
 * 	http://www.gnu.org/licenses/gpl.html
 *
 * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
 */

;(function($){
	$.fn.superfish = function(op){

		var sf = $.fn.superfish,
			c = sf.c,
			$arrow = $(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),
			over = function(){
				var $$ = $(this), menu = getMenu($$);
				clearTimeout(menu.sfTimer);
				$$.showSuperfishUl().siblings().hideSuperfishUl();
			},
			out = function(){
				var $$ = $(this), menu = getMenu($$), o = sf.op;
				clearTimeout(menu.sfTimer);
				menu.sfTimer=setTimeout(function(){
					o.retainPath=($.inArray($$[0],o.$path)>-1);
					$$.hideSuperfishUl();
					if (o.$path.length && $$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}
				},o.delay);	
			},
			getMenu = function($menu){
				var menu = $menu.parents(['ul.',c.menuClass,':first'].join(''))[0];
				sf.op = sf.o[menu.serial];
				return menu;
			},
			addArrow = function($a){ $a.addClass(c.anchorClass).append($arrow.clone()); };
			
		return this.each(function() {
			var s = this.serial = sf.o.length;
			var o = $.extend({},sf.defaults,op);
			o.$path = $('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){
				$(this).addClass([o.hoverClass,c.bcClass].join(' '))
					.filter('li:has(ul)').removeClass(o.pathClass);
			});
			sf.o[s] = sf.op = o;
			
			$('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over,out).each(function() {
				if (o.autoArrows) addArrow( $('>a:first-child',this) );
			})
			.not('.'+c.bcClass)
				.hideSuperfishUl();
			
			var $a = $('a',this);
			$a.each(function(i){
				var $li = $a.eq(i).parents('li');
				$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});
			});
			o.onInit.call(this);
			
		}).each(function() {
			var menuClasses = [c.menuClass];
			if (sf.op.dropShadows  && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass);
			$(this).addClass(menuClasses.join(' '));
		});
	};

	var sf = $.fn.superfish;
	sf.o = [];
	sf.op = {};
	sf.IE7fix = function(){
		var o = sf.op;
		if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity!=undefined)
			this.toggleClass(sf.c.shadowClass+'-off');
		};
	sf.c = {
		bcClass     : 'sf-breadcrumb',
		menuClass   : 'sf-js-enabled',
		anchorClass : 'sf-with-ul',
		arrowClass  : 'sf-sub-indicator',
		shadowClass : 'sf-shadow'
	};
	sf.defaults = {
		hoverClass	: 'sfHover',
		pathClass	: 'overideThisToUse',
		pathLevels	: 1,
		delay		: 800,
		animation	: {opacity:'show'},
		speed		: 'normal',
		autoArrows	: true,
		dropShadows : true,
		disableHI	: false,		// true disables hoverIntent detection
		onInit		: function(){}, // callback functions
		onBeforeShow: function(){},
		onShow		: function(){},
		onHide		: function(){}
	};
	$.fn.extend({
		hideSuperfishUl : function(){
			var o = sf.op,
				not = (o.retainPath===true) ? o.$path : '';
			o.retainPath = false;
			var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass)
					.find('>ul').hide().css('visibility','hidden');
			o.onHide.call($ul);
			return this;
		},
		showSuperfishUl : function(){
			var o = sf.op,
				sh = sf.c.shadowClass+'-off',
				$ul = this.addClass(o.hoverClass)
					.find('>ul:hidden').css('visibility','visible');
			sf.IE7fix.call($ul);
			o.onBeforeShow.call($ul);
			$ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); });
			return this;
		}
	});

})(jQuery);


/* Copyright (c) 2006 Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
 *
 * $LastChangedDate: 2007-12-20 09:02:08 -0600 (Thu, 20 Dec 2007) $
 * $Rev: 4265 $
 *
 * Version: 3.0
 * 
 * Requires: $ 1.2.2+
 */

(function($) {

$.event.special.mousewheel = {
	setup: function() {
		var handler = $.event.special.mousewheel.handler;
		
		// Fix pageX, pageY, clientX and clientY for mozilla
		if ( $.browser.mozilla )
			$(this).bind('mousemove.mousewheel', function(event) {
				$.data(this, 'mwcursorposdata', {
					pageX: event.pageX,
					pageY: event.pageY,
					clientX: event.clientX,
					clientY: event.clientY
				});
			});
	
		if ( this.addEventListener )
			this.addEventListener( ($.browser.mozilla ? 'DOMMouseScroll' : 'mousewheel'), handler, false);
		else
			this.onmousewheel = handler;
	},
	
	teardown: function() {
		var handler = $.event.special.mousewheel.handler;
		
		$(this).unbind('mousemove.mousewheel');
		
		if ( this.removeEventListener )
			this.removeEventListener( ($.browser.mozilla ? 'DOMMouseScroll' : 'mousewheel'), handler, false);
		else
			this.onmousewheel = function(){};
		
		$.removeData(this, 'mwcursorposdata');
	},
	
	handler: function(event) {
		var args = Array.prototype.slice.call( arguments, 1 );
		
		event = $.event.fix(event || window.event);
		// Get correct pageX, pageY, clientX and clientY for mozilla
		$.extend( event, $.data(this, 'mwcursorposdata') || {} );
		var delta = 0, returnValue = true;
		
		if ( event.wheelDelta ) delta = event.wheelDelta/120;
		if ( event.detail     ) delta = -event.detail/3;
//		if ( $.browser.opera  ) delta = -event.wheelDelta;
		
		event.data  = event.data || {};
		event.type  = "mousewheel";
		
		// Add delta to the front of the arguments
		args.unshift(delta);
		// Add event to the front of the arguments
		args.unshift(event);

		return $.event.handle.apply(this, args);
	}
};

$.fn.extend({
	mousewheel: function(fn) {
		return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel");
	},
	
	unmousewheel: function(fn) {
		return this.unbind("mousewheel", fn);
	}
});

})(jQuery);

/* Copyright (c) 2009 Kelvin Luck (kelvin AT kelvinluck DOT com || http://www.kelvinluck.com)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 * 
 * See http://kelvinluck.com/assets/jquery/jScrollPane/
 * $Id: jScrollPane.js 87 2009-10-12 10:44:17Z kelvin.luck $
 */

/**
 * Replace the vertical scroll bars on any matched elements with a fancy
 * styleable (via CSS) version. With JS disabled the elements will
 * gracefully degrade to the browsers own implementation of overflow:auto.
 * If the mousewheel plugin has been included on the page then the scrollable areas will also
 * respond to the mouse wheel.
 *
 * @example jQuery(".scroll-pane").jScrollPane();
 *
 * @name jScrollPane
 * @type jQuery
 * @param Object	settings	hash with options, described below.
 *								scrollbarWidth	-	The width of the generated scrollbar in pixels
 *								scrollbarMargin	-	The amount of space to leave on the side of the scrollbar in pixels
 *								wheelSpeed		-	The speed the pane will scroll in response to the mouse wheel in pixels
 *								showArrows		-	Whether to display arrows for the user to scroll with
 *								arrowSize		-	The height of the arrow buttons if showArrows=true
 *								animateTo		-	Whether to animate when calling scrollTo and scrollBy
 *								dragMinHeight	-	The minimum height to allow the drag bar to be
 *								dragMaxHeight	-	The maximum height to allow the drag bar to be
 *								animateInterval	-	The interval in milliseconds to update an animating scrollPane (default 100)
 *								animateStep		-	The amount to divide the remaining scroll distance by when animating (default 3)
 *								maintainPosition-	Whether you want the contents of the scroll pane to maintain it's position when you re-initialise it - so it doesn't scroll as you add more content (default true)
 *								tabIndex		-	The tabindex for this jScrollPane to control when it is tabbed to when navigating via keyboard (default 0)
 *								enableKeyboardNavigation - Whether to allow keyboard scrolling of this jScrollPane when it is focused (default true)
 *								animateToInternalLinks - Whether the move to an internal link (e.g. when it's focused by tabbing or by a hash change in the URL) should be animated or instant (default false)
 *								scrollbarOnLeft	-	Display the scrollbar on the left side?  (needs stylesheet changes, see examples.html)
 *								reinitialiseOnImageLoad - Whether the jScrollPane should automatically re-initialise itself when any contained images are loaded (default false)
 *								topCapHeight	-	The height of the "cap" area between the top of the jScrollPane and the top of the track/ buttons
 *								bottomCapHeight	-	The height of the "cap" area between the bottom of the jScrollPane and the bottom of the track/ buttons
 * @return jQuery
 * @cat Plugins/jScrollPane
 * @author Kelvin Luck (kelvin AT kelvinluck DOT com || http://www.kelvinluck.com)
 */

(function($) {

$.jScrollPane = {
	active : []
};
$.fn.jScrollPane = function(settings)
{
	settings = $.extend({}, $.fn.jScrollPane.defaults, settings);

	var rf = function() { return false; };
	
	return this.each(
		function()
		{
			var $this = $(this);
			var paneEle = this;
			var currentScrollPosition = 0;
			var paneWidth;
			var paneHeight;
			var trackHeight;
			var trackOffset = settings.topCapHeight;
			
			if ($(this).parent().is('.jScrollPaneContainer')) {
				currentScrollPosition = settings.maintainPosition ? $this.position().top : 0;
				var $c = $(this).parent();
				paneWidth = $c.innerWidth();
				paneHeight = $c.outerHeight();
				$('>.jScrollPaneTrack, >.jScrollArrowUp, >.jScrollArrowDown, >.jScrollCap', $c).remove();
				$this.css({'top':0});
			} else {
				$this.data('originalStyleTag', $this.attr('style'));
				// Switch the element's overflow to hidden to ensure we get the size of the element without the scrollbars [http://plugins.jquery.com/node/1208]
				$this.css('overflow', 'hidden');
				this.originalPadding = $this.css('paddingTop') + ' ' + $this.css('paddingRight') + ' ' + $this.css('paddingBottom') + ' ' + $this.css('paddingLeft');
				this.originalSidePaddingTotal = (parseInt($this.css('paddingLeft')) || 0) + (parseInt($this.css('paddingRight')) || 0);
				paneWidth = $this.innerWidth();
				paneHeight = $this.innerHeight();
				var $container = $('<div></div>')
					.attr({'className':'jScrollPaneContainer'})
					.css(
						{
							'height':paneHeight+'px', 
							'width':paneWidth+'px'
						}
					);
				if (settings.enableKeyboardNavigation) {
					$container.attr(
						'tabindex', 
						settings.tabIndex
					);
				}
				$this.wrap($container);
				// deal with text size changes (if the jquery.em plugin is included)
				// and re-initialise the scrollPane so the track maintains the
				// correct size
				$(document).bind(
					'emchange', 
					function(e, cur, prev)
					{
						$this.jScrollPane(settings);
					}
				);
				
			}
			trackHeight = paneHeight;
			
			if (settings.reinitialiseOnImageLoad) {
				// code inspired by jquery.onImagesLoad: http://plugins.jquery.com/project/onImagesLoad
				// except we re-initialise the scroll pane when each image loads so that the scroll pane is always up to size...
				// TODO: Do I even need to store it in $.data? Is a local variable here the same since I don't pass the reinitialiseOnImageLoad when I re-initialise?
				var $imagesToLoad = $.data(paneEle, 'jScrollPaneImagesToLoad') || $('img', $this);
				var loadedImages = [];
				
				if ($imagesToLoad.length) {
					$imagesToLoad.each(function(i, val)	{
						$(this).bind('load readystatechange', function() {
							if($.inArray(i, loadedImages) == -1){ //don't double count images
								loadedImages.push(val); //keep a record of images we've seen
								$imagesToLoad = $.grep($imagesToLoad, function(n, i) {
									return n != val;
								});
								$.data(paneEle, 'jScrollPaneImagesToLoad', $imagesToLoad);
								var s2 = $.extend(settings, {reinitialiseOnImageLoad:false});
								$this.jScrollPane(s2); // re-initialise
							}
						}).each(function(i, val) {
							if(this.complete || this.complete===undefined) { 
								//needed for potential cached images
								this.src = this.src; 
							} 
						});
					});
				};
			}

			var p = this.originalSidePaddingTotal;
			var realPaneWidth = paneWidth - settings.scrollbarWidth - settings.scrollbarMargin - p;

			var cssToApply = {
				'height':'auto',
				'width': realPaneWidth + 'px'
			}

			if(settings.scrollbarOnLeft) {
				cssToApply.paddingLeft = settings.scrollbarMargin + settings.scrollbarWidth + 'px';
			} else {
				cssToApply.paddingRight = settings.scrollbarMargin + 'px';
			}

			$this.css(cssToApply);

			var contentHeight = $this.outerHeight();
			var percentInView = paneHeight / contentHeight;

			if (percentInView < .99) {
				var $container = $this.parent();
				$container.append(
					$('<div></div>').addClass('jScrollCap jScrollCapTop').css({height:settings.topCapHeight}),
					$('<div></div>').attr({'className':'jScrollPaneTrack'}).css({'width':settings.scrollbarWidth+'px'}).append(
						$('<div></div>').attr({'className':'jScrollPaneDrag'}).css({'width':settings.scrollbarWidth+'px'}).append(
							$('<div></div>').attr({'className':'jScrollPaneDragTop'}).css({'width':settings.scrollbarWidth+'px'}),
							$('<div></div>').attr({'className':'jScrollPaneDragBottom'}).css({'width':settings.scrollbarWidth+'px'})
						)
					),
					$('<div></div>').addClass('jScrollCap jScrollCapBottom').css({height:settings.bottomCapHeight})
				);
				
				var $track = $('>.jScrollPaneTrack', $container);
				var $drag = $('>.jScrollPaneTrack .jScrollPaneDrag', $container);
				
				
				var currentArrowDirection;
				var currentArrowTimerArr = [];// Array is used to store timers since they can stack up when dealing with keyboard events. This ensures all timers are cleaned up in the end, preventing an acceleration bug.
				var currentArrowInc;
				var whileArrowButtonDown = function() 
				{
					if (currentArrowInc > 4 || currentArrowInc % 4 == 0) {
						positionDrag(dragPosition + currentArrowDirection * mouseWheelMultiplier);
					}
					currentArrowInc++;
				};

				if (settings.enableKeyboardNavigation) {
					$container.bind(
						'keydown.jscrollpane',
						function(e) 
						{
							switch (e.keyCode) {
								case 38: //up
									currentArrowDirection = -1;
									currentArrowInc = 0;
									whileArrowButtonDown();
									currentArrowTimerArr[currentArrowTimerArr.length] = setInterval(whileArrowButtonDown, 100);
									return false;
								case 40: //down
									currentArrowDirection = 1;
									currentArrowInc = 0;
									whileArrowButtonDown();
									currentArrowTimerArr[currentArrowTimerArr.length] = setInterval(whileArrowButtonDown, 100);
									return false;
								case 33: // page up
								case 34: // page down
									// TODO
									return false;
								default:
							}
						}
					).bind(
						'keyup.jscrollpane',
						function(e) 
						{
							if (e.keyCode == 38 || e.keyCode == 40) {
								for (var i = 0; i < currentArrowTimerArr.length; i++) {
									clearInterval(currentArrowTimerArr[i]);
								}
								return false;
							}
						}
					);
				}

				if (settings.showArrows) {
					
					var currentArrowButton;
					var currentArrowInterval;

					var onArrowMouseUp = function(event)
					{
						$('html').unbind('mouseup', onArrowMouseUp);
						currentArrowButton.removeClass('jScrollActiveArrowButton');
						clearInterval(currentArrowInterval);
					};
					var onArrowMouseDown = function() {
						$('html').bind('mouseup', onArrowMouseUp);
						currentArrowButton.addClass('jScrollActiveArrowButton');
						currentArrowInc = 0;
						whileArrowButtonDown();
						currentArrowInterval = setInterval(whileArrowButtonDown, 100);
					};
					$container
						.append(
							$('<a></a>')
								.attr(
									{
										'href':'javascript:;', 
										'className':'jScrollArrowUp', 
										'tabindex':-1
									}
								)
								.css(
									{
										'width':settings.scrollbarWidth+'px',
										'top':settings.topCapHeight + 'px'
									}
								)
								.html('Scroll up')
								.bind('mousedown', function()
								{
									currentArrowButton = $(this);
									currentArrowDirection = -1;
									onArrowMouseDown();
									this.blur();
									return false;
								})
								.bind('click', rf),
							$('<a></a>')
								.attr(
									{
										'href':'javascript:;', 
										'className':'jScrollArrowDown', 
										'tabindex':-1
									}
								)
								.css(
									{
										'width':settings.scrollbarWidth+'px',
										'bottom':settings.bottomCapHeight + 'px'
									}
								)
								.html('Scroll down')
								.bind('mousedown', function()
								{
									currentArrowButton = $(this);
									currentArrowDirection = 1;
									onArrowMouseDown();
									this.blur();
									return false;
								})
								.bind('click', rf)
						);
					var $upArrow = $('>.jScrollArrowUp', $container);
					var $downArrow = $('>.jScrollArrowDown', $container);
				}
				
				if (settings.arrowSize) {
					trackHeight = paneHeight - settings.arrowSize - settings.arrowSize;
					trackOffset += settings.arrowSize;
				} else if ($upArrow) {
					var topArrowHeight = $upArrow.height();
					settings.arrowSize = topArrowHeight;
					trackHeight = paneHeight - topArrowHeight - $downArrow.height();
					trackOffset += topArrowHeight;
				}
				trackHeight -= settings.topCapHeight + settings.bottomCapHeight;
				$track.css({'height': trackHeight+'px', top:trackOffset+'px'})
				
				var $pane = $(this).css({'position':'absolute', 'overflow':'visible'});
				
				var currentOffset;
				var maxY;
				var mouseWheelMultiplier;
				// store this in a seperate variable so we can keep track more accurately than just updating the css property..
				var dragPosition = 0;
				var dragMiddle = percentInView*paneHeight/2;
				
				// pos function borrowed from tooltip plugin and adapted...
				var getPos = function (event, c) {
					var p = c == 'X' ? 'Left' : 'Top';
					return event['page' + c] || (event['client' + c] + (document.documentElement['scroll' + p] || document.body['scroll' + p])) || 0;
				};
				
				var ignoreNativeDrag = function() {	return false; };
				
				var initDrag = function()
				{
					ceaseAnimation();
					currentOffset = $drag.offset(false);
					currentOffset.top -= dragPosition;
					maxY = trackHeight - $drag[0].offsetHeight;
					mouseWheelMultiplier = 2 * settings.wheelSpeed * maxY / contentHeight;
				};
				
				var onStartDrag = function(event)
				{
					initDrag();
					dragMiddle = getPos(event, 'Y') - dragPosition - currentOffset.top;
					$('html').bind('mouseup', onStopDrag).bind('mousemove', updateScroll);
					if ($.browser.msie) {
						$('html').bind('dragstart', ignoreNativeDrag).bind('selectstart', ignoreNativeDrag);
					}
					return false;
				};
				var onStopDrag = function()
				{
					$('html').unbind('mouseup', onStopDrag).unbind('mousemove', updateScroll);
					dragMiddle = percentInView*paneHeight/2;
					if ($.browser.msie) {
						$('html').unbind('dragstart', ignoreNativeDrag).unbind('selectstart', ignoreNativeDrag);
					}
				};
				var positionDrag = function(destY)
				{
					$container.scrollTop(0);
					destY = destY < 0 ? 0 : (destY > maxY ? maxY : destY);
					dragPosition = destY;
					$drag.css({'top':destY+'px'});
					var p = destY / maxY;
					$this.data('jScrollPanePosition', (paneHeight-contentHeight)*-p);
					$pane.css({'top':((paneHeight-contentHeight)*p) + 'px'});
					$this.trigger('scroll');
					if (settings.showArrows) {
						$upArrow[destY == 0 ? 'addClass' : 'removeClass']('disabled');
						$downArrow[destY == maxY ? 'addClass' : 'removeClass']('disabled');
					}
				};
				var updateScroll = function(e)
				{
					positionDrag(getPos(e, 'Y') - currentOffset.top - dragMiddle);
				};
				
				var dragH = Math.max(Math.min(percentInView*(paneHeight-settings.arrowSize*2), settings.dragMaxHeight), settings.dragMinHeight);
				
				$drag.css(
					{'height':dragH+'px'}
				).bind('mousedown', onStartDrag);
				
				var trackScrollInterval;
				var trackScrollInc;
				var trackScrollMousePos;
				var doTrackScroll = function()
				{
					if (trackScrollInc > 8 || trackScrollInc%4==0) {
						positionDrag((dragPosition - ((dragPosition - trackScrollMousePos) / 2)));
					}
					trackScrollInc ++;
				};
				var onStopTrackClick = function()
				{
					clearInterval(trackScrollInterval);
					$('html').unbind('mouseup', onStopTrackClick).unbind('mousemove', onTrackMouseMove);
				};
				var onTrackMouseMove = function(event)
				{
					trackScrollMousePos = getPos(event, 'Y') - currentOffset.top - dragMiddle;
				};
				var onTrackClick = function(event)
				{
					initDrag();
					onTrackMouseMove(event);
					trackScrollInc = 0;
					$('html').bind('mouseup', onStopTrackClick).bind('mousemove', onTrackMouseMove);
					trackScrollInterval = setInterval(doTrackScroll, 100);
					doTrackScroll();
					return false;
				};
				
				$track.bind('mousedown', onTrackClick);
				
				$container.bind(
					'mousewheel',
					function (event, delta) {
						delta = delta || (event.wheelDelta ? event.wheelDelta / 120 : (event.detail) ?
-event.detail/3 : 0);
						initDrag();
						ceaseAnimation();
						var d = dragPosition;
						positionDrag(dragPosition - delta * mouseWheelMultiplier);
						var dragOccured = d != dragPosition;
						return !dragOccured;
					}
				);

				var _animateToPosition;
				var _animateToInterval;
				function animateToPosition()
				{
					var diff = (_animateToPosition - dragPosition) / settings.animateStep;
					if (diff > 1 || diff < -1) {
						positionDrag(dragPosition + diff);
					} else {
						positionDrag(_animateToPosition);
						ceaseAnimation();
					}
				}
				var ceaseAnimation = function()
				{
					if (_animateToInterval) {
						clearInterval(_animateToInterval);
						delete _animateToPosition;
					}
				};
				var scrollTo = function(pos, preventAni)
				{
					if (typeof pos == "string") {
						$e = $(pos, $this);
						if (!$e.length) return;
						pos = $e.offset().top - $this.offset().top;
					}
					ceaseAnimation();
					var maxScroll = contentHeight - paneHeight;
					pos = pos > maxScroll ? maxScroll : pos;
					$this.data('jScrollPaneMaxScroll', maxScroll);
					var destDragPosition = pos/maxScroll * maxY;
					if (preventAni || !settings.animateTo) {
						positionDrag(destDragPosition);
					} else {
						$container.scrollTop(0);
						_animateToPosition = destDragPosition;
						_animateToInterval = setInterval(animateToPosition, settings.animateInterval);
					}
				};
				$this[0].scrollTo = scrollTo;
				
				$this[0].scrollBy = function(delta)
				{
					var currentPos = -parseInt($pane.css('top')) || 0;
					scrollTo(currentPos + delta);
				};
				
				initDrag();
				
				scrollTo(-currentScrollPosition, true);
			
				// Deal with it when the user tabs to a link or form element within this scrollpane
				$('*', this).bind(
					'focus',
					function(event)
					{
						var $e = $(this);
						
						// loop through parents adding the offset top of any elements that are relatively positioned between
						// the focused element and the jScrollPaneContainer so we can get the true distance from the top
						// of the focused element to the top of the scrollpane...
						var eleTop = 0;
						
						while ($e[0] != $this[0]) {
							eleTop += $e.position().top;
							$e = $e.offsetParent();
						}
						
						var viewportTop = -parseInt($pane.css('top')) || 0;
						var maxVisibleEleTop = viewportTop + paneHeight;
						var eleInView = eleTop > viewportTop && eleTop < maxVisibleEleTop;
						if (!eleInView) {
							var destPos = eleTop - settings.scrollbarMargin;
							if (eleTop > viewportTop) { // element is below viewport - scroll so it is at bottom.
								destPos += $(this).height() + 15 + settings.scrollbarMargin - paneHeight;
							}
							scrollTo(destPos);
						}
					}
				)
				
				
				if (location.hash && location.hash.length > 1) {
					setTimeout(function() {scrollTo(location.hash);}, $.browser.safari ? 100 : 0);
				}
				
				// use event delegation to listen for all clicks on links and hijack them if they are links to
				// anchors within our content...
				$(document).bind(
					'click',
					function(e)
					{
						$target = $(e.target);
						if ($target.is('a')) {
							var h = $target.attr('href');
							if (h && h.substr(0, 1) == '#' && h.length > 1) {
								setTimeout(function() {scrollTo(h, !settings.animateToInternalLinks);}, $.browser.safari ? 100 : 0);
							}
						}
					}
				); 
				
				// Deal with dragging and selecting text to make the scrollpane scroll...
				function onSelectScrollMouseDown(e)
				{
				   $(document).bind('mousemove.jScrollPaneDragging', onTextSelectionScrollMouseMove);
				   $(document).bind('mouseup.jScrollPaneDragging',   onSelectScrollMouseUp);
				  
				}
				
				var textDragDistanceAway;
				var textSelectionInterval;
				
				function onTextSelectionInterval()
				{
					direction = textDragDistanceAway < 0 ? -1 : 1;
					$this[0].scrollBy(textDragDistanceAway / 2);
				}

				function clearTextSelectionInterval()
				{
					if (textSelectionInterval) {
						clearInterval(textSelectionInterval);
						textSelectionInterval = undefined;
					}
				}
				
				function onTextSelectionScrollMouseMove(e)
				{
					var offset = $this.parent().offset().top;
					var maxOffset = offset + paneHeight;
					var mouseOffset = getPos(e, 'Y');
					textDragDistanceAway = mouseOffset < offset ? mouseOffset - offset : (mouseOffset > maxOffset ? mouseOffset - maxOffset : 0);
					if (textDragDistanceAway == 0) {
						clearTextSelectionInterval();
					} else {
						if (!textSelectionInterval) {
							textSelectionInterval  = setInterval(onTextSelectionInterval, 100);
						}
					}
				}

				function onSelectScrollMouseUp(e)
				{
				   $(document)
					  .unbind('mousemove.jScrollPaneDragging')
					  .unbind('mouseup.jScrollPaneDragging');
				   clearTextSelectionInterval();
				}

				$container.bind('mousedown.jScrollPane', onSelectScrollMouseDown);

				
				$.jScrollPane.active.push($this[0]);
				
			} else {
				$this.css(
					{
						'height':paneHeight+'px',
						'width':paneWidth-this.originalSidePaddingTotal+'px',
						'padding':this.originalPadding
					}
				);
				$this[0].scrollTo = $this[0].scrollBy = function() {};
				// clean up listeners
				$this.parent().unbind('mousewheel').unbind('mousedown.jScrollPane').unbind('keydown.jscrollpane').unbind('keyup.jscrollpane');
			}
			
		}
	)
};

$.fn.jScrollPaneRemove = function()
{
	$(this).each(function()
	{
		$this = $(this);
		var $c = $this.parent();
		if ($c.is('.jScrollPaneContainer')) {
			$this.css(
				{
					'top':'',
					'height':'',
					'width':'',
					'padding':'',
					'overflow':'',
					'position':''
				}
			);
			$this.attr('style', $this.data('originalStyleTag'));
			$c.after($this).remove();
		}
	});
}

$.fn.jScrollPane.defaults = {
	scrollbarWidth : 10,
	scrollbarMargin : 5,
	wheelSpeed : 18,
	showArrows : false,
	arrowSize : 0,
	animateTo : false,
	dragMinHeight : 1,
	dragMaxHeight : 99999,
	animateInterval : 100,
	animateStep: 3,
	maintainPosition: true,
	scrollbarOnLeft: false,
	reinitialiseOnImageLoad: false,
	tabIndex : 0,
	enableKeyboardNavigation: true,
	animateToInternalLinks: false,
	topCapHeight: 0,
	bottomCapHeight: 0
};

// clean up the scrollTo expandos
$(window)
	.bind('unload', function() {
		var els = $.jScrollPane.active; 
		for (var i=0; i<els.length; i++) {
			els[i].scrollTo = els[i].scrollBy = null;
		}
	}
);

})(jQuery);
