/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09i
 */
var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());;
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * © 2008 Bernd Montag - feel free to distribute - feel free to use personal and
 * commercial - read attached textfile for restrictions
 */
Cufon.registerFont({"w":85,"face":{"font-family":"Sansation","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 5 3 0 0 0 2 0 4","ascent":"288","descent":"-72","bbox":"0 -265 352 70","underline-thickness":"26.3672","underline-position":"-15.6445","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{},"!":{"d":"59,-251r0,186r-33,0r0,-186r33,0xm59,-33r0,33r-33,0r0,-33r33,0"},"\"":{"d":"115,-251r-5,76r-22,0r-5,-76r32,0xm50,-251r-5,76r-22,0r-5,-76r32,0","w":132},"#":{"d":"141,-154r-16,66r67,0r15,-66r-66,0xm71,1r15,-61r-68,0r5,-28r71,0r15,-66r-70,0r5,-27r72,0r18,-69r32,0r-18,69r66,0r18,-70r32,0r-18,70r69,0r-5,27r-71,0r-15,66r70,0r-5,28r-73,0r-15,61r-32,0r16,-61r-67,0r-16,61r-31,0","w":332},"$":{"d":"26,-42r0,-28v32,11,106,22,108,-16v2,-26,-28,-25,-55,-25v-41,0,-61,-18,-61,-54v0,-30,20,-48,61,-53r0,-33r31,0r0,33v18,1,33,4,48,9r0,28v-33,-14,-109,-20,-111,16v-2,25,31,24,58,24v41,0,62,19,62,55v0,30,-19,48,-57,53r0,33r-31,0r0,-33v-21,-1,-38,-4,-53,-9","w":184},"%":{"d":"54,0r-36,0r178,-251r36,0xm66,-182v17,0,26,-9,26,-26v0,-17,-9,-25,-26,-25v-17,0,-26,8,-26,25v0,17,9,26,26,26xm18,-207v0,-30,15,-46,48,-46v32,0,49,16,49,46v0,30,-17,45,-49,45v-33,0,-48,-15,-48,-45xm184,-18v17,0,26,-9,26,-26v0,-17,-9,-25,-26,-25v-17,0,-26,8,-26,25v0,17,9,26,26,26xm135,-44v0,-30,16,-45,49,-45v32,0,48,15,48,45v0,30,-16,46,-48,46v-33,0,-49,-16,-49,-46","w":249},"&":{"d":"52,-128v-23,-10,-34,-29,-34,-56v0,-68,89,-78,153,-59r0,27v-43,-14,-121,-17,-121,31v0,56,62,43,113,44r0,-25v20,-2,19,17,29,25r32,0r0,27r-28,0v5,74,-19,116,-91,115v-58,0,-87,-23,-87,-70v0,-29,11,-49,34,-59xm163,-114v-51,1,-113,-12,-113,44v0,29,18,44,53,44v51,0,64,-34,60,-88","w":224},"'":{"d":"50,-251r-5,76r-22,0r-5,-76r32,0","w":67},"(":{"d":"85,-251v-46,106,-47,212,0,318r-32,0v-46,-106,-47,-212,0,-318r32,0","w":98},")":{"d":"46,-251v46,106,47,212,0,318r-33,0v46,-106,47,-212,0,-318r33,0","w":98},"*":{"d":"57,-251r28,0r-5,40r36,-17r9,26r-40,7r28,30r-22,16r-20,-36r-20,36r-21,-16r28,-30r-41,-7r9,-27r37,19","w":142},"+":{"d":"70,-105r0,-53r27,0r0,53r52,0r0,26r-52,0r0,53r-27,0r0,-53r-52,0r0,-26r52,0","w":166},",":{"d":"76,-33r-26,77r-32,0r26,-77r32,0","w":94},"-":{"d":"105,-105r0,26r-87,0r0,-26r87,0","w":123},"\u2010":{"d":"105,-105r0,26r-87,0r0,-26r87,0","w":123},".":{"d":"50,-33r0,33r-32,0r0,-33r32,0","w":67},"\/":{"d":"40,0r-36,0r128,-251r36,0","w":172},"0":{"d":"122,-25v48,0,72,-33,72,-101v0,-67,-24,-101,-72,-101v-50,0,-75,34,-75,101v0,68,25,101,75,101xm13,-125v0,-85,37,-128,109,-128v71,0,107,43,107,128v0,85,-36,127,-107,127v-72,0,-109,-42,-109,-127","w":241},"1":{"d":"44,0r0,-218r-26,0r0,-16r58,-17r0,251r-32,0","w":111},"2":{"d":"18,0r0,-26v93,-64,139,-115,139,-153v0,-62,-92,-55,-132,-28r0,-29v60,-33,165,-20,165,57v0,43,-42,94,-126,153r126,0r0,26r-172,0","w":207},"3":{"d":"18,-243v64,-21,160,-14,160,58v0,28,-11,48,-33,58v22,10,33,29,33,57v0,75,-94,84,-160,61r0,-28v45,17,128,24,128,-33v0,-52,-53,-44,-102,-44r0,-27v49,0,102,8,102,-44v0,-54,-86,-47,-128,-29r0,-29","w":195},"4":{"d":"159,0r-33,0r0,-74r-113,0r0,-26r70,-151r32,0r-68,151r79,0r0,-93r33,0r0,93v10,8,30,5,26,26r-26,0r0,74","w":197,"k":{"7":26}},"5":{"d":"26,-251r150,0r0,26r-122,0r-6,71v71,-14,153,6,145,73v9,85,-100,96,-172,72r0,-28v50,18,146,25,140,-44v6,-61,-94,-56,-143,-42","w":206},"6":{"d":"18,-93v0,-55,29,-110,89,-166r22,19v-31,29,-53,58,-66,86v11,-3,26,-4,45,-4v61,0,92,25,92,75v0,56,-32,85,-97,85v-57,0,-85,-32,-85,-95xm105,-25v43,0,64,-19,64,-58v0,-54,-74,-54,-116,-44v-15,51,3,102,52,102","w":217,"k":{"9":17,"7":26}},"7":{"d":"18,-251r167,0r0,26r-101,225r-37,0r104,-225r-133,0r0,-26","w":197,"k":{"6":26,"4":26}},"8":{"d":"109,2v-93,0,-122,-100,-54,-133v-54,-35,-35,-134,54,-123v89,-10,108,88,53,123v25,11,38,30,38,56v0,51,-30,77,-91,77xm161,-186v0,-27,-17,-41,-53,-41v-34,0,-51,14,-51,41v0,28,18,42,53,42v34,0,51,-14,51,-42xm168,-73v0,-30,-20,-45,-60,-45v-38,0,-58,15,-58,45v0,33,20,48,60,48v39,0,58,-15,58,-48","w":217},"9":{"d":"200,-159v0,55,-29,110,-89,166r-22,-19v31,-29,53,-58,66,-86v-62,27,-137,6,-137,-71v0,-56,31,-85,93,-85v59,0,89,32,89,95xm110,-227v-40,0,-61,19,-61,58v0,64,82,63,116,40v15,-49,-6,-98,-55,-98","w":217,"k":{"7":17}},":":{"d":"50,-185r0,33r-32,0r0,-33r32,0xm50,-33r0,33r-32,0r0,-33r32,0","w":67},";":{"d":"76,-185r0,33r-32,0r0,-33r32,0xm76,-33r-26,77r-32,0r26,-77r32,0","w":94},"<":{"d":"18,-79r0,-26r158,-71r0,27r-131,57r131,57r0,26","w":193},"=":{"d":"149,-79r0,26r-131,0r0,-26r131,0xm149,-132r0,27r-131,0r0,-27r131,0","w":166},">":{"d":"18,-9r0,-26r130,-57r-130,-57r0,-27r158,71r0,26","w":193},"?":{"d":"44,-33r0,33r32,0r0,-33r-32,0xm18,-243v69,-18,160,-11,160,60v0,51,-38,72,-102,69r0,49r-32,0r0,-76v47,1,102,3,102,-42v0,-53,-80,-46,-128,-33r0,-27","w":195},"@":{"d":"110,-57v-7,-55,68,-63,123,-54v13,-58,-65,-51,-108,-38r0,-27v56,-20,140,-10,140,50r0,111v0,10,6,15,18,15v24,0,36,-32,36,-95v0,-88,-43,-132,-128,-132v-88,0,-132,44,-132,132v0,90,40,135,120,135r0,27v-102,0,-153,-54,-153,-162v0,-105,55,-158,163,-158v109,0,163,53,163,158v0,81,-25,121,-75,121v-28,0,-43,-13,-43,-39v-42,25,-133,15,-124,-44xm233,-84v-29,-5,-96,-11,-91,26v-4,44,70,36,91,17r0,-43","w":377},"A":{"d":"4,0r107,-251r36,0r107,251r-34,0r-33,-79r-84,0r9,-26r62,0r-46,-113r-90,218r-34,0","w":258,"k":{"Y":31,"V":31,"T":22}},"B":{"d":"26,0r0,-251v73,3,179,-19,179,58v0,29,-15,50,-46,62v33,6,49,25,49,57v0,50,-26,74,-78,74r-104,0xm59,-26v52,-1,114,12,114,-46v0,-34,-30,-48,-74,-45r0,-21v48,-6,72,-24,72,-52v0,-49,-67,-32,-112,-35r0,199","w":230},"C":{"d":"220,-9v-22,7,-46,11,-71,11v-88,0,-131,-44,-131,-131v0,-111,101,-143,202,-114r0,29v-77,-31,-170,-8,-170,85v0,98,89,122,170,92r0,28","w":243},"D":{"d":"59,-26v95,7,155,-9,155,-107v0,-87,-67,-98,-155,-92r0,199xm26,0r0,-251r102,0v79,0,118,39,118,118v0,88,-39,133,-118,133r-102,0","w":263},"E":{"d":"191,-251r0,26r-132,0r0,84r126,0r0,27r-126,0r0,88r134,0r0,26r-167,0r0,-251r165,0","w":215},"F":{"d":"191,-251r0,26r-132,0r0,84r126,0r0,27r-126,0r0,114r-33,0r0,-251r165,0","w":212,"k":{"A":26}},"G":{"d":"220,-10v-20,8,-43,12,-66,12v-91,0,-136,-44,-136,-131v0,-111,101,-143,202,-114r0,29v-77,-31,-170,-8,-170,85v0,84,56,116,137,100r0,-85r33,0r0,104","w":243},"H":{"d":"26,0r0,-251r33,0r0,110r152,0r0,-110r32,0r0,251r-32,0r0,-114r-152,0r0,114r-33,0","w":269},"I":{"d":"59,-251r0,251r-33,0r0,-251r33,0"},"J":{"d":"90,-251r0,179v0,48,-29,72,-86,72r0,-26v35,0,53,-15,53,-46r0,-179r33,0","w":116},"K":{"d":"59,-251r0,251r-33,0r0,-251r33,0xm232,-251r-112,117r127,134r-49,0r-111,-123r0,-19r104,-109r41,0","w":251,"k":{"Q":26,"O":26,"G":26,"C":26}},"L":{"d":"59,-251r0,225r131,0r0,26r-164,0r0,-251r33,0","w":207,"k":{"Y":51,"V":53,"T":53,"Q":26,"O":26,"G":26,"C":26}},"M":{"d":"26,0r0,-251r42,0r92,209r90,-209r40,0r0,251r-29,0r0,-203r-89,203r-26,0r-91,-203r0,203r-29,0","w":316},"N":{"d":"26,0r0,-251r33,0r154,200r0,-200r30,0r0,251r-32,0r-154,-201r0,201r-31,0","w":269},"O":{"d":"144,-25v60,0,90,-33,90,-101v0,-67,-30,-101,-90,-101v-61,0,-92,34,-92,101v0,68,31,101,92,101xm18,-125v0,-85,42,-128,126,-128v83,0,124,43,124,128v0,85,-41,127,-124,127v-84,0,-126,-42,-126,-127","w":285},"P":{"d":"26,0r0,-251v74,3,179,-19,179,60v0,45,-33,73,-100,84r-6,-27v48,-8,72,-27,72,-56v0,-48,-68,-31,-112,-34r0,224r-33,0","w":218,"k":{"A":26}},"Q":{"d":"144,-25v60,0,90,-33,90,-101v0,-67,-30,-101,-90,-101v-61,0,-92,34,-92,101v0,68,31,101,92,101xm18,-125v0,-85,42,-128,126,-128v83,0,124,43,124,128v0,70,-28,111,-85,124r41,47r-26,19r-54,-63v-84,0,-126,-42,-126,-127","w":285},"R":{"d":"26,0r0,-251v74,3,179,-19,179,60v0,33,-23,57,-70,73r86,118r-42,0r-80,-113r0,-21v48,-8,72,-27,72,-56v0,-48,-68,-31,-112,-34r0,224r-33,0","w":225},"S":{"d":"30,-9r0,-30v46,18,150,30,150,-33v0,-40,-41,-40,-83,-40v-53,0,-79,-23,-79,-69v0,-76,113,-83,182,-62r0,30v-46,-19,-150,-26,-150,32v0,40,40,40,82,40v54,0,81,23,81,69v0,80,-114,85,-183,63","w":230,"k":{"S":17}},"T":{"d":"191,-251r0,26r-79,0r0,225r-33,0r0,-225r-79,0r0,-26r191,0","w":190,"k":{"z":26,"y":26,"x":26,"w":26,"v":26,"u":26,"t":26,"s":26,"r":26,"q":26,"p":26,"o":26,"n":26,"m":25,"g":26,"e":26,"d":26,"c":26,"a":26,"A":22}},"U":{"d":"26,-97r0,-154r33,0v8,92,-33,226,72,226v105,0,64,-134,72,-226r33,0r0,154v0,66,-35,99,-105,99v-70,0,-105,-33,-105,-99","w":261},"V":{"d":"254,-251r-106,251r-36,0r-108,-251r35,0r92,217r90,-217r33,0","w":258,"k":{"z":17,"s":22,"r":17,"q":22,"p":17,"o":22,"n":17,"m":17,"g":22,"e":22,"d":22,"c":22,"a":18,"A":31}},"W":{"d":"4,-251r32,0r35,218r71,-218r33,0r76,218r40,-218r30,0r-47,251r-45,0r-71,-211r-69,211r-43,0","w":325},"X":{"d":"4,-251r40,0r198,251r-40,0xm44,0r-40,0r198,-251r40,0","w":247},"Y":{"d":"4,-251r36,0r73,131r73,-131r38,0r-96,163r0,88r-32,0r0,-88","w":228,"k":{"z":17,"x":17,"u":17,"s":26,"r":17,"q":26,"p":17,"o":26,"n":17,"m":17,"g":26,"e":26,"d":26,"c":26,"a":26,"A":31}},"Z":{"d":"198,-251r0,26r-137,199r133,0r0,26r-172,0r0,-26r141,-199r-138,0r0,-26r173,0","w":219},"[":{"d":"105,-251r0,26r-46,0r0,265r46,0r0,27r-79,0r0,-318r79,0","w":114},"\\":{"d":"4,-251r36,0r128,251r-36,0","w":172},"]":{"d":"88,-251r0,318r-79,0r0,-27r46,0r0,-265r-46,0r0,-26r79,0","w":114},"^":{"d":"79,-251r26,0r71,128r-27,0r-57,-106r-57,106r-26,0","w":184},"_":{"d":"180,0r0,26r-176,0r0,-26r176,0","w":184},"`":{"d":"70,-238r0,26r-70,-26r0,-27","w":70},"a":{"d":"18,-57v-7,-55,68,-63,123,-54v13,-58,-65,-51,-108,-38r0,-27v56,-20,140,-10,140,50r0,126v-17,3,-22,-6,-29,-13v-43,25,-134,16,-126,-44xm141,-84v-29,-5,-96,-11,-91,26v-4,44,70,36,91,17r0,-43","w":199},"b":{"d":"59,-32v52,14,100,-1,100,-65v0,-59,-56,-70,-100,-50r0,115xm26,-251r33,0r0,75v65,-25,132,3,132,80v0,95,-84,108,-165,88r0,-243","w":208},"c":{"d":"167,-5v-79,18,-149,-8,-149,-91v0,-77,75,-102,149,-83r0,26v-56,-14,-117,-3,-117,57v0,65,58,81,117,64r0,27","w":180},"d":{"d":"150,-147v-43,-20,-100,-9,-100,50v0,68,49,81,100,63r0,-113xm183,-11v-22,7,-50,11,-83,11v-55,0,-82,-32,-82,-96v0,-77,66,-105,132,-80r0,-75r33,0r0,240","w":209},"e":{"d":"174,-83r-124,0v-6,56,67,66,120,51r0,27v-77,16,-152,-2,-152,-89v0,-60,29,-91,88,-91v56,0,79,34,68,102xm50,-110r95,0v2,-32,-13,-49,-44,-49v-32,0,-49,17,-51,49","w":198},"f":{"d":"26,1r0,-195v-6,-61,59,-79,110,-59r0,26v-34,-14,-91,-11,-77,42r55,0r0,27r-55,0r0,158","w":126},"g":{"d":"150,-153v-49,-13,-100,-3,-100,59v0,66,54,78,100,56r0,-115xm182,0v9,67,-87,78,-145,58r0,-26v41,12,125,19,113,-41v-66,26,-132,-3,-132,-84v0,-91,84,-104,164,-84r0,177","w":208},"h":{"d":"26,0r0,-251r33,0r0,86v46,-34,126,-28,126,49r0,116r-32,0v-7,-59,25,-158,-41,-158v-19,0,-36,8,-53,24r0,134r-33,0","w":211},"i":{"d":"59,-251r0,26r-33,0r0,-26r33,0xm59,-185r0,185r-33,0r0,-185r33,0"},"j":{"d":"59,-251r0,26r-33,0r0,-26r33,0xm59,-185v-6,88,18,206,-27,255r-28,-18v41,-48,15,-156,22,-237r33,0"},"k":{"d":"26,0r0,-251r33,0r0,81v43,-25,131,-23,131,39v0,26,-18,43,-53,53r59,78r-41,0r-59,-78r0,-15v41,-4,61,-16,61,-38v0,-40,-70,-29,-98,-11r0,142r-33,0","w":207},"l":{"d":"59,-251r0,251r-33,0r0,-251r33,0"},"m":{"d":"26,0r0,-185r22,0r6,24v35,-28,89,-36,112,2v50,-41,125,-38,125,45r0,114r-33,0r0,-116v2,-56,-57,-49,-83,-18r0,134r-33,0r0,-116v2,-56,-59,-49,-83,-18r0,134r-33,0","w":317},"n":{"d":"26,0r0,-185r22,0r6,24v48,-39,131,-35,131,45r0,116r-32,0v-7,-59,25,-158,-41,-158v-19,0,-36,8,-53,24r0,134r-33,0","w":211},"o":{"d":"105,-26v37,0,56,-23,56,-67v0,-43,-19,-65,-56,-65v-37,0,-55,22,-55,65v0,44,18,67,55,67xm18,-92v0,-62,28,-93,87,-93v59,0,88,31,88,93v0,61,-29,92,-88,92v-58,0,-87,-31,-87,-92","w":210},"p":{"d":"59,-38v47,23,100,8,100,-59v0,-59,-51,-69,-100,-56r0,115xm26,-177v78,-19,165,-10,165,80v0,83,-62,114,-132,88r0,76r-33,0r0,-244","w":208},"q":{"d":"150,-153v-49,-13,-100,-3,-100,59v0,66,54,78,100,56r0,-115xm182,67r-32,0r0,-76v-66,26,-132,-3,-132,-84v0,-91,84,-104,164,-84r0,244","w":208},"r":{"d":"26,0r0,-185r22,0r6,24v16,-16,35,-24,58,-24r0,27v-22,0,-39,8,-53,24r0,134r-33,0","w":118},"s":{"d":"26,-9r0,-28v32,12,106,23,108,-16v2,-27,-31,-25,-58,-24v-39,0,-58,-19,-58,-55v0,-57,88,-61,140,-44r0,28v-32,-12,-108,-21,-110,16v-1,27,29,25,57,25v41,0,62,18,62,54v0,57,-89,62,-141,44","w":184},"t":{"d":"26,-214r21,0r7,29r43,0r0,27r-38,0r0,106v-1,24,15,28,38,26r0,26v-44,3,-71,-7,-71,-50r0,-164","w":114},"u":{"d":"185,-185r0,185r-22,0r-5,-24v-48,39,-132,35,-132,-45r0,-116r33,0v7,59,-26,158,41,158v19,0,36,-7,53,-23r0,-135r32,0","w":211},"v":{"d":"0,-185r35,0r53,145r53,-145r35,0r-75,185r-31,0","w":175},"w":{"d":"5,-185r32,0r35,143r46,-143r29,0r50,143r31,-143r35,0r-48,185r-34,0r-49,-138r-47,138r-34,0","w":267},"x":{"d":"4,-185r38,0r138,185r-38,0xm42,0r-38,0r138,-185r38,0","w":196},"y":{"d":"4,-185r36,0r52,145r54,-145r34,0r-76,190v-14,34,-34,55,-61,63r-13,-23v21,-9,36,-24,45,-44","w":184},"z":{"d":"21,-185r135,0r0,27r-99,133r96,0r0,25r-135,0r0,-25r101,-133r-98,0r0,-27","w":174},"{":{"d":"110,-251v-36,35,-6,146,-60,159v54,13,24,124,60,159r-33,0v-36,-27,-4,-146,-59,-146r0,-26v25,0,36,-21,36,-62v0,-35,8,-63,23,-84r33,0","w":118},"|":{"d":"59,-251r0,318r-33,0r0,-318r33,0"},"}":{"d":"41,-251v35,28,4,147,60,146r0,26v-25,0,-37,21,-37,62v0,35,-8,63,-23,84r-32,0v36,-35,6,-146,60,-159v-54,-13,-24,-124,-60,-159r32,0","w":118},"~":{"d":"149,-109r0,26v-21,33,-107,-25,-131,7r0,-26v22,-32,108,27,131,-7","w":166},"\u00a0":{}}});
;
(function ($) {
  Drupal.behaviors.cufonReplace = {
    attach: function(context) {
      for (o in Drupal.settings.cufonSelectors) { 
        var s = Drupal.settings.cufonSelectors[o];
        $(s.selector + ':not(.cufon-replace-processed)', context)
          .each(function() {
            Cufon.replace($(this), s.options);
          })
          .addClass('cufon-replace-processed');
      }
    }
  }
})(jQuery);
;
// $Id: extlink.js,v 1.8 2010/05/26 01:25:56 quicksketch Exp $
(function ($) {

function extlinkAttach(context) {
  // Strip the host name down, removing ports, subdomains, or www.
  var pattern = /^(([^\/:]+?\.)*)([^\.:]{4,})((\.[a-z]{1,4})*)(:[0-9]{1,5})?$/;
  var host = window.location.host.replace(pattern, '$3$4');
  var subdomain = window.location.host.replace(pattern, '$1');

  // Determine what subdomains are considered internal.
  if (Drupal.settings.extlink.extSubdomains) {
    var subdomains = "([^/]*\\.)?";
  }
  else if (subdomain == 'www.' || subdomain == '') {
    var subdomains = "(www\\.)?";
  }
  else {
    var subdomains = subdomain.replace(".", "\\.");
  }

  // Build regular expressions that define an internal link.
  var internal_link = new RegExp("^https?://" + subdomains + host, "i");

  // Extra internal link matching.
  var extInclude = false;
  if (Drupal.settings.extlink.extInclude) {
    extInclude = new RegExp(Drupal.settings.extlink.extInclude.replace(/\\/, '\\'));
  }

  // Extra external link matching.
  var extExclude = false;
  if (Drupal.settings.extlink.extExclude) {
    extExclude = new RegExp(Drupal.settings.extlink.extExclude.replace(/\\/, '\\'));
  }

  // Find all links which are NOT internal and begin with http (as opposed
  // to ftp://, javascript:, etc. other kinds of links.
  // When operating on the 'this' variable, the host has been appended to
  // all links by the browser, even local ones.
  // In jQuery 1.1 and higher, we'd use a filter method here, but it is not
  // available in jQuery 1.0 (Drupal 5 default).
  var external_links = new Array();
  var mailto_links = new Array();
  $("a:not(." + Drupal.settings.extlink.extClass + ", ." + Drupal.settings.extlink.mailtoClass + ")", context).each(function(el) {
    try {
      var url = this.href.toLowerCase();
      if (url.indexOf('http') == 0 && (!url.match(internal_link) || (extInclude && url.match(extInclude))) && !(extExclude && url.match(extExclude))) {
        external_links.push(this);
      }
      else if (url.indexOf('mailto:') == 0) {
        mailto_links.push(this);
      }
    }
    // IE7 throws errors often when dealing with irregular links, such as:
    // <a href="node/10"></a> Empty tags.
    // <a href="http://user:pass@example.com">example</a> User:pass syntax.
    catch(error) {
      return false;
    }
  });

  if (Drupal.settings.extlink.extClass) {
    // Apply the "ext" class to all links not containing images.
    if (parseFloat($().jquery) < 1.2) {
      $(external_links).not('[img]').addClass(Drupal.settings.extlink.extClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.extClass + '></span>'); });
    }
    else {
      $(external_links).not($(external_links).find('img').parents('a')).addClass(Drupal.settings.extlink.extClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.extClass + '></span>'); });
    }
  }

  if (Drupal.settings.extlink.mailtoClass) {
    // Apply the "mailto" class to all mailto links not containing images.
    if (parseFloat($().jquery) < 1.2) {
      $(mailto_links).not('[img]').addClass(Drupal.settings.extlink.mailtoClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.mailtoClass + '></span>'); });
    }
    else {
      $(mailto_links).not($(mailto_links).find('img').parents('a')).addClass(Drupal.settings.extlink.mailtoClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.mailtoClass + '></span>'); });
    }
  }

  if (Drupal.settings.extlink.extTarget) {
    // Apply the target attribute to all links.
    $(external_links).attr('target', Drupal.settings.extlink.extTarget);
  }

  if (Drupal.settings.extlink.extAlert) {
    // Add pop-up click-through dialog.
    $(external_links).click(function(e) {
     return confirm(Drupal.settings.extlink.extAlertText);
    });
  }

  // Work around for Internet Explorer box model problems.
  if (($.support && !($.support.boxModel === undefined) && !$.support.boxModel) || ($.browser.msie && parseInt($.browser.version) <= 7)) {
    $('span.ext, span.mailto').css('display', 'inline-block');
  }
}

