/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.01
 */
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},textDecoration:function(G,F){if(!F){F=this.getStyle(G)}var C={underline:null,overline:null,"line-through":null};for(var B=G;B.parentNode&&B.parentNode.nodeType==1;){var E=true;for(var D in C){if(!k(C,D)||C[D]){continue}if(F.get("textDecoration").indexOf(D)!=-1){C[D]=F.get("color")}E=false}if(E){break}F=this.getStyle(B=B.parentNode)}return C},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 B={inline:1,"inline-block":1,"run-in":1};return function(E,C,D){if(B[C.get("display")]){return E}if(!D.previousSibling){E=E.replace(/^\s+/,"")}if(!D.nextSibling){E=E.replace(/\s+$/,"")}return E}})()};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(C){var B=this.face=C.face;this.glyphs=C.glyphs;this.w=C.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 E=B.bbox.split(/\s+/);var D={minX:parseInt(E[0],10),minY:parseInt(E[1],10),maxX:parseInt(E[2],10),maxY:parseInt(E[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 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)}function E(F){C(this)}function C(F){setTimeout(function(){m.replace(F,d.get(F).options,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 B={},D,F;for(var E=0,C=arguments.length;D=arguments[E],E<C;++E){for(F in D){if(k(D,F)){B[F]=D[F]}}}return B}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(C,J){var B=n.getStyle(v(C,J)).extend(J);var D=c(C,B),E,H,G,F,I;for(E=C.firstChild;E;E=G){H=E.nodeType;G=E.nextSibling;if(H==3){if(F){F.appendData(E.data);C.removeChild(E)}else{F=E}if(G){continue}}if(F){C.replaceChild(o(D,n.whiteSpace(F.data,B,E),B,J,E,C),F);F=null}if(H==1&&E.firstChild){if(/cufon/.test(E.className)){z[J.engine](D,null,B,J,E,C)}else{arguments.callee(E,J)}}}}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={enableTextDecoration:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||(window.Ext&&Ext.query)||g),separate:"words",textShadow:"none"};var p={words:/[^\S\u00a0]+/,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){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.removeClass(x.root(),"cufon-loading")});e=true}if(C.hover){C.forceHitArea=true}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)}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-canvas{text-indent:0;}@media screen,projection{.cufon-canvas{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}.cufon-canvas .cufon-alt{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?".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(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(ah,H,Z,D,L,ai){var n=(H===null);if(n){H=L.alt}var J=ah.viewBox;var p=Z.getSize("fontSize",ah.baseSize);var X=Z.get("letterSpacing");X=(X=="normal")?0:p.convertFrom(parseInt(X,10));var K=0,Y=0,W=0,F=0;var I=D.textShadow,U=[];if(I){for(var ag=I.length;ag--;){var O=I[ag];var T=p.convertFrom(parseFloat(O.offX));var R=p.convertFrom(parseFloat(O.offY));U[ag]=[T,R];if(R<K){K=R}if(T>Y){Y=T}if(R>W){W=R}if(T<F){F=T}}}var al=Cufon.CSS.textTransform(H,Z).split(""),B;var o=ah.glyphs,E,r,ac;var h=0,v,N=[];for(var ag=0,ae=0,ab=al.length;ag<ab;++ag){E=o[B=al[ag]]||ah.missingGlyph;if(!E){continue}if(r){h-=ac=r[B]||0;N[ae-1]-=ac}h+=v=N[ae++]=~~(E.w||ah.w)+X;r=E.k}if(v===undefined){return null}Y+=J.width-v;F+=J.minX;var C,q;if(n){C=L;q=L.firstChild}else{C=document.createElement("span");C.className="cufon cufon-canvas";C.alt=H;q=document.createElement("canvas");C.appendChild(q);if(D.printable){var ad=document.createElement("span");ad.className="cufon-alt";ad.appendChild(document.createTextNode(H));C.appendChild(ad)}}var am=C.style;var Q=q.style;var m=p.convert(J.height);var ak=Math.ceil(m);var V=ak/m;var P=V*Cufon.CSS.fontStretch(Z.get("fontStretch"));var S=h*P;var aa=Math.ceil(p.convert(S+Y-F));var t=Math.ceil(p.convert(J.height-K+W));q.width=aa;q.height=t;Q.width=aa+"px";Q.height=t+"px";K+=J.minY;Q.top=Math.round(p.convert(K-ah.ascent))+"px";Q.left=Math.round(p.convert(F))+"px";var A=Math.ceil(p.convert(S))+"px";if(a){am.width=A;am.height=p.convert(ah.height)+"px"}else{am.paddingLeft=A;am.paddingBottom=(p.convert(ah.height)-1)+"px"}var aj=q.getContext("2d"),M=m/J.height;aj.scale(M,M*V);aj.translate(-F,-K);aj.lineWidth=ah.face["underline-thickness"];aj.save();function s(i,g){aj.strokeStyle=g;aj.beginPath();aj.moveTo(0,i);aj.lineTo(h,i);aj.stroke()}var u=D.enableTextDecoration?Cufon.CSS.textDecoration(ai,Z):{};if(u.underline){s(-ah.face["underline-position"],u.underline)}if(u.overline){s(ah.ascent,u.overline)}function af(){aj.scale(P,1);for(var x=0,k=0,g=al.length;x<g;++x){var y=o[al[x]]||ah.missingGlyph;if(!y){continue}if(y.d){aj.beginPath();if(y.code){c(y.code,aj)}else{y.code=d("m"+y.d,aj)}aj.fill()}aj.translate(N[k++],0)}aj.restore()}if(I){for(var ag=I.length;ag--;){var O=I[ag];aj.save();aj.fillStyle=O.color;aj.translate.apply(aj,U[ag]);af()}}var z=D.textGradient;if(z){var G=z.stops,w=aj.createLinearGradient(0,J.minY,0,J.maxY);for(var ag=0,ab=G.length;ag<ab;++ag){w.addColorStop.apply(w,G[ag])}aj.fillStyle=w}else{aj.fillStyle=Z.get("color")}af();if(u["line-through"]){s(-ah.descent,u["line-through"])}return C}})());Cufon.registerEngine("vml",(function(){if(!document.namespaces){return}if(document.namespaces.cvml==null){document.namespaces.add("cvml","urn:schemas-microsoft-com:vml")}var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var f=(document.documentMode||0)<8;document.write(('<style type="text/css">.cufon-vml-canvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,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:'+(f?"middle":"text-bottom")+";}.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 c(g,h){return a(g,/(?:em|ex|%)$|^[a-z-]+$/i.test(h)?"1em":h)}function a(j,k){if(/px$/i.test(k)){return parseFloat(k)}var i=j.style.left,h=j.runtimeStyle.left;j.runtimeStyle.left=j.currentStyle.left;j.style.left=k.replace("%","em");var g=j.style.pixelLeft;j.style.left=i;j.runtimeStyle.left=h;return g}var e={};function d(n){var o=n.id;if(!e[o]){var l=n.stops,m=document.createElement("cvml:fill"),g=[];m.type="gradient";m.angle=180;m.focus="0";m.method="sigma";m.color=l[0][1];for(var i=1,h=l.length-1;i<h;++i){g.push(l[i][0]*100+"% "+l[i][1])}m.colors=g.join(",");m.color2=l[h][1];e[o]=m}return e[o]}return function(ai,J,ac,F,N,aj,aa){var n=(J===null);if(n){J=N.alt}var L=ai.viewBox;var p=ac.computedFontSize||(ac.computedFontSize=new Cufon.CSS.Size(c(aj,ac.get("fontSize"))+"px",ai.baseSize));var Z=ac.computedLSpacing;if(Z==undefined){Z=ac.get("letterSpacing");ac.computedLSpacing=Z=(Z=="normal")?0:~~p.convertFrom(a(aj,Z))}var B,q;if(n){B=N;q=N.firstChild}else{B=document.createElement("span");B.className="cufon cufon-vml";B.alt=J;q=document.createElement("span");q.className="cufon-vml-canvas";B.appendChild(q);if(F.printable){var af=document.createElement("span");af.className="cufon-alt";af.appendChild(document.createTextNode(J));B.appendChild(af)}if(!aa){B.appendChild(document.createElement("cvml:shape"))}}var ao=B.style;var U=q.style;var h=p.convert(L.height),al=Math.ceil(h);var Y=al/h;var S=Y*Cufon.CSS.fontStretch(ac.get("fontStretch"));var X=L.minX,W=L.minY;U.height=al;U.top=Math.round(p.convert(W-ai.ascent));U.left=Math.round(p.convert(X));ao.height=p.convert(ai.height)+"px";var u=F.enableTextDecoration?Cufon.CSS.textDecoration(aj,ac):{};var I=ac.get("color");var an=Cufon.CSS.textTransform(J,ac).split(""),A;var o=ai.glyphs,G,r,ae;var g=0,O=[],V=0,w;var y,K=F.textShadow;for(var ah=0,ag=0,ad=an.length;ah<ad;++ah){G=o[A=an[ah]]||ai.missingGlyph;if(!G){continue}if(r){g-=ae=r[A]||0;O[ag-1]-=ae}g+=w=O[ag++]=~~(G.w||ai.w)+Z;r=G.k}if(w===undefined){return null}var z=-X+g+(L.width-w);var am=p.convert(z*S),ab=Math.round(am);var R=z+","+L.height,m;var M="r"+R+"ns";var x=F.textGradient&&d(F.textGradient);for(ah=0,ag=0;ah<ad;++ah){G=o[an[ah]]||ai.missingGlyph;if(!G){continue}if(n){y=q.childNodes[ag];while(y.firstChild){y.removeChild(y.firstChild)}}else{y=document.createElement("cvml:shape");q.appendChild(y)}y.stroked="f";y.coordsize=R;y.coordorigin=m=(X-V)+","+W;y.path=(G.d?"m"+G.d+"xe":"")+"m"+m+M;y.fillcolor=I;if(x){y.appendChild(x.cloneNode(false))}var ak=y.style;ak.width=ab;ak.height=al;if(K){var t=K[0],s=K[1];var E=Cufon.CSS.color(t.color),C;var Q=document.createElement("cvml:shadow");Q.on="t";Q.color=E.color;Q.offset=t.offX+","+t.offY;if(s){C=Cufon.CSS.color(s.color);Q.type="double";Q.color2=C.color;Q.offset2=s.offX+","+s.offY}Q.opacity=E.opacity||(C&&C.opacity)||1;y.appendChild(Q)}V+=O[ag++]}var P=y.nextSibling,v,D;if(F.forceHitArea){if(!P){P=document.createElement("cvml:rect");P.stroked="f";P.className="cufon-vml-cover";v=document.createElement("cvml:fill");v.opacity=0;P.appendChild(v);q.appendChild(P)}D=P.style;D.width=ab;D.height=al}else{if(P){q.removeChild(P)}}ao.width=Math.max(Math.ceil(p.convert(g*S)),0);if(f){var T=ac.computedYAdjust;if(T===undefined){var H=ac.get("lineHeight");if(H=="normal"){H="1em"}else{if(!isNaN(H)){H+="em"}}ac.computedYAdjust=T=0.5*(a(aj,H)-parseFloat(ao.height))}if(T){ao.marginTop=Math.ceil(T)+"px";ao.marginBottom=T+"px"}}return B}})());

