var Cufon=(function(){var Q=function(){return Q.replace.apply(null,arguments)};var Ab=Q.DOM={ready:(function(){var a=false,c={loaded:1,complete:1};var A=[],b=function(){if(a){return}a=true;for(var d;d=A.shift();d()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",b,false);window.addEventListener("pageshow",b,false)}if(!window.opera&&document.readyState){(function(){c[document.readyState]?b():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");b()}catch(d){setTimeout(arguments.callee,1)}})()}E(window,"load",b);return function(d){if(!arguments.length){b()}else{a?d():A.push(d)}}})(),root:function(){return document.documentElement||document.body}};var R=Q.CSS={Size:function(a,A){this.value=parseFloat(a);this.unit=String(a).match(/[a-z%]*$/)[0]||"px";this.convert=function(b){return b/A*this.value};this.convertFrom=function(b){return b/this.value*A};this.toString=function(){return this.value+this.unit}},addClass:function(a,A){var b=a.className;a.className=b+(b&&" ")+A;return a},color:N(function(a){var A={};A.color=a.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(c,b,d){A.opacity=parseFloat(d);return"rgb("+b+")"});return A}),fontStretch:N(function(A){if(typeof A=="number"){return A}if(/%$/.test(A)){return parseFloat(A)/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}[A]||1}),getStyle:function(a){var A=document.defaultView;if(A&&A.getComputedStyle){return new T(A.getComputedStyle(a,null))}if(a.currentStyle){return new T(a.currentStyle)}return new T(a.style)},gradient:N(function(e){var A={id:e,type:e.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},b=e.substr(e.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var d=0,a=b.length,c;d<a;++d){c=b[d].split("=",2).reverse();A.stops.push([c[1]||d/(a-1),c[0]])}return A}),quotedList:N(function(c){var b=[],a=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,A;while(A=a.exec(c)){b.push(A[3]||A[1])}return b}),recognizesMedia:N(function(A){var d=document.createElement("style"),c,b,a;d.type="text/css";d.media=A;try{d.appendChild(document.createTextNode("/**/"))}catch(e){}b=Z("head")[0];b.insertBefore(d,b.firstChild);c=(d.sheet||d.styleSheet);a=c&&!c.disabled;b.removeChild(d);return a}),removeClass:function(b,a){var A=RegExp("(?:^|\\s+)"+a+"(?=\\s|$)","g");b.className=b.className.replace(A,"");return b},supports:function(b,a){var A=document.createElement("span").style;if(A[b]===undefined){return false}A[b]=a;return A[b]===a},textAlign:function(c,b,A,a){if(b.get("textAlign")=="right"){if(A>0){c=" "+c}}else{if(A<a-1){c+=" "}}return c},textShadow:N(function(e){if(e=="none"){return null}var d=[],A={},a,b=0;var c=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(a=c.exec(e)){if(a[0]==","){d.push(A);A={};b=0}else{if(a[1]){A.color=a[1]}else{A[["offX","offY","blur"][b++]]=a[2]}}}d.push(A);return d}),textTransform:(function(){var A={uppercase:function(a){return a.toUpperCase()},lowercase:function(a){return a.toLowerCase()},capitalize:function(a){return a.replace(/\b./g,function(b){return b.toUpperCase()})}};return function(c,b){var a=A[b.get("textTransform")];return a?a(c):c}})(),whiteSpace:(function(){var b={inline:1,"inline-block":1,"run-in":1};var a=/^\s+/,A=/\s+$/;return function(d,f,c,e){if(e){if(e.nodeName.toLowerCase()=="br"){d=d.replace(a,"")}}if(b[f.get("display")]){return d}if(!c.previousSibling){d=d.replace(a,"")}if(!c.nextSibling){d=d.replace(A,"")}return d}})()};R.ready=(function(){var A=!R.recognizesMedia("all"),c=false;var b=[],f=function(){A=true;for(var i;i=b.shift();i()){}};var g=Z("link"),h=Z("style");function a(i){return i.disabled||e(i.sheet,i.media||"screen")}function e(j,o){if(!R.recognizesMedia(o||"all")){return true}if(!j||j.disabled){return false}try{var i=j.cssRules,l;if(i){search:for(var n=0,m=i.length;l=i[n],n<m;++n){switch(l.type){case 2:break;case 3:if(!e(l.styleSheet,l.media.mediaText)){return false}break;default:break search}}}}catch(k){}return true}function d(){if(document.createStyleSheet){return true}var i,j;for(j=0;i=g[j];++j){if(i.rel.toLowerCase()=="stylesheet"&&!a(i)){return false}}for(j=0;i=h[j];++j){if(!a(i)){return false}}return true}Ab.ready(function(){if(!c){c=R.getStyle(document.body).isUsable()}if(A||(c&&d())){f()}else{setTimeout(arguments.callee,10)}});return function(i){if(A){i()}else{b.push(i)}}})();function G(b){var a=this.face=b.face,A={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=b.glyphs;this.w=b.w;this.baseSize=parseInt(a["units-per-em"],10);this.family=a["font-family"].toLowerCase();this.weight=a["font-weight"];this.style=a["font-style"]||"normal";this.viewBox=(function(){var d=a.bbox.split(/\s+/);var c={minX:parseInt(d[0],10),minY:parseInt(d[1],10),maxX:parseInt(d[2],10),maxY:parseInt(d[3],10)};c.width=c.maxX-c.minX;c.height=c.maxY-c.minY;c.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return c})();this.ascent=-parseInt(a.ascent,10);this.descent=-parseInt(a.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(j,l,c){var m=this.glyphs,k,i,e,n=[],d=0,h=-1,g=-1,f;while(f=j[++h]){k=m[f]||this.missingGlyph;if(!k){continue}if(i){d-=e=i[f]||0;n[g]-=e}d+=n[++g]=~~(k.w||this.w)+l+(A[f]?c:0);i=k.k}n.total=d;return n}}function Y(){var a={},A={oblique:"italic",italic:"oblique"};this.add=function(b){(a[b.style]||(a[b.style]={}))[b.weight]=b};this.get=function(f,g){var e=a[f]||a[A[f]]||a.normal||a.italic||a.oblique;if(!e){return null}g={normal:400,bold:700}[g]||parseInt(g,10);if(e[g]){return e[g]}var c={1:1,99:0}[g%100],i=[],d,b;if(c===undefined){c=g>400}if(g==500){g=400}for(var h in e){if(!O(e,h)){continue}h=parseInt(h,10);if(!d||h<d){d=h}if(!b||h>b){b=h}i.push(h)}if(g<d){g=d}if(g>b){g=b}i.sort(function(k,j){return(c?(k>=g&&j>=g)?k<j:k>j:(k<=g&&j<=g)?k>j:k<j)?-1:1});return e[i[0]]}}function F(){function b(e,d){if(e.contains){return e.contains(d)}return e.compareDocumentPosition(d)&16}function A(d){var e=d.relatedTarget;if(!e||b(this,e)){return}a(this,d.type=="mouseover")}function c(d){a(this,d.type=="mouseenter")}function a(e,d){setTimeout(function(){var f=W.get(e).options;Q.replace(e,d?L(f,f.hover):f,true)},10)}this.attach=function(d){if(d.onmouseenter===undefined){E(d,"mouseover",A);E(d,"mouseout",A)}else{E(d,"mouseenter",c);E(d,"mouseleave",c)}}}function I(){var a=[],b={};function A(d){var e=[],c;for(var f=0;c=d[f];++f){e[f]=a[b[c]]}return e}this.add=function(d,c){b[d]=a.push(c)-1};this.repeat=function(){var d=arguments.length?A(arguments):a,e;for(var c=0;e=d[c++];){Q.replace(e[0],e[1],true)}}}function Aa(){var b={},A=0;function a(c){return c.cufid||(c.cufid=++A)}this.get=function(c){var d=a(c);return b[d]||(b[d]={})}}function T(A){var b={},a={};this.extend=function(c){for(var d in c){if(O(c,d)){b[d]=c[d]}}return this};this.get=function(c){return b[c]!=undefined?b[c]:A[c]};this.getSize=function(d,c){return a[d]||(a[d]=new R.Size(this.get(d),c))};this.isUsable=function(){return !!A}}function E(a,A,b){if(a.addEventListener){a.addEventListener(A,b,false)}else{if(a.attachEvent){a.attachEvent("on"+A,function(){return b.call(a,window.event)})}}}function J(a,A){var b=W.get(a);if(b.options){return a}if(A.hover&&A.hoverables[a.nodeName.toLowerCase()]){U.attach(a)}b.options=A;return a}function N(A){var a={};return function(b){if(!O(a,b)){a[b]=A.apply(null,arguments)}return a[b]}}function V(d,c){var A=R.quotedList(c.get("fontFamily").toLowerCase()),b;for(var a=0;b=A[a];++a){if(M[b]){return M[b].get(c.get("fontStyle"),c.get("fontWeight"))}}return null}function Z(A){return document.getElementsByTagName(A)}function O(a,A){return a.hasOwnProperty(A)}function L(){var a={},A,d;for(var c=0,b=arguments.length;A=arguments[c],c<b;++c){for(d in A){if(O(A,d)){a[d]=A[d]}}}return a}function S(c,k,a,l,d,b){var i=document.createDocumentFragment(),f;if(k===""){return i}var j=l.separate;var g=k.split(D[j]),A=(j=="words");if(A&&H){if(/^\s/.test(k)){g.unshift("")}if(/\s$/.test(k)){g.push("")}}for(var h=0,e=g.length;h<e;++h){f=C[l.engine](c,A?R.textAlign(g[h],a,h,e):g[h],a,l,d,b,h<e-1);if(f){i.appendChild(f)}}return i}function P(b,k){var a=b.nodeName.toLowerCase();if(k.ignore[a]){return}var c=!k.textless[a];var A=R.getStyle(J(b,k)).extend(k);var d=V(b,A),e,i,g,f,j,h;if(!d){return}for(e=b.firstChild;e;e=g){i=e.nodeType;g=e.nextSibling;if(c&&i==3){if(f){f.appendData(e.data);b.removeChild(e)}else{f=e}if(g){continue}}if(f){b.replaceChild(S(d,R.whiteSpace(f.data,A,f,h),A,k,e,b),f);f=null}if(i==1){if(e.firstChild){if(e.nodeName.toLowerCase()=="cufon"){C[k.engine](d,null,A,k,e,b)}else{arguments.callee(e,k)}}h=e}}}var H=" ".split(/\s+/).length==0;var W=new Aa();var U=new F();var B=new I();var X=false;var C={},M={},K={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(A){return jQuery(A)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(A){return $$(A)})||(window.$&&function(A){return $(A)})||(document.querySelectorAll&&function(A){return document.querySelectorAll(A)})||Z),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var D={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};Q.now=function(){Ab.ready();return Q};Q.refresh=function(){B.repeat.apply(B,arguments);return Q};Q.registerEngine=function(a,A){if(!A){return Q}C[a]=A;return Q.set("engine",a)};Q.registerFont=function(b){if(!b){return Q}var A=new G(b),a=A.family;if(!M[a]){M[a]=new Y()}M[a].add(A);return Q.set("fontFamily",'"'+a+'"')};Q.replace=function(b,a,A){a=L(K,a);if(!a.engine){return Q}if(!X){R.addClass(Ab.root(),"cufon-active cufon-loading");R.ready(function(){R.addClass(R.removeClass(Ab.root(),"cufon-loading"),"cufon-ready")});X=true}if(a.hover){a.forceHitArea=true}if(a.autoDetect){delete a.fontFamily}if(typeof a.textShadow=="string"){a.textShadow=R.textShadow(a.textShadow)}if(typeof a.color=="string"&&/^-/.test(a.color)){a.textGradient=R.gradient(a.color)}else{delete a.textGradient}if(!A){B.add(b,arguments)}if(b.nodeType||typeof b=="string"){b=[b]}R.ready(function(){for(var e=0,d=b.length;e<d;++e){var c=b[e];if(typeof c=="string"){Q.replace(a.selector(c),a,true)}else{P(c,a)}}});return Q};Q.set=function(A,a){K[A]=a;return Q};return Q})();Cufon.registerEngine("vml",(function(){var E=document.namespaces;if(!E){return}E.add("cvml","urn:schemas-microsoft-com:vml");E=null;var B=document.createElement("cvml:shape");B.style.behavior="url(#default#VML)";if(!B.coordsize){return}B=null;var H=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(H?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function C(I,J){return A(I,/(?:em|ex|%)$|^[a-z-]+$/i.test(J)?"1em":J)}function A(M,I){if(I==="0"){return 0}if(/px$/i.test(I)){return parseFloat(I)}var L=M.style.left,K=M.runtimeStyle.left;M.runtimeStyle.left=M.currentStyle.left;M.style.left=I.replace("%","em");var J=M.style.pixelLeft;M.style.left=L;M.runtimeStyle.left=K;return J}function F(N,M,L,J){var K="computed"+J,I=M[K];if(isNaN(I)){I=M.get(J);M[K]=I=(I=="normal")?0:~~L.convertFrom(A(N,I))}return I}var G={};function D(N){var O=N.id;if(!G[O]){var J=N.stops,K=document.createElement("cvml:fill"),M=[];K.type="gradient";K.angle=180;K.focus="0";K.method="sigma";K.color=J[0][1];for(var I=1,L=J.length-1;I<L;++I){M.push(J[I][0]*100+"% "+J[I][1])}K.colors=M.join(",");K.color2=J[L][1];G[O]=K}return G[O]}return function(AB,Aq,b,Am,Af,AM,Ab){var AG=(Aq===null);if(AG){Aq=Af.alt}var Ad=AB.viewBox;var Au=b.computedFontSize||(b.computedFontSize=new Cufon.CSS.Size(C(AM,b.get("fontSize"))+"px",AB.baseSize));var As,Av;if(AG){As=Af;Av=Af.firstChild}else{As=document.createElement("cufon");As.className="cufon cufon-vml";As.alt=Aq;Av=document.createElement("cufoncanvas");As.appendChild(Av);if(Am.printable){var c=document.createElement("cufontext");c.appendChild(document.createTextNode(Aq));As.appendChild(c)}if(!Ab){As.appendChild(document.createElement("cvml:shape"))}}var AI=As.style;var g=Av.style;var AE=Au.convert(Ad.height),AL=Math.ceil(AE);var Aa=AL/AE;var e=Aa*Cufon.CSS.fontStretch(b.get("fontStretch"));var j=Ad.minX,i=Ad.minY;g.height=AL;g.top=Math.round(Au.convert(i-AB.ascent));g.left=Math.round(Au.convert(j));AI.height=Au.convert(AB.height)+"px";var Ap=b.get("color");var AO=Cufon.CSS.textTransform(Aq,b).split("");var Ag=AB.spacing(AO,F(AM,b,Au,"letterSpacing"),F(AM,b,Au,"wordSpacing"));if(!Ag.length){return null}var AD=Ag.total;var Ar=-j+AD+(Ad.width-Ag[Ag.length-1]);var AK=Au.convert(Ar*e),a=Math.round(AK);var Aj=Ar+","+Ad.height,AF;var Ae="r"+Aj+"ns";var Az=Am.textGradient&&D(Am.textGradient);var AH=AB.glyphs,h=0;var Ac=Am.textShadow;var AN=-1,AC=0,d;while(d=AO[++AN]){var An=AH[AO[AN]]||AB.missingGlyph,AA;if(!An){continue}if(AG){AA=Av.childNodes[AC];while(AA.firstChild){AA.removeChild(AA.firstChild)}}else{AA=document.createElement("cvml:shape");Av.appendChild(AA)}AA.stroked="f";AA.coordsize=Aj;AA.coordorigin=AF=(j-h)+","+i;AA.path=(An.d?"m"+An.d+"xe":"")+"m"+AF+Ae;AA.fillcolor=Ap;if(Az){AA.appendChild(Az.cloneNode(false))}var Ay=AA.style;Ay.width=a;Ay.height=AL;if(Ac){var Ax=Ac[0],Aw=Ac[1];var Al=Cufon.CSS.color(Ax.color),At;var Ai=document.createElement("cvml:shadow");Ai.on="t";Ai.color=Al.color;Ai.offset=Ax.offX+","+Ax.offY;if(Aw){At=Cufon.CSS.color(Aw.color);Ai.type="double";Ai.color2=At.color;Ai.offset2=Aw.offX+","+Aw.offY}Ai.opacity=Al.opacity||(At&&At.opacity)||1;AA.appendChild(Ai)}h+=Ag[AC++]}var Ah=AA.nextSibling,AJ,Ak;if(Am.forceHitArea){if(!Ah){Ah=document.createElement("cvml:rect");Ah.stroked="f";Ah.className="cufon-vml-cover";AJ=document.createElement("cvml:fill");AJ.opacity=0;Ah.appendChild(AJ);Av.appendChild(Ah)}Ak=Ah.style;Ak.width=a;Ak.height=AL}else{if(Ah){Av.removeChild(Ah)}}AI.width=Math.max(Math.ceil(Au.convert(AD*e)),0);if(H){var f=b.computedYAdjust;if(f===undefined){var Ao=b.get("lineHeight");if(Ao=="normal"){Ao="1em"}else{if(!isNaN(Ao)){Ao+="em"}}b.computedYAdjust=f=0.5*(A(AM,Ao)-parseFloat(AI.height))}if(f){AI.marginTop=Math.ceil(f)+"px";AI.marginBottom=f+"px"}}return As}})());Cufon.registerEngine("canvas",(function(){var B=document.createElement("canvas");if(!B||!B.getContext||!B.getContext.apply){return}B=null;var A=Cufon.CSS.supports("display","inline-block");var E=!A&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var F=document.createElement("style");F.type="text/css";F.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(E?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(A?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(F);function D(M,O){var K=0,J=0;var N=[],L=/([mrvxe])([^a-z]*)/g,H;generate:for(var G=0;H=L.exec(M);++G){var I=H[2].split(",");switch(H[1]){case"v":N[G]={m:"bezierCurveTo",a:[K+~~I[0],J+~~I[1],K+~~I[2],J+~~I[3],K+=~~I[4],J+=~~I[5]]};break;case"r":N[G]={m:"lineTo",a:[K+=~~I[0],J+=~~I[1]]};break;case"m":N[G]={m:"moveTo",a:[K=~~I[0],J=~~I[1]]};break;case"x":N[G]={m:"closePath"};break;case"e":break generate}O[N[G].m].apply(O,N[G].a)}return N}function C(G,J){for(var I=0,H=G.length;I<H;++I){var K=G[I];J[K.m].apply(J,K.a)}}return function(x,Ax,d,Au,Ak,y){var AA=(Ax===null);if(AA){Ax=Ak.getAttribute("alt")}var Ai=x.viewBox;var AB=d.getSize("fontSize",x.baseSize);var Aj=0,Ah=0,Ag=0,Av=0;var Ap=Au.textShadow,Ae=[];if(Ap){for(var l=Ap.length;l--;){var An=Ap[l];var Ad=AB.convertFrom(parseFloat(An.offX));var Ab=AB.convertFrom(parseFloat(An.offY));Ae[l]=[Ad,Ab];if(Ab<Aj){Aj=Ab}if(Ad>Ah){Ah=Ad}if(Ab>Ag){Ag=Ab}if(Ad<Av){Av=Ad}}}var c=Cufon.CSS.textTransform(Ax,d).split("");var Am=x.spacing(c,~~AB.convertFrom(parseFloat(d.get("letterSpacing"))||0),~~AB.convertFrom(parseFloat(d.get("wordSpacing"))||0));if(!Am.length){return null}var Ay=Am.total;Ah+=Ai.width-Am[Am.length-1];Av+=Ai.minX;var At,AC;if(AA){At=Ak;AC=Ak.firstChild}else{At=document.createElement("cufon");At.className="cufon cufon-canvas";At.setAttribute("alt",Ax);AC=document.createElement("canvas");At.appendChild(AC);if(Au.printable){var g=document.createElement("cufontext");g.appendChild(document.createTextNode(Ax));At.appendChild(g)}}var Az=At.style;var Aa=AC.style;var AE=AB.convert(Ai.height);var b=Math.ceil(AE);var Af=b/AE;var Ao=Af*Cufon.CSS.fontStretch(d.get("fontStretch"));var Ac=Ay*Ao;var e=Math.ceil(AB.convert(Ac+Ah-Av));var AD=Math.ceil(AB.convert(Ai.height-Aj+Ag));AC.width=e;AC.height=AD;Aa.width=e+"px";Aa.height=AD+"px";Aj+=Ai.minY;Aa.top=Math.round(AB.convert(Aj-x.ascent))+"px";Aa.left=Math.round(AB.convert(Av))+"px";var As=Math.max(Math.ceil(AB.convert(Ac)),0)+"px";if(A){Az.width=As;Az.height=AB.convert(x.height)+"px"}else{Az.paddingLeft=As;Az.paddingBottom=(AB.convert(x.height)-1)+"px"}var a=AC.getContext("2d"),Al=AE/Ai.height;a.scale(Al,Al*Af);a.translate(-Av,-Aj);a.save();function i(){var G=x.glyphs,J,K=-1,I=-1,H;a.scale(Ao,1);while(H=c[++K]){var J=G[c[K]]||x.missingGlyph;if(!J){continue}if(J.d){a.beginPath();if(J.code){C(J.code,a)}else{J.code=D("m"+J.d,a)}a.fill()}a.translate(Am[++I],0)}a.restore()}if(Ap){for(var l=Ap.length;l--;){var An=Ap[l];a.save();a.fillStyle=An.color;a.translate.apply(a,Ae[l]);i()}}var Ar=Au.textGradient;if(Ar){var Aw=Ar.stops,Aq=a.createLinearGradient(0,Ai.minY,0,Ai.maxY);for(var l=0,f=Aw.length;l<f;++l){Aq.addColorStop.apply(Aq,Aw[l])}a.fillStyle=Aq}else{a.fillStyle=d.get("color")}i();return At}})());
/*
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Supercarguy
 * 
 * Description:
 * This font was created using Font Creator 5.0 from High-Logic.com
 */
Cufon.registerFont({"w":35,"face":{"font-family":"Market Deco","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 0 0 0 0 0 0 0 0","ascent":"288","descent":"-72","bbox":"16.1137 -288 286 62","underline-thickness":"26.3672","underline-position":"-24.9609","unicode-range":"U+0020-U+20AC"},"glyphs":{" ":{"w":123},"\u00a0":{"w":123},"!":{"d":"18,-259r33,0r0,180r-33,0r0,-180xm18,-39r33,0r0,39r-33,0r0,-39","w":68},'"':{"d":"38,-287r37,0v-8,35,-26,61,-37,93r-20,0v4,-33,14,-61,20,-93xm116,-288r37,0v-8,36,-26,61,-37,94r-21,0v4,-34,15,-62,21,-94","w":170},"#":{"d":"81,-264r29,0r-11,84r45,0r11,-84r28,0r-10,84r36,0r0,22r-40,0r-6,57r35,0r0,22r-40,0r-11,85r-28,0r11,-85r-45,0r-11,85r-28,0r11,-85r-39,0r0,-22r44,0r6,-57r-39,0r0,-22r42,0xm96,-158r-6,57r43,0r7,-57r-44,0","w":226},"$":{"d":"108,-135v56,31,28,121,-40,121v-23,0,-36,-5,-50,-16r0,-39v14,14,28,25,51,25v19,0,39,-18,36,-38v-6,-50,-88,-37,-87,-99v1,-51,66,-77,107,-49r0,32v-21,-19,-73,-19,-73,18v1,28,36,34,56,45xm95,-259r0,259r-30,0r0,-259r30,0","w":157},"%":{"d":"89,-8r-30,0r105,-243r30,0xm193,-128v51,4,47,116,0,118v-49,-5,-49,-113,0,-118xm193,-106v-25,6,-24,68,0,74v25,-4,25,-69,0,-74xm54,-131v-51,-3,-48,-117,0,-118v49,5,49,113,0,118xm54,-153v24,-5,24,-70,0,-74v-25,4,-25,70,0,74","w":246},"&":{"d":"81,-34v-22,1,-32,-29,-19,-47v4,-6,11,-13,22,-22r32,47v-12,15,-24,22,-35,22xm96,-203v30,2,10,42,-3,49v-13,-15,-24,-46,3,-49xm18,-59v-1,64,81,79,117,32r18,26r47,0r-40,-57v13,-17,19,-39,27,-60r-37,0v-4,11,-8,20,-12,27r-26,-35v16,-17,37,-31,37,-62v0,-29,-23,-48,-53,-47v-59,1,-68,65,-31,104v-22,20,-46,33,-47,72","w":217},"'":{"d":"38,-287r37,0v-8,35,-26,61,-37,93r-20,0v4,-33,14,-61,20,-93","w":92},"(":{"d":"91,-264r22,28v-79,45,-80,167,0,214r-22,28v-98,-62,-97,-208,0,-270","w":130},")":{"d":"40,-264v98,62,97,208,0,270r-22,-28v79,-45,80,-167,0,-214","w":130},"*":{"d":"84,-268v1,14,-3,34,2,45r35,-21r9,13v-10,12,-31,12,-30,34r30,21r-9,15r-35,-22v-5,12,-1,33,-2,49r-19,0v-1,-16,3,-37,-2,-49r-36,22r-9,-14r32,-22r0,-11r-32,-23r9,-13v12,5,27,21,38,19r0,-43r19,0","w":147},"+":{"d":"75,-183r36,0r0,57r57,0r0,36r-57,0r0,57r-36,0r0,-57r-57,0r0,-36r57,0r0,-57","w":185},",":{"d":"40,-40r39,0v-8,39,-27,67,-39,102r-22,0v4,-37,15,-67,22,-102","w":97},"-":{"d":"18,-141r116,0r0,31r-116,0r0,-31","w":151},"\u00ad":{"d":"18,-141r116,0r0,31r-116,0r0,-31","w":151},".":{"d":"18,-40r33,0r0,40r-33,0r0,-40","w":68},"/":{"d":"57,5r-39,0r95,-270r40,0","w":170},"0":{"d":"98,0v-103,-7,-104,-216,-30,-252v71,-35,112,49,110,122v-1,66,-21,122,-80,130xm98,-39v61,-12,60,-170,0,-182v-34,3,-45,52,-45,91v0,38,11,88,45,91","w":195},"1":{"d":"18,-260r67,0r0,260r-39,0r0,-219r-28,0r0,-41","w":103},"2":{"d":"37,-239v44,-40,118,-25,118,56v0,41,-29,89,-87,144r93,0r0,39r-143,0r0,-39v61,-61,93,-106,98,-136v11,-64,-58,-45,-79,-19r0,-45","w":178},"3":{"d":"76,-262v64,0,96,75,50,122v62,45,32,140,-50,140v-24,0,-43,-8,-58,-22r4,-31v39,30,93,21,98,-26v-4,-36,-27,-42,-58,-62v28,-19,45,-22,49,-54v-4,-38,-47,-42,-75,-16r-4,-37v9,-9,24,-14,44,-14","w":177},"4":{"d":"113,-259r34,0r0,175r22,0r0,39r-22,0r0,45r-40,0r0,-45r-89,0r0,-37xm57,-84r50,0r0,-94","w":186},"5":{"d":"25,-260r122,0r0,41r-83,0r0,43v91,-6,120,86,79,149v-24,35,-87,42,-125,14r0,-44v53,38,107,29,104,-40v-1,-33,-47,-38,-97,-35r0,-128","w":183},"6":{"d":"93,0v-44,0,-75,-27,-75,-79v0,-46,29,-107,88,-183r49,0v-36,44,-62,83,-77,116v58,-1,94,23,94,72v0,48,-30,74,-79,74xm68,-112v-13,31,-8,67,23,71v32,4,50,-31,33,-56v-10,-14,-35,-12,-56,-15","w":189},"7":{"d":"18,-262r137,0r0,41r-70,221r-45,0r68,-220r-90,0r0,-42","w":172},"8":{"d":"111,-260v72,0,110,73,58,123v69,48,34,142,-58,142v-91,0,-124,-95,-56,-142v-53,-49,-16,-123,56,-123xm111,-30v29,0,49,-17,50,-44v1,-25,-24,-43,-50,-43v-25,0,-50,19,-49,43v0,26,23,44,49,44xm111,-157v22,0,40,-14,40,-35v0,-21,-19,-35,-40,-35v-20,0,-39,16,-39,35v0,20,19,35,39,35","w":223},"9":{"d":"96,-262v44,0,75,27,75,79v0,46,-29,107,-88,183r-48,0v36,-44,62,-82,77,-115v-58,1,-94,-24,-94,-73v0,-48,29,-74,78,-74xm122,-150v13,-30,8,-66,-23,-70v-33,-4,-51,29,-34,55v10,14,36,12,57,15","w":189},":":{"d":"18,-124r33,0r0,39r-33,0r0,-39xm18,-40r33,0r0,40r-33,0r0,-40","w":68},";":{"d":"36,-124r34,0r0,39r-34,0r0,-39xm37,-36r34,0v-7,33,-24,57,-34,87r-19,0","w":88},"\u037e":{"d":"36,-124r34,0r0,39r-34,0r0,-39xm37,-36r34,0v-7,33,-24,57,-34,87r-19,0","w":88},"<":{"d":"18,-73r0,-34r157,-73r0,39r-107,51r107,51r0,39","w":192},"=":{"d":"18,-141r157,0r0,31r-157,0r0,-31xm18,-76r157,0r0,31r-157,0r0,-31","w":192},">":{"d":"18,0r0,-39r106,-51r-106,-51r0,-39r157,73r0,34","w":192},"?":{"d":"93,-270v68,-8,84,93,39,121v-17,11,-24,36,-20,76r-45,0v-1,-39,1,-68,25,-87v17,-14,25,-27,25,-42v-11,-39,-52,-24,-67,11r-32,-15v8,-39,33,-59,75,-64xm108,-39r0,39r-38,0r0,-39r38,0","w":176},"@":{"d":"169,-162v23,45,-25,113,-63,70v-16,-34,1,-86,41,-83v10,1,17,5,22,13xm18,-131v-9,132,178,172,236,76r-27,0v-18,20,-41,34,-76,34v-66,0,-108,-45,-108,-110v0,-68,42,-112,108,-112v59,0,98,34,98,94v0,35,-19,62,-46,70v-8,0,-5,-10,-4,-16r17,-100r-26,0r-4,20v-8,-16,-23,-25,-42,-25v-78,0,-96,142,-14,143v15,0,26,-6,36,-18v0,13,6,19,19,19v50,0,83,-44,83,-99v0,-71,-49,-109,-119,-109v-80,0,-125,51,-131,133","w":285},"A":{"d":"112,-261r71,262r-40,0r-12,-42r-62,0r-11,42r-40,0r70,-262r24,0xm80,-82r40,0r-20,-84","w":200},"B":{"d":"74,-259v55,-5,81,61,47,101v33,11,55,34,55,70v0,57,-30,88,-86,88r-72,0r0,-259r56,0xm57,-225r0,66v25,-1,38,-13,38,-34v0,-21,-13,-32,-38,-32xm57,-135r0,101v46,3,78,-11,78,-51v0,-39,-32,-54,-78,-50","w":194},"C":{"d":"18,-128v-3,-82,89,-158,182,-122r0,44v-61,-35,-137,3,-140,78v-2,62,77,117,140,76r0,44v-89,35,-179,-30,-182,-120","w":217},"D":{"d":"18,-260v107,-5,173,42,173,131v0,89,-65,135,-173,130r0,-261xm57,-41v61,-3,93,-37,93,-88v0,-51,-32,-86,-93,-89r0,177","w":208},"E":{"d":"18,-259r119,0r0,40r-80,0r0,70r80,0r0,39r-80,0r0,71r80,0r0,39r-119,0r0,-259","w":155},"F":{"d":"18,-259r119,0r0,40r-80,0r0,70r80,0r0,39r-80,0r0,110r-39,0r0,-259","w":155},"G":{"d":"18,-128v-3,-82,89,-158,182,-122r0,44v-61,-35,-138,3,-140,78v-1,48,48,102,106,87r0,-69r-27,0r0,-39r61,0r0,141v-89,35,-179,-30,-182,-120","w":217},"H":{"d":"187,0r-39,0r0,-110r-91,0r0,110r-39,0r0,-260r39,0r0,111r91,0r0,-111r39,0r0,260","w":204},"I":{"d":"18,-260r39,0r0,260r-39,0r0,-260","w":74},"J":{"d":"94,-260r39,0r0,182v8,76,-68,95,-115,63r0,-35v27,13,76,22,76,-22r0,-188","w":150},"K":{"d":"18,-259r39,0r0,134r74,-134r38,0r-52,100r55,159r-42,0r-40,-115r-33,58r0,57r-39,0r0,-259","w":189},"L":{"d":"18,-259r39,0r0,220r90,0r0,39r-129,0r0,-259","w":164},"M":{"d":"153,-259r33,0r0,259r-40,0r0,-125r-44,118r-45,-120r0,127r-39,0r0,-259r32,0r52,139","w":203},"N":{"d":"18,-259r36,0r85,155r0,-156r39,0r0,260r-29,0r-92,-161r0,161r-39,0r0,-259","w":195},"O":{"d":"151,-261v78,0,133,52,133,131v0,78,-54,130,-133,130v-80,0,-133,-51,-133,-130v0,-80,54,-131,133,-131xm151,-220v-55,0,-91,35,-91,90v0,55,36,90,91,90v54,0,90,-35,90,-90v0,-55,-36,-90,-90,-90","w":301},"P":{"d":"149,-168v3,61,-40,93,-92,95r0,73r-39,0r0,-260v76,-7,128,21,131,92xm57,-111v44,0,72,-45,51,-84v-11,-19,-28,-29,-51,-29r0,113","w":166},"Q":{"d":"18,-125v-5,-73,59,-135,138,-135v60,0,127,60,127,133v0,30,-14,60,-41,90r44,52r-49,0r-25,-29v-91,43,-188,-15,-194,-111xm153,-221v-51,-2,-92,36,-96,95v-4,56,68,108,131,83r-41,-49r48,0r22,26v51,-53,16,-152,-64,-155","w":303},"R":{"d":"18,-260v76,-7,131,21,131,92v0,35,-12,62,-37,79r48,89r-42,0r-40,-73v-7,1,-13,1,-21,0r0,73r-39,0r0,-260xm57,-111v44,0,72,-45,51,-84v-11,-19,-28,-29,-51,-29r0,113","w":177},"S":{"d":"119,-135v66,31,31,136,-45,136v-26,0,-40,-6,-56,-19r0,-44v20,34,104,42,98,-14v-6,-56,-100,-42,-98,-112v1,-57,73,-87,121,-56r0,37v-24,-22,-83,-21,-83,20v0,32,42,36,63,52","w":173},"T":{"d":"18,-260r168,0r0,41r-64,0r0,218r-40,0r0,-218r-64,0r0,-41","w":203},"U":{"d":"18,-260r39,0r0,160v0,40,13,60,40,60v27,0,40,-20,40,-60r0,-160r40,0r0,160v0,65,-27,100,-80,100v-53,0,-79,-35,-79,-100r0,-160","w":194},"V":{"d":"139,0r-34,0r-87,-260r44,0r60,183r61,-183r44,0","w":244},"W":{"d":"18,-260r38,0r46,145r43,-136r5,0r44,136r46,-145r38,0r-72,260r-18,0r-40,-133r-40,133r-19,0","w":295},"X":{"d":"144,-135r76,135r-48,0r-53,-90r-52,90r-49,0r76,-135r-72,-126r47,0r50,87r49,-87r49,0","w":237},"Y":{"d":"18,-260r41,0r49,115r49,-115r41,0r-67,162r0,98r-46,0r0,-98","w":216},"Z":{"d":"24,-260r152,0r0,33r-101,187r104,0r0,40r-161,0r0,-34r97,-186r-91,0r0,-40","w":196},"[":{"d":"18,-260r67,0r0,31r-32,0r0,197r32,0r0,32r-67,0r0,-260","w":102},"\\":{"d":"18,-265r33,0r107,270r-34,0","w":175},"]":{"d":"18,-260r67,0r0,260r-67,0r0,-32r31,0r0,-197r-31,0r0,-31","w":102},"^":{"d":"99,-275r47,90r-30,0r-33,-56r-32,56r-30,0r47,-90r31,0","w":166},"_":{"d":"18,26r241,0r0,19r-241,0r0,-19","w":276},"`":{"d":"50,-287v6,28,15,54,19,84r-19,0v-10,-29,-24,-53,-32,-84r32,0","w":92},"a":{"d":"112,-261r71,262r-40,0r-12,-42r-62,0r-11,42r-40,0r70,-262r24,0xm80,-82r40,0r-20,-84","w":200},"b":{"d":"74,-259v55,-5,81,61,47,101v33,11,55,34,55,70v0,57,-30,88,-86,88r-72,0r0,-259r56,0xm57,-225r0,66v25,-1,38,-13,38,-34v0,-21,-13,-32,-38,-32xm57,-135r0,101v46,3,78,-11,78,-51v0,-39,-32,-54,-78,-50","w":194},"c":{"d":"18,-128v-3,-82,89,-158,182,-122r0,44v-61,-35,-137,3,-140,78v-2,62,77,117,140,76r0,44v-89,35,-179,-30,-182,-120","w":217},"d":{"d":"18,-260v107,-5,173,42,173,131v0,89,-65,135,-173,130r0,-261xm57,-41v61,-3,93,-37,93,-88v0,-51,-32,-86,-93,-89r0,177","w":208},"e":{"d":"18,-259r119,0r0,40r-80,0r0,95r80,0r0,40r-80,0r0,45r80,0r0,39r-119,0r0,-259","w":155},"f":{"d":"18,-259r119,0r0,40r-80,0r0,95r80,0r0,40r-80,0r0,84r-39,0r0,-259","w":155},"g":{"d":"18,-128v-3,-82,89,-158,182,-122r0,44v-61,-35,-138,3,-140,78v-1,48,48,102,106,87r0,-43r-27,0r0,-40r61,0r0,116v-89,35,-179,-30,-182,-120","w":216},"h":{"d":"187,0r-39,0r0,-84r-91,0r0,84r-39,0r0,-260r39,0r0,136r91,0r0,-136r39,0r0,260","w":204},"i":{"d":"18,-260r39,0r0,260r-39,0r0,-260","w":74},"j":{"d":"94,-260r39,0r0,182v8,76,-68,95,-115,63r0,-35v27,13,76,22,76,-22r0,-188","w":150},"k":{"d":"18,-259r39,0r0,134r74,-134r38,0r-52,100r55,159r-42,0r-40,-115r-33,58r0,57r-39,0r0,-259","w":189},"l":{"d":"18,-259r39,0r0,220r90,0r0,39r-129,0r0,-259","w":164},"m":{"d":"153,-259r33,0r0,259r-40,0r0,-125r-44,118r-45,-120r0,127r-39,0r0,-259r32,0r52,139","w":203},"n":{"d":"18,-259r36,0r85,155r0,-156r39,0r0,260r-29,0r-92,-161r0,161r-39,0r0,-259","w":195},"o":{"d":"151,-261v78,0,133,52,133,131v0,78,-54,130,-133,130v-80,0,-133,-51,-133,-130v0,-80,54,-131,133,-131xm151,-220v-55,0,-91,35,-91,90v0,55,36,90,91,90v54,0,90,-35,90,-90v0,-55,-36,-90,-90,-90","w":301},"p":{"d":"163,-157v-2,60,-40,100,-106,102r0,55r-39,0r0,-261v86,-10,147,35,145,104xm124,-157v0,-41,-30,-70,-67,-66r0,131v41,2,68,-30,67,-65","w":180},"q":{"d":"18,-125v-5,-73,59,-135,138,-135v60,0,127,60,127,133v0,30,-14,60,-41,90r44,52r-49,0r-25,-29v-91,43,-188,-15,-194,-111xm153,-221v-51,-2,-92,36,-96,95v-4,56,68,108,131,83r-41,-49r48,0r22,26v51,-53,16,-152,-64,-155","w":303},"r":{"d":"57,-260v103,-6,141,130,66,183r37,77r-42,0r-28,-60v-12,3,-23,3,-33,3r0,57r-39,0r0,-260r39,0xm124,-157v-1,-40,-30,-69,-67,-65r0,129v39,1,68,-30,67,-64","w":180},"s":{"d":"120,-137v64,35,33,138,-45,138v-26,0,-41,-7,-57,-19r0,-45v20,35,104,42,99,-14v-5,-57,-100,-41,-99,-113v1,-57,74,-87,122,-56r0,37v-24,-23,-83,-21,-83,21v0,32,40,38,63,51","w":174},"t":{"d":"18,-260r168,0r0,41r-64,0r0,218r-40,0r0,-218r-64,0r0,-41","w":203},"u":{"d":"18,-260r39,0r0,160v0,40,13,60,40,60v27,0,40,-20,40,-60r0,-160r40,0r0,160v0,65,-27,100,-80,100v-53,0,-79,-35,-79,-100r0,-160","w":194},"v":{"d":"139,0r-34,0r-87,-260r44,0r60,183r61,-183r44,0","w":244},"w":{"d":"18,-260r38,0r46,145r43,-136r5,0r44,136r46,-145r38,0r-72,260r-18,0r-40,-133r-40,133r-19,0","w":295},"x":{"d":"144,-135r76,135r-48,0r-53,-90r-52,90r-49,0r76,-135r-72,-126r47,0r50,87r49,-87r49,0","w":237},"y":{"d":"18,-260r41,0r49,147r49,-147r41,0r-67,193r0,67r-46,0r0,-67","w":216},"z":{"d":"24,-260r152,0r0,33r-101,187r104,0r0,40r-161,0r0,-34r97,-186r-91,0r0,-40","w":196},"{":{"d":"108,-242v-20,-1,-34,-1,-34,21v0,48,11,94,-17,122v17,21,18,38,17,71v-1,22,14,23,34,22r0,25v-48,4,-62,-18,-62,-67v0,-17,-9,-31,-28,-42r0,-18v70,-23,-27,-168,90,-160r0,26","w":125},"|":{"d":"18,-259r33,0r0,259r-33,0r0,-259","w":68},"}":{"d":"18,-268v38,-2,61,12,61,46v0,51,-12,94,29,114r0,18v-26,16,-30,30,-29,64v1,34,-23,47,-61,45r0,-25v57,10,16,-68,50,-93v-28,-29,-17,-73,-17,-122v0,-21,-13,-22,-33,-21r0,-26","w":125},"\u00c4":{},"\u00c7":{},"\u00c9":{},"\u00d6":{},"\u00dc":{},"\u00e1":{},"\u00e0":{},"\u00e2":{},"\u00e4":{},"\u00e7":{},"\u00e9":{},"\u00e8":{},"\u00ea":{},"\u00eb":{},"\u00ed":{},"\u00ec":{},"\u00ee":{},"\u00ef":{},"\u00f3":{},"\u00f2":{},"\u00f4":{},"\u00f6":{},"\u00f5":{},"\u00fa":{},"\u00f9":{},"\u00fb":{},"\u00fc":{},"\u2022":{},"\u00df":{},"\u00ae":{"d":"115,-285v58,0,98,38,98,96v0,57,-39,95,-98,95v-58,0,-97,-37,-97,-95v0,-59,39,-96,97,-96xm115,-272v-50,0,-83,33,-83,83v0,49,32,82,83,82v50,0,83,-32,83,-82v0,-51,-34,-83,-83,-83xm84,-254v63,-13,95,55,52,90r18,38r-21,0r-13,-30v-6,1,-11,2,-16,2r0,28r-20,0r0,-128xm136,-204v0,-20,-13,-34,-32,-32r0,64v19,1,33,-15,32,-32","w":230},"\u00a9":{"d":"115,-285v58,0,98,38,98,96v0,57,-39,95,-98,95v-58,0,-97,-37,-97,-95v0,-59,39,-96,97,-96xm115,-272v-50,0,-83,33,-83,83v0,49,32,82,83,82v50,0,83,-32,83,-82v0,-51,-34,-83,-83,-83xm57,-190v-1,-39,43,-77,89,-60v-1,7,2,17,-1,22v-29,-18,-67,1,-67,38v0,30,38,57,68,37r0,22v-44,16,-88,-15,-89,-59","w":230},"\u00b4":{},"\u00d8":{},"\u00e6":{},"\u00f8":{},"\u00ab":{},"\u00bb":{},"\u00c0":{},"\u00d5":{},"\u00f7":{},"\u00ff":{},"\u20ac":{},"\u00b7":{},"\u2219":{},"\u00c2":{},"\u00ca":{},"\u00c1":{},"\u00cb":{},"\u00c8":{},"\u00ce":{},"\u00cf":{},"\u00cc":{},"\u00d3":{},"\u00d2":{},"\u00da":{},"\u00db":{},"\u00d9":{}}});jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(A,B,C,D,E){return jQuery.easing[jQuery.easing.def](A,B,C,D,E)},easeInQuad:function(A,B,C,D,E){return D*(B/=E)*B+C},easeOutQuad:function(A,B,C,D,E){return -D*(B/=E)*(B-2)+C},easeInOutQuad:function(A,B,C,D,E){if((B/=E/2)<1){return D/2*B*B+C}return -D/2*((--B)*(B-2)-1)+C},easeInCubic:function(A,B,C,D,E){return D*(B/=E)*B*B+C},easeOutCubic:function(A,B,C,D,E){return D*((B=B/E-1)*B*B+1)+C},easeInOutCubic:function(A,B,C,D,E){if((B/=E/2)<1){return D/2*B*B*B+C}return D/2*((B-=2)*B*B+2)+C},easeInQuart:function(A,B,C,D,E){return D*(B/=E)*B*B*B+C},easeOutQuart:function(A,B,C,D,E){return -D*((B=B/E-1)*B*B*B-1)+C},easeInOutQuart:function(A,B,C,D,E){if((B/=E/2)<1){return D/2*B*B*B*B+C}return -D/2*((B-=2)*B*B*B-2)+C},easeInQuint:function(A,B,C,D,E){return D*(B/=E)*B*B*B*B+C},easeOutQuint:function(A,B,C,D,E){return D*((B=B/E-1)*B*B*B*B+1)+C},easeInOutQuint:function(A,B,C,D,E){if((B/=E/2)<1){return D/2*B*B*B*B*B+C}return D/2*((B-=2)*B*B*B*B+2)+C},easeInSine:function(A,B,C,D,E){return -D*Math.cos(B/E*(Math.PI/2))+D+C},easeOutSine:function(A,B,C,D,E){return D*Math.sin(B/E*(Math.PI/2))+C},easeInOutSine:function(A,B,C,D,E){return -D/2*(Math.cos(Math.PI*B/E)-1)+C},easeInExpo:function(A,B,C,D,E){return(B==0)?C:D*Math.pow(2,10*(B/E-1))+C},easeOutExpo:function(A,B,C,D,E){return(B==E)?C+D:D*(-Math.pow(2,-10*B/E)+1)+C},easeInOutExpo:function(A,B,C,D,E){if(B==0){return C}if(B==E){return C+D}if((B/=E/2)<1){return D/2*Math.pow(2,10*(B-1))+C}return D/2*(-Math.pow(2,-10*--B)+2)+C},easeInCirc:function(A,B,C,D,E){return -D*(Math.sqrt(1-(B/=E)*B)-1)+C},easeOutCirc:function(A,B,C,D,E){return D*Math.sqrt(1-(B=B/E-1)*B)+C},easeInOutCirc:function(A,B,C,D,E){if((B/=E/2)<1){return -D/2*(Math.sqrt(1-B*B)-1)+C}return D/2*(Math.sqrt(1-(B-=2)*B)+1)+C},easeInElastic:function(A,H,C,D,E){var G=1.70158;var F=0;var B=D;if(H==0){return C}if((H/=E)==1){return C+D}if(!F){F=E*0.3}if(B<Math.abs(D)){B=D;var G=F/4}else{var G=F/(2*Math.PI)*Math.asin(D/B)}return -(B*Math.pow(2,10*(H-=1))*Math.sin((H*E-G)*(2*Math.PI)/F))+C},easeOutElastic:function(A,H,C,D,E){var G=1.70158;var F=0;var B=D;if(H==0){return C}if((H/=E)==1){return C+D}if(!F){F=E*0.3}if(B<Math.abs(D)){B=D;var G=F/4}else{var G=F/(2*Math.PI)*Math.asin(D/B)}return B*Math.pow(2,-10*H)*Math.sin((H*E-G)*(2*Math.PI)/F)+D+C},easeInOutElastic:function(A,H,C,D,E){var G=1.70158;var F=0;var B=D;if(H==0){return C}if((H/=E/2)==2){return C+D}if(!F){F=E*(0.3*1.5)}if(B<Math.abs(D)){B=D;var G=F/4}else{var G=F/(2*Math.PI)*Math.asin(D/B)}if(H<1){return -0.5*(B*Math.pow(2,10*(H-=1))*Math.sin((H*E-G)*(2*Math.PI)/F))+C}return B*Math.pow(2,-10*(H-=1))*Math.sin((H*E-G)*(2*Math.PI)/F)*0.5+D+C},easeInBack:function(A,B,C,D,E,F){if(F==undefined){F=1.70158}return D*(B/=E)*B*((F+1)*B-F)+C},easeOutBack:function(A,B,C,D,E,F){if(F==undefined){F=1.70158}return D*((B=B/E-1)*B*((F+1)*B+F)+1)+C},easeInOutBack:function(A,B,C,D,E,F){if(F==undefined){F=1.70158}if((B/=E/2)<1){return D/2*(B*B*(((F*=(1.525))+1)*B-F))+C}return D/2*((B-=2)*B*(((F*=(1.525))+1)*B+F)+2)+C},easeInBounce:function(A,B,C,D,E){return D-jQuery.easing.easeOutBounce(A,E-B,0,D,E)+C},easeOutBounce:function(A,B,C,D,E){if((B/=E)<(1/2.75)){return D*(7.5625*B*B)+C}else{if(B<(2/2.75)){return D*(7.5625*(B-=(1.5/2.75))*B+0.75)+C}else{if(B<(2.5/2.75)){return D*(7.5625*(B-=(2.25/2.75))*B+0.9375)+C}else{return D*(7.5625*(B-=(2.625/2.75))*B+0.984375)+C}}}},easeInOutBounce:function(A,B,C,D,E){if(B<E/2){return jQuery.easing.easeInBounce(A,B*2,0,D,E)*0.5+C}return jQuery.easing.easeOutBounce(A,B*2-E,0,D,E)*0.5+D*0.5+C}});(function(F,D){var Z={transition:"elastic",speed:300,width:false,initialWidth:"600",innerWidth:false,maxWidth:false,height:false,initialHeight:"450",innerHeight:false,maxHeight:false,scalePhotos:true,scrolling:true,inline:false,html:false,iframe:false,photo:false,href:false,title:false,rel:false,opacity:0.9,preloading:true,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:false,loop:true,slideshow:false,slideshowAuto:true,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:false,onLoad:false,onComplete:false,onCleanup:false,onClosed:false,overlayClose:true,escKey:true,arrowKey:true},R="colorbox",G="cbox",B=G+"_open",I=G+"_load",A=G+"_complete",X=G+"_cleanup",Q=G+"_closed",k=G+"_purge",o=G+"_loaded",T=F.browser.msie&&!F.support.opacity,x=T&&F.browser.version<7,r=G+"_IE6",i,Aa,d,w,u,n,m,Ab,z,g,O,a,Y,h,v,f,S,l,e,H,s,c,N,C,M,b,P,E,J,L=false,W,p=G+"Element";function K(Ad,Ac){Ad=Ad?' id="'+G+Ad+'"':"";Ac=Ac?' style="'+Ac+'"':"";return F("<div"+Ad+Ac+"/>")}function y(Ac,Ad){Ad=Ad==="x"?g.width():g.height();return(typeof Ac==="string")?Math.round((Ac.match(/%/)?(Ad/100)*parseInt(Ac,10):parseInt(Ac,10))):Ac}function t(Ac,Ad){Ac=F.isFunction(Ac)?Ac.call(Ad):Ac;return P.photo||Ac.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function q(Ac){for(var Ad in Ac){if(F.isFunction(Ac[Ad])&&Ad.substring(0,2)!=="on"){Ac[Ad]=Ac[Ad].call(C)}}Ac.rel=Ac.rel||C.rel||"nofollow";Ac.href=Ac.href||F(C).attr("href");Ac.title=Ac.title||C.title;return Ac}function U(Ac,Ad){if(Ad){Ad.call(C)}F.event.trigger(Ac)}function V(){var Af,Ae=G+"Slideshow_",Ad,Ag,Ac;if(P.slideshow&&z[1]){Ad=function(){f.text(P.slideshowStop).bind(A,function(){Af=setTimeout(W.next,P.slideshowSpeed)}).bind(I,function(){clearTimeout(Af)}).one("click",function(){Ag()});Aa.removeClass(Ae+"off").addClass(Ae+"on")};Ag=function(){clearTimeout(Af);f.text(P.slideshowStart).unbind(A+" "+I).one("click",function(){Ad();Af=setTimeout(W.next,P.slideshowSpeed)});Aa.removeClass(Ae+"on").addClass(Ae+"off")};f.bind(Q,function(){f.unbind();clearTimeout(Af);Aa.removeClass(Ae+"off "+Ae+"on")});if(P.slideshowAuto){Ad()}else{Ag()}}}function j(Ac){if(!L){C=Ac;P=q(F.extend({},F.data(C,R)));z=F(C);b=0;if(P.rel!=="nofollow"){z=F("."+p).filter(function(){var Ae=F.data(this,R).rel||this.rel;return(Ae===P.rel)});b=z.index(C);if(b===-1){z=z.add(C);b=z.length-1}}if(!E){E=J=true;Aa.show();M=C;try{M.blur()}catch(Ad){}i.css({"opacity":+P.opacity,"cursor":P.overlayClose?"pointer":"auto"}).show();P.w=y(P.initialWidth,"x");P.h=y(P.initialHeight,"y");W.position(0);if(x){g.bind("resize."+r+" scroll."+r,function(){i.css({width:g.width(),height:g.height(),top:g.scrollTop(),left:g.scrollLeft()})}).trigger("scroll."+r)}U(B,P.onOpen);v.add(l).add(S).add(f).add(h).hide();e.html(P.close).show()}W.load(true)}}W=F.fn[R]=F[R]=function(Ad,Af){var Ae=this,Ac;if(!Ae[0]&&Ae.selector){return Ae}Ad=Ad||{};if(Af){Ad.onComplete=Af}if(!Ae[0]||Ae.selector===undefined){Ae=F("<a/>");Ad.open=true}Ae.each(function(){F.data(this,R,F.extend({},F.data(this,R)||Z,Ad));F(this).addClass(p)});Ac=Ad.open;if(F.isFunction(Ac)){Ac=Ac.call(Ae)}if(Ac){j(Ae[0])}return Ae};W.init=function(){g=F(D);Aa=K().attr({id:R,"class":T?G+"IE":""});i=K("Overlay",x?"position:absolute":"").hide();d=K("Wrapper");w=K("Content").append(O=K("LoadedContent","width:0; height:0; overflow:hidden"),Y=K("LoadingOverlay").add(K("LoadingGraphic")),h=K("Title"),v=K("Current"),S=K("Next"),l=K("Previous"),f=K("Slideshow").bind(B,V),e=K("Close"));d.append(K().append(K("TopLeft"),u=K("TopCenter"),K("TopRight")),K(false,"clear:left").append(n=K("MiddleLeft"),w,m=K("MiddleRight")),K(false,"clear:left").append(K("BottomLeft"),Ab=K("BottomCenter"),K("BottomRight"))).children().children().css({"float":"left"});a=K(false,"position:absolute; width:9999px; visibility:hidden; display:none");F("body").prepend(i,Aa.append(d,a));w.children().hover(function(){F(this).addClass("hover")},function(){F(this).removeClass("hover")}).addClass("hover");H=u.height()+Ab.height()+w.outerHeight(true)-w.height();s=n.width()+m.width()+w.outerWidth(true)-w.width();c=O.outerHeight(true);N=O.outerWidth(true);Aa.css({"padding-bottom":H,"padding-right":s}).hide();S.click(W.next);l.click(W.prev);e.click(W.close);w.children().removeClass("hover");F("."+p).live("click",function(Ac){if(!((Ac.button!==0&&typeof Ac.button!=="undefined")||Ac.ctrlKey||Ac.shiftKey||Ac.altKey)){Ac.preventDefault();j(this)}});i.click(function(){if(P.overlayClose){W.close()}});F(document).bind("keydown",function(Ac){if(E&&P.escKey&&Ac.keyCode===27){Ac.preventDefault();W.close()}if(E&&P.arrowKey&&!J&&z[1]){if(Ac.keyCode===37&&(b||P.loop)){Ac.preventDefault();l.click()}else{if(Ac.keyCode===39&&(b<z.length-1||P.loop)){Ac.preventDefault();S.click()}}}})};W.remove=function(){Aa.add(i).remove();F("."+p).die("click").removeData(R).removeClass(p)};W.position=function(Af,Ah){var Ag,Ad=Math.max(document.documentElement.clientHeight-P.h-c-H,0)/2+g.scrollTop(),Ae=Math.max(g.width()-P.w-N-s,0)/2+g.scrollLeft();Ag=(Aa.width()===P.w+N&&Aa.height()===P.h+c)?0:Af;d[0].style.width=d[0].style.height="9999px";function Ac(Ai){u[0].style.width=Ab[0].style.width=w[0].style.width=Ai.style.width;Y[0].style.height=Y[1].style.height=w[0].style.height=n[0].style.height=m[0].style.height=Ai.style.height}Aa.dequeue().animate({width:P.w+N,height:P.h+c,top:Ad,left:Ae},{duration:Ag,complete:function(){Ac(this);J=false;d[0].style.width=(P.w+N+s)+"px";d[0].style.height=(P.h+c+H)+"px";if(Ah){Ah()}},step:function(){Ac(this)}})};W.resize=function(Ac){if(E){Ac=Ac||{};if(Ac.width){P.w=y(Ac.width,"x")-N-s}if(Ac.innerWidth){P.w=y(Ac.innerWidth,"x")}O.css({width:P.w});if(Ac.height){P.h=y(Ac.height,"y")-c-H}if(Ac.innerHeight){P.h=y(Ac.innerHeight,"y")}if(!Ac.innerHeight&&!Ac.height){var Ad=O.wrapInner("<div style='overflow:auto'></div>").children();P.h=Ad.height();Ad.replaceWith(Ad.children())}O.css({height:P.h});W.position(P.transition==="none"?0:P.speed)}};W.prep=function(Af){if(!E){return}var Ac,Ad=P.transition==="none"?0:P.speed;g.unbind("resize."+G);O.remove();O=K("LoadedContent").html(Af);function Ae(){P.w=P.w||O.width();P.w=P.mw&&P.mw<P.w?P.mw:P.w;return P.w}function Ah(){P.h=P.h||O.height();P.h=P.mh&&P.mh<P.h?P.mh:P.h;return P.h}O.hide().appendTo(a.show()).css({width:Ae(),overflow:P.scrolling?"auto":"hidden"}).css({height:Ah()}).prependTo(w);a.hide();F("#"+G+"Photo").css({cssFloat:"none",marginLeft:"auto",marginRight:"auto"});if(x){F("select").not(Aa.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({"visibility":"hidden"}).one(X,function(){this.style.visibility="inherit"})}function Ag(Aj){var Ai,Ao,An,Al,Ak=z.length,Am=P.loop;W.position(Aj,function(){function Ap(){if(T){Aa[0].style.filter=false}}if(!E){return}if(T){if(Ac){O.fadeIn(100)}}O.show();U(o);h.show().html(P.title);if(Ak>1){v.html(P.current.replace(/\{current\}/,b+1).replace(/\{total\}/,Ak)).show();S[(Am||b<Ak-1)?"show":"hide"]().html(P.next);l[(Am||b)?"show":"hide"]().html(P.previous);Ai=b?z[b-1]:z[Ak-1];An=b<Ak-1?z[b+1]:z[0];if(P.slideshow){f.show();if(b===Ak-1&&!Am&&Aa.is("."+G+"Slideshow_on")){f.click()}}if(P.preloading){Al=F.data(An,R).href||An.href;Ao=F.data(Ai,R).href||Ai.href;if(t(Al,An)){F("<img/>")[0].src=Al}if(t(Ao,Ai)){F("<img/>")[0].src=Ao}}}Y.hide();if(P.transition==="fade"){Aa.fadeTo(Ad,1,function(){Ap()})}else{Ap()}g.bind("resize."+G,function(){W.position(0)});U(A,P.onComplete)})}if(P.transition==="fade"){Aa.fadeTo(Ad,0,function(){Ag(0)})}else{Ag(Ad)}};W.load=function(Af){var Ag,Ae,Ad,Ac=W.prep;J=true;C=z[b];if(!Af){P=q(F.extend({},F.data(C,R)))}U(k);U(I,P.onLoad);P.h=P.height?y(P.height,"y")-c-H:P.innerHeight&&y(P.innerHeight,"y");P.w=P.width?y(P.width,"x")-N-s:P.innerWidth&&y(P.innerWidth,"x");P.mw=P.w;P.mh=P.h;if(P.maxWidth){P.mw=y(P.maxWidth,"x")-N-s;P.mw=P.w&&P.w<P.mw?P.w:P.mw}if(P.maxHeight){P.mh=y(P.maxHeight,"y")-c-H;P.mh=P.h&&P.h<P.mh?P.h:P.mh}Ag=P.href;Y.show();if(P.inline){K().hide().insertBefore(F(Ag)[0]).one(k,function(){F(this).replaceWith(O.children())});Ac(F(Ag))}else{if(P.iframe){Aa.one(o,function(){var Ah=F("<iframe name='"+new Date().getTime()+"' frameborder=0"+(P.scrolling?"":" scrolling='no'")+(T?" allowtransparency='true'":"")+" style='width:100%; height:100%; border:0; display:block;'/>");Ah[0].src=P.href;Ah.appendTo(O).one(k,function(){Ah[0].src="about:blank"})});Ac(" ")}else{if(P.html){Ac(P.html)}else{if(t(Ag,C)){Ae=new Image();Ae.onload=function(){var Ah;Ae.onload=null;Ae.id=G+"Photo";F(Ae).css({border:"none",display:"block",cssFloat:"left"});if(P.scalePhotos){Ad=function(){Ae.height-=Ae.height*Ah;Ae.width-=Ae.width*Ah};if(P.mw&&Ae.width>P.mw){Ah=(Ae.width-P.mw)/Ae.width;Ad()}if(P.mh&&Ae.height>P.mh){Ah=(Ae.height-P.mh)/Ae.height;Ad()}}if(P.h){Ae.style.marginTop=Math.max(P.h-Ae.height,0)/2+"px"}if(z[1]&&(b<z.length-1||P.loop)){F(Ae).css({cursor:"pointer"}).click(W.next)}if(T){Ae.style.msInterpolationMode="bicubic"}setTimeout(function(){Ac(Ae)},1)};setTimeout(function(){Ae.src=Ag},1)}else{K().appendTo(a).load(Ag,function(Aj,Ah,Ai){Ac(Ah==="error"?"Request unsuccessful: "+Ai.statusText:this)})}}}}};W.next=function(){if(!J){b=b<z.length-1?b+1:0;W.load()}};W.prev=function(){if(!J){b=b?b-1:z.length-1;W.load()}};W.close=function(){if(E&&!L){L=true;E=false;U(X,P.onCleanup);g.unbind("."+G+" ."+r);i.fadeTo("fast",0);Aa.stop().fadeTo("fast",0,function(){U(k);O.remove();Aa.add(i).css({"opacity":1,cursor:"auto"}).hide();try{M.focus()}catch(Ac){}setTimeout(function(){L=false;U(Q,P.onClosed)},1)})}};W.element=function(){return F(C)};W.settings=Z;F(W.init)}(jQuery,this));(function(A){jQuery.fn.pngFix=function(B){B=jQuery.extend({blankgif:"img/blank.gif"},B);var C=(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 5.5")!=-1);var D=(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 6.0")!=-1);if(jQuery.browser.msie&&(C||D)){jQuery(this).find("img[src$=-32.png]").each(function(){jQuery(this).attr("width",jQuery(this).width());jQuery(this).attr("height",jQuery(this).height());var K="";var F="";var G=(jQuery(this).attr("id"))?'id="'+jQuery(this).attr("id")+'" ':"";var H=(jQuery(this).attr("class"))?'class="'+jQuery(this).attr("class")+'" ':"";var M=(jQuery(this).attr("title"))?'title="'+jQuery(this).attr("title")+'" ':"";var E=(jQuery(this).attr("alt"))?'alt="'+jQuery(this).attr("alt")+'" ':"";var J=(jQuery(this).attr("align"))?"float:"+jQuery(this).attr("align")+";":"";var L=(jQuery(this).parent().attr("href"))?"cursor:hand;":"";if(this.style.border){K+="border:"+this.style.border+";";this.style.border=""}if(this.style.padding){K+="padding:"+this.style.padding+";";this.style.padding=""}if(this.style.margin){K+="margin:"+this.style.margin+";";this.style.margin=""}var I=(this.style.cssText);F+="<span "+G+H+M+E;F+='style="position:relative;white-space:pre-line;display:inline-block;background:transparent;'+J+L;F+="width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+"px;";F+="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+jQuery(this).attr("src")+"', sizingMethod='crop');";F+=I+'"></span>';if(K!=""){F='<span style="position:relative;display:inline-block;'+K+L+"width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+'px;">'+F+"</span>"}jQuery(this).hide();jQuery(this).after(F)});jQuery(this).find("*").each(function(){var F=jQuery(this).css("background-image");if(F.indexOf("-32.png")!=-1){var E=F.split('url("')[1].split('")')[0];jQuery(this).css("background-image","none");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+E+"',sizingMethod='crop')"}});jQuery(this).find("input[src$=-32.png]").each(function(){var E=jQuery(this).attr("src");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+E+"', sizingMethod='crop');";jQuery(this).attr("src",B.blankgif)})}return jQuery}})(jQuery);(function(C){function D(J,I,H){var K=this,G=J.add(this),L=J.find(H.tabs),E=I.jquery?I:J.children(I),F;L.length||(L=J.children());E.length||(E=J.parent().find(I));E.length||(E=C(I));C.extend(this,{click:function(O,P){var N=L.eq(O);if(typeof O=="string"&&O.replace("#","")){N=L.filter("[href*="+O.replace("#","")+"]");O=Math.max(L.index(N),0)}if(H.rotate){var M=L.length-1;if(O<0){return K.click(M,P)}if(O>M){return K.click(0,P)}}if(!N.length){if(F>=0){return K}O=H.initialIndex;N=L.eq(O)}if(O===F){return K}P=P||C.Event();P.type="onBeforeClick";G.trigger(P,[O]);if(!P.isDefaultPrevented()){B[H.effect].call(K,O,function(){P.type="onClick";G.trigger(P,[O])});F=O;L.removeClass(H.current);N.addClass(H.current);return K}},getConf:function(){return H},getTabs:function(){return L},getPanes:function(){return E},getCurrentPane:function(){return E.eq(F)},getCurrentTab:function(){return L.eq(F)},getIndex:function(){return F},next:function(){return K.click(F+1)},prev:function(){return K.click(F-1)},destroy:function(){L.unbind(H.event).removeClass(H.current);E.find("a[href^=#]").unbind("click.T");return K}});C.each("onBeforeClick,onClick".split(","),function(M,N){C.isFunction(H[N])&&C(K).bind(N,H[N]);K[N]=function(O){O&&C(K).bind(N,O);return K}});if(H.history&&C.fn.history){C.tools.history.init(L);H.event="history"}L.each(function(M){C(this).bind(H.event,function(N){K.click(M,N);return N.preventDefault()})});E.find("a[href^=#]").bind("click.T",function(M){K.click(C(this).attr("href"),M)});if(location.hash&&H.tabs=="a"&&J.find("[href="+location.hash+"]").length){K.click(location.hash)}else{if(H.initialIndex===0||H.initialIndex>0){K.click(H.initialIndex)}}}C.tools=C.tools||{version:"1.2.5"};C.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:false,history:false},addEffect:function(F,E){B[F]=E}};var B={"default":function(F,E){this.getPanes().hide().eq(F).show();E.call()},fade:function(G,F){var E=this.getConf(),H=E.fadeOutSpeed,I=this.getPanes();H?I.fadeOut(H):I.hide();I.eq(G).fadeIn(E.fadeInSpeed,F)},slide:function(F,E){this.getPanes().slideUp(200);this.getPanes().eq(F).slideDown(400,E)},ajax:function(F,E){this.getPanes().eq(0).load(this.getTabs().eq(F).attr("href"),E)}},A;C.tools.tabs.addEffect("horizontal",function(F,E){A||(A=this.getPanes().eq(0).width());this.getCurrentPane().animate({width:0},function(){C(this).hide()});this.getPanes().eq(F).animate({width:A},function(){C(this).show();E.call()})});C.fn.tabs=function(G,F){var E=this.data("tabs");if(E){E.destroy();this.removeData("tabs")}if(C.isFunction(F)){F={onBeforeClick:F}}F=C.extend({},C.tools.tabs.conf,F);this.each(function(){E=new D(C(this),G,F);C(this).data("tabs",E)});return F.api?E:this}})(jQuery);(function(B){function C(M,J){function H(P){var O=B(P);return O.length<2?O:M.parent().find(P)}var K=this,D=M.add(this),L=M.data("tabs"),N,E=true,I=H(J.next).click(function(){L.next()}),F=H(J.prev).click(function(){L.prev()});B.extend(K,{getTabs:function(){return L},getConf:function(){return J},play:function(){if(N){return K}var O=B.Event("onBeforePlay");D.trigger(O);if(O.isDefaultPrevented()){return K}N=setInterval(L.next,J.interval);E=false;D.trigger("onPlay");return K},pause:function(){if(!N){return K}var O=B.Event("onBeforePause");D.trigger(O);if(O.isDefaultPrevented()){return K}N=clearInterval(N);D.trigger("onPause");return K},stop:function(){K.pause();E=true}});B.each("onBeforePlay,onPlay,onBeforePause,onPause".split(","),function(P,O){B.isFunction(J[O])&&B(K).bind(O,J[O]);K[O]=function(Q){return B(K).bind(O,Q)}});J.autopause&&L.getTabs().add(I).add(F).add(L.getPanes()).hover(K.pause,function(){E||K.play()});J.autoplay&&K.play();J.clickable&&L.getPanes().click(function(){L.next()});if(!L.getConf().rotate){var G=J.disabledClass;L.getIndex()||F.addClass(G);L.onBeforeClick(function(P,O){F.toggleClass(G,!O);I.toggleClass(G,O==L.getTabs().length-1)})}}var A;A=B.tools.tabs.slideshow={conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:false,autopause:true,interval:3000,clickable:true,api:false}};B.fn.slideshow=function(E){var D=this.data("slideshow");if(D){return D}E=B.extend({},A.conf,E);this.each(function(){D=new C(B(this),E);B(this).data("slideshow",D)});return E.api?D:this}})(jQuery);(function(D){function C(G,H,I){var E=I.relative?G.position().top:G.offset().top,J=I.relative?G.position().left:G.offset().left,F=I.position[0];E-=H.outerHeight()-I.offset[0];J+=G.outerWidth()+I.offset[1];if(/iPad/i.test(navigator.userAgent)){E-=D(window).scrollTop()}var K=H.outerHeight()+G.outerHeight();if(F=="center"){E+=K/2}if(F=="bottom"){E+=K}F=I.position[1];G=H.outerWidth()+G.outerWidth();if(F=="center"){J-=G/2}if(F=="left"){J-=G}return{top:E,left:J}}function B(J,K){var L=this,S=J.add(L),M,E=0,F=0,I=J.attr("title"),N=J.attr("data-tooltip"),O=A[K.effect],H,P=J.is(":input"),R=P&&J.is(":checkbox, :radio, select, :button, :submit"),Q=J.attr("type"),G=K.events[Q]||K.events[P?R?"widget":"input":"def"];if(!O){throw'Nonexistent effect "'+K.effect+'"'}G=G.split(/,\s*/);if(G.length!=2){throw"Tooltip: bad events configuration for "+Q}J.bind(G[0],function(T){clearTimeout(E);if(K.predelay){F=setTimeout(function(){L.show(T)},K.predelay)}else{L.show(T)}}).bind(G[1],function(T){clearTimeout(F);if(K.delay){E=setTimeout(function(){L.hide(T)},K.delay)}else{L.hide(T)}});if(I&&K.cancelDefault){J.removeAttr("title");J.data("title",I)}D.extend(L,{show:function(T){if(!M){if(N){M=D(N)}else{if(K.tip){M=D(K.tip).eq(0)}else{if(I){M=D(K.layout).addClass(K.tipClass).appendTo(document.body).hide().append(I)}else{M=J.next();M.length||(M=J.parent().next())}}}if(!M.length){throw"Cannot find tooltip for "+J}}if(L.isShown()){return L}M.stop(true,true);var U=C(J,M,K);K.tip&&M.html(J.data("title"));T=T||D.Event();T.type="onBeforeShow";S.trigger(T,[U]);if(T.isDefaultPrevented()){return L}U=C(J,M,K);M.css({position:"absolute",top:U.top,left:U.left});H=true;O[0].call(L,function(){T.type="onShow";H="full";S.trigger(T)});U=K.events.tooltip.split(/,\s*/);if(!M.data("__set")){M.bind(U[0],function(){clearTimeout(E);clearTimeout(F)});U[1]&&!J.is("input:not(:checkbox, :radio), textarea")&&M.bind(U[1],function(V){V.relatedTarget!=J[0]&&J.trigger(G[1].split(" ")[0])});M.data("__set",true)}return L},hide:function(T){if(!M||!L.isShown()){return L}T=T||D.Event();T.type="onBeforeHide";S.trigger(T);if(!T.isDefaultPrevented()){H=false;A[K.effect][1].call(L,function(){T.type="onHide";S.trigger(T)});return L}},isShown:function(T){return T?H=="full":H},getConf:function(){return K},getTip:function(){return M},getTrigger:function(){return J}});D.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(T,U){D.isFunction(K[U])&&D(L).bind(U,K[U]);L[U]=function(V){V&&D(L).bind(U,V);return L}})}D.tools=D.tools||{version:"1.2.5"};D.tools.tooltip={conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,tip:0,position:["top","center"],offset:[0,0],relative:false,cancelDefault:true,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",tooltip:"mouseenter,mouseleave"},layout:"<div/>",tipClass:"tooltip"},addEffect:function(E,F,G){A[E]=[F,G]}};var A={toggle:[function(E){var F=this.getConf(),G=this.getTip();F=F.opacity;F<1&&G.css({opacity:F});G.show();E.call()},function(E){this.getTip().hide();E.call()}],fade:[function(E){var F=this.getConf();this.getTip().fadeTo(F.fadeInSpeed,F.opacity,E)},function(E){this.getTip().fadeOut(this.getConf().fadeOutSpeed,E)}]};D.fn.tooltip=function(E){var F=this.data("tooltip");if(F){return F}E=D.extend(true,{},D.tools.tooltip.conf,E);if(typeof E.position=="string"){E.position=E.position.split(/,?\s/)}this.each(function(){F=new B(D(this),E);D(this).data("tooltip",F)});return E.api?F:this}})(jQuery);(function(C){function D(G,F){var E=C(F);return E.length<2?E:G.parent().find(F)}function A(L,K){var J=this,H=L.add(J),M=L.children(),F=0,E=K.vertical;B||(B=J);if(M.length>1){M=C(K.items,L)}C.extend(J,{getConf:function(){return K},getIndex:function(){return F},getSize:function(){return J.getItems().size()},getNaviButtons:function(){return I.add(N)},getRoot:function(){return L},getItemWrap:function(){return M},getItems:function(){return M.children(K.item).not("."+K.clonedClass)},move:function(Q,R){return J.seekTo(F+Q,R)},next:function(Q){return J.move(1,Q)},prev:function(Q){return J.move(-1,Q)},begin:function(Q){return J.seekTo(0,Q)},end:function(Q){return J.seekTo(J.getSize()-1,Q)},focus:function(){return B=J},addItem:function(Q){Q=C(Q);if(K.circular){M.children("."+K.clonedClass+":last").before(Q);M.children("."+K.clonedClass+":first").replaceWith(Q.clone().addClass(K.clonedClass))}else{M.append(Q)}H.trigger("onAddItem",[Q]);return J},seekTo:function(S,U,T){S.jquery||(S*=1);if(K.circular&&S===0&&F==-1&&U!==0){return J}if(!K.circular&&S<0||S>J.getSize()||S<-1){return J}var R=S;if(S.jquery){S=J.getItems().index(S)}else{R=J.getItems().eq(S)}var Q=C.Event("onBeforeSeek");if(!T){H.trigger(Q,[S,U]);if(Q.isDefaultPrevented()||!R.length){return J}}R=E?{top:-R.position().top}:{left:-R.position().left};F=S;B=J;if(U===undefined){U=K.speed}M.animate(R,U,K.easing,T||function(){H.trigger("onSeek",[S])});return J}});C.each(["onBeforeSeek","onSeek","onAddItem"],function(Q,R){C.isFunction(K[R])&&C(J).bind(R,K[R]);J[R]=function(S){S&&C(J).bind(R,S);return J}});if(K.circular){var O=J.getItems().slice(-1).clone().prependTo(M),P=J.getItems().eq(1).clone().appendTo(M);O.add(P).addClass(K.clonedClass);J.onBeforeSeek(function(Q,S,R){if(!Q.isDefaultPrevented()){if(S==-1){J.seekTo(O,R,function(){J.end(0)});return Q.preventDefault()}else{S==J.getSize()&&J.seekTo(P,R,function(){J.begin(0)})}}});J.seekTo(0,0,function(){})}var I=D(L,K.prev).click(function(){J.prev()}),N=D(L,K.next).click(function(){J.next()});if(!K.circular&&J.getSize()>1){J.onBeforeSeek(function(Q,R){setTimeout(function(){if(!Q.isDefaultPrevented()){I.toggleClass(K.disabledClass,R<=0);N.toggleClass(K.disabledClass,R>=J.getSize()-1)}},1)});K.initialIndex||I.addClass(K.disabledClass)}K.mousewheel&&C.fn.mousewheel&&L.mousewheel(function(Q,R){if(K.mousewheel){J.move(R<0?1:-1,K.wheelSpeed||50);return false}});if(K.touch){var G={};M[0].ontouchstart=function(Q){Q=Q.touches[0];G.x=Q.clientX;G.y=Q.clientY};M[0].ontouchmove=function(Q){if(Q.touches.length==1&&!M.is(":animated")){var S=Q.touches[0],R=G.x-S.clientX;S=G.y-S.clientY;J[E&&S>0||!E&&R>0?"next":"prev"]();Q.preventDefault()}}}K.keyboard&&C(document).bind("keydown.scrollable",function(Q){if(!(!K.keyboard||Q.altKey||Q.ctrlKey||C(Q.target).is(":input"))){if(!(K.keyboard!="static"&&B!=J)){var R=Q.keyCode;if(E&&(R==38||R==40)){J.move(R==38?-1:1);return Q.preventDefault()}if(!E&&(R==37||R==39)){J.move(R==37?-1:1);return Q.preventDefault()}}}});K.initialIndex&&J.seekTo(K.initialIndex,0,function(){})}C.tools=C.tools||{version:"1.2.5"};C.tools.scrollable={conf:{activeClass:"active",circular:false,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:null,items:".items",keyboard:true,mousewheel:false,next:".next",prev:".prev",speed:400,vertical:false,touch:true,wheelSpeed:0}};var B;C.fn.scrollable=function(F){var E=this.data("scrollable");if(E){return E}F=C.extend({},C.tools.scrollable.conf,F);this.each(function(){E=new A(C(this),F);C(this).data("scrollable",E)});return F.api?E:this}})(jQuery);(function(A){var B=A.tools.scrollable;B.autoscroll={conf:{autoplay:true,interval:3000,autopause:true}};A.fn.autoscroll=function(C){if(typeof C=="number"){C={interval:C}}var D=A.extend({},B.autoscroll.conf,C),E;this.each(function(){var F=A(this).data("scrollable");if(F){E=F}var H,G=true;F.play=function(){if(!H){G=false;H=setInterval(function(){F.next()},D.interval)}};F.pause=function(){H=clearInterval(H)};F.stop=function(){F.pause();G=true};D.autopause&&F.getRoot().add(F.getNaviButtons()).hover(F.pause,F.play);D.autoplay&&F.play()});return D.api?E:this}})(jQuery);(function(B){function C(D,F){var E=B(F);return E.length<2?E:D.parent().find(F)}var A=B.tools.scrollable;A.navigator={conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,idPrefix:null,history:false}};B.fn.navigator=function(D){if(typeof D=="string"){D={navi:D}}D=B.extend({},A.navigator.conf,D);var E;this.each(function(){function N(O,P,Q){K.seekTo(P);if(F){if(location.hash){location.hash=O.attr("href").replace("#","")}}else{return Q.preventDefault()}}function L(){return G.find(D.naviItem||"> *")}function I(O){var P=B("<"+(D.naviItem||"a")+"/>").click(function(Q){N(B(this),O,Q)}).attr("href","#"+O);O===0&&P.addClass(H);D.indexed&&P.text(O+1);D.idPrefix&&P.attr("id",D.idPrefix+O);return P.appendTo(G)}function J(O,P){O=L().eq(P.replace("#",""));O.length||(O=L().filter("[href="+P+"]"));O.click()}var K=B(this).data("scrollable"),G=D.navi.jquery?D.navi:C(K.getRoot(),D.navi),M=K.getNaviButtons(),H=D.activeClass,F=D.history&&B.fn.history;if(K){E=K}K.getNaviButtons=function(){return M.add(G)};L().length?L().each(function(O){B(this).click(function(P){N(B(this),O,P)})}):B.each(K.getItems(),function(O){I(O)});K.onBeforeSeek(function(O,P){setTimeout(function(){if(!O.isDefaultPrevented()){var Q=L().eq(P);!O.isDefaultPrevented()&&Q.length&&L().removeClass(H).eq(P).addClass(H)}},1)});K.onAddItem(function(O,P){P=I(K.getItems().index(P));F&&P.history(J)});F&&L().history(J)});return D.api?E:this}})(jQuery);(function(C){function B(M,K){var L=this,E=M.add(L),I=C(window),F,N,G,O=C.tools.expose&&(K.mask||K.expose),H=Math.random().toString().slice(10);if(O){if(typeof O=="string"){O={color:O}}O.closeOnClick=O.closeOnEsc=false}var J=K.target||M.attr("rel");N=J?C(J):M;if(!N.length){throw"Could not find Overlay: "+J}M&&M.index(N)==-1&&M.click(function(P){L.load(P);return P.preventDefault()});C.extend(L,{load:function(U){if(L.isOpened()){return L}var S=D[K.effect];if(!S){throw'Overlay: cannot find effect : "'+K.effect+'"'}K.oneInstance&&C.each(A,function(){this.close(U)});U=U||C.Event();U.type="onBeforeLoad";E.trigger(U);if(U.isDefaultPrevented()){return L}G=true;O&&C(N).expose(O);var T=K.top,P=K.left,Q=N.outerWidth({margin:true}),R=N.outerHeight({margin:true});if(typeof T=="string"){T=T=="center"?Math.max((I.height()-R)/2,0):parseInt(T,10)/100*I.height()}if(P=="center"){P=Math.max((I.width()-Q)/2,0)}S[0].call(L,{top:T,left:P},function(){if(G){U.type="onLoad";E.trigger(U)}});O&&K.closeOnClick&&C.mask.getMask().one("click",L.close);K.closeOnClick&&C(document).bind("click."+H,function(V){C(V.target).parents(N).length||L.close(V)});K.closeOnEsc&&C(document).bind("keydown."+H,function(V){V.keyCode==27&&L.close(V)});return L},close:function(P){if(!L.isOpened()){return L}P=P||C.Event();P.type="onBeforeClose";E.trigger(P);if(!P.isDefaultPrevented()){G=false;D[K.effect][1].call(L,function(){P.type="onClose";E.trigger(P)});C(document).unbind("click."+H).unbind("keydown."+H);O&&C.mask.close();return L}},getOverlay:function(){return N},getTrigger:function(){return M},getClosers:function(){return F},isOpened:function(){return G},getConf:function(){return K}});C.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(Q,P){C.isFunction(K[P])&&C(L).bind(P,K[P]);L[P]=function(R){R&&C(L).bind(P,R);return L}});F=N.find(K.close||".close");if(!F.length&&!K.close){F=C('<a class="close"></a>');N.prepend(F)}F.click(function(P){L.close(P)});K.load&&L.load()}C.tools=C.tools||{version:"1.2.5"};C.tools.overlay={addEffect:function(G,E,F){D[G]=[E,F]},conf:{close:null,closeOnClick:true,closeOnEsc:true,closeSpeed:"fast",effect:"default",fixed:!C.browser.msie||C.browser.version>6,left:"center",load:false,mask:null,oneInstance:true,speed:"normal",target:null,top:"10%"}};var A=[],D={};C.tools.overlay.addEffect("default",function(G,E){var F=this.getConf(),H=C(window);if(!F.fixed){G.top+=H.scrollTop();G.left+=H.scrollLeft()}G.position=F.fixed?"fixed":"absolute";this.getOverlay().css(G).fadeIn(F.speed,E)},function(E){this.getOverlay().fadeOut(this.getConf().closeSpeed,E)});C.fn.overlay=function(F){var E=this.data("overlay");if(E){return E}if(C.isFunction(F)){F={onBeforeLoad:F}}F=C.extend(true,{},C.tools.overlay.conf,F);this.each(function(){E=new B(C(this),F);A.push(E);C(this).data("overlay",E)});return F.api?E:this}})(jQuery);(function(D){function E(G){var H=G.offset();return{top:H.top+G.height()/2,left:H.left+G.width()/2}}var F=D.tools.overlay,B=D(window);D.extend(F.conf,{start:{top:null,left:null},fadeInSpeed:"fast",zIndex:9999});function A(O,P){var I=this.getOverlay(),N=this.getConf(),Q=this.getTrigger(),L=this,J=I.outerWidth({margin:true}),M=I.data("img"),K=N.fixed?"fixed":"absolute";if(!M){M=I.css("backgroundImage");if(!M){throw"background-image CSS property not set for overlay"}M=M.slice(M.indexOf("(")+1,M.indexOf(")")).replace(/\"/g,"");I.css("backgroundImage","none");M=D('<img src="'+M+'"/>');M.css({border:0,display:"none"}).width(J);D("body").append(M);I.data("img",M)}var G=N.start.top||Math.round(B.height()/2),H=N.start.left||Math.round(B.width()/2);if(Q){Q=E(Q);G=Q.top;H=Q.left}if(N.fixed){G-=B.scrollTop();H-=B.scrollLeft()}else{O.top+=B.scrollTop();O.left+=B.scrollLeft()}M.css({position:"absolute",top:G,left:H,width:0,zIndex:N.zIndex}).show();O.position=K;I.css(O);M.animate({top:I.css("top"),left:I.css("left"),width:J},N.speed,function(){I.css("zIndex",N.zIndex+1).fadeIn(N.fadeInSpeed,function(){L.isOpened()&&!D(this).index(I)?P.call():I.hide()})}).css("position",K)}function C(I){var J=this.getOverlay().hide(),G=this.getConf(),H=this.getTrigger();J=J.data("img");var K={top:G.start.top,left:G.start.left,width:0};H&&D.extend(K,E(H));G.fixed&&J.css({position:"absolute"}).animate({top:"+="+B.scrollTop(),left:"+="+B.scrollLeft()},0);J.animate(K,G.closeSpeed,I)}F.addEffect("apple",A,C)})(jQuery);(function(A){A.fn.autoResize=function(C){var B=A.extend({onResize:function(){},animate:true,animateDuration:150,animateCallback:function(){},extraSpace:20,limit:1000},C);this.filter("textarea").each(function(){var E=A(this).css({resize:"none","overflow-y":"hidden"}),G=E.height(),D=(function(){var J=["height","width","lineHeight","textDecoration","letterSpacing"],I={};A.each(J,function(K,L){I[L]=E.css(L)});return E.clone().removeAttr("id").removeAttr("name").css({position:"absolute",top:0,left:-9999}).css(I).attr("tabIndex","-1").insertBefore(E)})(),F=null,H=function(){D.height(0).val(A(this).val()).scrollTop(10000);var I=Math.max(D.scrollTop(),G)+B.extraSpace,J=A(this).add(D);if(F===I){return}F=I;if(I>=B.limit){A(this).css("overflow-y","");return}B.onResize.call(this);B.animate&&E.css("display")==="block"?J.stop().animate({height:I},B.animateDuration,B.animateCallback):J.height(I)};E.unbind(".dynSiz").bind("keyup.dynSiz",H).bind("keydown.dynSiz",H).bind("change.dynSiz",H)});return this}})(jQuery);(function(P){var K="function",I="password",R="maxLength",T="type",Q=true,O="",S=false,E="watermark",F,L=E,H="watermarkClass",B="watermarkFocus",J="watermarkSubmit",N="watermarkMaxLength",G="watermarkPassword",U="watermarkText",D=":data("+L+")",M=":text,:password,:search,textarea",A=["Page_ClientValidate"],C=S;P.extend(P.expr[":"],{search:function(V){return"search"===(V.type||O)},data:function(Z,X,W){var Y,V=/^((?:[^=!^$*]|[!^$*](?!=))+)(?:([!^$*]?=)(.*))?$/.exec(W[3]);if(V){Y=P(Z).data(V[1]);if(Y!==F){if(V[2]){Y=O+Y;switch(V[2]){case"=":return Y==V[3];case"!=":return Y!=V[3];case"^=":return Y.slice(0,V[3].length)==V[3];case"$=":return Y.slice(-V[3].length)==V[3];case"*=":return Y.indexOf(V[3])!==-1}}return Q}}return S}});P.watermark={version:"3.0.6",options:{className:E,useNative:Q},hide:function(V){P(V).filter(D).each(function(){P.watermark._hide(P(this))})},_hide:function(a,Z){var Y=a.val()||O,W=a.data(U)||O,X=a.data(N)||0,V=a.data(H);if(W.length&&Y==W){a.val(O);if(a.data(G)){if((a.attr(T)||O)==="text"){var f=a.data(G)||[],d=a.parent()||[];if(f.length&&d.length){d[0].removeChild(a[0]);d[0].appendChild(f[0]);a=f}}}if(X){a.attr(R,X);a.removeData(N)}if(Z){a.attr("autocomplete","off");window.setTimeout(function(){a.select()},1)}}V&&a.removeClass(V)},show:function(V){P(V).filter(D).each(function(){P.watermark._show(P(this))})},_show:function(Z){var c=Z.val()||O,V=Z.data(U)||O,a=Z.attr(T)||O,b=Z.data(H);if((c.length==0||c==V)&&!Z.data(B)){C=Q;if(Z.data(G)){if(a===I){var Y=Z.data(G)||[],X=Z.parent()||[];if(Y.length&&X.length){X[0].removeChild(Z[0]);X[0].appendChild(Y[0]);Z=Y;Z.attr(R,V.length)}}}if(a==="text"||a==="search"){var W=Z.attr(R)||0;if(W>0&&V.length>W){Z.data(N,W);Z.attr(R,V.length)}}b&&Z.addClass(b);Z.val(V)}else{P.watermark._hide(Z)}},hideAll:function(){if(C){P.watermark.hide(M);C=S}},showAll:function(){P.watermark.show(M)}};P.fn.watermark=function(V,X){var Z="string";if(!this.length){return this}var W=S,Y=typeof V===Z;if(typeof X==="object"){W=typeof X.className===Z;X=P.extend({},P.watermark.options,X)}else{if(typeof X===Z){W=Q;X=P.extend({},P.watermark.options,{className:X})}else{X=P.watermark.options}}if(typeof X.useNative!==K){X.useNative=X.useNative?function(){return Q}:function(){return S}}return this.each(function(){var h="dragleave",g="dragenter",b=this,d=P(b);if(!d.is(M)){return}if(d.data(L)){if(Y||W){P.watermark._hide(d);Y&&d.data(U,V);W&&d.data(H,X.className)}}else{if(X.useNative.call(b,d)){if((O+d.css("-webkit-appearance")).replace("undefined",O)!==O&&(d.attr("tagName")||O)!=="TEXTAREA"){Y&&d.attr("placeholder",V);return}}d.data(U,Y?V:O);d.data(H,X.className);d.data(L,1);if((d.attr(T)||O)===I){var c=d.wrap("<span>").parent(),a=P(c.html().replace(/type=["']?password["']?/i,'type="text"'));a.data(U,d.data(U));a.data(H,d.data(H));a.data(L,1);a.attr(R,V.length);a.focus(function(){P.watermark._hide(a,Q)}).bind(g,function(){P.watermark._hide(a)}).bind("dragend",function(){window.setTimeout(function(){a.blur()},1)});d.blur(function(){P.watermark._show(d)}).bind(h,function(){P.watermark._show(d)});a.data(G,d);d.data(G,a)}else{d.focus(function(){d.data(B,1);P.watermark._hide(d,Q)}).blur(function(){d.data(B,0);P.watermark._show(d)}).bind(g,function(){P.watermark._hide(d)}).bind(h,function(){P.watermark._show(d)}).bind("dragend",function(){window.setTimeout(function(){P.watermark._show(d)},1)}).bind("drop",function(j){var e=j.originalEvent.dataTransfer.getData("Text");d.val().replace(e,O)===d.data(U)&&d.val(e);d.focus()})}if(b.form){var f=b.form,i=P(f);if(!i.data(J)){i.submit(P.watermark.hideAll);if(f.submit){i.data(J,f.submit);f.submit=function(j,e){return function(){var k=e.data(J);P.watermark.hideAll();if(k.apply){k.apply(j,Array.prototype.slice.call(arguments))}else{k()}}}(f,i)}else{i.data(J,1);f.submit=function(e){return function(){P.watermark.hideAll();delete e.submit;e.submit()}}(f)}}}}P.watermark._show(d)})};A.length&&P(function(){for(var V,W,X=A.length-1;X>=0;X--){V=A[X];W=window[V];if(typeof W===K){window[V]=function(Y){return function(){P.watermark.hideAll();return Y.apply(null,Array.prototype.slice.call(arguments))}}(W)}}})})(jQuery);var CUFON_SELECTORS="h1,h2,h3,h4, dl.ListVacancies dt strong";Cufon.replace(CUFON_SELECTORS);Cufon.replace("ul#menuitems li#navItem63 ul.submenu0 > li",{hover:true,hoverables:{li:true,a:true},ignore:{ul:true,span:true}});var BROWSER_CAN_FADE_TRANSPARENT_IMAGES=!$.browser.msie;$(function(){initNav();initNewsBar();initFormInput();initResizeTextArea();$(".nieuwsbriefBox").css("bottom","-460px");$("#nieuwsbriefBoxMask").hide();$("#chained").scrollable({circular:true,mousewheel:true}).navigator().autoscroll({interval:3000});$("#scrollablePortfolio").scrollable();$("#products").tabs("div.description",{event:"mouseover",effect:"fade"});$("#scrollableCases").scrollable({circular:true,mousewheel:true}).autoscroll({interval:3000});$("#container a.zoom").colorbox({initialWidth:10,initialHeight:10,opacity:0.7,scrolling:false});$("#navItem140").after('<div id="bottomShadow"></div>');$("#SubLevel63").append('<span id="ShowAllCasesLink"><a href="/Werk-in-uitvoering">Toon alle cases</a></span>')});$(window).load(function(){initLogo();initQuickMenu();initCaseImages()});function initFormInput(){$("#commentBoxContent .commentBox").watermark("Type uw naam, contactgegevens en bericht hier.","watermark2");$("#d2-submit").click(function(){this.form.submit()});$("#uploadBoxContent .uploadBox").watermark("Upload je bijlage(s) hier.","watermark2");$("#d2-submit").click(function(){this.form.submit()})}function initResizeTextArea(){$("#commentBoxContent textarea").autoResize({onResize:function(){$(this).css({opacity:0.8})},animateCallback:function(){$(this).css({opacity:1})},animateDuration:100,extraSpace:10})}function initCaseImages(){$("#dnn_ContentPane a.whatWeDoImage").click(function(A){A.preventDefault()})}function initLogo(){if(BROWSER_CAN_FADE_TRANSPARENT_IMAGES){$("#logo a").hover(function(){$(this).fadeTo(200,0.85)},function(){$(this).fadeTo(100,1)});$("div.Colls a").hover(function(){$(this).fadeTo(200,0.75)},function(){$(this).fadeTo(100,1)})}}var newsBarTimeoutID;var setNewsbarVisible=false;function initNewsBar(){var B=$("#topBarWrapper");var A=$("#newsBar");B.hover(function(){setNewsbarVisible=true;clearTimeout(newsBarTimeoutID);newsBarTimeoutID=setTimeout(showNewsBar,100)},function(){setNewsbarVisible=false;clearTimeout(newsBarTimeoutID);newsBarTimeoutID=setTimeout(showNewsBar,100)});addLastestNewsText()}function showNewsBar(){clearTimeout(newsBarTimeoutID);var B=$("#newsBar");var A=$("#latestNews");if(setNewsbarVisible){B.stop(true,true).slideDown(300,"easeOutQuad");A.css("visibility","hidden")}else{B.stop(true,true).slideUp(150,"easeInQuad");A.css("visibility","visible")}}function addLastestNewsText(){var J=$("#latestNews");if(J.length>0){var E=70;var F=$("#newsItems li:first");var G=F.text();var I="...";J.addClass(F.attr("class"));if(G.length>=E){var D="";var H=G.substr(0,E);var A=G.substr(E,G.length);var B=A.indexOf(",");var C=A.indexOf(" ");D=H;if(C!=-1){D=H+A.split(" ")[0]+I}if(B!=-1){D=H+A.split(",")[0]+I}if(B!=-1&&C!=-1){D=H+A.split((B<C)?",":" ")[0]+I}J.text(D)}else{J.text(G)}}}function initNav(){var A="<span> - </span>";$("#menuitems li.menuitem a").not("#menuitems li.menuitem li a").each(function(D){var C=$(this).html();$(this).html(A+C+A)});$("#menuitems ul.submenu0").stop(true,true).slideUp(0).parent().hover(function(){$("ul.submenu0",this).stop(true,true).slideDown(200,"easeOutQuad")},function(){$("ul.submenu0",this).stop(true,true).slideUp(200,"easeInQuad")});$("#menuitems").css("display","block");var B=$("li#navItem63 ul#SubLevel63").height();$("li#navItem63 ul#SubLevel63 li.menuitem1").css("height",B)}var quickmenuTimeoutID;var setQuickmenuVisible;function initQuickMenu(){$("#quickMenu").slideUp(0);$("#quickMenu").prepend("<div id='quickMenuTop'></div>");$("#quickMenuOpener,#quickMenu").hover(function(){setQuickmenuVisible=true;clearTimeout(quickmenuTimeoutID);quickmenuTimeoutID=setTimeout(showMenu,100)},function(){setQuickmenuVisible=false;clearTimeout(quickmenuTimeoutID);quickmenuTimeoutID=setTimeout(showMenu,100)});$("#quickMenuOpener").click(function(){return false})}function showMenu(){clearTimeout(quickmenuTimeoutID);if(setQuickmenuVisible){$("#quickMenu").stop(true,true).slideDown(250,"easeOutQuad")}else{$("#quickMenu").stop(true,true).slideUp(200,"easeInQuad")}}jQuery(function(){var A=jQuery;B();function B(){var C=A(window).height();var D=A(document).height();if(D<=C){A("#container").css("min-height","660px");A("#content").css("margin-bottom","80px");A("#footerWrapper").css({"position":"fixed","bottom":"0","left":"0","width":"100%"})}else{}}jQuery(window).resize(B)});var toggleNieuws=true;$("span#volgOnsNieuwsbrief").live("click",function(){if(toggleNieuws==true){$("#nieuwsbriefBoxMask").show();$(".nieuwsbriefBox").animate({"bottom":"-66px"});toggleNieuws=false}else{$(".nieuwsbriefBox").animate({"bottom":"-460px"},function(){$("#nieuwsbriefBoxMask").hide()});toggleNieuws=true}return false});$("div#nieuwsbrief_close").live("click",function(){$(".nieuwsbriefBox").animate({"bottom":"-460px"},function(){$("#nieuwsbriefBoxMask").hide()});toggleNieuws=true;return false});