Drupal.behaviors.extlink = {
  attach: function(context){
    extlinkAttach(context);
  }
}

})(jQuery);
;
//http://www.featureblend.com/license.txt
var FlashDetect=new function(){var self=this;self.installed=false;self.raw="";self.major=-1;self.minor=-1;self.revision=-1;self.revisionStr="";var activeXDetectRules=[{"name":"ShockwaveFlash.ShockwaveFlash.7","version":function(obj){return getActiveXVersion(obj);}},{"name":"ShockwaveFlash.ShockwaveFlash.6","version":function(obj){var version="6,0,21";try{obj.AllowScriptAccess="always";version=getActiveXVersion(obj);}catch(err){}
return version;}},{"name":"ShockwaveFlash.ShockwaveFlash","version":function(obj){return getActiveXVersion(obj);}}];var getActiveXVersion=function(activeXObj){var version=-1;try{version=activeXObj.GetVariable("$version");}catch(err){}
return version;};var getActiveXObject=function(name){var obj=-1;try{obj=new ActiveXObject(name);}catch(err){obj={activeXError:true};}
return obj;};var parseActiveXVersion=function(str){var versionArray=str.split(",");return{"raw":str,"major":parseInt(versionArray[0].split(" ")[1],10),"minor":parseInt(versionArray[1],10),"revision":parseInt(versionArray[2],10),"revisionStr":versionArray[2]};};var parseStandardVersion=function(str){var descParts=str.split(/ +/);var majorMinor=descParts[2].split(/\./);var revisionStr=descParts[3];return{"raw":str,"major":parseInt(majorMinor[0],10),"minor":parseInt(majorMinor[1],10),"revisionStr":revisionStr,"revision":parseRevisionStrToInt(revisionStr)};};var parseRevisionStrToInt=function(str){return parseInt(str.replace(/[a-zA-Z]/g,""),10)||self.revision;};self.majorAtLeast=function(version){return self.major>=version;};self.minorAtLeast=function(version){return self.minor>=version;};self.revisionAtLeast=function(version){return self.revision>=version;};self.versionAtLeast=function(major){var properties=[self.major,self.minor,self.revision];var len=Math.min(properties.length,arguments.length);for(i=0;i<len;i++){if(properties[i]>=arguments[i]){if(i+1<len&&properties[i]==arguments[i]){continue;}else{return true;}}else{return false;}}};self.FlashDetect=function(){if(navigator.plugins&&navigator.plugins.length>0){var type='application/x-shockwave-flash';var mimeTypes=navigator.mimeTypes;if(mimeTypes&&mimeTypes[type]&&mimeTypes[type].enabledPlugin&&mimeTypes[type].enabledPlugin.description){var version=mimeTypes[type].enabledPlugin.description;var versionObj=parseStandardVersion(version);self.raw=versionObj.raw;self.major=versionObj.major;self.minor=versionObj.minor;self.revisionStr=versionObj.revisionStr;self.revision=versionObj.revision;self.installed=true;}}else if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){var version=-1;for(var i=0;i<activeXDetectRules.length&&version==-1;i++){var obj=getActiveXObject(activeXDetectRules[i].name);if(!obj.activeXError){self.installed=true;version=activeXDetectRules[i].version(obj);if(version!=-1){var versionObj=parseActiveXVersion(version);self.raw=versionObj.raw;self.major=versionObj.major;self.minor=versionObj.minor;self.revision=versionObj.revision;self.revisionStr=versionObj.revisionStr;}}}}}();};FlashDetect.JS_RELEASE="1.0.4";;
// $Id: media_youtube.js,v 1.1.2.4 2011/01/04 19:50:41 aaron Exp $