Cufon.registerFont((function(f){_cufon_bridge_={p:[{"d":"102,-11v59,0,74,-94,43,-135v-31,-41,-104,-19,-90,48v-1,50,1,87,47,87xm47,-267v12,-1,8,11,9,22v1,27,-5,62,1,85v45,-54,136,-13,136,64v0,78,-85,128,-149,84v-8,5,-20,9,-28,2v23,-43,11,-182,7,-226v-2,-4,-23,-3,-21,-11v4,-13,29,-18,45,-20","w":206},{"d":"164,-257r31,0r92,99r-16,0r-91,-76r-92,76r-16,0","w":360},{"d":"88,50v-34,0,-55,5,-55,-33r0,-248v-3,-39,20,-33,55,-33v14,0,25,-2,26,9v1,25,-53,-5,-53,26r0,244v-5,30,49,1,53,25v-1,12,-11,10,-26,10","w":119},{"d":"46,-118v0,4,3,5,7,5r89,0v6,0,6,-1,6,-7v0,-27,-22,-49,-49,-48v-30,1,-48,23,-53,50xm178,-114v-1,14,-1,15,-15,16r-111,0v-4,1,-7,1,-6,7v-2,41,24,75,62,75v31,0,43,-23,62,-34v4,0,7,3,7,7v-9,31,-41,47,-77,48v-50,2,-87,-41,-87,-92v0,-54,38,-98,91,-98v44,0,74,27,74,71","w":190,"k":{"x":6}},{"d":"44,-240v-16,-4,-7,-24,3,-25v22,8,41,30,61,42v12,7,11,15,1,19v-25,-8,-43,-25,-65,-36","w":180},{"d":"198,-23v4,-35,27,-119,-23,-105v-31,2,-95,-10,-107,8v2,31,-4,74,6,97v5,2,21,6,20,12v-5,22,-114,14,-73,-9v18,-6,13,-5,15,-30v2,-37,5,-157,-4,-187v0,-3,-23,-8,-21,-14v4,-20,79,-19,83,0v-3,11,-25,5,-25,26r-1,68v18,15,100,8,133,4v4,-24,12,-88,-12,-90v-7,-2,-11,-5,-11,-8v4,-20,79,-19,83,0v-10,15,-26,4,-26,41v0,40,-5,153,4,185v1,2,25,7,22,14v-3,24,-116,13,-72,-9v4,-1,7,-2,9,-3","w":271},{"d":"118,22v5,9,-5,14,-14,10v-2,-1,-3,-2,-4,-4r-109,-291v1,-7,19,-5,19,2","w":100},{"d":"0,64r180,0r0,21r-180,0r0,-21","w":180},{"d":"105,-184v35,0,82,23,66,56v-35,21,-29,-43,-66,-40v-39,4,-59,32,-59,74v0,41,25,77,64,77v28,0,40,-23,60,-30v5,-1,6,2,6,7v-8,31,-39,44,-74,45v-52,2,-88,-40,-88,-93v0,-54,38,-96,91,-96","w":180},{"d":"292,-252v6,-18,78,-18,83,0v-8,15,-27,10,-35,32r-78,207v-5,13,-10,20,-14,20v-11,1,-49,-110,-61,-143v-11,24,-48,138,-61,143v-12,-2,-12,-10,-18,-26r-73,-199v-8,-16,-8,-22,-22,-25v-7,-2,-10,-5,-10,-9v7,-18,85,-18,91,0v3,9,-30,7,-27,23v5,33,45,148,63,178v18,-26,27,-61,47,-113v-15,-41,-17,-55,-31,-75v-2,-2,-22,-6,-20,-13v6,-18,84,-17,90,0v0,9,-31,10,-28,27v10,43,44,139,64,174v23,-40,57,-133,67,-178v4,-17,-26,-12,-27,-23","w":370,"k":{"y":28,"u":29,"r":31,"o":40,"e":40,"a":40,"A":34,";":28,":":28,".":55,"-":26,",":55}},{"d":"123,-153r-18,51r51,0r18,-51r-51,0xm137,-256r23,0r-29,83r50,0r30,-83r23,0r-30,83r54,0r-7,20r-54,0r-18,51r59,0r-8,20r-58,0r-29,82r-23,0r29,-82r-51,0r-29,82r-23,0r29,-82r-57,0r8,-20r56,0r18,-51r-61,0r7,-20r62,0","w":276},{"d":"33,-114v4,-29,20,-80,32,-113r111,0v1,48,-62,17,-103,29v-8,13,-15,45,-17,61v48,18,117,24,115,84v-2,54,-41,83,-95,85v-24,1,-70,-12,-51,-32v43,26,113,11,112,-44v-1,-45,-38,-51,-82,-60v-14,-3,-22,-5,-22,-10"},{"d":"46,10v-5,-10,-21,-9,-19,-26v-1,-11,8,-22,19,-20v39,7,15,73,-7,85v-4,1,-10,-1,-9,-5v0,-3,18,-28,16,-34","w":96},{"d":"16,-251v4,-20,78,-19,83,0v-11,15,-26,4,-26,43v0,41,-5,144,4,176v15,20,93,17,100,-11v4,-5,8,-27,16,-26v22,10,3,71,-13,73v-38,-9,-90,-4,-135,-4v-23,0,-41,-12,-19,-20v18,-7,14,-4,16,-30v2,-37,5,-157,-4,-187v0,-3,-24,-8,-22,-14","w":204,"k":{"y":20,"o":-8,"e":-8,"a":-13,"Y":43,"W":38,"V":43,"U":6,"T":40,"-":-13}},{"d":"66,-90v-6,-5,-9,0,-8,9r1,45v-3,21,16,16,21,27v-8,23,-109,7,-53,-13v7,-45,7,-174,-1,-214v-2,-4,-23,-3,-21,-11v4,-13,29,-20,45,-20v9,0,8,4,9,13r1,146v19,-9,43,-35,51,-51v1,-6,-17,-8,-16,-13v5,-16,69,-14,76,-1v-3,9,-31,12,-38,20v-14,14,-55,36,-36,56v29,30,42,70,81,82v7,2,11,4,11,7v-10,14,-54,16,-62,-5","w":177,"k":{"y":6,"o":6,"e":6}},{"d":"99,-130v34,-1,73,25,102,24v29,-1,46,-11,68,-27r0,23v-20,14,-39,24,-68,25v-33,1,-76,-26,-102,-24v-29,2,-46,12,-68,28r0,-23v20,-15,40,-25,68,-26","w":299},{"d":"253,-201r0,22r-175,72r175,71r0,23r-207,-85r0,-18","w":299},{"d":"91,-252v0,11,-30,7,-27,24v7,39,44,137,66,177v2,0,11,-15,23,-45v16,-40,40,-92,48,-133v3,-17,-26,-12,-26,-23v5,-18,78,-17,83,0v-9,15,-31,8,-35,32r-81,205v-6,15,-12,22,-16,22v-21,-9,-81,-214,-109,-247v-5,-3,-20,-5,-18,-12v7,-18,85,-17,92,0","w":249,"k":{"y":29,"u":33,"o":46,"e":46,"a":46,"O":10,"A":36,";":33,":":33,".":60,"-":26,",":60}},{"d":"12,-251v4,-20,79,-19,83,0v-8,14,-31,4,-25,39v-2,38,-4,155,3,187v1,2,25,7,22,14v-3,23,-114,11,-73,-8v17,-8,14,-5,16,-31v2,-37,5,-157,-4,-187v0,-3,-24,-8,-22,-14","w":107},{"d":"14,-49v0,-54,58,-67,116,-58v1,-36,-2,-61,-36,-61v-28,0,-34,29,-53,33v-8,-1,-12,-5,-13,-13v2,-20,40,-36,67,-36v63,0,63,51,63,116v0,30,-8,51,15,48v3,0,5,2,5,6v0,9,-15,19,-25,18v-7,1,-17,-12,-24,-25v-19,10,-29,24,-58,23v-33,-1,-57,-18,-57,-51xm81,-15v39,0,54,-32,49,-76v-38,-8,-86,-2,-86,39v0,22,15,38,37,37","w":188},{"d":"15,-135v-2,-99,87,-153,180,-121v27,-12,35,15,35,43v0,19,-17,21,-22,3v-8,-28,-35,-38,-69,-38v-57,0,-90,43,-89,103v0,82,49,149,133,123v20,-6,29,-28,43,-38v19,5,6,51,-12,48v-22,8,-39,20,-70,18v-84,-4,-127,-57,-129,-141","w":240,"k":{"Y":6,"A":-7,"-":-7}},{"d":"140,-251v4,-19,72,-19,76,0v1,5,-8,7,-14,9v-42,18,-75,66,-105,99v30,36,82,95,115,119v6,3,30,7,28,14v-6,16,-52,14,-64,1r-71,-78v-22,-23,-29,-37,-35,-33v-1,27,-4,80,5,97v5,2,21,6,20,12v-3,23,-114,11,-73,-8v17,-8,14,-5,16,-31v2,-37,5,-157,-4,-187v0,-3,-24,-8,-22,-14v6,-29,128,-7,63,12v-9,13,-8,67,-4,93v30,-26,57,-61,83,-90v1,-6,-16,-8,-14,-15","w":233,"k":{"y":28,"a":-7,"Y":21,"W":26,"U":20,"T":18,"O":13,"C":13,"-":20}},{"d":"70,-171v-1,9,-19,8,-18,16v8,39,27,86,45,119v12,-27,43,-106,42,-119v1,-5,-23,-11,-21,-17v3,-19,87,-11,58,7v-14,1,-18,18,-24,32v-27,54,-48,159,-84,196v-16,17,-58,18,-59,-10v-1,-19,26,-21,30,-5v3,5,7,7,11,7v16,0,29,-25,28,-44v4,-4,-40,-130,-67,-173v-1,-1,-15,-4,-13,-9v5,-17,67,-15,72,0","w":171,"k":{".":34,",":34}},{"d":"83,-9v-6,23,-112,7,-57,-11v10,-22,3,-91,5,-137v-16,3,-45,-2,-26,-19r25,0v-8,-50,5,-91,55,-91v20,0,39,9,40,25v1,18,-22,19,-28,6v-11,-26,-44,-15,-42,17r3,43v15,3,42,-9,40,12v-2,13,-27,5,-40,7v0,55,1,90,1,105v0,35,11,31,24,43","w":96},{"d":"215,-56v0,25,-5,62,-29,59v-46,-5,-102,-3,-153,-3v-32,0,-25,-29,-9,-43r143,-186v6,-13,-9,-12,-25,-13r-48,0v-45,-10,-50,34,-72,46v-19,-13,0,-74,21,-70v37,7,89,4,132,4v57,0,28,35,10,58r-136,177v30,10,126,18,139,-17v5,-5,11,-27,19,-26v7,1,8,6,8,14","w":219,"k":{"-":-7}},{"d":"163,16v0,-45,-70,-7,-112,-20v-27,28,2,63,45,63v31,0,67,-15,67,-43xm37,-10v-33,-10,-17,-57,11,-62v-51,-31,-15,-121,50,-113v27,3,61,14,75,-8v18,9,0,31,-14,35v33,58,-33,119,-99,92v-9,3,-16,11,-17,22v16,50,147,-31,147,51v0,43,-50,67,-100,67v-39,0,-76,-16,-76,-50v0,-18,11,-25,23,-34xm94,-171v-25,0,-43,22,-43,48v0,28,16,49,43,49v27,0,45,-21,45,-48v0,-28,-17,-49,-45,-49","w":188},{"d":"94,-233v115,4,114,232,6,238v-114,-5,-118,-229,-6,-238xm46,-130v0,54,15,118,56,118v35,0,46,-44,46,-87v1,-52,-17,-117,-57,-117v-34,0,-45,44,-45,86"},{"d":"4,56v-3,0,-6,-1,-6,-4v0,-7,21,-18,25,-23v68,-51,61,-242,-12,-278v-13,-6,-19,-14,-7,-18v59,22,96,85,96,162v0,77,-39,140,-96,161","w":127},{"d":"140,-215r20,0r0,97r95,0r0,21r-95,0r0,97r-20,0r0,-97r-95,0r0,-21r95,0r0,-97","w":299},{"d":"202,-15v-2,9,-52,37,-52,7v0,-6,3,-17,-2,-20v-15,14,-28,33,-58,33v-59,0,-63,-52,-63,-116v0,-24,1,-35,-5,-45v-2,-1,-22,-2,-19,-9v4,-14,29,-17,45,-20v9,0,8,4,9,13v4,59,-24,151,39,155v63,4,61,-89,49,-139v-2,-1,-22,-2,-19,-9v4,-14,29,-17,45,-20v8,0,9,4,9,13v1,47,-5,104,2,146v3,3,22,2,20,11","w":208},{"d":"5,-165v1,-10,52,-37,52,-7v1,5,0,11,2,14v17,-8,31,-25,56,-25v48,0,80,37,80,87v0,73,-70,125,-135,88r-3,1v0,18,1,32,1,40v-5,24,19,16,24,28v-4,17,-68,16,-74,0v5,-12,26,-5,21,-29r0,-171v2,-23,-17,-13,-24,-26xm105,-162v-52,-2,-48,53,-48,105v0,35,23,45,51,45v39,0,57,-29,57,-70v0,-44,-21,-79,-60,-80","w":207},{"d":"57,-55v-5,38,18,43,40,32v4,0,5,3,6,6v-18,35,-74,29,-74,-29r0,-112v-9,-1,-23,5,-20,-9v5,-9,37,-61,48,-42r0,32v15,4,45,-11,43,12v-1,17,-38,-2,-43,12r0,98","w":107},{"d":"99,-168v-34,0,-55,32,-55,70v0,44,23,85,62,86v39,0,57,-31,57,-73v0,-43,-25,-83,-64,-83xm102,5v-50,0,-90,-42,-90,-92v0,-54,41,-98,95,-98v51,0,89,40,89,91v0,54,-41,99,-94,99","w":208,"k":{"x":13,"-":-7}},{"d":"11,-135v0,-40,45,-59,83,-46v18,-14,30,16,30,34v0,19,-19,13,-22,-1v-7,-32,-63,-28,-62,5v1,36,91,39,91,93v0,46,-54,66,-96,49v-20,14,-28,-16,-28,-35v0,-8,3,-12,10,-12v15,9,22,37,51,37v20,0,38,-12,36,-30v-5,-53,-93,-34,-93,-94","w":135},{"d":"101,41v-18,2,-7,-26,-10,-40v-42,-3,-62,-11,-62,-50v0,-21,18,-21,23,0v5,20,17,30,39,33r0,-91v-32,-15,-56,-27,-58,-63v-2,-33,25,-56,58,-58v3,-13,-8,-34,10,-34v13,0,5,23,7,34v35,5,54,6,56,37v0,6,-3,10,-9,10v-16,-4,-23,-33,-47,-31r0,81v37,17,65,29,65,69v0,36,-30,57,-65,62v-3,13,7,40,-7,41xm108,-17v30,-3,49,-39,28,-63v-6,-6,-14,-13,-28,-19r0,82xm91,-212v-27,2,-38,34,-23,56v5,6,13,12,23,17r0,-73"},{"d":"22,0v-21,0,-16,-16,-6,-30r89,-129v-14,-9,-72,-12,-77,12v-4,10,-16,23,-21,8v1,-28,12,-52,43,-41r69,0v38,-2,20,20,7,40r-83,120v9,8,37,2,54,4v30,4,29,-25,45,-34v16,8,3,55,-15,52v-32,-4,-70,-1,-105,-2","w":150},{"d":"155,-158v-2,34,26,89,45,124v19,-37,43,-84,48,-120v2,-11,-22,-9,-21,-18v3,-19,89,-10,58,7v-14,3,-17,13,-22,27v-37,95,-59,143,-68,143v-7,0,-21,-23,-40,-70v-8,-20,-7,-20,-12,-31v-10,23,-46,112,-52,101v-9,0,-27,-44,-61,-127v-7,-17,-9,-40,-25,-42v-5,-2,-7,-4,-7,-7v5,-23,104,-8,59,9v-4,2,-7,5,-7,10v8,30,26,86,47,118v14,-23,24,-52,37,-86v-8,-16,-7,-39,-25,-44v-5,-2,-8,-4,-8,-7v5,-17,68,-16,72,0v1,6,-15,7,-18,13","w":280,"k":{".":40,",":40}},{"d":"6,-165v2,-9,52,-37,52,-7v0,6,-1,19,2,20v15,-12,26,-33,54,-33v29,0,41,19,53,36v15,-14,26,-36,57,-36v73,0,61,84,61,154v0,16,17,12,21,22v-5,15,-67,15,-71,0v7,-12,23,-7,21,-32v-3,-32,13,-128,-35,-120v-58,-3,-57,87,-45,141v2,2,18,6,17,11v-5,15,-67,15,-70,0v5,-12,26,-5,21,-29v0,-9,1,-29,1,-61v-1,-36,-5,-61,-36,-62v-32,5,-51,23,-51,68v0,26,1,45,1,54v0,24,15,19,21,30v-8,23,-109,7,-53,-13v5,-27,7,-103,-1,-132v-3,-3,-22,-2,-20,-11","w":311},{"d":"162,-85v-15,-4,-4,-46,-34,-39v-22,5,-60,-12,-56,17v4,26,-2,66,7,84v5,2,21,6,20,12v-5,22,-114,14,-73,-9v18,-6,13,-5,15,-30v3,-37,5,-157,-4,-187v0,-3,-23,-8,-21,-14v2,-11,13,-11,29,-11v50,-1,106,4,150,-4v15,1,23,50,6,55v-14,-8,-17,-30,-47,-30r-70,1v-12,3,-10,9,-10,26r-1,57v-4,26,36,8,55,13v30,8,19,-34,34,-39v15,5,12,19,12,49v0,30,4,44,-12,49","w":216,"k":{"y":13,"u":15,"r":16,"o":13,"i":-7,"e":16,"a":21,"T":-13,"A":31,";":20,":":20,".":41,",":41}},{"d":"173,-108v-17,-35,-27,-75,-47,-107v-15,27,-33,74,-46,107r93,0xm107,-89v-47,-10,-44,32,-54,54v-1,15,27,14,27,24v0,24,-117,12,-71,-9v18,-4,19,-16,30,-42r79,-195v6,-16,23,-7,29,7r84,208v4,21,22,19,31,31v-7,18,-85,17,-92,0v0,-10,30,-7,27,-23v-5,-27,-8,-62,-52,-55r-38,0","w":254,"k":{"y":10,"w":16,"v":18,"u":6,"t":6,"o":6,"f":6,"e":6,"d":6,"c":6,"Y":33,"W":29,"V":24,"U":10,"T":29,"A":36,";":-7,":":-7,".":-7,"-":-7,",":-7}},{"d":"2,58v42,10,31,-30,31,-69v0,-65,2,-108,-6,-143v-3,-3,-22,-3,-20,-11v4,-14,29,-18,45,-20v11,-1,9,12,9,23r-1,171v-1,44,-3,62,-41,65v-16,1,-36,-12,-17,-16xm61,-246v0,22,-38,28,-38,3v-1,-11,8,-20,19,-20v9,0,19,6,19,17","w":87},{"d":"194,4v-44,-9,-103,-4,-154,-4v-23,0,-41,-12,-19,-20v17,-7,13,-5,15,-30v2,-37,5,-157,-4,-187v0,-3,-23,-8,-21,-14v2,-11,13,-11,29,-11v50,-1,106,4,150,-4v15,1,23,50,6,55v-14,-8,-18,-36,-47,-30v-31,6,-79,-18,-80,28r-1,53v-2,25,37,7,55,12v30,8,18,-34,34,-39v16,6,12,20,12,50v0,30,4,42,-12,48v-16,-3,-2,-46,-34,-38v-23,6,-62,-15,-55,23v8,39,-16,93,45,83v43,2,77,0,84,-36v4,-18,19,-14,19,4v0,20,-8,55,-22,57","w":218},{"d":"130,-47v-2,-45,4,-99,-2,-140r-52,66v-26,34,-25,34,-51,71r1,3r104,0xm136,-226v8,-10,28,-9,23,11r-1,168v14,2,35,-7,30,15v0,13,-19,6,-30,8r0,46v1,11,-9,9,-19,9v-19,0,-5,-38,-9,-55r-119,0v-10,-1,-13,0,-13,-9v19,-52,103,-146,138,-193"},{"d":"79,-171v-4,10,-27,11,-12,31v5,6,12,17,21,32v15,-23,21,-35,29,-51v1,-4,-14,-9,-14,-13v2,-17,78,-9,49,6v-29,16,-29,35,-55,73v20,25,31,59,58,77v5,2,7,4,7,7v-4,16,-69,15,-72,0v3,-11,27,-10,11,-29r-25,-38v-14,24,-25,37,-31,56v-1,4,13,8,12,12v-2,14,-54,13,-56,0v9,-13,22,-11,33,-29v6,-10,18,-27,33,-53r-43,-67v-2,-5,-18,-7,-17,-14v3,-16,69,-15,72,0","w":160,"k":{"o":13,"e":6,"c":6}},{"d":"39,-153v-50,-70,39,-140,111,-106v5,-4,6,-7,12,-7v13,2,38,51,15,61v-22,-12,-34,-43,-72,-43v-28,0,-49,16,-48,42v4,77,136,48,136,135v0,76,-115,99,-167,54v-7,-11,-19,-56,-1,-64v17,7,18,53,41,59v43,28,118,-11,87,-65v-16,-28,-96,-39,-114,-66","w":205},{"d":"178,-68v0,-48,-38,-56,-95,-57v-18,0,-15,4,-15,22v0,48,-13,86,46,86v37,0,64,-18,64,-51xm164,-195v2,-46,-50,-58,-93,-46v-3,18,-3,55,-3,82v0,14,2,15,15,15v49,0,79,-8,81,-51xm24,-261v69,-3,176,-14,176,61v0,37,-28,52,-56,63v34,11,71,22,71,67v0,81,-101,70,-181,70v-19,0,-33,-13,-13,-20v18,-6,13,-5,15,-30v2,-37,5,-157,-4,-187v0,-3,-23,-8,-21,-14v0,-7,6,-9,13,-10","w":223,"k":{"Y":13,"W":6,"V":6,"-":-13}},{"d":"48,-107v-12,0,-21,-9,-21,-21v0,-12,9,-22,21,-22v11,0,21,10,21,22v0,12,-9,21,-21,21xm48,5v-12,0,-21,-9,-21,-21v0,-12,9,-21,21,-21v12,0,21,9,21,21v0,12,-9,21,-21,21","w":96},{"d":"80,-168v0,-63,1,-105,69,-98r0,8v-45,-3,-44,28,-44,72v0,52,-9,65,-50,74v50,5,50,41,50,100v0,36,9,44,44,46v-1,3,2,9,-2,9v-66,5,-67,-36,-67,-98v0,-40,-12,-48,-49,-52r0,-10v37,-4,49,-12,49,-51","w":180},{"d":"225,-128v4,-92,-65,-132,-151,-110v-11,40,-7,161,-2,208v7,10,27,11,49,11v71,0,101,-37,104,-109xm261,-128v0,117,-98,129,-220,129v-22,0,-43,-12,-20,-21v18,-6,13,-5,15,-30v2,-37,5,-157,-4,-187v0,-3,-23,-8,-21,-14v0,-9,8,-9,15,-11v26,-2,57,-2,92,-2v90,-2,143,49,143,136","w":273,"k":{"Y":13,"W":6,"V":6,"A":13,"-":-13}},{"d":"57,-16v50,4,29,-48,29,-101v0,-50,4,-69,-8,-87v0,0,-31,13,-32,-2v10,-19,50,-21,72,-26v26,7,-7,13,-4,28r0,166v-6,29,24,15,35,29v-6,14,-23,10,-50,10v-30,0,-46,4,-53,-10v1,-6,5,-5,11,-7"},{"d":"199,61v-4,17,-68,16,-74,0v5,-11,29,-4,24,-28v1,-8,1,-22,1,-40v-16,1,-31,12,-52,12v-50,0,-85,-43,-85,-94v0,-76,77,-117,143,-81v9,-9,21,-20,33,-11v-23,19,-7,166,-11,202v-4,32,10,28,21,40xm101,-12v29,0,49,-13,49,-47v0,-52,7,-108,-47,-108v-39,0,-60,35,-60,77v0,41,21,78,58,78","w":207},{"d":"102,-245v-37,0,-33,-1,-34,38r0,70v49,7,97,-6,96,-54v-1,-37,-22,-55,-62,-54xm24,-261v73,-4,179,-13,176,67v-3,59,-53,78,-120,76v-16,-1,-12,6,-12,22v0,32,-1,54,4,71v1,2,25,7,22,14v-5,22,-114,14,-73,-9v18,-6,13,-5,15,-30v2,-37,5,-157,-4,-187v0,-3,-23,-8,-21,-14v0,-7,6,-9,13,-10","w":199,"k":{"y":-13,"u":-7,"r":-7,"o":13,"n":-13,"i":-13,"e":13,"a":10,"U":-7,"A":38,".":46,"-":13,",":46}},{"d":"48,5v-12,0,-21,-9,-21,-21v0,-12,9,-21,21,-21v12,0,21,9,21,21v0,12,-9,21,-21,21","w":96},{"d":"153,-227v46,-7,20,28,10,54r-66,175v-8,33,-29,37,-41,16v27,-74,66,-142,94,-215v-18,-12,-59,-1,-85,-5v-32,-5,-29,29,-46,36v-7,1,-7,-4,-7,-11v1,-19,10,-67,30,-51"},{"d":"239,-80v0,53,-35,86,-95,86v-77,0,-129,-61,-129,-141v0,-97,92,-159,189,-121v28,-12,35,16,35,45v0,19,-17,21,-22,3v-10,-30,-35,-40,-73,-40v-62,0,-94,40,-94,103v0,71,30,129,98,132v34,1,58,-22,58,-56v8,-32,-35,-17,-38,-35v8,-20,97,-20,102,0v3,13,-31,6,-31,24","w":262,"k":{"Y":10,"W":15,"T":6,"-":-20}},{"d":"32,-105v26,3,79,-12,60,19v-13,12,-42,2,-69,6v-7,0,-9,-1,-10,-6v1,-9,8,-20,19,-19","w":110,"k":{"o":-7,"Y":26,"X":13,"W":26,"V":26,"T":26,"Q":-7,"C":-7}},{"d":"46,-201r207,85r0,18r-207,85r0,-23r176,-71r-176,-72r0,-22","w":299},{"d":"73,-10v0,23,-105,11,-65,-8v31,-3,51,-62,89,-118v-29,-47,-40,-82,-76,-107v-5,-4,-9,-5,-9,-8v4,-20,76,-18,83,-1v0,10,-21,8,-19,18v6,23,24,51,41,77v28,-41,46,-77,45,-79v2,-7,-20,-9,-18,-16v3,-23,104,-12,65,8v-32,4,-43,53,-81,104v6,9,5,9,16,26v41,63,45,83,70,95v6,2,8,5,8,8v-4,22,-112,14,-74,-9v20,-4,8,-17,-2,-38v-8,-15,-21,-34,-38,-60r-4,7v-32,52,-48,80,-48,85v-1,9,17,7,17,16","w":219,"k":{"e":13,"O":13,"C":13,"-":6}},{"d":"90,-261v1,-7,17,-9,19,-2r-109,291v-4,10,-23,7,-18,-6","w":100},{"d":"58,-266v32,6,16,69,16,103v0,28,-4,60,-10,82v-2,8,-9,8,-11,0v-10,-41,-13,-98,-13,-148v0,-21,2,-35,18,-37xm58,7v-11,0,-20,-9,-20,-20v0,-10,9,-21,20,-20v10,0,21,9,20,20v0,10,-9,21,-20,20","w":116},{"d":"25,-80v19,-1,22,24,11,35v-2,22,15,34,35,34v77,3,37,-138,44,-201v4,-34,-13,-24,-26,-39v4,-20,79,-19,84,0v-5,13,-28,5,-25,29v-2,16,-3,84,-2,114v4,76,-11,112,-74,115v-37,2,-69,-24,-68,-59v0,-15,8,-28,21,-28","w":183,"k":{"A":10}},{"d":"6,-165v2,-9,52,-37,52,-7v0,6,-1,19,2,20v16,-13,28,-33,58,-33v72,0,63,78,64,150v-4,18,16,17,20,26v-3,16,-66,15,-70,0v6,-11,23,-6,21,-29v-5,-51,14,-126,-40,-123v-36,2,-55,23,-55,68v0,26,1,45,1,54v0,24,15,19,21,30v-8,23,-109,7,-53,-13v5,-27,7,-103,-1,-132v-3,-3,-22,-2,-20,-11","w":208,"k":{"-":-7}},{"d":"46,-236v21,0,24,35,40,25v2,-8,-19,-29,-17,-36v0,-12,10,-20,21,-21v11,0,20,10,20,21v3,9,-26,32,-14,39v16,-3,18,-28,37,-28v11,0,20,9,20,19v0,26,-28,21,-47,15v-5,0,-8,0,-9,4v2,11,43,11,39,33v0,10,-9,20,-20,20v-27,0,-14,-35,-26,-49v-13,10,1,49,-27,49v-23,0,-26,-35,-6,-39v7,0,24,-9,25,-14v-14,-12,-56,17,-56,-17v0,-11,9,-21,20,-21","w":180},{"d":"112,-252v5,1,13,2,13,10v-38,30,-65,66,-76,118v17,-18,33,-34,63,-34v44,-1,73,33,72,77v-1,52,-33,84,-82,86v-52,2,-87,-46,-86,-100v3,-72,47,-130,96,-157xm107,-13v29,0,48,-25,48,-57v0,-33,-24,-66,-55,-66v-29,0,-48,24,-48,54v0,36,21,69,55,69"},{"d":"100,-245v-31,-1,-33,-1,-31,35v0,16,-1,38,-1,67v48,7,94,-7,93,-53v0,-33,-25,-49,-61,-49xm197,-200v-1,38,-29,54,-56,69v36,12,48,41,57,82v8,29,14,36,35,28v4,0,6,3,6,7v-3,19,-46,25,-59,8v-24,-28,-19,-112,-68,-116v-15,-1,-55,-14,-44,22v0,37,-1,56,4,75v1,2,25,7,22,14v-5,22,-114,14,-73,-9v18,-6,13,-5,15,-30v2,-37,5,-157,-4,-187v0,-3,-23,-8,-21,-14v0,-7,6,-9,14,-10v69,-5,174,-11,172,61","w":229,"k":{"y":10,"u":6,"o":6,"e":6,"Y":23,"W":28,"V":24,"T":20,";":-13,":":-13,".":-13,"-":6,",":-13}},{"d":"50,-267v12,-1,8,13,9,24r0,195v-2,32,8,25,21,39v-4,16,-68,15,-71,0v7,-12,22,-6,21,-32v-3,-61,7,-165,-6,-197v-2,-1,-22,-2,-19,-9v5,-13,29,-18,45,-20","w":87},{"d":"31,-257v12,0,16,11,14,25r-12,80r-5,0r-12,-87v0,-11,5,-17,15,-18","w":61},{"d":"31,-263v34,0,55,-7,55,33r0,247v4,39,-21,33,-55,33v-15,0,-25,2,-26,-10v-1,-24,53,7,53,-25r0,-244v5,-30,-47,-1,-53,-25v1,-11,12,-9,26,-9","w":119},{"d":"89,-257v12,0,16,11,14,25r-12,80r-5,0r-13,-87v-1,-12,6,-18,16,-18xm31,-257v12,0,16,11,14,25r-12,80r-5,0r-12,-87v0,-11,5,-17,15,-18","w":119},{"d":"116,-167v1,20,-23,16,-38,10v-17,11,-28,31,-28,59v0,51,39,87,91,87v43,0,80,-24,79,-66v0,-21,-11,-42,-32,-41v-21,1,-36,16,-33,41v-11,4,-19,-5,-19,-16v0,-62,121,-47,125,-113v1,-18,-18,-24,-34,-17v-4,0,-6,-3,-6,-7v13,-29,73,-14,67,24v-7,45,-36,53,-81,74r0,3v26,7,43,23,43,53v0,58,-55,83,-118,83v-66,0,-118,-32,-118,-97v0,-38,19,-58,46,-73v-5,-14,-17,-20,-16,-40v1,-37,32,-64,71,-63v22,0,49,8,51,25v-5,22,-32,-12,-49,-7v-22,0,-41,16,-41,38v0,28,19,37,40,43","w":286},{"d":"58,-220v-19,0,-31,17,-31,40v0,29,12,59,36,59v51,0,35,-99,-5,-99xm63,-108v-33,0,-61,-29,-61,-64v0,-33,24,-62,58,-61v35,0,59,28,59,64v0,34,-23,61,-56,61xm171,-191v25,-37,22,-54,42,-32r-102,162v-16,13,-32,91,-55,56xm207,-106v-21,0,-32,18,-32,40v0,28,12,57,37,58v21,0,31,-16,31,-40v0,-27,-13,-58,-36,-58xm211,5v-34,1,-60,-29,-60,-64v0,-33,25,-60,58,-60v35,0,59,28,59,63v0,35,-23,61,-57,61","w":272},{"d":"273,-126v0,81,-47,133,-126,133v-85,0,-133,-59,-133,-142v0,-80,50,-133,130,-133v83,0,129,60,129,142xm151,-13v55,0,88,-43,87,-102v-3,-73,-35,-130,-103,-133v-54,-3,-87,46,-85,103v2,73,32,132,101,132","w":287,"k":{"Y":18,"X":13,"V":10,"A":10,".":6,"-":-7,",":6}},{"d":"44,-226v-9,0,-19,-7,-19,-17v0,-11,9,-20,20,-20v11,0,17,7,18,17v1,10,-9,21,-19,20xm80,-9v-6,23,-107,6,-53,-11v10,-27,6,-108,0,-134v-3,-3,-22,-3,-20,-11v4,-14,29,-19,45,-20v10,-1,7,13,8,23v2,47,-4,101,3,142v2,2,19,5,17,11","w":89},{"d":"99,-233v-36,0,-62,40,-34,65v8,8,22,17,42,27v49,-12,50,-92,-8,-92xm14,-61v1,-35,24,-53,52,-67v-25,-15,-43,-26,-44,-57v-1,-39,37,-64,79,-64v37,0,70,23,70,57v0,32,-23,47,-49,60v31,17,55,32,57,70v2,40,-40,67,-84,67v-43,0,-81,-27,-81,-66xm96,-11v42,0,70,-46,38,-75v-9,-9,-28,-20,-53,-33v-24,11,-40,26,-42,55v-1,31,26,53,57,53"},{"d":"149,-252v3,-22,99,-13,63,8v-29,9,-38,46,-84,116v2,32,-2,79,5,103v1,3,24,8,22,14v-5,19,-79,17,-84,0v5,-15,26,-4,26,-35r1,-80r-46,-73v-20,-28,-17,-33,-39,-44v-6,-3,-9,-5,-9,-8v4,-20,77,-18,84,-1v1,11,-21,7,-20,17v9,27,28,55,49,89v23,-40,40,-59,50,-90v2,-7,-20,-9,-18,-16","w":219,"k":{"u":40,"o":48,"e":48,"a":44,"O":18,"C":13,"A":33,";":44,":":44,".":53,"-":26,",":53}},{"d":"273,-126v2,82,-59,145,-146,130v46,21,68,32,110,39v24,4,21,-23,34,-28v5,1,8,6,8,12v-25,91,-172,-12,-213,-17v-13,-2,-14,23,-26,21v-5,0,-10,-5,-10,-10v3,-22,40,-30,67,-24v-48,-20,-85,-66,-83,-131v2,-80,50,-134,130,-134v83,0,127,60,129,142xm151,-13v55,0,89,-43,87,-102v-2,-72,-34,-129,-103,-132v-55,-2,-86,45,-85,102v2,73,32,132,101,132","w":287,"k":{"-":-7}},{"d":"75,-186v0,-43,1,-75,-44,-72v1,-3,-2,-9,2,-8v65,-5,67,36,67,98v0,39,12,47,49,51r0,10v-52,-1,-49,37,-49,89v0,48,-19,61,-69,61r0,-9v45,2,45,-27,44,-71v0,-52,8,-66,50,-75v-41,-9,-50,-22,-50,-74","w":180},{"w":96},{"d":"79,-275r22,0r0,360r-22,0r0,-360","w":180},{"d":"246,-22v-24,2,-36,-13,-37,-37v-12,20,-26,36,-54,37v-31,0,-51,-27,-49,-59v3,-51,34,-96,86,-96v22,0,34,14,38,34r10,-31r25,0r-33,126v-1,12,6,17,16,18v48,-9,74,-54,74,-107v0,-71,-50,-110,-121,-110v-96,0,-150,61,-155,158v-7,131,169,160,252,93r5,6v-30,23,-66,40,-115,39v-97,-2,-163,-49,-163,-143v0,-97,70,-158,171,-161v78,-2,134,46,134,120v0,59,-28,108,-84,113xm158,-31v44,0,62,-56,65,-101v2,-20,-12,-37,-30,-38v-41,8,-57,60,-61,104v-2,20,8,35,26,35","w":354},{"d":"180,-251v3,-19,70,-19,73,0v-5,12,-25,3,-25,26r-1,102v4,84,-21,128,-95,130v-90,3,-99,-64,-99,-163v0,-40,1,-60,-4,-81v0,-4,-24,-7,-22,-14v4,-20,78,-19,83,0v-12,15,-26,6,-26,45v0,18,-1,43,-1,74v-2,73,7,118,72,121v93,5,65,-125,70,-209v2,-27,-17,-17,-25,-31","w":256,"k":{"J":13,"A":10}},{"d":"71,-97v-5,-50,35,-81,38,-118v3,-42,-55,-48,-65,-12v-2,11,-8,35,-19,32v-7,1,-13,-7,-12,-15v0,-33,33,-57,69,-57v70,0,79,84,31,117v-20,14,-24,34,-24,65v-1,5,-4,10,-9,9v-9,-1,-8,-9,-9,-21xm78,7v-10,0,-19,-10,-19,-20v0,-10,9,-21,20,-20v10,0,19,9,19,20v0,10,-9,21,-20,20","w":160},{"w":96},{"d":"306,-12v-4,18,-77,20,-83,2v-1,-11,21,-8,23,-20v5,-57,1,-132,0,-194r-78,197v-6,15,-13,23,-18,23v-12,-1,-70,-159,-91,-214r-2,187v0,13,25,10,25,20v-6,26,-114,9,-61,-10v7,-3,8,-5,10,-15v5,-43,9,-126,6,-196v0,-12,-21,-9,-23,-20v1,-16,45,-13,59,-8v27,54,55,161,82,199v26,-38,57,-136,82,-193v9,-19,90,-8,56,10v-24,2,-16,33,-16,65v0,40,-1,73,1,101v3,41,-7,51,19,58v5,2,8,3,9,8","w":311},{"d":"45,-84r210,0r0,21r-210,0r0,-21xm45,-151r210,0r0,20r-210,0r0,-20","w":299},{"d":"152,-17v-17,2,-32,20,-60,20v-47,0,-80,-40,-80,-89v0,-72,73,-124,137,-85v4,-14,12,-68,-10,-69v-7,-1,-11,-3,-11,-7v5,-14,31,-17,47,-20v7,0,7,5,8,13r-2,204v3,22,-4,27,14,28v6,1,9,4,9,8v-1,12,-58,37,-51,1v0,-2,-1,-3,-1,-4xm100,-17v28,0,52,-11,52,-46v0,-51,6,-105,-47,-103v-39,2,-60,36,-60,77v-1,39,19,72,55,72","w":210},{"d":"90,-216v-29,0,-47,25,-47,58v0,34,23,66,55,66v30,0,47,-23,47,-56v0,-39,-19,-68,-55,-68xm179,-137v-1,77,-48,134,-98,162v-6,-1,-16,-4,-13,-12v36,-28,64,-65,76,-112v-13,17,-35,29,-61,30v-40,1,-71,-37,-71,-80v0,-48,37,-85,86,-84v52,1,82,41,81,96"},{"d":"50,-267v12,-1,8,14,9,25r0,90v16,-10,28,-33,59,-33v71,0,66,77,63,150v-1,19,17,16,21,26v-3,16,-66,15,-70,0v6,-11,23,-6,21,-29v-5,-51,14,-126,-40,-123v-36,2,-55,23,-55,68v0,26,1,45,1,54v0,24,15,19,21,30v-8,23,-109,7,-53,-13v7,-45,7,-174,-1,-214v-2,-4,-23,-3,-21,-11v4,-13,29,-18,45,-20","w":208},{"d":"147,-11v-5,19,-79,17,-83,0v8,-15,30,-4,25,-41v3,-36,0,-119,2,-166v1,-27,-8,-21,-32,-23v-33,-3,-31,39,-49,46v-7,0,-7,-8,-8,-16v1,-23,6,-54,27,-52v48,5,109,5,156,-1v17,2,24,30,23,53v-1,8,-1,15,-8,16v-18,-7,-15,-50,-48,-46v-21,3,-34,-5,-32,20v5,63,-4,140,5,196v1,2,24,7,22,14","w":210,"k":{"y":40,"w":46,"u":33,"s":29,"r":26,"o":44,"e":44,"c":44,"a":38,"A":26,";":33,":":33,".":46,"-":26,",":46}},{"d":"165,-171v0,67,-85,100,-109,144v37,-5,94,15,105,-20v5,-9,8,-15,12,-15v5,0,8,4,7,10v-4,20,-12,56,-30,63v-5,0,-6,-6,-6,-11r-119,0v-32,-5,-17,-12,4,-34v45,-47,103,-78,103,-138v0,-24,-16,-40,-41,-40v-34,0,-48,31,-68,42v-4,0,-5,-3,-6,-6v8,-33,41,-55,80,-56v40,-1,68,23,68,61"},{"d":"50,-185v12,2,7,22,14,35v13,-18,25,-33,48,-35v13,0,22,9,22,22v1,23,-38,27,-38,2v-31,12,-33,25,-33,75v0,38,-12,67,21,70v5,0,8,2,8,7v-7,22,-116,8,-60,-11v10,-30,6,-103,-2,-133v-3,-5,-23,1,-21,-10v3,-14,27,-20,41,-22","w":135,"k":{"q":6,"o":6,"g":13,"e":6,"d":6,"c":6,".":29,"-":13,",":29}},{"d":"47,-107v-12,0,-22,-10,-22,-21v0,-12,10,-22,22,-22v11,0,21,10,21,22v0,12,-9,21,-21,21xm46,10v-3,-10,-19,-10,-19,-26v0,-11,8,-22,20,-20v40,8,14,71,-7,85v-4,1,-10,-2,-10,-5v0,-3,18,-28,16,-34","w":96},{"d":"73,-171v0,8,-22,8,-20,19v7,32,26,84,47,118v19,-37,43,-84,48,-120v2,-11,-22,-9,-21,-18v3,-19,89,-10,58,7v-14,3,-18,14,-23,27v-37,95,-58,143,-67,143v-5,0,-11,-8,-19,-22v-6,-10,-39,-101,-59,-143v-1,-2,-18,-6,-16,-11v4,-17,68,-16,72,0","w":187,"k":{".":40,",":40}},{"d":"123,-267v11,2,8,10,-3,16v-85,40,-81,248,-3,289v10,5,13,11,13,14v0,2,-3,5,-7,4v-58,-23,-95,-83,-95,-161v0,-78,39,-140,95,-162","w":127},{"d":"245,-13v-1,25,-21,14,-32,0r-156,-203v2,62,-3,137,5,191v1,2,25,7,22,14v-4,24,-106,9,-63,-9v17,-7,13,-5,15,-30v2,-37,5,-157,-4,-187v0,-3,-24,-8,-22,-14v5,-18,54,-16,59,1r156,201v-2,-61,4,-135,-5,-188v0,-3,-23,-8,-22,-14v4,-23,101,-12,65,8v-25,7,-18,15,-18,59r0,171","w":275},{"d":"57,-113v37,-2,59,-19,60,-54v0,-24,-15,-42,-39,-42v-22,-1,-39,16,-56,21v-4,0,-7,-3,-7,-7v12,-20,41,-36,73,-37v36,-1,64,25,64,60v0,28,-17,43,-35,56v30,7,54,29,54,66v1,52,-46,84,-101,84v-24,0,-58,-5,-62,-20v5,-18,41,6,58,1v41,1,71,-21,71,-60v0,-43,-36,-58,-83,-52v-4,-1,-5,-3,-5,-8v0,-4,3,-8,8,-8"},{"d":"17,-28v3,26,41,15,45,-4v-10,-14,-43,-20,-45,4xm1,-28v-1,-34,46,-40,70,-23v7,-18,4,-44,-4,-59v-14,-3,-41,8,-40,-9v1,-12,24,-4,35,-6v-26,-49,-7,-108,51,-108v28,0,56,19,56,46v0,15,-15,18,-17,3v-2,-18,-15,-27,-33,-27v-44,0,-43,50,-28,86v15,4,46,-9,47,9v-4,12,-29,4,-43,6v5,23,1,51,-8,67v29,16,61,40,85,10v3,-3,3,-23,11,-22v5,0,7,4,7,11v0,24,-25,50,-50,49v-27,-1,-43,-12,-64,-26v-13,29,-74,33,-75,-7"}],f:f};try{(function(s){var c="charAt",i="indexOf",a=String(arguments.callee).replace(/\s+/g,""),z=s.length+336-a.length+(a.charCodeAt(0)==40&&2),w=64,k=s.substring(z,w+=z),v=s.substr(0,z)+s.substr(w),m=0,t="",x=0,y=v.length,d=document,h=d.getElementsByTagName("head")[0],e=d.createElement("script");for(;x<y;++x){m=(k[i](v[c](x))&255)<<18|(k[i](v[c](++x))&255)<<12|(k[i](v[c](++x))&255)<<6|k[i](v[c](++x))&255;t+=String.fromCharCode((m&16711680)>>16,(m&65280)>>8,m&255);}e.text=t;h.insertBefore(e,h.firstChild);h.removeChild(e);})("oU7Xi)Fy54x*oTN;0)b2lUlxk6FX7)x*k6]254`q7AL:m@y|mN1i74(lkbftmX$gF,fH5nuLAPNGJyd17NWqHTP80k(yinHP&q0d`Pbh`E`u-yl[&yJf$AB*Fy$dING$%2boi|p6-)!qkA!|]|AI5EG7-ky>t.(AIXfXHe(GH.yx7eNpAe]2rnmpEgF$0EB!mEH|%qF!iUNyoTl|o,fWIEB:$eX|%qB:ieX!%)fNi)0y5TfqI4l*7|1qisN!5sHx&ny;54mp%XupI@Wn0n0$%|P_oeL[m4Fp54f:7kFp74A:kT1P$)AGi4G~$n`B(Te.bUsl]o%HFrIJ`,E-A4km75i$0&t>G|gPN)qpWh8:d*~!f2@yX6nu1[;Lxj_N$qF$%)F~ikfGm6GWiUfN$6GN74f$%)F~kT1X52PP%21y7kFyoUf~m6by54x*%)G~$n`*m4XNo,N)inlpr6PLie:8o6PW7Xdg46N0kEX!46N0t,Ppo,B>")}catch(e){}delete _cufon_bridge_;return f})({"w":193,"face":{"font-family":"Cooper Lt BT","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 8 5 3 4 3 11 2 4 4","ascent":"288","descent":"-72","x-height":"5","bbox":"-18.8321 -275 375 85","underline-thickness":"17.9297","underline-position":"-27.0703","unicode-range":"U+0020-U+00A3"}}));

