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