$(document).ready(function() {
						   
	Cufon.replace('.cufon, h1');		   
	Cufon.replace('.cufon_menu', {
		hover: true
	});
	
		
	var options2 = {
		caption:    false,
		navigation: 'permanent',
		direction:  'left'
	}
    $('#ppy2').popeye(options2);
	
	$(".project_filter .list .choosed").bind("click", function () { $(".project_filter .list ul").slideToggle(500); } );
	
	$("#yellow_box").vAlign();
});

(function ($) {
	$.fn.vAlign = function(container) {
		return this.each(function(i){
			if(container == null) {
				container = 'div';
			}
			$(this).html("<" + container + ">" + $(this).html() + "</" + container + ">");
			var el = $(this).children(container + ":first");
			var elh = $(el).height(); //new element height
			var ph = $(this).height(); //parent height
			var nh = (ph - elh) / 2; //new height to apply
			$(el).css('margin-top', nh);
		});
	};
})(jQuery);

function Focus(control) {
  control.focus();
  control.select();
}

function IsEmailCorrect(email) {
  return email.match(/^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+\.)+([a-zA-Z]{2,4})$/)!=null;
}

function IsEmpty(pole) {
  if (pole=='') 
	return true
	else
	return false
}

function checkForm() {
	var status = true;

	if (!IsEmailCorrect($('#email').val()) && status) {
    	alert('Graag een geldig e-mailadres invullen');
    	Focus($('#email'));
    	status = false;
	}
	if ( status ) {
		document.forms['contact_form'].submit();
	}
	
}

var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return!!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());