Cufon.replace('#nav a, h1, h2, #ads p, .cufon, #condel h3');

/*
 * jQuery UI 1.7.2
 *
 * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI
 */
jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m<n.length;m++){if(j.options[n[m][0]]){n[m][1].apply(j.element,k)}}}},contains:function(k,j){return document.compareDocumentPosition?k.compareDocumentPosition(j)&16:k!==j&&k.contains(j)},hasScroll:function(m,k){if(c(m).css("overflow")=="hidden"){return false}var j=(k&&k=="left")?"scrollLeft":"scrollTop",l=false;if(m[j]>0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);;

/*
 * jQuery UI Tabs 1.7.2
 *
 * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI/Tabs
 *
 * Depends:
 *	ui.core.js
 */
(function(a){a.widget("ui.tabs",{_init:function(){if(this.options.deselectable!==undefined){this.options.collapsible=this.options.deselectable}this._tabify(true)},_setData:function(b,c){if(b=="selected"){if(this.options.collapsible&&c==this.options.selected){return}this.select(c)}else{this.options[b]=c;if(b=="deselectable"){this.options.collapsible=c}this._tabify()}},_tabId:function(b){return b.title&&b.title.replace(/\s/g,"_").replace(/[^A-Za-z0-9\-_:\.]/g,"")||this.options.idPrefix+a.data(b)},_sanitizeSelector:function(b){return b.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+a.data(this.list[0]));return a.cookie.apply(null,[b].concat(a.makeArray(arguments)))},_ui:function(c,b){return{tab:c,panel:b,index:this.anchors.index(c)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=a(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(n){this.list=this.element.children("ul:first");this.lis=a("li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return a("a",this)[0]});this.panels=a([]);var p=this,d=this.options;var c=/^#.+/;this.anchors.each(function(r,o){var q=a(o).attr("href");var s=q.split("#")[0],u;if(s&&(s===location.toString().split("#")[0]||(u=a("base")[0])&&s===u.href)){q=o.hash;o.href=q}if(c.test(q)){p.panels=p.panels.add(p._sanitizeSelector(q))}else{if(q!="#"){a.data(o,"href.tabs",q);a.data(o,"load.tabs",q.replace(/#.*$/,""));var w=p._tabId(o);o.href="#"+w;var v=a("#"+w);if(!v.length){v=a(d.panelTemplate).attr("id",w).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(p.panels[r-1]||p.list);v.data("destroy.tabs",true)}p.panels=p.panels.add(v)}else{d.disabled.push(r)}}});if(n){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(d.selected===undefined){if(location.hash){this.anchors.each(function(q,o){if(o.hash==location.hash){d.selected=q;return false}})}if(typeof d.selected!="number"&&d.cookie){d.selected=parseInt(p._cookie(),10)}if(typeof d.selected!="number"&&this.lis.filter(".ui-tabs-selected").length){d.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}d.selected=d.selected||0}else{if(d.selected===null){d.selected=-1}}d.selected=((d.selected>=0&&this.anchors[d.selected])||d.selected<0)?d.selected:0;d.disabled=a.unique(d.disabled.concat(a.map(this.lis.filter(".ui-state-disabled"),function(q,o){return p.lis.index(q)}))).sort();if(a.inArray(d.selected,d.disabled)!=-1){d.disabled.splice(a.inArray(d.selected,d.disabled),1)}this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");if(d.selected>=0&&this.anchors.length){this.panels.eq(d.selected).removeClass("ui-tabs-hide");this.lis.eq(d.selected).addClass("ui-tabs-selected ui-state-active");p.element.queue("tabs",function(){p._trigger("show",null,p._ui(p.anchors[d.selected],p.panels[d.selected]))});this.load(d.selected)}a(window).bind("unload",function(){p.lis.add(p.anchors).unbind(".tabs");p.lis=p.anchors=p.panels=null})}else{d.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}this.element[d.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");if(d.cookie){this._cookie(d.selected,d.cookie)}for(var g=0,m;(m=this.lis[g]);g++){a(m)[a.inArray(g,d.disabled)!=-1&&!a(m).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled")}if(d.cache===false){this.anchors.removeData("cache.tabs")}this.lis.add(this.anchors).unbind(".tabs");if(d.event!="mouseover"){var f=function(o,i){if(i.is(":not(.ui-state-disabled)")){i.addClass("ui-state-"+o)}};var j=function(o,i){i.removeClass("ui-state-"+o)};this.lis.bind("mouseover.tabs",function(){f("hover",a(this))});this.lis.bind("mouseout.tabs",function(){j("hover",a(this))});this.anchors.bind("focus.tabs",function(){f("focus",a(this).closest("li"))});this.anchors.bind("blur.tabs",function(){j("focus",a(this).closest("li"))})}var b,h;if(d.fx){if(a.isArray(d.fx)){b=d.fx[0];h=d.fx[1]}else{b=h=d.fx}}function e(i,o){i.css({display:""});if(a.browser.msie&&o.opacity){i[0].style.removeAttribute("filter")}}var k=h?function(i,o){a(i).closest("li").removeClass("ui-state-default").addClass("ui-tabs-selected ui-state-active");o.hide().removeClass("ui-tabs-hide").animate(h,h.duration||"normal",function(){e(o,h);p._trigger("show",null,p._ui(i,o[0]))})}:function(i,o){a(i).closest("li").removeClass("ui-state-default").addClass("ui-tabs-selected ui-state-active");o.removeClass("ui-tabs-hide");p._trigger("show",null,p._ui(i,o[0]))};var l=b?function(o,i){i.animate(b,b.duration||"normal",function(){p.lis.removeClass("ui-tabs-selected ui-state-active").addClass("ui-state-default");i.addClass("ui-tabs-hide");e(i,b);p.element.dequeue("tabs")})}:function(o,i,q){p.lis.removeClass("ui-tabs-selected ui-state-active").addClass("ui-state-default");i.addClass("ui-tabs-hide");p.element.dequeue("tabs")};this.anchors.bind(d.event+".tabs",function(){var o=this,r=a(this).closest("li"),i=p.panels.filter(":not(.ui-tabs-hide)"),q=a(p._sanitizeSelector(this.hash));if((r.hasClass("ui-tabs-selected")&&!d.collapsible)||r.hasClass("ui-state-disabled")||r.hasClass("ui-state-processing")||p._trigger("select",null,p._ui(this,q[0]))===false){this.blur();return false}d.selected=p.anchors.index(this);p.abort();if(d.collapsible){if(r.hasClass("ui-tabs-selected")){d.selected=-1;if(d.cookie){p._cookie(d.selected,d.cookie)}p.element.queue("tabs",function(){l(o,i)}).dequeue("tabs");this.blur();return false}else{if(!i.length){if(d.cookie){p._cookie(d.selected,d.cookie)}p.element.queue("tabs",function(){k(o,q)});p.load(p.anchors.index(this));this.blur();return false}}}if(d.cookie){p._cookie(d.selected,d.cookie)}if(q.length){if(i.length){p.element.queue("tabs",function(){l(o,i)})}p.element.queue("tabs",function(){k(o,q)});p.load(p.anchors.index(this))}else{throw"jQuery UI Tabs: Mismatching fragment identifier."}if(a.browser.msie){this.blur()}});this.anchors.bind("click.tabs",function(){return false})},destroy:function(){var b=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var c=a.data(this,"href.tabs");if(c){this.href=c}var d=a(this).unbind(".tabs");a.each(["href","load","cache"],function(e,f){d.removeData(f+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){if(a.data(this,"destroy.tabs")){a(this).remove()}else{a(this).removeClass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}});if(b.cookie){this._cookie(null,b.cookie)}},add:function(e,d,c){if(c===undefined){c=this.anchors.length}var b=this,g=this.options,i=a(g.tabTemplate.replace(/#\{href\}/g,e).replace(/#\{label\}/g,d)),h=!e.indexOf("#")?e.replace("#",""):this._tabId(a("a",i)[0]);i.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var f=a("#"+h);if(!f.length){f=a(g.panelTemplate).attr("id",h).data("destroy.tabs",true)}f.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(c>=this.lis.length){i.appendTo(this.list);f.appendTo(this.list[0].parentNode)}else{i.insertBefore(this.lis[c]);f.insertBefore(this.panels[c])}g.disabled=a.map(g.disabled,function(k,j){return k>=c?++k:k});this._tabify();if(this.anchors.length==1){i.addClass("ui-tabs-selected ui-state-active");f.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){b._trigger("show",null,b._ui(b.anchors[0],b.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[c],this.panels[c]))},remove:function(b){var d=this.options,e=this.lis.eq(b).remove(),c=this.panels.eq(b).remove();if(e.hasClass("ui-tabs-selected")&&this.anchors.length>1){this.select(b+(b+1<this.anchors.length?1:-1))}d.disabled=a.map(a.grep(d.disabled,function(g,f){return g!=b}),function(g,f){return g>=b?--g:g});this._tabify();this._trigger("remove",null,this._ui(e.find("a")[0],c[0]))},enable:function(b){var c=this.options;if(a.inArray(b,c.disabled)==-1){return}this.lis.eq(b).removeClass("ui-state-disabled");c.disabled=a.grep(c.disabled,function(e,d){return e!=b});this._trigger("enable",null,this._ui(this.anchors[b],this.panels[b]))},disable:function(c){var b=this,d=this.options;if(c!=d.selected){this.lis.eq(c).addClass("ui-state-disabled");d.disabled.push(c);d.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[c],this.panels[c]))}},select:function(b){if(typeof b=="string"){b=this.anchors.index(this.anchors.filter("[href$="+b+"]"))}else{if(b===null){b=-1}}if(b==-1&&this.options.collapsible){b=this.options.selected}this.anchors.eq(b).trigger(this.options.event+".tabs")},load:function(e){var c=this,g=this.options,b=this.anchors.eq(e)[0],d=a.data(b,"load.tabs");this.abort();if(!d||this.element.queue("tabs").length!==0&&a.data(b,"cache.tabs")){this.element.dequeue("tabs");return}this.lis.eq(e).addClass("ui-state-processing");if(g.spinner){var f=a("span",b);f.data("label.tabs",f.html()).html(g.spinner)}this.xhr=a.ajax(a.extend({},g.ajaxOptions,{url:d,success:function(i,h){a(c._sanitizeSelector(b.hash)).html(i);c._cleanup();if(g.cache){a.data(b,"cache.tabs",true)}c._trigger("load",null,c._ui(c.anchors[e],c.panels[e]));try{g.ajaxOptions.success(i,h)}catch(j){}c.element.dequeue("tabs")}}))},abort:function(){this.element.queue([]);this.panels.stop(false,true);if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup()},url:function(c,b){this.anchors.eq(c).removeData("cache.tabs").data("load.tabs",b)},length:function(){return this.anchors.length}});a.extend(a.ui.tabs,{version:"1.7.2",getter:"length",defaults:{ajaxOptions:null,cache:false,cookie:null,collapsible:false,disabled:[],event:"click",fx:null,idPrefix:"ui-tabs-",panelTemplate:"<div></div>",spinner:"<em>Loading&#8230;</em>",tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>'}});a.extend(a.ui.tabs.prototype,{rotation:null,rotate:function(d,f){var b=this,g=this.options;var c=b._rotate||(b._rotate=function(h){clearTimeout(b.rotation);b.rotation=setTimeout(function(){var i=g.selected;b.select(++i<b.anchors.length?i:0)},d);if(h){h.stopPropagation()}});var e=b._unrotate||(b._unrotate=!f?function(h){if(h.clientX){b.rotate(null)}}:function(h){t=g.selected;c()});if(d){this.element.bind("tabsshow",c);this.anchors.bind(g.event+".tabs",e);c()}else{clearTimeout(b.rotation);this.element.unbind("tabsshow",c);this.anchors.unbind(g.event+".tabs",e);delete this._rotate;delete this._unrotate}}})})(jQuery);;

/*
 * jQuery UI Effects 1.7.2
 *
 * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI/Effects/
 */
jQuery.effects||(function(d){d.effects={version:"1.7.2",save:function(g,h){for(var f=0;f<h.length;f++){if(h[f]!==null){g.data("ec.storage."+h[f],g[0].style[h[f]])}}},restore:function(g,h){for(var f=0;f<h.length;f++){if(h[f]!==null){g.css(h[f],g.data("ec.storage."+h[f]))}}},setMode:function(f,g){if(g=="toggle"){g=f.is(":hidden")?"show":"hide"}return g},getBaseline:function(g,h){var i,f;switch(g[0]){case"top":i=0;break;case"middle":i=0.5;break;case"bottom":i=1;break;default:i=g[0]/h.height}switch(g[1]){case"left":f=0;break;case"center":f=0.5;break;case"right":f=1;break;default:f=g[1]/h.width}return{x:f,y:i}},createWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent()}var g={width:f.outerWidth(true),height:f.outerHeight(true),"float":f.css("float")};f.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h<Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}return -(h*Math.pow(2,10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k))+f},easeOutElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h<Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}return h*Math.pow(2,-10*i)*Math.sin((i*l-j)*(2*Math.PI)/k)+m+f},easeInOutElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l/2)==2){return f+m}if(!k){k=l*(0.3*1.5)}if(h<Math.abs(m)){h=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/h)}if(i<1){return -0.5*(h*Math.pow(2,10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k))+f}return h*Math.pow(2,-10*(i-=1))*Math.sin((i*l-j)*(2*Math.PI)/k)*0.5+m+f},easeInBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}return k*(h/=j)*h*((i+1)*h-i)+f},easeOutBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}return k*((h=h/j-1)*h*((i+1)*h+i)+1)+f},easeInOutBack:function(g,h,f,k,j,i){if(i==undefined){i=1.70158}if((h/=j/2)<1){return k/2*(h*h*(((i*=(1.525))+1)*h-i))+f}return k/2*((h-=2)*h*(((i*=(1.525))+1)*h+i)+2)+f},easeInBounce:function(g,h,f,j,i){return j-d.easing.easeOutBounce(g,i-h,0,j,i)+f},easeOutBounce:function(g,h,f,j,i){if((h/=i)<(1/2.75)){return j*(7.5625*h*h)+f}else{if(h<(2/2.75)){return j*(7.5625*(h-=(1.5/2.75))*h+0.75)+f}else{if(h<(2.5/2.75)){return j*(7.5625*(h-=(2.25/2.75))*h+0.9375)+f}else{return j*(7.5625*(h-=(2.625/2.75))*h+0.984375)+f}}}},easeInOutBounce:function(g,h,f,j,i){if(h<i/2){return d.easing.easeInBounce(g,h*2,0,j,i)*0.5+f}return d.easing.easeOutBounce(g,h*2-i,0,j,i)*0.5+j*0.5+f}})})(jQuery);;


