var Cufon=(function(){var o=function(){return o.replace.apply(null,arguments)
};
var d=o.DOM={ready:(function(){var A=false,C={loaded:1,complete:1};
var B=[],D=function(){if(A){return 
}A=true;
for(var E;
E=B.shift();
E()){}};
if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);
window.addEventListener("pageshow",D,false)
}if(!window.opera&&document.readyState){(function(){C[document.readyState]?D():setTimeout(arguments.callee,10)
})()
}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");
D()
}catch(E){setTimeout(arguments.callee,1)
}})()
}k(window,"load",D);
return function(E){if(!arguments.length){D()
}else{A?E():B.push(E)
}}
})()};
var n=o.CSS={Size:function(A,B){this.value=parseFloat(A);
this.unit=String(A).match(/[a-z%]*$/)[0]||"px";
this.convert=function(C){return C/B*this.value
};
this.convertFrom=function(C){return C/this.value*B
};
this.toString=function(){return this.value+this.unit
}
},color:r(function(A){var B={};
B.color=A.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(D,E,C){B.opacity=parseFloat(C);
return"rgb("+E+")"
});
return B
}),getStyle:function(A){var B=document.defaultView;
if(B&&B.getComputedStyle){return new z(B.getComputedStyle(A,null))
}if(A.currentStyle){return new z(A.currentStyle)
}return new z(A.style)
},gradient:r(function(D){var C={id:D,type:D.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},A=D.substr(D.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);
for(var E=0,B=A.length,F;
E<B;
++E){F=A[E].split("=",2).reverse();
C.stops.push([F[1]||E/(B-1),F[0]])
}return C
}),quotedList:r(function(C){var D=[],A=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;
while(B=A.exec(C)){D.push(B[3]||B[1])
}return D
}),recognizesMedia:r(function(C){var D=document.createElement("style"),A,B;
D.type="text/css";
D.media=C;
A=u("head")[0];
A.insertBefore(D,A.firstChild);
B=!!(D.sheet||D.styleSheet);
A.removeChild(D);
return B
}),supports:function(C,A){var B=document.createElement("span").style;
if(B[C]===undefined){return false
}B[C]=A;
return B[C]===A
},textAlign:function(C,D,B,A){if(D.get("textAlign")=="right"){if(B>0){C=" "+C
}}else{if(B<A-1){C+=" "
}}return C
},textDecoration:function(C,D){if(!D){D=this.getStyle(C)
}var A={underline:null,overline:null,"line-through":null};
for(var B=C;
B.parentNode&&B.parentNode.nodeType==1;
){var E=true;
for(var F in A){if(!q(A,F)||A[F]){continue
}if(D.get("textDecoration").indexOf(F)!=-1){A[F]=D.get("color")
}E=false
}if(E){break
}D=this.getStyle(B=B.parentNode)
}return A
},textShadow:r(function(D){if(D=="none"){return null
}var E=[],C={},B,A=0;
var F=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;
while(B=F.exec(D)){if(B[0]==","){E.push(C);
C={},A=0
}else{if(B[1]){C.color=B[1]
}else{C[["offX","offY","blur"][A++]]=B[2]
}}}E.push(C);
return E
}),textTransform:function(A,B){return A[{uppercase:"toUpperCase",lowercase:"toLowerCase"}[B.get("textTransform")]||"toString"]()
},whiteSpace:(function(){var A={inline:1,"inline-block":1,"run-in":1};
return function(C,B,D){if(A[B.get("display")]){return C
}if(!D.previousSibling){C=C.replace(/^\s+/,"")
}if(!D.nextSibling){C=C.replace(/\s+$/,"")
}return C
}
})()};
n.ready=(function(){var G=!n.recognizesMedia("all"),A=false;
var B=[],E=function(){G=true;
for(var H;
H=B.shift();
H()){}};
var D=u("link"),C={stylesheet:1};
function F(){var I,J,H;
for(J=0;
H=D[J];
++J){if(H.disabled||!C[H.rel.toLowerCase()]||!n.recognizesMedia(H.media||"screen")){continue
}I=H.sheet||H.styleSheet;
if(!I||I.disabled){return false
}}return true
}d.ready(function(){if(!A){A=n.getStyle(document.body).isUsable()
}if(G||(A&&F())){E()
}else{setTimeout(arguments.callee,10)
}});
return function(H){if(G){H()
}else{B.push(H)
}}
})();
function i(A){var B=this.face=A.face;
this.glyphs=A.glyphs;
this.w=A.w;
this.baseSize=parseInt(B["units-per-em"],10);
this.family=B["font-family"].toLowerCase();
this.weight=B["font-weight"];
this.style=B["font-style"]||"normal";
this.viewBox=(function(){var C=B.bbox.split(/\s+/);
var D={minX:parseInt(C[0],10),minY:parseInt(C[1],10),maxX:parseInt(C[2],10),maxY:parseInt(C[3],10)};
D.width=D.maxX-D.minX,D.height=D.maxY-D.minY;
D.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")
};
return D
})();
this.ascent=-parseInt(B.ascent,10);
this.descent=-parseInt(B.descent,10);
this.height=-this.ascent+this.descent
}function v(){var A={},B={oblique:"italic",italic:"oblique"};
this.add=function(C){(A[C.style]||(A[C.style]={}))[C.weight]=C
};
this.get=function(F,E){var G=A[F]||A[B[F]]||A.normal||A.italic||A.oblique;
if(!G){return null
}E={normal:400,bold:700}[E]||parseInt(E,10);
if(G[E]){return G[E]
}var I={1:1,99:0}[E%100],C=[],H,J;
if(I===undefined){I=E>400
}if(E==500){E=400
}for(var D in G){if(!q(G,D)){continue
}D=parseInt(D,10);
if(!H||D<H){H=D
}if(!J||D>J){J=D
}C.push(D)
}if(E<H){E=H
}if(E>J){E=J
}C.sort(function(K,L){return(I?(K>E&&L>E)?K<L:K>L:(K<E&&L<E)?K>L:K<L)?-1:1
});
return G[C[0]]
}
}function j(){function D(F,E){if(F.contains){return F.contains(E)
}return F.compareDocumentPosition(E)&16
}function B(E){var F=E.relatedTarget;
if(!F||D(this,F)){return 
}A(this)
}function C(E){A(this)
}function A(E){setTimeout(function(){o.replace(E,w.get(E).options,true)
},10)
}this.attach=function(E){if(E.onmouseenter===undefined){k(E,"mouseover",B);
k(E,"mouseout",B)
}else{k(E,"mouseenter",C);
k(E,"mouseleave",C)
}}
}function g(){var A=[],C={};
function B(D){var G=[],E;
for(var F=0;
E=D[F];
++F){G[F]=A[C[E]]
}return G
}this.add=function(D,E){C[D]=A.push(E)-1
};
this.repeat=function(){var F=arguments.length?B(arguments):A,E;
for(var D=0;
E=F[D++];
){o.replace(E[0],E[1],true)
}}
}function a(){var C={},B=0;
function A(D){return D.cufid||(D.cufid=++B)
}this.get=function(E){var D=A(E);
return C[D]||(C[D]={})
}
}function z(B){var C={},A={};
this.extend=function(E){for(var D in E){if(q(E,D)){C[D]=E[D]
}}return this
};
this.get=function(D){return C[D]!=undefined?C[D]:B[D]
};
this.getSize=function(D,E){return A[D]||(A[D]=new n.Size(this.get(D),E))
};
this.isUsable=function(){return !!B
}
}function k(A,B,C){if(A.addEventListener){A.addEventListener(B,C,false)
}else{if(A.attachEvent){A.attachEvent("on"+B,function(){return C.call(A,window.event)
})
}}}function f(A,B){var C=w.get(A);
if(C.options){return A
}if(B.hover&&B.hoverables[A.nodeName.toLowerCase()]){y.attach(A)
}C.options=B;
return A
}function r(B){var A={};
return function(C){if(!q(A,C)){A[C]=B.apply(null,arguments)
}return A[C]
}
}function x(C,D){if(!D){D=n.getStyle(C)
}var A=n.quotedList(D.get("fontFamily").toLowerCase()),E;
for(var F=0,B=A.length;
F<B;
++F){E=A[F];
if(s[E]){return s[E].get(D.get("fontStyle"),D.get("fontWeight"))
}}return null
}function u(A){return document.getElementsByTagName(A)
}function q(A,B){return A.hasOwnProperty(B)
}function t(){var B={},E,C;
for(var D=0,A=arguments.length;
E=arguments[D],D<A;
++D){for(C in E){if(q(E,C)){B[C]=E[C]
}}}return B
}function m(J,B,L,A,I,K){var C=A.separate;
if(C=="none"){return b[A.engine].apply(null,arguments)
}var D=document.createDocumentFragment(),G;
var F=B.split(l[C]),M=(C=="words");
if(M&&h){if(/^\s/.test(B)){F.unshift("")
}if(/\s$/.test(B)){F.push("")
}}for(var E=0,H=F.length;
E<H;
++E){G=b[A.engine](J,M?n.textAlign(F[E],L,E,H):F[E],L,A,I,K,E<H-1);
if(G){D.appendChild(G)
}}return D
}function p(I,A){var H,J,G,D,E,B;
for(G=f(I,A).firstChild;
G;
G=E){D=G.nodeType;
E=G.nextSibling;
B=false;
if(D==1){if(!G.firstChild){continue
}if(!/cufon/.test(G.className)){arguments.callee(G,A);
continue
}else{B=true
}}else{if(D!=3){continue
}}if(!J){J=n.getStyle(I).extend(A)
}if(!H){H=x(I,J)
}if(!H){continue
}if(B){b[A.engine](H,null,J,A,G,I);
continue
}var C=n.whiteSpace(G.data,J,G);
if(C===""){continue
}var F=m(H,C,J,A,G,I);
if(F){G.parentNode.replaceChild(F,G)
}else{G.parentNode.removeChild(G)
}}}var h=" ".split(/\s+/).length==0;
var w=new a();
var y=new j();
var c=new g();
var b={},s={},e={enableTextDecoration:false,engine:null,hover:false,hoverables:{a:true},printable:true,selector:(window.Sizzle||(window.jQuery&&function(A){return jQuery(A)
})||(window.dojo&&dojo.query)||(window.$$&&function(A){return $$(A)
})||(window.$&&function(A){return $(A)
})||(document.querySelectorAll&&function(A){return document.querySelectorAll(A)
})||u),separate:"words",textShadow:"none"};
var l={words:/[^\S\u00a0]+/,characters:""};
o.now=function(){d.ready();
return o
};
o.refresh=function(){c.repeat.apply(c,arguments);
return o
};
o.registerEngine=function(A,B){if(!B){return o
}b[A]=B;
return o.set("engine",A)
};
o.registerFont=function(C){var B=new i(C),A=B.family;
if(!s[A]){s[A]=new v()
}s[A].add(B);
return o.set("fontFamily",'"'+A+'"')
};
o.replace=function(C,A,B){A=t(e,A);
if(!A.engine){return o
}if(typeof A.textShadow=="string"){A.textShadow=n.textShadow(A.textShadow)
}if(typeof A.color=="string"&&/^-/.test(A.color)){A.textGradient=n.gradient(A.color)
}if(!B){c.add(C,arguments)
}if(C.nodeType||typeof C=="string"){C=[C]
}n.ready(function(){for(var E=0,F=C.length;
E<F;
++E){var D=C[E];
if(typeof D=="string"){o.replace(A.selector(D),A,true)
}else{p(D,A)
}}});
return o
};
o.set=function(B,A){e[B]=A;
return o
};
return o
})();
Cufon.registerEngine("canvas",(function(){var L=document.createElement("canvas");
if(!L||!L.getContext||!L.getContext.apply){return 
}L=null;
var G=Cufon.CSS.supports("display","inline-block");
var I=!G&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));
var H=document.createElement("style");
H.type="text/css";
H.appendChild(document.createTextNode((".cufon-canvas{text-indent:0;}@media screen,projection{.cufon-canvas{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(I?"":"font-size:1px;line-height:1px;")+"}.cufon-canvas .cufon-alt{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;}"+(G?".cufon-canvas canvas{position:relative;}":".cufon-canvas canvas{position:absolute;}")+"}@media print{.cufon-canvas{padding:0;}.cufon-canvas canvas{display:none;}.cufon-canvas .cufon-alt{display:inline;}}").replace(/;/g,"!important;")));
document.getElementsByTagName("head")[0].appendChild(H);
function J(A,Q){var C=0,D=0;
var R=[],B=/([mrvxe])([^a-z]*)/g,F;
generate:for(var P=0;
F=B.exec(A);
++P){var E=F[2].split(",");
switch(F[1]){case"v":R[P]={m:"bezierCurveTo",a:[C+~~E[0],D+~~E[1],C+~~E[2],D+~~E[3],C+=~~E[4],D+=~~E[5]]};
break;
case"r":R[P]={m:"lineTo",a:[C+=~~E[0],D+=~~E[1]]};
break;
case"m":R[P]={m:"moveTo",a:[C=~~E[0],D=~~E[1]]};
break;
case"x":R[P]={m:"closePath"};
break;
case"e":break generate
}Q[R[P].m].apply(Q,R[P].a)
}return R
}function K(A,B){for(var C=0,D=A.length;
C<D;
++C){var E=A[C];
B[E.m].apply(B,E.a)
}}return function(i,E,AU,y,Ag,g){var AO=(E===null);
if(AO){E=Ag.alt
}var Ai=i.viewBox;
var AM=AU.getSize("fontSize",i.baseSize);
var AW=AU.get("letterSpacing");
AW=(AW=="normal")?0:AM.convertFrom(parseInt(AW,10));
var Ah=0,AV=0,AX=0,j=0;
var Aj=y.textShadow,AZ=[];
if(Aj){for(var k=Aj.length;
k--;
){var Ad=Aj[k];
var Aa=AM.convertFrom(parseFloat(Ad.offX));
var Ab=AM.convertFrom(parseFloat(Ad.offY));
AZ[k]=[Aa,Ab];
if(Ab<Ah){Ah=Ab
}if(Aa>AV){AV=Aa
}if(Ab>AX){AX=Ab
}if(Aa<j){j=Aa
}}}var B=Cufon.CSS.textTransform(E,AU).split(""),AD;
var AN=i.glyphs,l,AK,AS;
var AQ=0,AH,Ae=[];
for(var k=0,AB=0,AT=B.length;
k<AT;
++k){l=AN[AD=B[k]]||i.missingGlyph;
if(!l){continue
}if(AK){AQ-=AS=AK[AD]||0;
Ae[AB-1]-=AS
}AQ+=AH=Ae[AB++]=~~(l.w||i.w)+AW;
AK=l.k
}if(AH===undefined){return null
}AV+=Ai.width-AH;
j+=Ai.minX;
var AC,AL;
if(AO){AC=Ag;
AL=Ag.firstChild
}else{AC=document.createElement("span");
AC.className="cufon cufon-canvas";
AC.alt=E;
AL=document.createElement("canvas");
AC.appendChild(AL);
if(y.printable){var AR=document.createElement("span");
AR.className="cufon-alt";
AR.appendChild(document.createTextNode(E));
AC.appendChild(AR)
}}var A=AC.style;
var Ac=AL.style;
var AP=AM.convert(Ai.height);
var C=Math.ceil(AP);
var AY=C/AP;
AL.width=Math.ceil(AM.convert(AQ*AY+AV-j));
AL.height=Math.ceil(AM.convert(Ai.height-Ah+AX));
Ah+=Ai.minY;
Ac.top=Math.round(AM.convert(Ah-i.ascent))+"px";
Ac.left=Math.round(AM.convert(j))+"px";
var AE=Math.ceil(AM.convert(AQ*AY))+"px";
if(G){A.width=AE;
A.height=AM.convert(i.height)+"px"
}else{A.paddingLeft=AE;
A.paddingBottom=(AM.convert(i.height)-1)+"px"
}var D=AL.getContext("2d"),Af=AP/Ai.height;
D.scale(Af,Af*AY);
D.translate(-j,-Ah);
D.lineWidth=i.face["underline-thickness"];
D.save();
function AJ(M,N){D.strokeStyle=N;
D.beginPath();
D.moveTo(0,M);
D.lineTo(AQ,M);
D.stroke()
}var AI=y.enableTextDecoration?Cufon.CSS.textDecoration(g,AU):{};
if(AI.underline){AJ(-i.face["underline-position"],AI.underline)
}if(AI.overline){AJ(i.ascent,AI.overline)
}function x(){D.scale(AY,1);
for(var M=0,N=0,O=B.length;
M<O;
++M){var P=AN[B[M]]||i.missingGlyph;
if(!P){continue
}if(P.d){D.beginPath();
if(P.code){K(P.code,D)
}else{P.code=J("m"+P.d,D)
}D.fill()
}D.translate(Ae[N++],0)
}D.restore()
}if(Aj){for(var k=Aj.length;
k--;
){var Ad=Aj[k];
D.save();
D.fillStyle=Ad.color;
D.translate.apply(D,AZ[k]);
x()
}}var AF=y.textGradient;
if(AF){var F=AF.stops,AG=D.createLinearGradient(0,Ai.minY,0,Ai.maxY);
for(var k=0,AT=F.length;
k<AT;
++k){AG.addColorStop.apply(AG,F[k])
}D.fillStyle=AG
}else{D.fillStyle=AU.get("color")
}x();
if(AI["line-through"]){AJ(-i.descent,AI["line-through"])
}return AC
}
})());
Cufon.registerEngine("vml",(function(){if(!document.namespaces){return 
}if(document.namespaces.cvml==null){document.namespaces.add("cvml","urn:schemas-microsoft-com:vml")
}var J=document.createElement("cvml:shape");
J.style.behavior="url(#default#VML)";
if(!J.coordsize){return 
}J=null;
document.write(('<style type="text/css">.cufon-vml-canvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}.cufon-vml-canvas{position:absolute;text-align:left;}.cufon-vml{display:inline-block;position:relative;vertical-align:middle;}.cufon-vml .cufon-alt{position:absolute;left:-10000in;font-size:1px;}a .cufon-vml{cursor:pointer}}@media print{.cufon-vml *{display:none;}.cufon-vml .cufon-alt{display:inline;}}</style>').replace(/;/g,"!important;"));
function I(B,A){return F(B,/(?:em|ex|%)$/i.test(A)?"1em":A)
}function F(B,A){if(/px$/i.test(A)){return parseFloat(A)
}var C=B.style.left,D=B.runtimeStyle.left;
B.runtimeStyle.left=B.currentStyle.left;
B.style.left=A;
var E=B.style.pixelLeft;
B.style.left=C;
B.runtimeStyle.left=D;
return E
}var G={};
function H(B){var A=B.id;
if(!G[A]){var D=B.stops,C=document.createElement("cvml:fill"),N=[];
C.type="gradient";
C.angle=180;
C.focus="0";
C.method="sigma";
C.color=D[0][1];
for(var E=1,M=D.length-1;
E<M;
++E){N.push(D[E][0]*100+"% "+D[E][1])
}C.colors=N.join(",");
C.color2=D[M][1];
G[A]=C
}return G[A]
}return function(AE,Ar,Ab,i,An,AD,Ad){var AT=(Ar===null);
if(AT){Ar=An.alt
}var Ap=AE.viewBox;
var AR=Ab.computedFontSize||(Ab.computedFontSize=new Cufon.CSS.Size(I(AD,Ab.get("fontSize"))+"px",AE.baseSize));
var Ae=Ab.computedLSpacing;
if(Ae==undefined){Ae=Ab.get("letterSpacing");
Ab.computedLSpacing=Ae=(Ae=="normal")?0:~~AR.convertFrom(F(AD,Ae))
}var AF,AQ;
if(AT){AF=An;
AQ=An.firstChild
}else{AF=document.createElement("span");
AF.className="cufon cufon-vml";
AF.alt=Ar;
AQ=document.createElement("span");
AQ.className="cufon-vml-canvas";
AF.appendChild(AQ);
if(i.printable){var AY=document.createElement("span");
AY.className="cufon-alt";
AY.appendChild(document.createTextNode(Ar));
AF.appendChild(AY)
}if(!Ad){AF.appendChild(document.createElement("cvml:shape"))
}}var A=AF.style;
var Aj=AQ.style;
var AV=AR.convert(Ap.height),E=Math.ceil(AV);
var Af=E/AV;
var Ag=Ap.minX,Ah=Ap.minY;
Aj.height=E;
Aj.top=Math.round(AR.convert(Ah-AE.ascent));
Aj.left=Math.round(AR.convert(Ag));
A.height=AR.convert(AE.height)+"px";
var AM=i.enableTextDecoration?Cufon.CSS.textDecoration(AD,Ab):{};
var As=Ab.get("color");
var B=Cufon.CSS.textTransform(Ar,Ab).split(""),AH;
var AS=AE.glyphs,D,AP,AZ;
var AW=0,Am=[],Ai=0,AL;
var AJ,Aq=i.textShadow;
for(var AG=0,AX=0,Aa=B.length;
AG<Aa;
++AG){D=AS[AH=B[AG]]||AE.missingGlyph;
if(!D){continue
}if(AP){AW-=AZ=AP[AH]||0;
Am[AX-1]-=AZ
}AW+=AL=Am[AX++]=~~(D.w||AE.w)+Ae;
AP=D.k
}if(AL===undefined){return null
}var AI=-Ag+AW+(Ap.width-AL);
var C=AR.convert(AI*Af),Ac=Math.round(C);
var Ak=AI+","+Ap.height,AU;
var Ao="r"+Ak+"ns";
var AK=i.textGradient&&H(i.textGradient);
for(AG=0,AX=0;
AG<Aa;
++AG){D=AS[B[AG]]||AE.missingGlyph;
if(!D){continue
}if(AT){AJ=AQ.childNodes[AX];
while(AJ.firstChild){AJ.removeChild(AJ.firstChild)
}}else{AJ=document.createElement("cvml:shape");
AQ.appendChild(AJ)
}AJ.stroked="f";
AJ.coordsize=Ak;
AJ.coordorigin=AU=(Ag-Ai)+","+Ah;
AJ.path=(D.d?"m"+D.d+"xe":"")+"m"+AU+Ao;
AJ.fillcolor=As;
if(AK){AJ.appendChild(AK.cloneNode(false))
}var k=AJ.style;
k.width=Ac;
k.height=E;
if(Aq){var AN=Aq[0],AO=Aq[1];
var j=Cufon.CSS.color(AN.color),l;
var Al=document.createElement("cvml:shadow");
Al.on="t";
Al.color=j.color;
Al.offset=AN.offX+","+AN.offY;
if(AO){l=Cufon.CSS.color(AO.color);
Al.type="double";
Al.color2=l.color;
Al.offset2=AO.offX+","+AO.offY
}Al.opacity=j.opacity||(l&&l.opacity)||1;
AJ.appendChild(Al)
}Ai+=Am[AX++]
}A.width=Math.max(Math.ceil(AR.convert(AW*Af)),0);
return AF
}
})());