Cufon.registerFont({"w":200,"face":{"font-family":"TheSans 5","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 5 0 0 0 0 0 0 0","ascent":"288","descent":"-72","x-height":"3","bbox":"-21 -278.104 330 93","underline-thickness":"3.51562","underline-position":"-24.6094","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":78,"k":{"t":-4,"Y":9,"W":15,"V":10,"T":14}},"!":{"d":"73,-255r-5,195r-27,0r-6,-195r38,0xm32,-18v0,-11,10,-21,22,-21v12,0,22,10,22,21v0,11,-10,21,-22,21v-12,0,-22,-10,-22,-21","w":108},"\"":{"d":"53,-266r-6,83r-23,0r-5,-83r34,0xm113,-266r-5,83r-24,0r-5,-83r34,0","w":131},"#":{"d":"225,-69r-54,0r-8,69r-27,0r7,-69r-53,0r-7,69r-28,0r8,-69r-53,0r0,-23r55,0r7,-67r-51,0r0,-23r54,0r6,-61r28,0r-7,61r53,0r6,-61r28,0r-7,61r52,0r0,23r-54,0r-7,67r52,0r0,23xm145,-92r8,-67r-53,0r-7,67r52,0","w":245},"$":{"d":"139,-192v-31,-10,-88,-11,-85,25v5,53,103,34,103,103v0,37,-27,60,-61,66r0,47r-24,0r0,-46v-17,0,-32,-2,-45,-5r3,-30v34,14,97,14,93,-28v-5,-54,-102,-34,-102,-103v0,-33,26,-56,57,-60r0,-38r25,0r0,36v15,0,27,2,38,5","w":175},"%":{"d":"74,-248v36,0,55,19,56,56v1,36,-27,63,-60,63v-35,0,-56,-21,-55,-58v0,-35,25,-61,59,-61xm72,-152v20,0,28,-17,29,-37v0,-23,-8,-36,-29,-36v-18,0,-28,17,-28,36v0,24,10,37,28,37xm238,-235r-171,243r-23,-16r171,-243xm212,-114v35,0,56,19,56,57v0,36,-26,62,-59,62v-35,1,-56,-21,-55,-57v1,-36,23,-62,58,-62xm210,-18v20,0,30,-15,29,-37v0,-22,-7,-36,-28,-36v-18,0,-28,17,-28,36v0,24,9,37,27,37","w":287},"&":{"d":"193,-72v16,-22,27,-54,24,-90r33,0v0,43,-11,79,-33,108r49,36r-21,25v-20,-14,-37,-27,-51,-38v-48,50,-174,52,-174,-36v0,-39,23,-56,50,-79v-18,-24,-33,-34,-33,-65v0,-36,27,-55,64,-55v34,0,57,18,57,49v0,35,-20,50,-45,70v26,27,53,53,80,75xm95,-165v17,-15,29,-25,31,-49v1,-17,-10,-28,-28,-27v-43,4,-29,54,-3,76xm53,-71v0,57,85,58,118,22v-27,-23,-60,-52,-82,-77v-17,16,-36,27,-36,55","w":286},"'":{"d":"53,-266r-6,83r-23,0r-5,-83r34,0","w":71},"(":{"d":"105,-276v-59,88,-67,250,0,345r-30,0v-65,-85,-63,-260,0,-345r30,0","w":109,"k":{"y":-17,"j":-37,"g":-3,"d":4,"a":5,"Y":-1,"W":-1,"V":-4,"T":-4,"Q":6,"O":6,"J":-3,"G":6,"C":6}},")":{"d":"36,-276v64,88,64,260,0,345r-30,0v66,-96,59,-256,0,-345r30,0","w":109},"*":{"d":"119,-193r-12,21r-33,-23r4,40r-24,0r4,-40r-33,23r-11,-21r37,-16r-37,-16r12,-21r32,23r-4,-40r24,0r-4,40r33,-23r12,21r-37,16","w":134},"+":{"d":"193,-79r-77,0r0,79r-30,0r0,-79r-76,0r0,-27r76,0r0,-79r30,0r0,79r77,0r0,27","w":202,"k":{"+":-13}},",":{"d":"40,-41v28,3,26,38,13,60v-7,11,-16,24,-30,36r-14,-12v24,-23,24,-40,12,-64v-1,-10,8,-21,19,-20","w":82,"k":{"7":10,"4":-10,"1":2,"0":8,",":12," ":17}},"-":{"d":"102,-77r-85,0r0,-26r85,0r0,26","w":118,"k":{"z":5,"x":10,"e":-5,"d":-4,"c":-7,"Y":16,"X":8,"W":5,"V":12,"T":18,"S":7,"J":8,"9":-4,"8":-4,"7":16,"6":-6,"5":-4,"3":-4,"1":-4,"0":-8}},".":{"d":"19,-19v0,-12,9,-22,22,-22v12,0,23,9,22,22v-1,13,-9,21,-22,22v-12,0,-22,-9,-22,-22","w":82,"k":{"y":25,"w":18,"v":28,"Y":34,"W":26,"V":32,"U":25,"T":26,"Q":15,"O":15,"J":-6,"G":12,"C":12,"7":3,"4":-14," ":15}},"\/":{"d":"139,-243r-93,243r-32,0r93,-243r32,0","w":150,"k":{"z":11,"x":8,"u":13,"s":17,"r":13,"q":22,"p":13,"o":21,"n":13,"m":13,"j":6,"g":21,"e":18,"d":15,"c":21,"a":17,"Y":-3,"X":-2,"W":-7,"V":-7,"T":-2,"S":1,"Q":8,"O":8,"M":10,"J":12,"G":9,"C":9,"A":19,"9":13,"6":10,"5":12,"4":39,"3":8,"2":8,"1":9,"0":14}},"0":{"d":"113,-188v59,0,89,34,89,93v0,59,-38,99,-95,99v-57,0,-89,-36,-89,-95v0,-58,39,-97,95,-97xm110,-24v37,-1,60,-31,60,-69v0,-39,-19,-68,-59,-68v-38,0,-59,28,-60,67v0,40,19,72,59,70","w":220,"k":{":":-7,"4":1,".":12,"-":-6,",":12}},"1":{"d":"89,0r-34,0r0,-154r-41,17r-5,-28v26,-8,44,-23,80,-20r0,185","w":121,"k":{":":-3,"\/":-1,"-":-4}},"2":{"d":"112,-126v3,-43,-61,-40,-84,-21r-5,-28v55,-32,150,-5,119,68v-14,34,-52,55,-79,79v15,-1,46,-1,93,-1r0,29r-137,0r0,-26r48,-40v25,-23,42,-28,45,-60","w":173,"k":{":":-8,"\/":-2,"-":-4}},"3":{"d":"97,-71v27,6,49,26,49,60v0,65,-64,92,-130,78r4,-29v42,14,91,-1,91,-45v0,-42,-39,-49,-82,-45r0,-26v43,0,76,-9,78,-47v2,-41,-54,-43,-83,-25r-3,-28v49,-21,120,-9,120,47v-1,32,-20,50,-44,60","w":165,"k":{":":-8,"\/":-3,",":-4}},"4":{"d":"191,0r-43,0r0,69r-33,0r0,-69r-104,0r-5,-27r100,-158r42,0r0,156r43,0r0,29xm116,-29r-1,-125r-78,125r79,0","w":195,"k":{":":-14,"7":11,"6":6,"1":1,"\/":-11,".":-12,",":-12}},"5":{"d":"59,-90v52,1,91,24,91,75v0,64,-60,94,-129,84r3,-30v45,10,91,-5,91,-49v0,-44,-39,-55,-87,-52r0,-123r115,0r0,32r-84,0r0,63","w":168,"k":{":":-8,"9":1,"6":1,"0":1,"\/":-5,".":-5,",":-4}},"6":{"d":"58,-130v30,-48,141,-33,134,47v-5,55,-34,87,-87,87v-57,0,-81,-44,-81,-104v0,-96,46,-161,144,-153r0,29v-70,-10,-104,33,-110,94xm109,-24v31,0,48,-21,48,-54v0,-33,-15,-52,-47,-52v-31,0,-49,19,-49,49v0,33,15,57,48,57","w":209,"k":{":":-10,"7":4,"-":-8}},"7":{"d":"155,-158v-31,70,-55,145,-75,227r-36,0r35,-120v12,-37,26,-71,40,-103v-8,1,-44,1,-110,1r0,-32r146,0r0,27","w":165,"k":{":":-7,"4":13,"0":1,".":24,",":24,"%":-5}},"8":{"d":"126,-132v27,17,52,30,52,67v0,46,-36,69,-83,69v-44,0,-75,-21,-75,-63v0,-37,26,-52,50,-68v-24,-16,-46,-30,-46,-64v0,-43,32,-64,77,-64v42,1,72,17,72,58v0,36,-23,48,-47,65xm100,-145v19,-13,38,-21,39,-49v1,-21,-16,-35,-40,-35v-34,0,-54,37,-31,61v7,7,17,15,32,23xm99,-24v38,0,58,-39,33,-65v-8,-8,-20,-16,-36,-25v-19,12,-41,23,-41,52v0,26,18,38,44,38","w":198,"k":{":":-10}},"9":{"d":"103,-188v59,0,82,44,83,105v0,100,-50,163,-153,152r0,-30v71,13,112,-25,116,-92v-35,51,-139,27,-131,-49v5,-53,32,-86,85,-86xm99,-54v28,0,50,-18,50,-47v-1,-33,-16,-59,-49,-59v-30,1,-47,22,-48,53v0,33,16,53,47,53","w":209,"k":{":":-8,"7":1,"-":-6}},":":{"d":"24,-124v0,-13,10,-23,22,-23v14,0,23,9,23,23v-1,13,-10,22,-23,22v-12,0,-22,-10,-22,-22xm24,-19v0,-12,9,-23,22,-22v13,0,23,10,23,22v-1,13,-10,22,-23,22v-12,0,-22,-9,-22,-22","w":92,"k":{"9":-9,"8":-10,"7":-1,"6":-5,"5":-6,"4":-12,"3":-8,"2":-7,"1":-7,"0":-7," ":18}},";":{"d":"46,-147v14,0,23,9,23,23v-1,13,-10,22,-23,22v-12,0,-22,-10,-22,-22v0,-13,10,-23,22,-23xm15,43v24,-23,22,-40,11,-64v0,-10,9,-21,20,-20v47,16,6,82,-17,96","w":92,"k":{" ":16}},"<":{"d":"20,-90r114,-104r21,21r-93,83r93,80r-21,22","w":180},"=":{"d":"185,-109r-160,0r0,-26r160,0r0,26xm185,-47r-160,0r0,-27r160,0r0,27","w":210},">":{"d":"160,-92r-114,104r-21,-21r93,-83r-93,-80r21,-22","w":180},"?":{"d":"30,-256v53,3,100,22,100,70v0,55,-74,63,-52,126r-32,0v-24,-60,40,-79,49,-122v-3,-31,-35,-43,-69,-45xm64,-39v12,0,21,9,21,21v0,12,-9,21,-21,21v-12,0,-22,-9,-22,-21v0,-12,10,-21,22,-21","w":152},"@":{"d":"160,-248v70,0,115,38,115,105v0,50,-23,81,-71,82v-21,0,-34,-13,-34,-34v-6,16,-27,34,-48,34v-24,-1,-32,-16,-32,-42v-1,-62,48,-99,113,-79r-13,77v0,14,6,20,19,20v25,0,37,-19,37,-57v-1,-52,-34,-82,-87,-82v-66,0,-103,45,-106,111v-3,79,73,112,148,87r0,25v-91,26,-180,-16,-177,-110v3,-80,57,-137,136,-137xm174,-163v-37,-10,-57,20,-57,55v0,26,17,28,30,15v14,-15,22,-44,27,-70","w":299},"A":{"d":"218,0r-37,0r-20,-57r-103,0r-21,57r-33,0r88,-243r37,0xm152,-83r-43,-123v-12,46,-29,81,-43,123r86,0","w":221,"k":{"y":8,"x":3,"w":1,"v":7,"u":4,"t":6,"q":2,"o":2,"g":4,"f":5,"Y":27,"W":16,"V":21,"U":11,"T":27,"S":1,"Q":6,"O":6,"M":2,"J":-12,"G":5,"C":5,"A":-4,"\/":-7}},"B":{"d":"137,-129v27,7,51,24,50,56v-2,71,-75,80,-156,73r0,-243v68,-1,150,-11,150,57v0,29,-21,50,-44,57xm64,-138v43,2,82,-4,83,-42v1,-40,-41,-38,-83,-37r0,79xm64,-28v41,6,90,0,88,-44v-2,-41,-45,-42,-88,-41r0,85","w":205,"k":{"j":2,"Z":2,"Y":6,"X":4,"V":5,"T":7,"R":-3,"Q":-2,"P":-3,"O":-2,"N":-3,"L":-3,"K":-3,"J":4,"I":-3,"H":-3,"F":-3,"E":-3,"D":-3,"B":-3,"A":5,".":11,",":8}},"C":{"d":"53,-121v0,87,70,111,136,82r4,30v-87,34,-176,-4,-176,-106v0,-100,72,-150,173,-123r-3,30v-74,-25,-134,7,-134,87","w":209,"k":{"z":4,"y":15,"x":9,"w":20,"v":21,"t":9,"s":1,"o":7,"e":6,"a":4,"Z":4,"Y":6,"X":5,"W":7,"V":6,"T":1,"R":-4,"Q":9,"P":-4,"O":9,"N":-4,"L":-4,"K":-4,"I":-4,"H":-4,"G":10,"F":-4,"E":-4,"D":-4,"C":10,"B":-4,"A":4}},"D":{"d":"31,-243v114,-9,196,9,196,119v0,105,-83,136,-196,124r0,-243xm64,-29v74,10,129,-19,129,-93v0,-76,-47,-103,-129,-94r0,187","w":244,"k":{"j":2,"Z":9,"Y":14,"X":15,"W":5,"V":9,"T":16,"M":4,"J":12,"A":12,".":20,",":19,")":5}},"E":{"d":"156,0r-125,0r0,-243r125,0r0,27r-92,0r0,77r87,0r0,27r-87,0r0,84r92,0r0,28","w":180,"k":{"z":5,"y":9,"x":8,"v":5,"t":4,"s":4,"g":4,"f":5,"e":4,"d":4,"c":4,"a":4,"Z":2,"Y":5,"X":4,"W":4,"V":5,"J":2,"A":4}},"F":{"d":"155,-216r-91,0r0,79r86,0r0,27r-86,0r0,110r-33,0r0,-243r124,0r0,27","w":168,"k":{"y":8,"w":6,"u":5,"r":5,"p":5,"o":9,"n":5,"m":5,"j":7,"i":6,"g":12,"e":9,"d":9,"c":11,"a":14,"Z":12,"Y":3,"X":5,"W":4,"V":2,"U":2,"S":4,"M":4,"J":19,"G":1,"C":1,"A":21,"\/":22,".":31,",":33}},"G":{"d":"15,-117v-3,-104,97,-152,198,-119r-5,31v-74,-32,-157,-3,-157,84v0,76,61,111,133,89r0,-92r32,0r0,113v-22,8,-52,14,-80,14v-76,0,-119,-44,-121,-120","w":245,"k":{"Z":2,"Y":9,"X":5,"W":7,"V":8,"T":7,"A":5}},"H":{"d":"221,0r-33,0r0,-112r-124,0r0,112r-33,0r0,-243r33,0r0,103r124,0r0,-103r33,0r0,243","w":251,"k":{"Y":4,"U":-6,"T":1,"R":-7,"P":-7,"N":-7,"L":-7,"K":-7,"I":-7,"H":-7,"F":-7,"E":-7,"D":-7,"B":-7}},"I":{"d":"64,0r-33,0r0,-243r33,0r0,243","w":94,"k":{"Y":4,"U":-6,"T":1,"R":-7,"P":-7,"N":-7,"L":-7,"K":-7,"I":-7,"H":-7,"F":-7,"E":-7,"D":-7,"B":-7}},"J":{"d":"0,-29v31,10,55,2,55,-37r0,-177r33,0r0,180v4,53,-36,72,-88,63r0,-29","w":118,"k":{"Z":5,"Y":5,"X":4,"W":2,"V":2,"U":-7,"T":4,"S":2,"R":-6,"P":-6,"N":-6,"M":5,"L":-6,"K":-6,"J":9,"I":-6,"H":-6,"F":-6,"E":-6,"D":-6,"B":-6,"A":9,"\/":2,".":8,",":7}},"K":{"d":"205,0r-45,0r-96,-120r0,120r-33,0r0,-243r33,0r0,115r96,-115r41,0r-103,117","w":210,"k":{"z":2,"y":19,"w":19,"v":23,"u":16,"o":14,"g":9,"e":14,"d":9,"c":9,"a":7,"Z":4,"Y":4,"W":7,"V":5,"U":3,"T":1,"S":6,"Q":13,"O":13,"J":-3,"G":12,"C":12,"A":3,"-":20}},"L":{"d":"151,0r-120,0r0,-243r33,0r0,215r87,0r0,28","w":153,"k":{"y":21,"w":17,"v":21,"t":5,"o":4,"e":4,"Z":1,"Y":31,"W":20,"V":24,"U":5,"T":31,"S":5,"Q":9,"O":9,"J":-8,"G":8,"C":8,"A":-2,"\/":-4,".":-2,"-":6}},"M":{"d":"303,0r-35,0r-29,-200v-17,67,-43,135,-64,200r-35,0r-50,-146v-8,-25,-13,-42,-15,-54r-24,200r-34,0r36,-243r41,0r51,153v7,18,8,36,14,48v17,-69,45,-135,66,-201r41,0","w":320,"k":{"y":4,"Z":4,"Y":15,"X":1,"W":5,"V":10,"U":2,"T":16,"S":1,"Q":2,"O":2,"J":-2,"A":2,"\/":-1}},"N":{"d":"224,0r-43,0r-121,-201v3,46,3,139,3,201r-32,0r0,-243r43,0r91,146v10,16,19,34,29,53r-2,-199r32,0r0,243","w":254,"k":{"Y":4,"U":-6,"T":1,"R":-7,"P":-7,"N":-7,"L":-7,"K":-7,"I":-7,"H":-7,"F":-7,"E":-7,"D":-7,"B":-7}},"O":{"d":"130,-247v73,0,109,49,109,123v0,77,-42,128,-116,128v-75,0,-108,-49,-108,-123v0,-76,41,-128,115,-128xm126,-26v49,-2,78,-39,77,-94v-1,-56,-21,-97,-76,-97v-46,0,-78,43,-77,94v1,54,23,99,76,97","w":253,"k":{"x":5,"f":-2,"Z":9,"Y":11,"X":10,"W":6,"V":11,"T":15,"Q":-2,"O":-2,"M":4,"J":7,"G":-1,"C":-1,"A":8,"\/":2,".":15,",":16,")":4}},"P":{"d":"31,-243v82,-6,146,-2,146,70v0,58,-49,87,-113,80r0,93r-33,0r0,-243xm64,-121v41,6,79,-11,79,-49v0,-39,-34,-50,-79,-47r0,96","w":188,"k":{"u":9,"t":-2,"s":4,"o":8,"j":7,"i":4,"g":10,"f":-4,"e":7,"d":5,"c":5,"a":10,"Z":9,"Y":3,"X":9,"W":1,"V":2,"T":5,"S":4,"Q":2,"O":2,"M":10,"J":19,"G":1,"C":1,"A":25,":":12,"\/":25,".":45,"-":11,",":41}},"Q":{"d":"130,-247v73,0,109,49,109,123v0,77,-42,128,-116,128v-75,0,-108,-49,-108,-123v0,-76,41,-128,115,-128xm115,26v52,-7,86,18,138,11r0,30v-52,7,-87,-17,-138,-12r0,-29xm126,-26v49,-2,78,-39,77,-94v-1,-56,-21,-97,-76,-97v-46,0,-78,43,-77,94v1,54,23,99,76,97","w":253,"k":{"}":-19,"]":-15,"Z":6,"Y":10,"X":9,"W":2,"V":9,"T":8,"Q":-2,"O":-2,"A":4,";":-15,"\/":1,".":9,",":-15,")":-20}},"R":{"d":"174,-181v-3,43,-32,65,-74,68r90,113r-42,0r-84,-109r0,109r-33,0r0,-243v59,-5,148,-7,143,62xm64,-134v37,4,75,-5,75,-43v0,-39,-34,-41,-75,-40r0,83","w":199,"k":{"y":7,"u":9,"o":10,"g":5,"e":8,"d":5,"c":5,"a":4,"Z":5,"Y":10,"X":2,"W":7,"V":9,"T":11,"S":1,"R":-4,"Q":4,"P":-4,"O":4,"N":-4,"L":-4,"K":-4,"J":-1,"I":-4,"H":-4,"G":2,"F":-4,"E":-4,"D":-4,"C":2,"B":-4,"A":2,"\/":-3,"-":15}},"S":{"d":"53,-181v4,59,109,36,109,109v0,69,-74,85,-139,70r1,-32v40,15,104,15,104,-33v0,-61,-114,-36,-110,-111v3,-60,68,-77,131,-64r-2,30v-38,-13,-97,-11,-94,31","w":181,"k":{"y":8,"w":5,"v":8,"Z":6,"Y":10,"X":4,"W":8,"V":12,"T":12,"M":1,"J":5,"A":4,"\/":1,".":7,",":7}},"T":{"d":"180,-215r-70,0r0,215r-34,0r0,-215r-69,0r0,-28r173,0r0,28","w":185,"k":{"z":31,"y":30,"x":32,"w":25,"v":25,"u":26,"s":32,"r":27,"q":33,"p":27,"o":33,"n":27,"m":27,"j":9,"i":7,"g":32,"e":33,"d":31,"c":34,"a":30,"Z":5,"U":5,"S":8,"R":4,"Q":15,"P":4,"O":15,"N":4,"M":16,"L":4,"K":4,"J":19,"I":4,"H":4,"G":18,"F":4,"E":4,"D":4,"C":18,"B":4,"A":28,";":20,":":20,"\/":31,".":23,"-":21,",":29,")":-6}},"U":{"d":"124,-24v45,0,62,-22,62,-66r0,-153r32,0r0,150v0,64,-32,97,-96,97v-58,0,-91,-26,-91,-86r0,-161r33,0r0,159v1,40,17,60,60,60","w":249,"k":{"l":-2,"k":-2,"h":-2,"b":-2,"Z":3,"Y":6,"X":5,"W":2,"V":4,"T":6,"R":-6,"P":-6,"N":-6,"M":3,"L":-6,"K":-6,"J":5,"I":-6,"H":-6,"F":-6,"E":-6,"D":-6,"B":-6,"A":15,"\/":9,".":7,",":5}},"V":{"d":"218,-243r-90,243r-37,0r-87,-243r37,0r70,207v21,-71,49,-139,73,-207r34,0","w":222,"k":{"z":19,"y":12,"x":10,"w":7,"u":18,"s":21,"r":18,"q":23,"p":18,"o":23,"n":18,"m":18,"i":7,"g":23,"e":22,"d":21,"c":19,"a":24,"Z":4,"X":1,"U":2,"S":7,"Q":12,"O":12,"M":10,"J":20,"G":12,"C":12,"A":21,";":18,":":14,"\/":19,".":31,"-":14,",":33,")":-4}},"W":{"d":"330,-243r-64,243r-40,0r-47,-163v-4,-12,-7,-26,-9,-42v-14,71,-37,137,-54,205r-40,0r-64,-243r35,0r42,158v5,14,5,33,10,47v13,-73,37,-137,54,-205r38,0r56,205r51,-205r32,0","w":342,"k":{"z":15,"y":7,"x":15,"u":12,"s":15,"r":12,"q":10,"p":12,"o":15,"n":12,"m":12,"i":5,"g":17,"e":14,"d":16,"c":17,"a":19,"Z":7,"Y":1,"X":1,"U":2,"S":5,"Q":7,"O":7,"M":5,"J":14,"G":8,"C":8,"A":17,";":12,":":10,"\/":16,".":28,"-":12,",":24,")":-1}},"X":{"d":"210,0r-42,0r-62,-100r-61,100r-39,0r80,-125r-75,-118r38,0r58,93r56,-93r38,0r-74,117","w":215,"k":{"y":9,"u":9,"o":8,"e":7,"c":1,"a":4,"Z":2,"Y":4,"X":-2,"W":3,"V":2,"U":6,"T":5,"S":4,"Q":12,"O":12,"M":1,"J":-9,"G":15,"C":15,";":-2,"\/":-2,".":-2,"-":3}},"Y":{"d":"190,-243r-78,155r0,88r-33,0r0,-88r-76,-155r37,0r57,124r58,-124r35,0","w":193,"k":{"z":25,"x":18,"w":11,"v":16,"u":23,"t":7,"s":26,"r":23,"q":28,"p":23,"o":29,"n":23,"m":23,"i":7,"g":26,"e":29,"d":28,"c":30,"a":27,"Z":7,"X":4,"V":-2,"U":6,"S":7,"R":4,"Q":14,"P":4,"O":14,"N":4,"M":15,"L":4,"K":4,"J":22,"I":4,"H":4,"G":15,"F":4,"E":4,"D":4,"C":15,"B":4,"A":27,";":24,":":24,"\/":30,".":33,"-":19,",":27,")":-1}},"Z":{"d":"178,0r-161,0r0,-24r121,-190r-118,1r0,-30r157,0r0,25r-122,188r123,0r0,30","w":194,"k":{"y":10,"x":-1,"w":7,"v":8,"u":7,"t":4,"s":5,"o":8,"j":5,"i":4,"e":8,"c":5,"a":3,"Y":3,"X":1,"W":1,"V":1,"U":2,"T":2,"S":1,"Q":8,"O":8,"M":5,"J":-5,"G":9,"C":9,"A":4,"\/":-1,"-":2}},"[":{"d":"102,72r-71,0r0,-350r71,0r0,25r-41,0r0,299r41,0r0,26","w":115,"k":{"y":-13,"q":4,"o":4,"j":-26,"e":4,"d":4,"c":6,"Q":5,"O":5,"G":6,"C":6}},"\\":{"d":"135,0r-30,0r-93,-243r29,0","w":147},"]":{"d":"85,72r-71,0r0,-26r41,0r0,-299r-41,0r0,-25r71,0r0,350","w":115},"^":{"d":"170,-136r-24,13r-52,-96r-50,96r-22,-12r60,-108r26,0","w":192},"_":{"d":"180,91r-180,0r0,-26r180,0r0,26","w":180},"`":{"d":"102,-225r-13,18r-55,-35r17,-23","w":132},"a":{"d":"124,-105v12,-63,-61,-59,-93,-37r-3,-28v47,-20,129,-21,129,47r0,123r-31,0v-1,-17,3,-31,1,-36v-10,45,-112,58,-110,-5v2,-51,53,-62,107,-64xm76,-22v28,0,49,-30,48,-60v-39,1,-76,4,-76,35v0,14,12,26,28,25","w":187,"k":{"y":5,"w":1,"v":5,"t":4,"\/":-1}},"b":{"d":"120,-182v46,0,65,34,65,84v0,86,-72,117,-154,93r0,-258r32,0v-1,39,3,86,-3,120v9,-22,29,-39,60,-39xm63,-27v52,15,89,-10,89,-68v0,-35,-10,-61,-40,-61v-52,0,-51,70,-49,129","k":{"y":1,"x":4,"v":5,"]":4,".":12,"-":-5,",":5}},"c":{"d":"141,-148v-50,-20,-92,4,-92,60v0,63,51,75,94,53r2,28v-63,23,-130,4,-130,-76v0,-75,57,-115,130,-93","w":156,"k":{"t":-4,"o":5,"f":-3,"c":1,"\/":-11,".":-6,"(":-2}},"d":{"d":"15,-81v-1,-72,45,-108,122,-99r0,-83r33,0r0,263r-31,0v-1,-14,3,-28,2,-37v-9,22,-31,39,-60,40v-47,0,-66,-35,-66,-84xm89,-23v52,0,50,-70,48,-129v-52,-15,-88,10,-88,68v0,40,14,61,40,61","k":{")":-2}},"e":{"d":"48,-91v-9,70,61,79,109,57r3,26v-68,27,-152,6,-145,-81v4,-54,27,-93,80,-93v52,0,76,36,70,91r-117,0xm133,-114v7,-45,-56,-59,-76,-24v-4,7,-6,15,-7,24r83,0","w":182,"k":{"y":4,"x":5,"v":3,"\/":-1,".":-1}},"f":{"d":"39,-179v-6,-66,34,-97,98,-83r-2,27v-40,-14,-71,6,-63,56r49,0r0,25r-49,0r0,154r-33,0r0,-154r-37,0r0,-25r37,0","w":126,"k":{"}":-17,"y":-2,"w":-1,"v":-2,"t":8,"s":6,"q":7,"o":7,"g":4,"f":8,"e":8,"d":8,"c":7,"a":8,"]":-21,"?":-6,";":8,":":7,"\/":10,".":19,"-":14,",":20,")":-20,"'":-13,"!":-5}},"g":{"d":"91,-25v51,0,97,3,94,51v-3,47,-44,67,-95,67v-41,0,-74,-15,-75,-52v-1,-22,15,-40,29,-47v-25,-7,-19,-50,3,-56v-18,-9,-26,-26,-26,-51v0,-54,50,-78,106,-66r61,0r0,26r-30,0v42,47,-13,120,-86,99v-8,3,-11,8,-11,15v1,13,13,14,30,14xm97,-75v27,0,44,-15,44,-41v0,-26,-16,-42,-43,-42v-27,-1,-45,18,-46,42v0,27,18,41,45,41xm47,35v0,48,106,41,106,-5v0,-36,-48,-27,-83,-28v-12,6,-23,17,-23,33","k":{"y":-5,"q":1,"o":1,"j":-5,"g":-2,"e":1,"c":1,"a":1,".":-7,",":-10}},"h":{"d":"123,-182v82,0,47,110,54,182r-33,0r0,-115v0,-24,-6,-42,-30,-41v-63,3,-50,89,-51,156r-32,0r0,-263r32,0v-1,38,3,88,-3,120v12,-23,29,-39,63,-39","w":207,"k":{"y":4,"x":4,"w":2,"v":4,"t":4}},"i":{"d":"25,-230v0,-28,43,-25,43,0v0,12,-10,22,-21,22v-12,0,-21,-11,-22,-22xm63,0r-32,0r0,-179r32,0r0,179","w":93},"j":{"d":"49,-250v12,-1,21,8,21,20v0,12,-10,22,-21,22v-11,0,-21,-10,-21,-22v0,-11,10,-20,21,-20xm-18,60v30,10,51,2,51,-37r0,-202r32,0r0,199v5,58,-32,80,-86,68","w":95,"k":{"j":-3}},"k":{"d":"171,0r-42,0r-66,-92r0,92r-32,0r0,-263r32,0r0,163r63,-79r39,0r-68,82","w":177,"k":{"z":3,"y":3,"v":4,"u":5,"s":5,"q":7,"o":7,"g":5,"e":7,"d":7,"c":7,"a":7,"\/":-4,"-":21}},"l":{"d":"63,0r-32,0r0,-263r32,0r0,263","w":93},"m":{"d":"60,-141v9,-47,108,-60,111,-1v11,-21,30,-40,62,-40v80,0,46,111,53,182r-33,0r0,-115v0,-26,-5,-41,-29,-41v-61,0,-50,89,-50,156r-32,0r0,-115v0,-25,-5,-41,-29,-41v-61,0,-50,90,-50,156r-32,0r0,-179r31,0v1,15,-3,30,-2,38","w":316,"k":{"y":4,"x":4,"w":2,"v":4,"t":4}},"n":{"d":"123,-182v82,-3,47,110,54,182r-33,0r0,-115v0,-24,-6,-42,-30,-41v-63,3,-50,89,-51,156r-32,0r0,-179r31,0v1,17,-3,30,-2,38v10,-24,30,-41,63,-41","w":207,"k":{"y":4,"x":4,"w":2,"v":4,"t":4}},"o":{"d":"101,-182v55,0,81,33,81,90v0,55,-32,95,-88,95v-54,0,-81,-35,-80,-91v1,-54,31,-94,87,-94xm98,-24v35,0,50,-29,50,-67v0,-38,-14,-64,-50,-64v-35,0,-50,28,-50,64v-1,40,15,67,50,67","w":196,"k":{"y":2,"x":7,"v":4,"f":-1,".":9,",":9,")":4}},"p":{"d":"120,-182v46,0,65,34,65,84v0,73,-45,110,-122,98r0,89r-32,0r0,-268r31,0v1,15,-3,29,-2,37v9,-23,30,-40,60,-40xm63,-27v52,15,89,-10,89,-68v0,-35,-10,-61,-40,-61v-52,0,-51,70,-49,129","k":{"x":5,".":5,",":10}},"q":{"d":"15,-81v-2,-86,68,-115,155,-96r0,266r-32,0r2,-125v-9,22,-29,39,-58,39v-48,-1,-67,-33,-67,-84xm89,-23v52,0,51,-70,49,-129v-53,-15,-91,11,-88,68v2,33,8,61,39,61","k":{"j":-7,")":-4}},"r":{"d":"58,-136v11,-24,25,-50,62,-46r-1,32v-67,-13,-55,81,-56,150r-32,0r0,-179r31,0v0,15,-1,29,-4,43","w":127,"k":{"z":1,"y":-2,"w":-4,"v":-4,"t":-6,"q":4,"o":4,"g":4,"f":-7,"e":5,"d":4,"c":4,"a":7,";":4,":":4,".":25,"-":11,",":24}},"s":{"d":"52,-132v4,43,83,23,83,78v0,53,-61,64,-114,54r1,-29v28,10,79,11,79,-21v0,-43,-86,-19,-83,-78v2,-49,56,-60,106,-51r-1,27v-27,-8,-74,-11,-71,20","w":152,"k":{"y":1,"x":8,"w":1,"v":7,",":7,")":6}},"t":{"d":"70,-62v-5,37,19,42,50,34r0,27v-44,11,-82,3,-82,-50r0,-103r-37,0r0,-25r37,0r0,-58r32,-9r0,67r50,0r0,25r-50,0r0,92","w":133,"k":{"v":4,"\/":-9,".":-9,"-":6," ":-5}},"u":{"d":"93,-23v63,-3,50,-89,51,-156r32,0r0,179r-31,0v-1,-14,3,-28,2,-38v-10,25,-31,41,-63,42v-81,1,-46,-111,-53,-183r32,0r0,116v0,24,7,41,30,40","w":207},"v":{"d":"172,-179r-68,179r-34,0r-67,-179r36,0r49,141v14,-51,33,-93,49,-141r35,0","w":174,"k":{"y":-4,"w":-4,"v":-3,"t":-5,"s":5,"q":6,"o":8,"f":-5,"e":6,"d":6,"c":8,"a":9,":":3,"\/":9,".":24,"-":9,",":23}},"w":{"d":"280,-179r-58,179r-37,0r-46,-141v-10,45,-29,97,-42,141r-36,0r-55,-179r35,0r41,142v12,-52,28,-94,43,-142r34,0r45,143r42,-143r34,0","w":285,"k":{"w":-4,"v":-4,"t":-7,"s":5,"o":2,"g":3,"f":-6,"e":2,"d":1,"c":1,"a":6,"\/":8,".":21,"-":6,",":22}},"x":{"d":"179,0r-42,0r-45,-69r-45,69r-39,0r65,-90r-62,-89r39,0r45,67r45,-67r36,0r-62,88","w":186,"k":{"u":1,"s":2,"q":5,"o":5,"g":2,"f":-3,"e":5,"d":5,"c":5,"a":2,"\/":-9,".":-6,"-":11}},"y":{"d":"170,-179r-90,231v-13,30,-40,45,-85,37r3,-29v48,17,61,-24,73,-60r-68,-179r37,0r48,137r47,-137r35,0","w":172,"k":{"y":-2,"v":-2,"t":-7,"s":1,"q":7,"o":6,"g":4,"f":-7,"e":6,"d":5,"c":6,"a":8,";":5,":":7,".":30,"-":4,",":25}},"z":{"d":"143,0r-126,0r0,-23r86,-128r-84,1r0,-29r122,0r0,23r-85,127r87,-1r0,30","w":160,"k":{"o":4,"e":4,"d":4,"c":5,"a":4,"\/":-2,"-":5}},"{":{"d":"45,-114v72,13,-7,164,66,160r0,26v-71,6,-63,-67,-62,-134v0,-27,-12,-38,-39,-39r0,-26v46,4,39,-39,39,-81v0,-45,17,-72,62,-70r0,25v-67,-5,0,133,-66,139","w":122,"k":{"J":-9}},"|":{"d":"63,90r-26,0r0,-360r26,0r0,360","w":100,"k":{"|":26}},"}":{"d":"76,-208v1,40,-7,85,38,81r0,26v-51,-3,-38,57,-38,102v0,47,-15,73,-62,71r0,-26v72,2,-7,-147,66,-160v-36,-2,-34,-52,-34,-95v0,-28,-4,-44,-32,-44r0,-25v45,-2,62,25,62,70","w":121},"~":{"d":"66,-124v44,1,75,46,114,6r10,23v-11,12,-28,22,-49,22v-44,-1,-76,-45,-113,-7r-10,-24v15,-13,31,-20,48,-20","w":208},"\u00a0":{"w":78,"k":{"t":-4,"Y":9,"W":15,"V":10,"T":14}}}});