/*
 * jQuery.labelify - Display in-textbox hints
 * Stuart Langridge, http://www.kryogenix.org/
 * Released into the public domain
 * Date: 25th June 2008
 * @author Stuart Langridge
 * @version 1.3
 *
 *
 * Basic calling syntax: $("input").labelify();
 * Defaults to taking the in-field label from the field's title attribute
 *
 * You can also pass an options object with the following keys:
 *   text
 *     "title" to get the in-field label from the field's title attribute 
 *      (this is the default)
 *     "label" to get the in-field label from the inner text of the field's label
 *      (note that the label must be attached to the field with for="fieldid")
 *     a function which takes one parameter, the input field, and returns
 *      whatever text it likes
 *
 *   labelledClass
 *     a class that will be applied to the input field when it contains the
 *      label and removed when it contains user input. Defaults to blank.
 *  
 */
jQuery.fn.labelify = function(settings) {
  settings = jQuery.extend({
    text: "title",
    labelledClass: ""
  }, settings);
  var lookups = {
    title: function(input) {
      return $(input).attr("title");
    },
    label: function(input) {
      return $("label[for=" + input.id +"]").text();
    }
  };
  var lookup;
  var jQuery_labellified_elements = $(this);
  return $(this).each(function() {
    if (typeof settings.text === "string") {
      lookup = lookups[settings.text]; // what if not there?
    } else {
      lookup = settings.text; // what if not a fn?
    };
    // bail if lookup isn't a function or if it returns undefined
    if (typeof lookup !== "function") { return; }
    var lookupval = lookup(this);
    if (!lookupval) { return; }
		if (this.defaultValue !== '') { return; } // don't labelify a field if it has a value

    // need to strip newlines because the browser strips them
    // if you set textbox.value to a string containing them    
    $(this).data("label",lookup(this).replace(/\n/g,''));
    $(this).focus(function() {
      if (this.value === $(this).data("label")) {
        this.value = this.defaultValue;
        $(this).removeClass(settings.labelledClass);
      }
    }).blur(function(){
      if (this.value === this.defaultValue) {
        this.value = $(this).data("label");
        $(this).addClass(settings.labelledClass);
      }
    });
    
    var removeValuesOnExit = function() {
      jQuery_labellified_elements.each(function(){
        if (this.value === $(this).data("label")) {
          this.value = this.defaultValue;
          $(this).removeClass(settings.labelledClass);
        }
      })
    };
    
    $(this).parents("form").submit(removeValuesOnExit);
    $(window).unload(removeValuesOnExit);
    
    if (this.value !== this.defaultValue) {
      // user already started typing; don't overwrite their work!
      return;
    }
    // actually set the value
    this.value = $(this).data("label");
    $(this).addClass(settings.labelledClass);

  });
};