/**
 * @file media_youtube/js/media_youtube.js
 */

(function ($) {

Drupal.media_youtube = {};
Drupal.behaviors.media_youtube = {
  attach: function (context, settings) {
    // Check the browser to see if it supports html5 video.
    var video = document.createElement('video');
    var html5 = video.canPlayType ? true : false;

    // If it has video, does it support the correct codecs?
    if (html5) {
      html5 = false;
      if (video.canPlayType( 'video/webm; codecs="vp8, vorbis"' ) || video.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')) {
        html5 = true;
      }
    }

    // Put a prompt in the video wrappers to let users know they need flash
    if (!FlashDetect.installed && !html5){
      $('.media-youtube-preview-wrapper').each(Drupal.media_youtube.needFlash);
    }
  }
};

Drupal.media_youtube.needFlash = function () {
  var id = $(this).attr('id');
  var wrapper = $('.media-youtube-preview-wrapper');
  var hw = Drupal.settings.media_youtube[id].height / Drupal.settings.media_youtube[id].width;
  wrapper.html('<div class="js-fallback">' + Drupal.t('You need Flash to watch this video. <a href="@flash">Get Flash</a>', {'@flash':'http://get.adobe.com/flashplayer'}) + '</div>');
  wrapper.height(wrapper.width() * hw);
};

Drupal.media_youtube.insertEmbed = function (embed_id) {
  var videoWrapper = $('#' + embed_id + '.media-youtube-preview-wrapper');
  var settings = Drupal.settings.media_youtube[embed_id];

  // Calculate the ratio of the dimensions of the embed.
  settings.hw = settings.height / settings.width;

  // Replace the object embed with YouTube's iframe. This isn't done by the
  // theme function because YouTube doesn't have a no-JS or no-Flash fallback.
  var video = $('<iframe class="youtube-player" type="text/html" frameborder="0"></iframe>');
  var src = 'http://www.youtube.com/embed/' + settings.video_id;

  // Allow other modules to modify the video settings.
  settings.options = {wmode : 'opaque'};
  $(window).trigger('media_youtube_load', settings);

  // Merge YouTube options (such as autoplay) into the source URL.
  var query = $.param(settings.options);
  if (query) {
    src += '?' + query;
  }

  // Set up the iframe with its contents and add it to the page.
  video
    .attr('id', settings.id)
    .attr('width', settings.width)
    .attr('height', settings.height)
    .attr('src', src);
  videoWrapper.html(video);

  // Bind a resize event to handle fluid layouts.
  $(window).bind('resize', Drupal.media_youtube.resizeEmbeds);

  // For some reason Chrome does not properly size the container around the
  // embed and it will just render the embed at full size unless we set this
  // timeout.
  if (!$('.lightbox-stack').length) {
    setTimeout(Drupal.media_youtube.resizeEmbeds, 1);
  }
};

Drupal.media_youtube.resizeEmbeds = function () {
  $('.media-youtube-preview-wrapper').each(Drupal.media_youtube.resizeEmbed);
};

Drupal.media_youtube.resizeEmbed = function () {
  var context = $(this).parent();
  var video = $(this).children(':first-child');
  var hw = Drupal.settings.media_youtube[$(this).attr('id')].hw;
  // Change the height of the wrapper that was given a fixed height by the
  // YouTube theming function.
  $(this)
    .height(context.width() * hw)
    .width(context.width());

  // Change the attributes on the embed to match the new size.
  video
    .height(context.width() * hw)
    .width(context.width());
};

})(jQuery);;
(function ($) {

$(document).ready(function() {

  // Accepts a string; returns the string with regex metacharacters escaped. The returned string
  // can safely be used at any point within a regex to match the provided literal string. Escaped
  // characters are [ ] { } ( ) * + ? - . , \ ^ $ # and whitespace. The character | is excluded
  // in this function as it's used to separate the domains names.
  RegExp.escapeDomains = function(text) {
    return (text) ? text.replace(/[-[\]{}()*+?.,\\^$#\s]/g, "\\$&") : '';
  }

  // Attach onclick event to document only and catch clicks on all elements.
  $(document.body).click(function(event) {
    // Catch the closest surrounding link of a clicked element.
    $(event.target).closest("a,area").each(function() {

      var ga = Drupal.settings.googleanalytics;
      // Expression to check for absolute internal links.
      var isInternal = new RegExp("^(https?):\/\/" + window.location.host, "i");
      // Expression to check for special links like gotwo.module /go/* links.
      var isInternalSpecial = new RegExp("(\/go\/.*)$", "i");
      // Expression to check for download links.
      var isDownload = new RegExp("\\.(" + ga.trackDownloadExtensions + ")$", "i");
      // Expression to check for the sites cross domains.
      var isCrossDomain = new RegExp("^(https?|ftp|news|nntp|telnet|irc|ssh|sftp|webcal):\/\/.*(" + RegExp.escapeDomains(ga.trackCrossDomains) + ")", "i");

      // Is the clicked URL internal?
      if (isInternal.test(this.href)) {
        // Is download tracking activated and the file extension configured for download tracking?
        if (ga.trackDownload && isDownload.test(this.href)) {
          // Download link clicked.
          var extension = isDownload.exec(this.href);
          _gaq.push(["_trackEvent", "Downloads", extension[1].toUpperCase(), this.href.replace(isInternal, '')]);
        }
        else if (isInternalSpecial.test(this.href)) {
          // Keep the internal URL for Google Analytics website overlay intact.
          _gaq.push(["_trackPageview", this.href.replace(isInternal, '')]);
        }
      }
      else {
        if (ga.trackMailto && $(this).is("a[href^=mailto:],area[href^=mailto:]")) {
          // Mailto link clicked.
          _gaq.push(["_trackEvent", "Mails", "Click", this.href.substring(7)]);
        }
        else if (ga.trackOutbound && this.href) {
          if (ga.trackDomainMode == 2 && isCrossDomain.test(this.href)) {
            // Top-level cross domain clicked. document.location is handled by _link internally.
            _gaq.push(["_link", this.href]);
          }
          else if (ga.trackOutboundAsPageview) {
            // Track all external links as page views after URL cleanup.
            // Currently required, if click should be tracked as goal.
            _gaq.push(["_trackPageview", '/outbound/' + this.href.replace(/^(https?|ftp|news|nntp|telnet|irc|ssh|sftp|webcal):\/\//i, '').split('/').join('--')]);
          }
          else {
            // External link clicked.
            _gaq.push(["_trackEvent", "Outbound links", "Click", this.href]);
          }
        }
      }
    });
  });
});

})(jQuery);
;