(function($){$.fn.popeye=function(options){var opts=$.extend({},$.fn.popeye.defaults,options);function debug(text,type){if(window.console&&window.console.log&&opts.debug){if(type=='info'&&window.console.info){window.console.info(text)}else if(type=='warn'&&window.console.warn){window.console.warn(text)}else{window.console.log(text)}}}return this.each(function(){$(this).addClass('ppy-active');var $self=$(this),img=$self.find('.ppy-imglist > li > a > img'),a=$self.find('.ppy-imglist > li > a'),tot=img.length,singleImageMode=(tot==1)?true:false,enlarged=false,cur=0,eclass='ppy-expanded',lclass='ppy-loading',sclass='ppy-single-image',ppyPlaceholder=$('<div class="ppy-placeholder"></div>'),ppyStageWrap=$('<div class="ppy-stagewrap"></div>'),ppyCaptionWrap=$('<div class="ppy-captionwrap"></div>'),ppyOuter=$self.find('.ppy-outer'),ppyStage=$self.find('.ppy-stage'),ppyNav=$self.find('.ppy-nav'),ppyPrev=$self.find('.ppy-prev'),ppyNext=$self.find('.ppy-next'),ppySwitchEnlarge=$self.find('.ppy-switch-enlarge'),ppySwitchCompact=$self.find('.ppy-switch-compact').addClass('ppy-hidden'),ppyCaption=$self.find('.ppy-caption'),ppyText=$self.find('.ppy-text'),ppyCounter=$self.find('.ppy-counter'),ppyCurrent=$self.find('.ppy-current'),ppyTotal=$self.find('.ppy-total'),cssSelf={position:'absolute',width:'auto',height:'auto',margin:0,top:0,left:(opts.direction=='right')?0:'auto',right:(opts.direction=='left')?0:'auto'},cssStage={height:ppyStage.height(),width:ppyStage.width()},cssCaption={height:ppyCaption.height()},cssPlaceholder={height:(opts.caption=='hover'||false)?ppyOuter.outerHeight():$self.outerHeight(),width:(opts.caption=='hover'||false)?ppyOuter.outerWidth():$self.outerWidth(),float:$self.css('float'),marginTop:$self.css('margin-top'),marginRight:$self.css('margin-right'),marginBottom:$self.css('margin-bottom'),marginLeft:$self.css('margin-left')};var cap=[];for(var i=0;i<img.length;i++){var extcap=$self.find('.ppy-imglist li').eq(i).find('.ppy-extcaption');cap[i]=extcap.length>0?extcap.html():img[i].alt}if(!ppyStage.length||!ppyNav.length||!ppyOuter.length){debug('$.fn.popeye: Incorrect HTML structure','warn')}else if(tot===0){debug('$.fn.popeye: No images found','warn')}else{singleImageMode?debug('$.fn.popeye -> SingleImageMode started'):debug('$.fn.popeye -> '+tot+' thumbnails found.');init()}function showThumb(i,transition){transition=transition||false;i=i||cur;var cssStageImage={backgroundImage:'url('+img[i].src+')'};var cssTemp={height:'+=0'};if(enlarged){hideCaption();ppyStage.fadeTo((opts.duration/2),0).animate(cssStage,{queue:false,duration:opts.duration,easing:opts.easing,complete:function(){enlarged=false;debug('$.fn.showThumb: Entering COMPACT MODE','info');$self.removeClass(eclass);$self.css('z-index','');ppySwitchEnlarge.removeClass('ppy-hidden');ppySwitchCompact.addClass('ppy-hidden');showThumb();$(this).fadeTo((opts.duration/2),1)}})}else{if(transition){ppyStageWrap.addClass(lclass);ppyStage.fadeTo((opts.duration/2),0);var thumbPreloader=new Image();thumbPreloader.onload=function(){debug('$.fn.popeye.showThumb: Thumbnail '+i+' loaded','info');ppyStageWrap.removeClass(lclass);ppyStage.animate(cssTemp,1,'linear',function(){ppyStage.css(cssStageImage);$(this).fadeTo((opts.duration/2),1);if(opts.caption=='hover'){showCaption(cap[i])}else if(opts.caption=='permanent'){updateCaption(cap[i])}updateCounter()});thumbPreloader.onload=function(){}};thumbPreloader.src=img[i].src}else{ppyStage.css(cssStageImage);updateCounter();showCaption(cap[i],true)}var preloader=new Image();preloader.onload=function(){debug('$.fn.popeye.showThumb: Image '+i+' loaded','info');preloader.onload=function(){}};preloader.src=a[i].href}}function showImage(i){i=i||cur;ppyStageWrap.addClass(lclass);ppyStage.fadeTo((opts.duration/2),0);var allPpy=$('.'+eclass);allPpy.css('z-index',opts.zindex-1);$self.css('z-index',opts.zindex);var preloader=new Image();preloader.onload=function(){ppyStageWrap.removeClass(lclass);var cssStageTo={width:preloader.width,height:preloader.height};var cssStageIm={backgroundImage:'url('+a[i].href+')',backgroundPosition:'left top'};hideCaption();ppyStage.animate(cssStageTo,{queue:false,duration:opts.duration,easing:opts.easing,complete:function(){if(opts.navigation=='hover'){showNav()}enlarged=true;debug('$.fn.popeye.showImage: Entering ENLARGED MODE','info');$self.addClass(eclass);ppySwitchCompact.removeClass('ppy-hidden');ppySwitchEnlarge.addClass('ppy-hidden');updateCounter();$(this).css(cssStageIm).fadeTo((opts.duration/2),1);showCaption(cap[i]);preloadNeighbours()}})};preloader.src=a[i].href}function updateCounter(i){i=i||cur;ppyTotal.text(tot);ppyCurrent.text(i+1);debug('$.fn.popeye.updateCounter: Displaying image '+(i+1)+' of '+tot)}function preloadNeighbours(i){i=i||cur;var preloaderNext=new Image();var preloaderPrev=new Image();var neighbour=i;if(neighbour<(tot-1)){neighbour++}else{neighbour=0}preloaderNext.src=a[i].href[neighbour];neighbour=i;if(neighbour<=0){neighbour=tot-1}else{neighbour--}preloaderPrev.src=a[i].href[neighbour]}function showNav(){ppyNav.stop().fadeTo(150,opts.opacity)}function hideNav(){ppyNav.stop().fadeTo(150,0)}function updateCaption(caption){if(opts.caption){ppyText.html(caption)}}function showCaption(caption,force){if(caption&&opts.caption){updateCaption(caption);debug('$.fn.popeye.showCaption -> ppyCaptionWrap.outerHeight(true): '+ppyCaptionWrap.outerHeight(true));var cssTempCaption={visibility:'visible'};ppyCaption.css(cssTempCaption);if(opts.caption==='permanent'&&!enlarged){ppyCaption.css(cssCaption)}else{ppyCaption.animate({'height':ppyCaptionWrap.outerHeight(true)},{queue:false,duration:90,easing:opts.easing})}}else if(!caption&&!force){hideCaption()}}function hideCaption(){var cssTempCaption={visibility:'hidden',overflow:'hidden'};ppyCaption.animate({'height':'0px'},{queue:false,duration:90,easing:opts.easing,complete:function(){ppyCaption.css(cssTempCaption)}})}function previous(){if(cur<=0){cur=tot-1}else{cur--}if(enlarged){showImage(cur)}else{showThumb(cur,true)}return cur}function next(){if(cur<(tot-1)){cur++}else{cur=0}if(enlarged){showImage(cur)}else{showThumb(cur,true)}return cur}function init(){ppyPlaceholder.css(cssPlaceholder);$self.css(cssSelf);$self.wrap(ppyPlaceholder);ppyStageWrap=ppyStage.wrap(ppyStageWrap).parent();ppyCaptionWrap=ppyCaption.wrapInner(ppyCaptionWrap).children().eq(0);showThumb();if(opts.navigation=='hover'){hideNav();$self.hover(function(){showNav()},function(){hideNav()});ppyNav.hover(function(){showNav()},function(){hideNav()})}if(!singleImageMode){ppyPrev.click(previous);ppyNext.click(next)}else{$self.addClass(sclass);ppyPrev.remove();ppyNext.remove();ppyCounter.remove()}if(opts.caption=='hover'){hideCaption();$self.hover(function(){showCaption(cap[cur])},function(){hideCaption(true)})}ppySwitchEnlarge.click(function(){showImage();return false});ppySwitchCompact.click(function(){showThumb(cur);return false})}})};$.fn.popeye.defaults={navigation:'hover',caption:'hover',zindex:10000,direction:'right',duration:240,opacity:0.8,easing:'swing',debug:false}})(jQuery);jQuery('head').append('<style type="text/css"> .ppy-imglist { position: absolute; top: -1000em; left: -1000em; } </style>');