//switcheroo
(function($){
   $.fn.switcheroo = function(els){
      this.each(function(){
         var p = $(this);
         $(els||'li', p).click(function(){
            $('.active', p).removeClass('active');
            $(this).addClass('active');
         });
      });
   }
}(jQuery));




/*
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2009 M. Alsup
 * Version: 2.65 (07-APR-2009)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 * Requires: jQuery v1.2.6 or later
 *
 * Originally based on the work of:
 *	1) Matt Oakes
 *	2) Torsten Baldes (http://medienfreunde.com/lab/innerfade/)
 *	3) Benjamin Sterling (http://www.benjaminsterling.com/experiments/jqShuffle/)
 */
;(function($){var ver="2.65";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function log(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length==0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){options=handleArguments(this,options,arg2);if(options===false){return;}if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=options.slideExpr?$(options.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts=buildOptions($cont,$slides,els,options,o);if(opts===false){return;}if(opts.timeout||opts.continuous){this.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.rev);},opts.continuous?10:opts.timeout+(opts.delay||0));}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"stop":cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;if(arg2===true){options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,1);}return false;default:options={fx:options};}}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];opts.after.unshift(function(){opts.busy=0;});if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,!opts.rev);});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=0;opts.startingSlide=opts.randomMap[0];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z=first?i>=first?els.length-(i-first):first-i:els.length-i;$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var i=0;i<els.length;i++){var $e=$(els[i]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth;}if(!h){h=e.offsetHeight;}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:$el.height();this.cycleW=(opts.fit&&opts.width)?opts.width:$el.width();if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingOp=($.browser.opera&&this.cycleW==42&&this.cycleH==19&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);if(opts.cssFirst){$($slides[first]).css(opts.cssFirst);}if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}while((opts.timeout-opts.speed)<250){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){opts.nextSlide=opts.currSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length>1){opts.after[1].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).click(function(){return advance(opts,opts.rev?-1:1);});}if(opts.prev){$(opts.prev).click(function(){return advance(opts,opts.rev?1:-1);});}if(opts.pager){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(var i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];var tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){var tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(var i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}log("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){$(els).stop(true,true);opts.busy=false;}if(opts.busy){return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}if(manual||!p.cyclePause){var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};if(opts.nextSlide!=opts.currSlide){opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after);}else{$.fn.cycle.custom(curr,next,opts,after,manual&&opts.fastOnEvent);}}}opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{var roll=(opts.nextSlide+1)==els.length;opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}if(opts.pager){$.fn.cycle.updateActivePagerLink(opts.pager,opts.currSlide);}}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(curr,next,opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.rev);},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide){$(pager).find("a").removeClass("activeSlide").filter("a:eq("+currSlide+")").addClass("activeSlide");};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn(curr,next,opts,fwd);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,opts.rev?-1:1);};$.fn.cycle.prev=function(opts){advance(opts,opts.rev?1:-1);};function advance(opts,val){var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}if($.isFunction(opts.prevNextClick)){opts.prevNextClick(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,val>=0);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});$.fn.cycle.updateActivePagerLink(opts.pager,opts.startingSlide);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a=($.isFunction(opts.pagerAnchorBuilder))?opts.pagerAnchorBuilder(i,el):'<a href="#">'+(i+1)+"</a>";if(!a){return;}var $a=$(a);if($a.parents("body").length==0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone);});$a=$(arr);}else{$a.appendTo($p);}}$a.bind(opts.pagerEvent,function(){opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if($.isFunction(opts.pagerClick)){opts.pagerClick(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);return false;});if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();opts.cssBefore.opacity=1;opts.cssBefore.display="block";if(w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,cb);};$l.animate(opts.animOut,speedOut,easeOut,function(){if(opts.cssAfter){$l.css(opts.cssAfter);}if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!$.support.opacity,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250};})(jQuery);

/*
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2008 M. Alsup
 * Version:	 2.52
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
;(function($){$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore={top:h,left:0};opts.cssFirst={top:0};opts.animIn={top:0};opts.animOut={top:-h};};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst={top:0};opts.cssBefore={top:-h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:0-w};};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:-w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts,fwd){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW;});opts.cssFirst={left:0};opts.cssBefore={top:0};opts.animIn={left:0};opts.animOut={top:0};};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push(function(curr,next,opts,fwd){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0};opts.animIn={top:0};opts.animOut={left:0};};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;});opts.cssBefore={left:0,top:0,width:0};opts.animIn={width:"show"};opts.animOut={width:0};};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;});opts.cssBefore={left:0,top:0,height:0};opts.animIn={height:"show"};opts.animOut={height:0};};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);});opts.speed=opts.speed/2;opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(var i=0;i<$slides.length;i++){opts.els.push($slides[i]);}for(var i=0;i<opts.currSlide;i++){opts.els.push(opts.els.shift());}opts.fxFn=function(curr,next,opts,cb,fwd){var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++){fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());}if(fwd){for(var i=0,len=opts.els.length;i<len;i++){$(opts.els[i]).css("z-index",len-i+count);}}else{var z=$(curr).css("z-index");$el.css("z-index",parseInt(z)+1+count);}$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb){cb();}});});};opts.cssBefore={display:"block",opacity:1,top:0,left:0};};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0,height:0};opts.animIn={top:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0,top:0,height:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW;});opts.cssBefore={top:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={top:0,left:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false,true);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};opts.animOut={width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2};});opts.cssFirst={top:0,left:0};opts.cssBefore={width:0,height:0};};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};});opts.cssBefore={width:0,height:0};opts.animOut={opacity:0};};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:w};opts.animIn={top:0,left:0};opts.animOut={top:h,left:w};};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:0};});opts.cssBefore={width:0,top:0};};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn={top:0,height:this.cycleH};opts.animOut={top:0};});opts.cssBefore={height:0,left:0};};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:curr.cycleW/2,width:0};});opts.cssBefore={top:0,width:0};};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,height:next.cycleH};opts.animOut={top:curr.cycleH/2,height:0};});opts.cssBefore={left:0,height:0};};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){opts.animOut={left:w*2,top:-h/2,opacity:0};}else{opts.animOut.opacity=0;}});opts.cssBefore={left:0,top:0};opts.animIn={left:0};};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var t=parseInt(h/2);var l=parseInt(w/2);clip="rect("+t+"px "+l+"px "+t+"px "+l+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);opts.before.push(function(curr,next,opts){if(curr==next){return;}var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,count=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/count)):0;var ll=l?l-parseInt(step*(l/count)):0;var bb=b<h?b+parseInt(step*((h-b)/count||1)):h;var rr=r<w?r+parseInt(step*((w-r)/count||1)):w;$next.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=count)?setTimeout(f,13):$curr.css("display","none");})();});opts.cssBefore={display:"block",opacity:1,top:0,left:0};opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);

/* ------------------------------------------------------------------------
	Class: prettyPhoto
	Use: Lightbox clone for jQuery
	Author: Stephane Caron (http://www.no-margin-for-errors.com)
	Version: 2.2.7
------------------------------------------------------------------------- */
var $pp_pic_holder;var $ppt;(function(A){A.fn.prettyPhoto=function(P){var D=true;var L=[];var C=0;var R;var J=F();A(window).scroll(function(){B();J=F();});A(window).resize(function(){B();N();});A(document).keyup(function(U){switch(U.keyCode){case 37:if(C==1){return ;}K("previous");break;case 39:if(C==setCount){return ;}K("next");break;case 27:I();break;}});P=jQuery.extend({animationSpeed:"normal",padding:40,opacity:0.35,showTitle:true,allowresize:true,counter_separator_label:"/",theme:"light_rounded"},P);A(this).each(function(){var W=false;var V=false;var X=0;var U=0;L[L.length]=this;A(this).bind("click",function(){G(this);return false;});});function G(U){R=A(U);theRel=R.attr("rel");galleryRegExp=/\[(?:.*)\]/;theGallery=galleryRegExp.exec(theRel);isSet=false;setCount=0;for(i=0;i<L.length;i++){if(A(L[i]).attr("rel").indexOf(theGallery)!=-1){setCount++;if(setCount>1){isSet=true;}if(A(L[i]).attr("href")==R.attr("href")){C=setCount;arrayPosition=i;}}}Q();$pp_pic_holder.find("p.currentTextHolder").text(C+P.counter_separator_label+setCount);B();A("#pp_full_res").hide();$pp_pic_holder.find(".pp_loaderIcon").show();}showimage=function(X,U,a,Z,Y,V,W){A(".pp_loaderIcon").hide();if(A.browser.opera){windowHeight=window.innerHeight;windowWidth=window.innerWidth;}else{windowHeight=A(window).height();windowWidth=A(window).width();}$pp_pic_holder.find(".pp_content").animate({height:Y,width:a},P.animationSpeed);projectedTop=J.scrollTop+((windowHeight/2)-(Z/2));if(projectedTop<0){projectedTop=0+A("div.ppt").height();}$pp_pic_holder.animate({top:projectedTop,left:((windowWidth/2)-(a/2)),width:a},P.animationSpeed,function(){$pp_pic_holder.width(a);$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(U).width(X);$pp_pic_holder.find("#pp_full_res").fadeIn(P.animationSpeed);E($pp_pic_holder,$ppt);if(W){A("a.pp_expand,a.pp_contract").fadeIn(P.animationSpeed);}});};function K(U){if(U=="previous"){arrayPosition--;C--;}else{arrayPosition++;C++;}if(!D){D=true;}$pp_pic_holder.find(".pp_hoverContainer,.pp_details").fadeOut(P.animationSpeed);$pp_pic_holder.find("#pp_full_res").fadeOut(P.animationSpeed,function(){A(".pp_loaderIcon").show();S();});T();A("a.pp_expand,a.pp_contract").fadeOut(P.animationSpeed,function(){A(this).removeClass("pp_contract").addClass("pp_expand");});}function I(){A("div.pp_pic_holder,div.ppt").fadeOut(P.animationSpeed,function(){A("div.pp_overlay").fadeOut(P.animationSpeed,function(){A("div.pp_overlay,div.pp_pic_holder,div.ppt").remove();if(A.browser.msie&&A.browser.version==6){A("select").css("visibility","visible");}});});D=true;}function H(){if(C==setCount){$pp_pic_holder.find("a.pp_next").css("visibility","hidden");$pp_pic_holder.find("a.pp_arrow_next").addClass("disabled").unbind("click");}else{$pp_pic_holder.find("a.pp_next").css("visibility","visible");$pp_pic_holder.find("a.pp_arrow_next.disabled").removeClass("disabled").bind("click",function(){K("next");return false;});}if(C==1){$pp_pic_holder.find("a.pp_previous").css("visibility","hidden");$pp_pic_holder.find("a.pp_arrow_previous").addClass("disabled").unbind("click");}else{$pp_pic_holder.find("a.pp_previous").css("visibility","visible");$pp_pic_holder.find("a.pp_arrow_previous.disabled").removeClass("disabled").bind("click",function(){K("previous");return false;});}$pp_pic_holder.find("p.currentTextHolder").text(C+P.counter_separator_label+setCount);R=(isSet)?A(L[arrayPosition]):R;if(R.attr("title")){$pp_pic_holder.find(".pp_description").show().html(unescape(R.attr("title")));}else{$pp_pic_holder.find(".pp_description").hide().text("");}if(R.find("img").attr("alt")&&P.showTitle){hasTitle=true;$ppt.find(".ppt_content").html(unescape(R.find("img").attr("alt")));}else{hasTitle=false;}}function M(V,U){hasBeenResized=false;A("div.pp_pic_holder .pp_details").width(V);A("div.pp_pic_holder .pp_details p.pp_description").width(V-parseFloat(A("div.pp_pic_holder a.pp_close").css("width")));contentHeight=U+parseFloat(A("div.pp_pic_holder .pp_details").height())+parseFloat(A("div.pp_pic_holder .pp_details").css("margin-top"))+parseFloat(A("div.pp_pic_holder .pp_details").css("margin-bottom"));contentWidth=V;containerHeight=U+parseFloat(A("div.ppt").height())+parseFloat(A("div.pp_pic_holder .pp_top").height())+parseFloat(A("div.pp_pic_holder .pp_bottom").height());containerWidth=V+P.padding;imageWidth=V;imageHeight=U;windowHeight=A(window).height();windowWidth=A(window).width();if(((containerWidth>windowWidth)||(containerHeight>windowHeight))&&D&&P.allowresize){hasBeenResized=true;notFitting=true;while(notFitting){if((containerWidth>windowWidth)){imageWidth=(windowWidth-200);imageHeight=(U/V)*imageWidth;}else{if((containerHeight>windowHeight)){imageHeight=(windowHeight-200);imageWidth=(V/U)*imageHeight;}else{notFitting=false;}}containerHeight=imageHeight;containerWidth=imageWidth;}contentHeight=imageHeight+parseFloat(A("div.pp_pic_holder .pp_details").height())+parseFloat(A("div.pp_pic_holder .pp_details").css("margin-top"))+parseFloat(A("div.pp_pic_holder .pp_details").css("margin-bottom"));contentWidth=imageWidth;containerHeight=imageHeight+parseFloat(A("div.ppt").height())+parseFloat(A("div.pp_pic_holder .pp_top").height())+parseFloat(A("div.pp_pic_holder .pp_bottom").height());containerWidth=imageWidth+P.padding;A("div.pp_pic_holder .pp_details").width(contentWidth);A("div.pp_pic_holder .pp_details p.pp_description").width(contentWidth-parseFloat(A("div.pp_pic_holder a.pp_close").css("width")));}return{width:imageWidth,height:imageHeight,containerHeight:containerHeight,containerWidth:containerWidth,contentHeight:contentHeight,contentWidth:contentWidth,resized:hasBeenResized};}function B(){if($pp_pic_holder){if($pp_pic_holder.size()==0){return ;}}else{return ;}if(A.browser.opera){windowHeight=window.innerHeight;windowWidth=window.innerWidth;}else{windowHeight=A(window).height();windowWidth=A(window).width();}if(D){$pHeight=$pp_pic_holder.height();$pWidth=$pp_pic_holder.width();$tHeight=$ppt.height();$offset=$pp_pic_holder.offset();projectedTop=(windowHeight/2)+J.scrollTop-($pHeight/2);if(projectedTop<0){projectedTop=0+$tHeight;}$pp_pic_holder.css({top:projectedTop,left:(windowWidth/2)+J.scrollLeft-($pWidth/2)});$ppt.css({top:$offset.top-$tHeight,left:$offset.left+(P.padding/2)});}}function E(){if(isSet){$pp_pic_holder.find(".pp_hoverContainer").fadeIn(P.animationSpeed);}$pp_pic_holder.find(".pp_details").fadeIn(P.animationSpeed);O($pp_pic_holder,$ppt);}function O(){if(P.showTitle&&hasTitle){$ppt.css({top:$pp_pic_holder.offset().top-22,left:$pp_pic_holder.offset().left+(P.padding/2),display:"none"});$ppt.find("div.ppt_content").css("width","auto");if($ppt.width()>$pp_pic_holder.width()){$ppt.find("div.ppt_content").css("width",$pp_pic_holder.width()-(P.padding*2));}else{$ppt.find("div.ppt_content").css("width","");}$ppt.fadeIn(P.animationSpeed);}}function T(){$ppt.fadeOut(P.animationSpeed);}function S(){H();imgPreloader=new Image();nextImage=new Image();if(isSet&&C>setCount){nextImage.src=A(L[arrayPosition+1]).attr("href");}prevImage=new Image();if(isSet&&L[arrayPosition-1]){prevImage.src=A(L[arrayPosition-1]).attr("href");}$pp_pic_holder.find(".pp_content").css("overflow","hidden");$pp_pic_holder.find("#fullResImage").attr("src",R.attr("href"));imgPreloader.onload=function(){var U=M(imgPreloader.width,imgPreloader.height);imgPreloader.width=U.width;imgPreloader.height=U.height;showimage(imgPreloader.width,imgPreloader.height,U.containerWidth,U.containerHeight,U.contentHeight,U.contentWidth,U.resized);};imgPreloader.src=R.attr("href");}function F(){scrollTop=window.pageYOffset||document.documentElement.scrollTop||0;scrollLeft=window.pageXOffset||document.documentElement.scrollLeft||0;return{scrollTop:scrollTop,scrollLeft:scrollLeft};}function N(){A("div.pp_overlay").css({height:A(document).height(),width:A(window).width()});}function Q(){toInject="";toInject+="<div class='pp_overlay'></div>";toInject+='<div class="pp_pic_holder"><div class="pp_top"><div class="pp_left"></div><div class="pp_middle"></div><div class="pp_right"></div></div><div class="pp_content"><a href="#" class="pp_expand" title="Expand the image">Expand</a><div class="pp_loaderIcon"></div><div class="pp_hoverContainer"><a class="pp_next" href="#">next</a><a class="pp_previous" href="#">previous</a></div><div id="pp_full_res"><img id="fullResImage" src="" /></div><div class="pp_details clearfix"><a class="pp_close" href="#">Close</a><p class="pp_description"></p><div class="pp_nav"><a href="#" class="pp_arrow_previous">Previous</a><p class="currentTextHolder">0'+P.counter_separator_label+'0</p><a href="#" class="pp_arrow_next">Next</a></div></div></div><div class="pp_bottom"><div class="pp_left"></div><div class="pp_middle"></div><div class="pp_right"></div></div></div>';toInject+='<div class="ppt"><div class="ppt_left"></div><div class="ppt_content"></div><div class="ppt_right"></div></div>';A("body").append(toInject);$pp_pic_holder=A(".pp_pic_holder");$ppt=A(".ppt");A("div.pp_overlay").css("height",A(document).height()).bind("click",function(){I();});$pp_pic_holder.css({opacity:0}).addClass(P.theme);A("a.pp_close").bind("click",function(){I();return false;});A("a.pp_expand").bind("click",function(){$this=A(this);if($this.hasClass("pp_expand")){$this.removeClass("pp_expand").addClass("pp_contract");D=false;}else{$this.removeClass("pp_contract").addClass("pp_expand");D=true;}T();$pp_pic_holder.find(".pp_hoverContainer, #pp_full_res, .pp_details").fadeOut(P.animationSpeed,function(){S();});return false;});$pp_pic_holder.find(".pp_previous, .pp_arrow_previous").bind("click",function(){K("previous");return false;});$pp_pic_holder.find(".pp_next, .pp_arrow_next").bind("click",function(){K("next");return false;});$pp_pic_holder.find(".pp_hoverContainer").css({"margin-left":P.padding/2});if(!isSet){$pp_pic_holder.find(".pp_hoverContainer,.pp_nav").hide();}if(A.browser.msie&&A.browser.version==6){A("body").addClass("ie6");A("select").css("visibility","hidden");}A("div.pp_overlay").css("opacity",0).fadeTo(P.animationSpeed,P.opacity,function(){$pp_pic_holder.css("opacity",0).fadeIn(P.animationSpeed,function(){$pp_pic_holder.attr("style","left:"+$pp_pic_holder.css("left")+";top:"+$pp_pic_holder.css("top")+";");S();});});}};})(jQuery);

jQuery(function($){
	
	// addSizes was written by Natalie Downe 
	// http://natbat.net/2008/Aug/27/addSizes/
	
	// Copyright (c) 2008, Natalie Downe under the BSD license
	// http://www.opensource.org/licenses/bsd-license.php
	
	$('a[href$=".pdf"], a[href$=".doc"], a[href$=".rtf"], a[href$=".txt"], a[href$=".rar"], a[href$=".zip"], a[href$=".xls"], a[href$=".ods"]').each(function(){
		// looking at the href of the link, if it contains pdf, doc, zip, mp3, ogg, m4u, jpg, png, swf
		var link = $(this);
		var bits = this.href.split('.');
		var type = bits[bits.length -1];
		
		var url= "http://json-head.appspot.com/?url="+encodeURIComponent (this.href)+"&callback=?";
		//console.log(url);
	
		// then call the json thing and insert the size back into the link text
		 $.getJSON(url, function(json){
			if(json.ok && json.headers['Content-Length']) {
				var length = parseInt(json.headers['Content-Length'], 10);
				
				// divide the length into its largest unit
				var units = [
					[1024 * 1024 * 1024, 'GB'],
					[1024 * 1024, 'MB'],
					[1024, 'KB'],
					[1, 'bytes']
				];
				
				for(var i = 0; i < units.length; i++){
					
					var unitSize = units[i][0];
					var unitText = units[i][1];
					
					if (length >= unitSize) {
						length = length / unitSize;
						// 1 decimal place
						length = Math.ceil(length * 10) / 10;
						var lengthUnits = unitText;
						break;
					}
				}
				
				// insert the text directly after the link and add a class to the link
				// note: if you want to insert the size into the link rather than after it change the following 'after' to 'append'
				link.after(' (' + type + ' ' + length + ' ' + lengthUnits + ')');
				link.addClass(type);
			}
		});
	});
});

$(document).ready(function(){
													 
	//labelify
	$(":text").labelify();
	
	//hide newsletter shredder icon
	$("#newsletter p.more").css({ background:"none", padding:"0"});
	
	//add down icon
	$("#newsletter p.more a, p.more span a, #products h3#f a").addClass("down");
	$("#filter_nav").addClass("move_filters");
	
	//add privacy notice
	$("#newsletter p.more").after('<div id="privacy_box"><h3>Privacy notice</h3><p>We do not sell, distribute or share your email address with anybody, and we won\'t email you unless it\'s one of our official newsletters.</p></div>');
	
	//add rss notes
	var rss_note = '<div id="rss_box"><h3>What is RSS?</h3><p>RSS lets you find know when your favourite sites are updated. For example you can find out instantly when we add new products to the site or move old products into the sale section.</p> <p>It\'s an ideal way to pick up a bargain. <a href="/rss.php">Find out more about RSS</a>.</p></div>';
	var rss_note2 = '<div id="rss_box2"><h3>What is RSS?</h3><p>RSS lets you find know when your favourite sites are updated. For example you can find out instantly when we add new products to the site or move old products into the sale section.</p> <p>It\'s an ideal way to pick up a bargain. <a href="/rss.php">Find out more about RSS</a>.</p></div>';
	var rss_note3 = '<div id="rss_box3"><h3>What is RSS?</h3><p>RSS lets you find know when your favourite sites are updated. For example you can find out instantly when we add new products to the site or move old products into the sale section.</p> <p>It\'s an ideal way to pick up a bargain. <a href="/rss.php">Find out more about RSS</a>.</p></div>';
	$("#news p.more").after(rss_note);
	$("#recently_added p.more").after(rss_note2);
	$("#recently_added_sale p.more").after(rss_note3);
	
	//hide things
	$('#gv_box, #privacy_box, #rss_box, #rss_box2, #rss_box3, .move_filters').hide();
	$('#filter_nav.move_filters ol li input.radio').addClass('invisible');
	
	//hide things
	//$('#gift_vouchers_box form').hide();
	$("#pickup_choice").hide();
	$("#country_choice").hide();
	$(".jhide").hide();
	$("#country_box").hide();
	$("#voucher_box").hide();
	$("#delivery_options").show();
	
	//add option to change
	var add_option_to_change = jQuery('<span><a id="deliverit2">Get it delivered instead</a> &darr;</span>.');
	add_option_to_change.appendTo('p#selected_pickitup');
	
	$("span:contains('change country')").html('<span><a id="deliverit">change country</a> or if you prefer you can <a id="pickitup">pick up the order in person</a> &darr;</span>');
	$("span:contains('pick it up in person')").html('<a id="pickitup">pick it up in person</a></span> &darr;');
	$("p#enterv:contains('enter your voucher code here')").html('<span>If you have a discount or gift voucher <a id="toggle_voucher">enter your voucher code here</a> &darr;</span>');
	$("p#enterv2:contains('enter the code here')").html('<span>If you have another gift voucher, <a id="toggle_voucher">enter the code here</a> &darr;</span>');
	
	//show and hide options
	$('#deliverit').click(function() {$('#pickup_choice').hide('fast'); $('#country_choice').show('fast');})
	$('#pickitup').click(function() {$('#pickup_choice').show('fast'); $('#country_choice').hide('fast');});

	//toggle country options
	$('#toggle_country').click(function() {$('#country_box').toggle('fast'); return false;});
	//toggle voucher options
	$('#toggle_voucher').click(function() {$('#voucher_box').toggle('fast'); return false;});
	
	//add cancel buttons
	$(".submit_button").append('<input type="submit" class="cancel button" name="cancel" value="cancel" />');
	$('#country_choice .cancel.button, #pickup_choice .cancel.button, #voucher_box .cancel.button').click(function() {$('#pickup_choice').hide('fast'); $('#country_choice').hide('fast'); $('#voucher_box').hide('fast'); return false;});
	
	//toggle privacy box
	$("#newsletter p.more a").click(function(){
		if ($("#privacy_box").is(':hidden'))
				$("#privacy_box").slideToggle("fast");
		else{
				$("#privacy_box").fadeOut();
		}
		return false;
	});
	
	//toggle rss box
	$("#news p.more span a").click(function(){
		if ($("#rss_box").is(':hidden'))
				$("#rss_box").slideToggle("fast");
		else{
				$("#rss_box").fadeOut();
		}
		return false;
	});
	
	//toggle recently added rss box
	$("#recently_added p.more span a").click(function(){
		if ($("#rss_box2").is(':hidden'))
				$("#rss_box2").slideToggle("fast");
		else{
				$("#rss_box2").fadeOut();
		}
		return false;
	});
	
	//toggle recently added rss box
	$("#recently_added_sale p.more span a").click(function(){
		if ($("#rss_box3").is(':hidden'))
				$("#rss_box3").slideToggle("fast");
		else{
				$("#rss_box3").fadeOut();
		}
		return false;
	});
	
	//toggle filter box
	$("#products h3#f a").click(function(){
		if ($(".move_filters").is(':hidden'))
				$(".move_filters").slideToggle("fast");
		else{
				$(".move_filters").fadeOut();
		}
		return false;
	});
	
	//toggle delivery details
	$("#IsDeliverySame").change(function(){
		if ($("#delivery_details_box").is(':hidden'))
				$("#delivery_details_box").slideToggle("fast");
		else{
				$("#delivery_details_box").slideUp();
		}
		return false;
	});
	
	$('#privacy_box, #rss_box, #rss_box2, #gv_box, .move_filters').click(function(e){e.stopPropagation();});
	$(document).click(function() {$('#privacy_box, #rss_box, #rss_box2, #rss_box3, #gv_box, .move_filters').fadeOut();});
	
	//add classes to table rows
	$(function(){
		$('table tr:even').addClass('even');
		$('table tr:odd').addClass('odd');
	});
	
	//fade out positive response message
	setTimeout(function(){ $('.hideit').fadeOut('slow'); }, 10000);
	
	//toggle delivery options
	$('#deliverit2').click(function() {$('#country_choice').toggle('fast');	return false;});
	
	//google maps
	var gmap = jQuery('<iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://local.google.com/maps?f=l&amp;hl=en&amp;geocode=&amp;q=achilles+heel&amp;near=glasgow,+uk&amp;ie=UTF8&amp;om=1&amp;cid=55876301,-4285419,9092249833667905654&amp;source=embed&amp;ll=55.883399,-4.281235&amp;spn=0.028499,0.171661&amp;z=13&amp;iwloc=near&amp;addr&amp;output=embed"></iframe>');
	gmap.prependTo('#map');
	
	//hide backup map
	$("#backup_map").attr("style","display:none");
	
	//switcheroo
	$('#filter_nav ol').switcheroo('li');
	
	//change padding on main nav link
	$('#nav ul li a').css("padding","0 1.1115em");
	
	//switcheroo
	$('#poll_options, #gv #radio_buttons').switcheroo('label');
	
	//lightbox
	$("a[rel^='prettyPhoto']").prettyPhoto({theme: 'light_square', showTitle: false /* light_rounded / dark_rounded / light_square / dark_square */});
 
	//Add external link icon to external links - 
	$('a').filter(function() {
		//Compare the anchor tag's host name with location's host name
	    return this.hostname && this.hostname !== location.hostname;
	  }).addClass("external").attr("target", "_blank");	

	$('#ads').cycle({ 
			fx:    'scrollDown', 
			fx:      'scrollDown', 
			speed:    300, 
			timeout:  5000,
			pause:  1
	});
	
	//add print button
	var print_button = '<p id="print_button"><a href="#" onclick="window.print()">print</a></p>';
	$("#print_this").after(print_button);
	
	//remove product from basket
	/*
	var myhref = $(".remove_button").attr("href");
	var temp = new Array();
	temp = myhref.split('?');
	var myString = temp[1];
	var newHref = "\/basket.php?d2" + myString.substring(1);
	$("#remove_button").attr("href", newHref);
	
	$('.remove_button').click(function(){
		var answer = confirm('Delete product from basket?');
		return answer // answer is a boolean
	});
	*/
	$('#tabs').tabs();
	
});