;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);


var htmlTag = document.getElementsByTagName('html');
htmlTag[0].className = "jsOn";
var mx = 0;
var my = 0;
$(document).ready(function(){
	rotator.setup();
	nav.setup();
	content.setup();
	gal.setup();
});
$(document).mousemove(function(e){
	mx = e.pageX;
	my = e.pageY;
});

gal = {
	setup : function(){
		$('#nav-gallery').click(gal.open);
		$('.gal-show')
			.click(gal.showThis)
			.mouseover(gal.startPreload)
			.mouseout(gal.cancelPreload);
		$('#gal-thumbs').css('width', ($('.gal-thumb').length * 60) + 'px');
		if(location.href.indexOf('#gallery') > -1){
			var data = location.href.split('#');
			var bits = data[1].split('-');
			gal.show(bits[1]);
		}
		$(document).keypress(gal.keys);
	},
	open : function(){
		var scr = util.windowDimensions();
		$('#overlay').show();
		$('#gallery').css('left', scr[0]/2 - $('#gallery').width()/2 + 'px');
		$('#gallery').show();
		gal.isOpen = true;
		return false;
	},
	close : function(){
		$('#overlay').hide();
		$('#gallery').hide();
		gal.isOpen = false;
		return false;
	},
	showThis : function(){
		gal.show(util.idData($(this).attr('id')));
	},
	show : function(i){
		$('#gal-img_main').attr('src', '/portraits/'+i+'_big.jpg');
		if(!gal.isOpen){
			gal.open();
		}
		return false;
	},
	keys : function(e){
		if (e.keyCode == 27 && gal.isOpen) {
			gal.close();
		}
	},
	startPreload : function(){
		var id = util.idData($(this).attr('id'));
		$('#gal-preload').attr('src', '/portraits/'+id+'_big.jpg');
	},
	cancelPreload : function(){
		if(gal.preloadTimeout){
			cancelTimeout(gal.preloadTimeout);
		}
	},
	isOpen : false,
	preloadTimeout : false
}

nav = {
	setup : function(){
		$('#nav-aboutAnne').click(nav.basicGoTo);
		$('#nav-procedure').click(nav.basicGoTo);
		$('#nav-fees').click(nav.basicGoTo);
		$('#nav-contact').click(nav.basicGoTo);
	},
	basicGoTo : function(){
		var id = $(this).attr('id').split('-');
		id = id[1];
		content.show(id);
		$.scrollTo($('#start-'+id), {axis:'y', duration: 500});
		if($('#start-' + id).length > 0){
			return false;
		}		
		else{
			return true;
		}
	}
}

content = {
	setup : function(){
		var lastX = 0;
		$('#wideImageShell').mousemove(function(e){
			var x = e.pageX - $('#wideImageShell').offset().left;
			$('#peasantsFull').css('left', '-'+Math.floor(x/1.85)+'px');			
		});
		$('#show-aboutAnne').click(function(){return content.show('aboutAnne')});
		$('#show-procedure').click(function(){return content.show('procedure')});
		for(i in content.labeledInputs){
			util.labeledInput($('#'+i), content.labeledInputs[i]);
		}
	},
	show : function(id){
		content.heights[id] = $('#'+id).height();
		$('#'+id).animate({
			height:'100%'
		}, 1500);
		$('#show-'+id)
			.text('Show Less')
			.unbind('click')
			.click(function(){return content.hide(id)});
		return false;
	}, 
	hide : function(id){
		$('#'+id).animate({
			height: content.heights[id] + 'px'
		}, 500);
		$('#show-'+id)
			.text('Show More')
			.unbind('click')
			.click(function(){return content.show(id)});
		return false;
		
	},
	heights : [], 
	labeledInputs : { 'contact-name' : 'Name', 'contact-email' : 'Email Address', 'contact-msg' : 'Message' }
}

rotator = {
	setup : function(){
		var count = 0;
		var shellHeight =  $('#rotatorShell').height();
		$('.rotatorButton', '#rotatorButtons').click(rotator.clickTo);
		$('div', '#rotatorContent').each(function(){
			var cElm = $('#rotatorContent-'+count);
			var id = $(this).attr('id').split('-');
			rotator.portraits.push(id[1]);
			cElm.load(function(){
				$(this).css('top',	(((shellHeight/2) - ($(this).height()/2)) - 18) + 'px');
			})
			count++;
		})
		setTimeout(rotator.next, rotator.wait);
	},
	goTo : function(num){
		$('#rotatorButton-'+rotator.on).attr('class', 'rotatorButton rotatorButtonOff');
		$('#rotatorContent-'+rotator.on).fadeOut();
		$('#rotatorContent-'+num).fadeIn();
		$('#rotatorButton-'+num).attr('class', 'rotatorButton rotatorButtonOn');
		$('#rotatorTitle').text($('#title-'+num).text());
		rotator.on = num;
	},
	next : function(){
		var goToNum = (rotator.on + 1 > (rotator.portraits.length-1)) ? 0 : rotator.on + 1;
		rotator.goTo(goToNum);
		rotator.nextTimout = setTimeout(rotator.next, rotator.wait);
	},
	clickTo : function(){
		var goToNum = $(this).attr('id').split('-');
		if (goToNum != rotator.on){			
			rotator.goTo(goToNum[1]);
			clearTimeout(rotator.nextTimout);
		}
	},
	on : 0,
	portraits : [],
	wait : 5000
}


/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09
 */
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}})());

/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Copyright (c) 1995 Adobe Systems Incorporated.  All Rights Reserved.Optima is a
 * trademark of Linotype-Hell AG and/or its subsidiaries.
 */
Cufon.registerFont({"w":180,"face":{"font-family":"Optima LT Medium","font-weight":700,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 4 0 0 0 0 0 0 0","ascent":"288","descent":"-72","x-height":"5","bbox":"-16 -273 359 99.1084","underline-thickness":"18","underline-position":"-27","unicode-range":"U+0020-U+2122"},"glyphs":{" ":{"w":90,"k":{"\u201c":14,"\u2018":14,"Y":5,"V":5,"T":4}},"!":{"d":"111,-221v-1,19,-27,157,-24,141r-16,0r-24,-141v0,-17,14,-30,32,-30v18,0,33,11,32,30xm111,-29v1,18,-14,32,-32,32v-18,0,-33,-14,-32,-32v0,-18,15,-32,32,-32v17,0,32,14,32,32","w":159},"\"":{"d":"64,-135r-19,0r-13,-121r45,0xm135,-135r-20,0r-13,-121r46,0"},"#":{"d":"148,-148r-9,49r34,0r-5,31r-35,0r-12,68r-35,0r13,-68r-39,0r-12,68r-34,0r12,-68r-34,0r6,-31r34,0r9,-49r-34,0r5,-31r34,0r13,-66r34,0r-12,66r38,0r13,-66r34,0r-13,66r35,0r-6,31r-34,0xm66,-99r39,0r9,-49r-39,0"},"$":{"d":"170,-77v0,46,-31,72,-72,79v0,11,1,24,3,39v-8,-1,-15,-2,-23,0v1,-17,2,-29,2,-37v-29,0,-54,-6,-74,-17v5,-18,7,-34,7,-49r9,0v5,24,27,42,58,41v1,-27,1,-51,1,-72v-45,-21,-70,-28,-72,-79v-2,-43,28,-70,71,-74v0,-6,-1,-13,-2,-24v12,1,9,2,23,0v-2,12,-3,19,-3,23v18,0,40,5,65,17v-6,11,-10,25,-12,41v-17,-1,-10,-22,-26,-27v-8,-5,-17,-8,-27,-9v0,11,-1,34,-2,70v31,9,74,34,74,78xm82,-161v0,-13,0,-33,-1,-62v-34,10,-33,50,1,62xm96,-86v0,0,1,0,2,62v31,-13,30,-50,-2,-62"},"%":{"d":"13,-192v-1,-36,28,-63,63,-63v34,1,62,25,62,61v0,37,-27,64,-63,64v-37,0,-61,-26,-62,-62xm75,-143v17,0,25,-17,25,-53v0,-31,-7,-46,-23,-46v-17,0,-26,17,-26,53v0,31,8,46,24,46xm182,-57v0,-36,28,-64,63,-64v34,0,61,25,61,61v0,37,-27,65,-62,64v-37,0,-62,-24,-62,-61xm243,-8v17,0,26,-18,26,-54v0,-31,-8,-46,-24,-46v-17,0,-25,18,-25,54v0,31,7,46,23,46xm84,11r130,-273v5,2,14,1,20,0r-131,273v-9,-1,-11,-2,-19,0","w":320},"&":{"d":"120,-248v33,0,57,15,57,46v0,21,-16,40,-46,58r58,67v16,-22,28,-46,35,-71v13,4,13,21,24,26v-15,26,-29,45,-45,60v16,21,28,35,51,56r0,6v-22,-3,-47,-2,-69,0v-10,-12,-9,-12,-21,-25v-44,46,-153,41,-153,-34v0,-42,27,-57,64,-74v-45,-46,-22,-115,45,-115xm122,-229v-37,8,-26,39,-2,71v17,-14,26,-29,26,-45v0,-17,-8,-26,-24,-26xm85,-119v-45,27,-18,94,29,92v12,0,23,-4,36,-13v-10,-10,-31,-37,-65,-79","w":259},"'":{"d":"60,-135r-20,0r-13,-121r46,0","w":100},"(":{"d":"96,-257r11,14v-54,59,-56,215,0,280r-12,14v-95,-82,-97,-229,1,-308","w":119,"k":{"J":-11}},")":{"d":"24,51r-11,-14v54,-59,56,-215,0,-280r12,-14v94,82,96,229,-1,308","w":119},"*":{"d":"138,-142v-15,-13,-33,-27,-39,-31v1,14,4,31,8,50v-12,-2,-19,-3,-32,0v3,-16,6,-34,7,-51r-40,33v-4,-12,-9,-21,-16,-28v18,-5,33,-12,47,-19v-8,-4,-24,-10,-48,-18v7,-7,13,-17,16,-28v14,12,21,19,41,31v-2,-16,-5,-32,-9,-50v8,1,25,2,33,0v-4,16,-6,33,-7,50r39,-32v4,12,9,22,16,28v-22,7,-37,14,-47,19v9,4,24,10,47,18v-7,8,-13,17,-16,28"},"+":{"d":"89,0r0,-74r-75,0r0,-39r75,0r0,-74r38,0r0,74r75,0r0,39r-75,0r0,74r-38,0","w":216},",":{"d":"43,-45v10,-24,57,-20,52,9v-6,35,-49,73,-68,102r-10,-3v7,-33,15,-83,26,-108","w":119,"k":{"\u201d":32,"\u2019":32}},"-":{"d":"104,-72r-88,0v3,-12,2,-33,0,-46v37,3,53,2,88,0v-2,22,-3,23,0,46","w":119},".":{"d":"92,-29v0,17,-14,32,-32,32v-18,1,-33,-14,-32,-32v0,-18,15,-32,32,-32v17,0,31,15,32,32","w":119,"k":{"\u201d":32,"\u2019":32}},"\/":{"d":"-16,8r100,-274v10,2,21,1,32,0r-100,274v-8,-2,-23,-3,-32,0","w":100},"0":{"d":"89,5v-62,0,-81,-54,-81,-125v0,-85,27,-128,83,-128v63,1,80,50,81,118v1,76,-21,135,-83,135xm90,-227v-23,0,-23,31,-23,65r0,93v-8,45,27,74,41,32v4,-13,7,-145,2,-170v-2,-13,-9,-20,-20,-20"},"1":{"d":"68,0v7,-63,3,-126,4,-195v-10,5,-25,13,-44,25v-2,-7,-13,-13,-16,-24v28,-8,66,-27,113,-57v2,2,5,4,8,6v-3,31,-6,206,0,245v-23,-3,-46,-2,-65,0"},"2":{"d":"4,-18v57,-57,101,-75,101,-158v0,-33,-10,-49,-29,-49v-20,0,-31,18,-34,55r-5,2v-9,-12,-20,-22,-32,-32v19,-70,169,-61,163,24v-4,62,-65,88,-101,128v46,0,80,-1,103,-3v-3,13,-2,34,0,51v-41,-3,-119,-3,-166,0v2,-6,1,-12,0,-18"},"3":{"d":"170,-72v0,77,-123,101,-169,46v12,-13,21,-26,28,-38r7,2v0,25,13,46,37,46v24,1,35,-24,35,-52v0,-38,-20,-54,-52,-46v1,-8,0,-16,-1,-24v35,5,49,-11,49,-47v0,-28,-10,-43,-30,-43v-18,0,-30,15,-33,46r-6,1v-8,-13,-18,-23,-29,-32v32,-52,155,-47,156,24v1,31,-26,55,-55,58v42,6,63,25,63,59"},"4":{"d":"1,-101r34,-50v23,-35,42,-67,57,-95v20,3,37,2,55,0r-2,143v5,0,15,-1,29,-2v-2,13,-3,34,0,48v-12,-1,-21,-1,-29,-1v0,23,1,42,3,58v-28,-4,-41,-4,-61,0v2,-16,2,-35,2,-58v-27,-2,-55,0,-88,3v2,-17,3,-24,0,-46xm89,-103r0,-92v-20,28,-41,59,-60,92v22,2,41,0,60,0"},"5":{"d":"171,-77v0,80,-101,103,-166,65v8,-16,14,-32,18,-47r10,0v4,30,16,45,38,45v25,0,38,-19,38,-57v0,-57,-40,-66,-69,-36r-14,-9v3,-34,3,-97,0,-124v24,-8,99,4,134,-4v-2,11,-3,39,0,51r-107,-1v-1,12,-3,31,-4,58v47,-32,122,-1,122,59"},"6":{"d":"9,-108v0,-85,47,-146,132,-139v2,8,13,17,6,23v-55,-14,-79,39,-79,89v44,-34,106,-1,106,55v0,48,-34,85,-81,85v-60,0,-84,-50,-84,-113xm114,-74v0,-34,-7,-51,-22,-51v-16,0,-25,18,-25,54v0,37,8,56,23,56v16,0,24,-20,24,-59"},"7":{"d":"188,-235v-40,60,-77,134,-116,235v-14,-3,-36,-2,-49,0r-2,-6r117,-187r-122,3v2,-29,3,-32,0,-56v47,2,88,4,123,4v27,0,45,-10,49,7"},"8":{"d":"89,-248v43,0,77,20,78,59v0,26,-14,43,-43,52v31,10,47,32,47,64v1,47,-36,77,-84,77v-47,0,-82,-28,-82,-75v0,-34,21,-58,49,-65v-78,-25,-38,-112,35,-112xm67,-181v0,25,7,37,22,37v15,0,23,-15,23,-44v0,-26,-7,-39,-22,-39v-15,0,-23,16,-23,46xm88,-18v22,0,23,-28,23,-61v0,-30,-8,-44,-23,-44v-15,0,-22,17,-22,53v0,35,7,52,22,52"},"9":{"d":"172,-135v0,88,-49,157,-140,136v-2,-9,-14,-20,-7,-27v56,28,90,-22,88,-81v-44,35,-105,-1,-105,-59v0,-46,35,-82,81,-81v59,1,83,48,83,112xm90,-228v-19,0,-25,31,-25,57v0,36,8,54,25,54v16,0,24,-19,24,-57v0,-36,-8,-54,-24,-54"},":":{"d":"109,-143v0,18,-14,32,-32,32v-18,0,-32,-14,-32,-32v0,-18,14,-32,32,-32v18,0,32,14,32,32xm109,-29v1,18,-14,32,-32,32v-18,0,-33,-14,-32,-32v0,-18,15,-32,32,-32v17,0,32,14,32,32","w":159},";":{"d":"109,-143v0,18,-14,32,-32,32v-18,0,-32,-14,-32,-32v0,-18,14,-32,32,-32v18,0,32,14,32,32xm54,-46v10,-24,53,-20,53,9v-10,33,-49,73,-68,103r-11,-4","w":159},"<":{"d":"211,5r-206,-80r0,-38r206,-79r0,41r-157,57r157,58r0,41","w":216},"=":{"d":"14,-114r0,-39r188,0r0,39r-188,0xm14,-35r0,-38r188,0r0,38r-188,0","w":216},">":{"d":"5,-192r206,80r0,37r-206,80r0,-41r157,-58r-157,-57r0,-41","w":216},"?":{"d":"85,-106v1,15,23,19,34,7v4,6,-4,11,-5,21v-35,15,-75,-4,-75,-44v0,-40,51,-49,51,-85v0,-30,-48,-29,-58,0v-11,1,-2,-21,-8,-30v41,-29,120,-16,120,39v0,42,-54,58,-59,92xm110,-29v0,17,-14,32,-32,32v-18,1,-33,-14,-32,-32v0,-18,15,-32,32,-32v17,0,31,15,32,32","w":159},"@":{"d":"80,-102v0,-38,36,-85,75,-83v17,0,28,6,33,19r4,-15r29,0v-18,60,-26,93,-26,100v0,9,4,14,14,14v30,0,49,-45,49,-79v0,-54,-41,-87,-98,-87v-66,0,-117,54,-117,119v0,102,127,133,195,74r10,14v-83,65,-235,32,-235,-88v0,-79,67,-137,147,-137v65,0,115,43,116,104v1,49,-29,96,-72,97v-19,0,-31,-8,-35,-24v-21,40,-89,29,-89,-28xm160,-168v-26,-1,-46,46,-46,75v0,17,7,26,19,26v33,-1,44,-55,44,-84v0,-12,-5,-17,-17,-17","w":288},"A":{"d":"0,0v23,-49,83,-197,102,-253v12,2,24,3,36,0v26,77,59,162,98,253v-16,-3,-60,-2,-72,0v-6,-23,-14,-46,-23,-71r-79,0v-5,15,-13,38,-22,71v-17,-3,-27,-2,-40,0xm132,-98r-29,-79r-31,79v20,2,40,1,60,0","w":240,"k":{"\u201d":16,"\u2019":18,"y":16,"w":13,"v":18,"u":4,"q":4,"e":7,"d":4,"c":7,"Y":32,"W":25,"V":32,"U":18,"T":25,"Q":20,"O":20,"N":4,"G":16,"C":18}},"B":{"d":"22,-250v68,5,173,-17,173,59v0,31,-23,44,-55,58v41,7,62,28,62,62v0,65,-72,69,-143,69v-8,0,-20,1,-36,2v4,-72,5,-184,-1,-250xm85,-143v31,2,49,-14,50,-43v0,-30,-17,-42,-49,-40xm86,-26v51,15,67,-59,38,-85v-7,-7,-21,-9,-39,-9v0,47,1,78,1,94","w":219,"k":{"Y":11,"W":4,"V":13,"T":7,"A":9}},"C":{"d":"19,-124v0,-112,129,-160,228,-112v-4,8,-7,23,-10,42r-8,0v-7,-22,-35,-35,-63,-36v-53,-1,-82,47,-82,105v0,93,92,135,154,75v13,6,-4,25,-4,38v-95,45,-215,-5,-215,-112","w":259,"k":{"Q":14,"O":14,"G":11,"C":13,"A":5}},"D":{"d":"262,-130v0,101,-82,128,-194,128v-16,0,-32,1,-45,2v6,-82,6,-169,0,-250v38,4,78,0,117,0v74,0,122,45,122,120xm197,-130v0,-70,-37,-102,-109,-93r-1,195v74,12,110,-29,110,-102","w":280,"k":{"\u2019":-2,"e":2,"Z":7,"Y":20,"W":11,"V":18,"T":16,"M":9,"A":18,".":16,",":20}},"E":{"d":"19,0v6,-69,7,-175,2,-250v76,3,87,5,147,0v-3,12,-2,25,0,35v-17,-3,-45,-5,-82,-5r-1,75v35,0,62,-1,80,-4v-2,15,-3,17,0,35v-18,-2,-44,-3,-80,-3r1,87v36,0,63,-2,81,-6v-3,14,-2,21,0,36v-40,-3,-97,-5,-148,0"},"F":{"d":"88,-117r3,117v-20,-3,-40,-2,-67,0v5,-76,5,-168,0,-250v44,5,91,3,145,0v-2,14,-3,23,0,36v-23,-3,-49,-5,-80,-5r-1,75v33,0,60,-1,79,-4v-3,17,-2,17,0,34v-13,-2,-39,-3,-79,-3","k":{"\u2014":2,"\u2013":2,"u":4,"r":4,"o":5,"e":7,"a":4,"A":20,";":7,":":7,".":36,",":40}},"G":{"d":"17,-122v-7,-117,142,-164,238,-112v-6,14,-10,28,-13,43r-5,1v-15,-26,-38,-39,-67,-39v-56,0,-88,45,-88,105v0,69,44,120,115,98v1,-37,2,-55,-3,-89v17,2,47,3,66,0v-5,24,-3,80,0,102v-125,41,-236,9,-243,-109","w":280,"k":{"A":-2}},"H":{"d":"24,0v5,-82,5,-165,0,-250v22,2,45,3,67,0v-2,22,-2,56,-2,100r103,0r-3,-100v29,2,42,3,67,0v-3,24,-5,214,0,250v-23,-3,-45,-2,-68,0v6,-34,4,-79,4,-119v-27,-1,-78,-2,-103,0r2,119v-26,-3,-44,-2,-67,0","w":280},"I":{"d":"93,-250v-4,61,-4,203,0,250v-22,-3,-45,-2,-67,0v4,-33,5,-206,1,-250v19,2,47,3,66,0","w":119},"J":{"d":"-12,34v31,4,42,-17,42,-56r1,-161v0,-5,-1,-27,-3,-67v24,2,40,3,67,0v-9,88,7,172,-9,250v-7,35,-51,55,-98,55r0,-21","w":119,"k":{"o":5,"e":7,"A":2,".":4,",":4}},"K":{"d":"183,-250v27,4,27,-1,49,2v-29,25,-69,70,-98,101r64,93v15,26,32,34,36,54v-20,-2,-51,-3,-75,0v-20,-39,-47,-70,-70,-106v0,23,1,58,2,106v-25,-3,-36,-2,-65,0v5,-82,5,-168,0,-250v22,2,43,3,65,0v-2,33,-3,71,-3,113r55,-62v15,-18,29,-35,40,-51","w":240,"k":{"\u2014":14,"\u2013":14,"y":11,"w":14,"u":4,"o":7,"e":7,"a":-5,"T":-4,"O":16,"G":13,"C":14,"A":-7}},"L":{"d":"24,0v5,-76,6,-173,-1,-250v18,2,47,3,68,0v-7,76,-4,141,-3,220v42,0,69,-2,84,-5v-1,16,-2,18,0,35v-54,-6,-95,-1,-148,0","k":{"\u2014":9,"\u2013":11,"\u201d":22,"\u2019":22,"y":20,"u":7,"o":4,"e":5,"a":-5,"Y":31,"W":25,"V":29,"U":14,"T":29,"Q":18,"O":18,"G":16,"C":16,"A":-7}},"M":{"d":"240,-166r-73,166v-9,-2,-19,-1,-26,0v-21,-64,-43,-106,-70,-165v-6,43,-11,79,-13,106v-2,27,-3,47,-3,59v-15,-3,-22,-2,-40,0v17,-81,28,-163,38,-250v23,2,22,3,50,0v6,23,57,145,68,167v22,-46,41,-88,58,-128v6,-14,10,-27,14,-39v13,2,33,3,48,0r18,165v4,31,8,60,13,85v-23,-4,-44,-4,-67,0v0,-35,-14,-146,-15,-166","w":339,"k":{"o":5,"e":7,"Y":9,"V":7,"U":4,"O":9}},"N":{"d":"219,-84r0,-82v0,-36,-2,-64,-5,-84v12,2,27,3,40,0v-10,63,-8,183,-4,250v-19,-2,-26,-3,-42,0v-40,-56,-100,-115,-146,-170r0,90v0,23,1,50,4,80v-20,-2,-18,-3,-38,0v6,-62,6,-198,3,-250v22,2,24,3,45,0v30,39,77,94,143,166","w":280,"k":{"o":5,"e":7,"a":4,"O":4,"A":5,".":5,",":5}},"O":{"d":"161,-255v82,0,139,47,139,125v0,82,-60,135,-142,135v-83,0,-139,-47,-138,-128v0,-81,58,-132,141,-132xm158,-21v52,0,76,-48,76,-108v0,-55,-23,-100,-73,-100v-54,-1,-75,49,-75,108v0,56,22,100,72,100","w":320,"k":{"Z":9,"Y":22,"X":14,"W":13,"V":16,"U":4,"T":18,"N":4,"M":11,"A":20,".":18,",":22}},"P":{"d":"207,-180v0,60,-54,83,-119,73r3,107v-21,-2,-47,-3,-67,0v5,-20,7,-207,2,-250v83,5,181,-19,181,70xm90,-224r-1,94v37,2,55,-13,55,-49v1,-35,-20,-50,-54,-45","w":219,"k":{"\u2014":18,"\u2013":18,"u":5,"s":13,"r":5,"o":11,"e":13,"a":11,"Y":5,"V":7,"M":9,"A":31,";":18,":":18,".":61,",":65}},"Q":{"d":"300,-130v0,66,-37,111,-90,127v26,17,61,41,90,51r0,4v-24,6,-35,13,-50,26v-24,-21,-67,-52,-97,-73v-77,0,-134,-50,-133,-127v0,-82,58,-133,141,-133v81,0,139,47,139,125xm158,-21v52,0,76,-48,76,-108v0,-55,-23,-100,-73,-100v-54,-1,-75,49,-75,108v0,56,22,100,72,100","w":320,"k":{"U":4,".":18,",":18}},"R":{"d":"27,-250v79,6,185,-20,185,64v0,33,-27,59,-57,63v26,38,53,90,82,121v-17,4,-51,-3,-77,2v-19,-39,-47,-79,-71,-114r2,114v-21,-2,-41,-3,-64,0v3,-18,5,-224,0,-250xm150,-182v0,-37,-24,-47,-61,-42r0,90v39,2,61,-12,61,-48","w":240,"k":{"\u2014":11,"\u2013":11,"y":7,"u":9,"o":13,"e":13,"Y":18,"W":11,"V":14,"U":5,"T":2,"Q":9,"O":9,"G":5,"C":7,"A":-7}},"S":{"d":"76,-102v-86,-24,-65,-150,32,-150v23,0,46,5,67,17v-6,12,-11,25,-12,42r-8,0v-2,-44,-90,-48,-88,-4v3,55,115,34,115,119v0,79,-101,102,-164,65v5,-17,7,-34,7,-50r9,0v1,47,97,61,98,6v-6,-31,-21,-25,-56,-45","w":200,"k":{"Y":4,"V":7,"T":4,"A":4,",":4}},"T":{"d":"66,0v5,-45,2,-159,3,-219v-25,0,-47,1,-67,3v2,-10,3,-23,0,-34v28,4,163,4,195,0v-2,15,-3,20,0,34v-18,-2,-40,-3,-65,-3r-1,158v0,22,1,43,3,61v-22,-2,-43,-3,-68,0","w":200,"k":{"\u2014":38,"\u2013":38,"z":18,"y":25,"w":25,"u":32,"s":27,"r":32,"o":36,"m":27,"e":38,"c":36,"a":32,"Y":-9,"W":-9,"V":-7,"T":-9,"Q":18,"O":18,"G":14,"C":16,"A":25,";":36,":":36,".":36,",":40}},"U":{"d":"140,4v-73,2,-108,-31,-108,-97r0,-94v0,-27,-2,-48,-4,-63v25,2,49,3,68,0v-3,25,-4,66,-4,123v0,67,7,97,60,99v89,4,58,-135,59,-222v12,2,31,3,44,0v-5,26,-7,71,-7,134v0,82,-33,118,-108,120","w":280,"k":{"O":4,"M":9,"A":18,".":16,",":20}},"V":{"d":"136,-77r32,-88v12,-33,21,-62,27,-85v20,2,25,3,44,0v-35,72,-68,156,-99,251v-13,-2,-27,-3,-40,0v-18,-57,-51,-135,-73,-194v-7,-17,-14,-36,-24,-57v25,2,47,3,72,0v19,62,39,120,61,173","w":240,"k":{"\u2014":36,"\u2013":36,"u":14,"o":29,"e":31,"a":31,"Y":-2,"O":18,"G":13,"C":14,"A":34,";":32,":":32,".":52,",":56}},"W":{"d":"209,-79r-31,-88v-19,56,-42,106,-56,167v-17,-3,-31,-2,-47,0v-10,-53,-55,-202,-73,-250v19,2,46,3,70,0r43,171r27,-72v14,-37,24,-70,31,-99v19,2,27,3,44,0v14,59,24,81,54,172r31,-105v9,-32,14,-54,15,-67v28,2,22,3,42,0r-62,183v-7,22,-13,44,-19,67v-20,-3,-28,-2,-45,0","w":360,"k":{"\u2014":18,"\u2013":18,"y":2,"u":13,"r":13,"o":23,"e":25,"a":22,"Y":-2,"Q":14,"O":14,"G":11,"C":13,"A":25,";":25,":":25,".":36,",":40}},"X":{"d":"83,-116r-78,-134v21,2,55,3,75,0v14,31,27,59,41,82v20,-31,36,-59,47,-82v17,2,30,3,47,0r-79,109r81,141v-25,-2,-50,-3,-76,0v-4,-14,-35,-79,-43,-88v-19,28,-36,58,-50,88v-16,-3,-27,-2,-45,0","w":219,"k":{"\u2014":13,"\u2013":13,"Q":16,"O":16,"G":13,"C":14}},"Y":{"d":"142,-111v1,43,-2,68,4,111v-23,-2,-44,-3,-68,0v4,-27,3,-72,3,-107r-80,-143v37,2,40,3,76,0v14,36,31,64,50,105v27,-49,43,-85,49,-105v19,2,27,3,45,0v-20,26,-47,72,-79,139","w":219,"k":{"\u2014":41,"\u2013":41,"v":18,"u":22,"o":40,"e":41,"a":32,"S":2,"Q":20,"O":20,"M":5,"G":23,"C":18,"A":25,";":32,":":32,".":49,",":52}},"Z":{"d":"216,-250v0,27,-14,30,-36,65r-95,154r130,-5v-2,13,-3,23,0,36v-30,-4,-179,-4,-212,0r0,-14r42,-63r87,-142r-116,4v2,-12,3,-24,0,-35v78,4,140,4,200,0","w":219,"k":{"O":7,"G":4,"C":5,"A":-4}},"[":{"d":"68,22r40,-2v-2,11,-1,13,0,24v-30,-2,-57,-3,-83,0v6,-64,7,-196,0,-295v31,3,53,2,83,0v-1,11,-2,12,0,23r-40,-1r0,251","w":119,"k":{"J":-14}},"\\":{"d":"16,-266r100,274v-9,-2,-23,-3,-32,0r-100,-274v11,2,22,1,32,0","w":100},"]":{"d":"52,-229r-40,1v2,-10,1,-13,0,-23v30,2,57,3,83,0v-6,64,-7,197,0,295v-31,-3,-53,-2,-83,0v1,-8,2,-15,0,-23r40,1r0,-251","w":119},"^":{"d":"28,-99r63,-147r34,0r63,147r-37,0r-43,-103r-43,103r-37,0","w":216},"_":{"d":"0,45r0,-18r180,0r0,18r-180,0"},"`":{"d":"3,-237v-19,-8,-14,-36,8,-36v32,8,47,48,69,68v-39,2,-51,-21,-77,-32","w":100},"a":{"d":"107,-19v-26,41,-101,30,-101,-24v0,-51,56,-48,94,-68v11,-18,-3,-41,-29,-41v-17,0,-31,8,-45,19v-1,-10,-4,-18,-7,-23v41,-37,140,-37,138,35r-2,77v-3,22,10,32,24,21r0,15v-25,16,-62,19,-72,-11xm103,-91v-29,7,-42,11,-44,41v-2,31,36,36,42,11v1,-5,2,-22,2,-52","k":{"y":4,"w":4,"v":4,"g":-2}},"b":{"d":"206,-89v11,81,-99,127,-144,66v-13,9,-18,25,-40,23v4,-89,2,-243,-2,-265v21,2,44,3,62,0v-2,20,-4,56,-4,109v48,-52,137,-9,128,67xm112,-153v-29,1,-34,30,-34,66v0,48,11,72,34,72v30,0,34,-34,34,-74v0,-43,-11,-64,-34,-64","w":219,"k":{"y":4,"v":4,"b":4}},"c":{"d":"77,-91v0,57,50,91,89,50v14,8,1,16,-4,32v-59,35,-154,-1,-145,-77v-8,-82,93,-119,156,-78v-7,14,-11,28,-13,41r-10,0v-2,-20,-13,-35,-33,-35v-29,-1,-40,33,-40,67","k":{"\u201d":-23,"\u2019":-22,"y":-4,"t":-4,"o":2,"e":4,"a":-5}},"d":{"d":"13,-87v0,-76,76,-122,128,-70v0,-54,-1,-90,-3,-108v20,2,41,3,62,0v-4,56,-8,198,-2,265v-22,-2,-35,-3,-57,0r2,-24v-13,19,-25,28,-52,29v-51,1,-78,-39,-78,-92xm141,-89v0,-43,-11,-65,-33,-65v-23,0,-35,23,-35,70v0,43,11,65,34,65v23,0,34,-24,34,-70","w":219,"k":{"d":2}},"e":{"d":"106,-180v56,-1,86,38,80,95r-111,0v-8,65,66,77,99,40v13,7,-1,20,-3,33v-62,41,-156,7,-156,-76v0,-56,35,-91,91,-92xm130,-106v-1,-34,-1,-57,-26,-57v-21,0,-30,19,-29,57r55,0","w":200,"k":{"y":4,"x":4,"v":2}},"f":{"d":"30,-174v7,-57,33,-101,95,-94v-4,15,-5,30,-3,47v-16,1,-56,-22,-56,6v0,9,5,23,17,41v12,0,23,-1,31,-2v-2,6,-1,17,0,23v-3,-1,-13,-2,-29,-2r2,155v-22,-3,-40,-2,-61,0v5,-40,4,-106,4,-155v-4,0,-11,1,-22,2v1,-8,0,-14,0,-23v6,1,13,2,22,2","w":119,"k":{"\u2014":4,"\u2013":4,"\u201d":-14,"\u2019":-14,"t":-7,"o":4,"l":-7,"i":-7,"f":-4,"e":4,"d":-2,"c":2,"]":-4,".":7,",":9}},"g":{"d":"88,98v-69,12,-113,-77,-40,-95r0,-2v-39,-11,-31,-61,11,-67r0,-3v-24,-6,-44,-24,-44,-53v2,-80,106,-51,177,-52v-3,5,-2,13,0,20r-34,-1v39,45,-16,108,-82,89v-3,1,-11,9,-10,15v3,14,19,16,44,15v54,-3,81,8,81,52v0,50,-47,84,-103,82xm94,-80v16,0,24,-14,24,-43v0,-27,-8,-40,-24,-40v-17,0,-25,15,-25,45v0,26,9,38,25,38xm47,40v0,24,23,39,49,39v29,0,51,-14,51,-40v0,-35,-29,-34,-71,-34v-22,0,-29,20,-29,35","w":200,"k":{"\u201d":-18,"\u2019":-18,"y":-4,"w":-2,"o":4,"j":-4,"e":5,"a":-4}},"h":{"d":"112,-146v-51,0,-29,93,-28,146v-19,-2,-44,-3,-61,0v6,-57,2,-249,0,-265v22,2,43,3,61,0v-3,28,-5,67,-5,117v28,-51,115,-42,116,35r1,113v-18,-2,-40,-3,-61,0v0,-41,22,-146,-23,-146","w":219,"k":{"\u2019":-4,"y":7}},"i":{"d":"19,-239v0,-16,15,-30,31,-30v15,0,30,15,30,30v0,15,-15,30,-30,30v-16,0,-31,-14,-31,-30xm20,0v4,-43,4,-137,-1,-177v22,2,39,3,61,0v-5,44,-3,135,1,177v-18,-2,-45,-3,-61,0","w":100,"k":{"v":-5}},"j":{"d":"80,-238v0,16,-15,30,-31,30v-15,0,-30,-15,-30,-30v0,-15,15,-30,30,-30v16,0,31,14,31,30xm-14,77v49,-8,36,-28,36,-108v0,-72,-1,-120,-3,-146v19,3,39,2,61,0v-4,42,-3,118,-3,173v0,70,-29,101,-91,99v3,-7,2,-12,0,-18","w":100},"k":{"d":"81,-104v9,5,59,-66,66,-73v19,1,31,1,47,0r0,5v-20,17,-42,36,-64,59v17,30,39,66,66,108r0,5v-20,-3,-47,-2,-66,0v-12,-25,-25,-51,-40,-76v-4,-6,-9,-10,-9,-2v0,25,1,51,2,78v-14,-2,-45,-3,-59,0v5,-73,5,-234,0,-265v17,2,43,3,60,0v-4,55,-3,104,-3,161","w":200,"k":{"\u2014":11,"\u2013":11,"y":-4,"o":5,"i":-5,"e":7,"a":-6}},"l":{"d":"81,-265v-4,42,-4,219,0,265v-16,-2,-46,-3,-62,0v4,-48,4,-223,0,-265v14,2,48,3,62,0","w":100,"k":{"y":-5,"w":-5,"v":-4}},"m":{"d":"129,0v1,-39,21,-147,-24,-145v-45,2,-24,94,-27,145v-16,-2,-44,-3,-59,0v3,-54,4,-122,-1,-177v17,3,39,2,59,0r-2,29v21,-40,94,-45,110,1v26,-50,114,-45,115,27r1,120v-18,-2,-42,-3,-61,0v-1,-43,23,-142,-23,-145v-40,-3,-28,69,-30,110v0,6,1,18,2,35v-20,-2,-45,-3,-60,0","w":320,"k":{"y":2}},"n":{"d":"135,0v-1,-35,24,-148,-24,-146v-47,3,-26,96,-27,146v-20,-3,-44,-2,-61,0v5,-54,4,-122,0,-177v15,2,43,3,58,0r-2,28v24,-49,114,-39,115,29r2,120v-19,-2,-44,-3,-61,0","w":219,"k":{"\u2019":-4,"y":7,"w":5,"v":5}},"o":{"d":"109,5v-58,1,-95,-37,-95,-93v0,-58,36,-93,95,-93v59,0,97,33,97,90v0,58,-38,96,-97,96xm109,-13v24,0,36,-26,36,-78v0,-48,-11,-72,-35,-72v-24,0,-35,25,-35,75v0,50,11,75,34,75","w":219,"k":{"z":2,"y":5,"x":9,"w":5,"v":4}},"p":{"d":"207,-88v8,75,-78,124,-129,71v0,52,1,89,3,110v-15,-2,-44,-3,-61,0v5,-64,6,-217,2,-270v21,2,35,3,56,0r-1,27v41,-63,141,-18,130,62xm78,-86v0,44,12,65,34,65v23,0,35,-23,35,-70v0,-43,-12,-65,-35,-65v-23,0,-34,24,-34,70","w":219,"k":{"y":4,"p":2}},"q":{"d":"12,-88v-9,-79,89,-125,131,-62r-2,-27v19,2,39,3,56,0v-2,36,-4,237,2,270v-16,-2,-43,-3,-61,0v3,-24,3,-75,3,-110v-49,52,-139,5,-129,-71xm141,-86v1,-34,-8,-70,-34,-70v-23,0,-34,22,-34,65v0,47,12,70,35,70v22,0,33,-21,33,-65","w":219},"r":{"d":"126,-121v-29,-20,-45,2,-45,44v0,28,2,53,4,77v-13,-2,-48,-3,-62,0v5,-43,3,-142,0,-177v14,2,45,3,58,0r-3,38v14,-28,18,-43,54,-40v-2,20,-3,39,-2,56","w":140,"k":{"\u2014":4,"\u2013":4,"\u2019":-25,"y":-7,"x":-5,"w":-5,"v":-5,"t":-5,"q":2,"o":4,"m":-4,"l":-4,"i":-4,"f":-5,"e":5,"c":5,"a":4,";":4,":":4,".":32,",":32}},"s":{"d":"64,-63v-72,-17,-57,-117,18,-117v20,0,39,4,56,13v-5,12,-8,24,-9,36r-8,0v-5,-19,-18,-29,-38,-29v-15,-1,-29,7,-28,20v1,24,64,30,71,42v42,36,6,103,-54,103v-22,0,-42,-4,-57,-14v4,-12,6,-25,6,-38r8,1v6,21,21,32,43,32v30,0,40,-23,22,-37v-4,-2,-13,-8,-30,-12","w":159,"k":{"\u2019":-9,"w":2}},"t":{"d":"114,-3v-46,18,-87,6,-87,-45r1,-107v-3,0,-10,1,-22,2v1,-7,2,-14,0,-23r22,2v0,0,0,-14,-1,-41v17,-6,36,-15,57,-27r5,4v2,66,-28,69,26,62v-2,9,-1,16,0,23v-17,-1,-28,-2,-31,-2v-1,27,-1,61,-1,100v0,30,7,45,31,34v-2,7,-1,10,0,18","w":119,"k":{"\u2019":-16,"y":-11,"w":-11,"t":-7,"o":7,"m":-5,"l":-7,"i":-7,"e":5,"a":-7}},"u":{"d":"84,-121v3,59,-11,82,25,91v48,1,22,-117,26,-147v17,2,44,3,61,0v-6,45,-4,130,-1,177v-15,-2,-45,-3,-58,0r3,-28v-26,51,-110,41,-112,-23r-3,-126v15,2,45,3,62,0v-2,19,-3,37,-3,56","w":219},"v":{"d":"104,-58r39,-119v16,2,19,3,38,0v-26,53,-49,121,-69,177v-17,-2,-29,-3,-46,0v-11,-42,-46,-138,-64,-177v13,2,54,3,67,0v5,22,16,61,35,119","k":{"\u2014":7,"\u2013":7,"y":-5,"v":-5,"q":4,"o":5,"i":-4,"e":7,"d":4,"c":7,"a":5,".":27,",":27}},"w":{"d":"139,-113v-7,15,-32,98,-35,113v-16,-2,-32,-3,-48,0v-9,-41,-41,-142,-56,-177v20,2,45,3,66,0v6,36,16,75,29,117v16,-51,28,-91,34,-117v19,3,31,2,51,0v4,18,14,58,31,117v15,-44,25,-83,31,-117v17,3,23,2,39,0v-22,51,-47,117,-64,177v-17,-2,-22,-3,-46,0v-4,-22,-15,-59,-32,-113","w":280,"k":{"y":-7,"q":5,"o":7,"i":-4,"e":9,"d":5,"c":9,"a":5,".":25,",":25}},"x":{"d":"44,0v-15,-2,-26,-3,-41,0r61,-80r-59,-97v13,2,55,3,70,0r27,52v4,-6,14,-23,31,-52v15,2,29,3,42,0v-10,12,-29,38,-59,76v21,37,41,71,61,101v-15,-2,-53,-3,-70,0v-8,-18,-17,-37,-29,-58v-6,10,-18,29,-34,58","k":{"\u2014":11,"\u2013":9,"o":9,"e":11,"c":11,"a":-5}},"y":{"d":"181,-177v-43,88,-88,195,-112,270v-14,-2,-26,-3,-40,0v8,-15,23,-45,44,-88r-71,-182v14,2,53,3,67,0v9,36,21,72,34,111v18,-49,31,-86,37,-111v12,2,29,3,41,0","k":{"\u2019":-9,"t":-4,"s":4,"q":5,"o":7,"e":9,"d":4,"c":9,"a":5,".":32,",":32}},"z":{"d":"17,-177v27,3,134,2,156,0v-2,13,-1,7,0,20v-22,26,-70,94,-96,132v37,0,68,-2,94,-5v-2,15,-1,15,0,30v-42,-2,-122,-3,-165,0v2,-3,3,-16,0,-19v17,-19,78,-108,94,-132v-25,0,-53,2,-83,4v2,-8,1,-22,0,-30","k":{"\u2019":-11,"o":2,"e":4}},"{":{"d":"15,-115v61,3,25,-89,53,-120v11,-13,32,-20,61,-21r0,21v-35,3,-36,29,-36,70v0,37,-17,58,-49,61v38,3,51,32,49,78v-2,36,7,48,36,53r0,21v-61,0,-77,-29,-74,-93v2,-35,-11,-42,-40,-48r0,-22","w":144,"k":{"J":-11}},"|":{"d":"21,90r0,-360r38,0r0,360r-38,0","w":79},"}":{"d":"129,-93v-62,-4,-25,89,-53,120v-11,13,-32,20,-61,21r0,-21v35,-3,36,-30,36,-71v0,-37,17,-57,49,-60v-38,-3,-51,-33,-49,-79v2,-35,-8,-47,-36,-52r0,-21v61,0,77,29,74,93v-2,35,11,41,40,48r0,22","w":144},"~":{"d":"214,-132v-7,52,-39,89,-95,64v-32,-14,-82,-44,-91,13r-26,0v10,-85,67,-80,125,-52v35,17,48,12,61,-25r26,0","w":216},"\u2026":{"d":"212,-29v1,18,-14,32,-32,32v-18,0,-33,-14,-32,-32v0,-18,15,-32,32,-32v17,0,32,14,32,32xm332,-29v1,18,-14,32,-32,32v-18,0,-33,-14,-32,-32v0,-18,15,-32,32,-32v17,0,32,14,32,32xm92,-29v1,18,-14,32,-32,32v-18,0,-33,-14,-32,-32v0,-18,15,-32,32,-32v17,0,32,14,32,32","w":360},"\u2018":{"d":"63,-154v-10,24,-57,19,-52,-10v6,-35,49,-73,68,-102r11,4v-8,32,-16,83,-27,108","w":100,"k":{"\u2018":16,"z":5,"q":13,"o":13,"e":13,"d":13,"c":13,"O":9,"G":5,"C":7,"A":20}},"\u2019":{"d":"37,-250v10,-24,53,-20,52,9v-9,34,-49,73,-68,102r-11,-3v8,-32,16,-83,27,-108","w":100,"k":{"\u2019":16,"v":11,"s":32,"r":22,"m":9,"l":-4,"d":40,".":63,",":65," ":14}},"\u201c":{"d":"146,-154v-11,24,-54,19,-53,-10v10,-33,49,-72,68,-102r11,4xm60,-154v-10,24,-57,19,-52,-10v6,-35,49,-73,68,-102r11,4v-8,32,-16,83,-27,108","k":{"q":11,"o":13,"e":13,"d":13,"c":13,"O":9,"G":5,"C":7,"A":20}},"\u201d":{"d":"120,-249v10,-24,53,-20,52,9v-9,34,-49,73,-68,102r-11,-3v8,-32,16,-83,27,-108xm34,-249v10,-24,53,-20,53,9v-10,33,-49,72,-68,102r-11,-3","k":{".":63,",":65," ":14}},"\u2013":{"d":"-1,-61r0,-37r182,0r0,37r-182,0","k":{"x":9,"v":11,"Y":45,"X":16,"W":18,"V":36,"T":38}},"\u2014":{"d":"47,-61r0,-37r266,0r0,37r-266,0","w":360,"k":{"x":11,"v":9,"Y":45,"X":14,"W":18,"V":36,"T":38}},"\u2122":{"d":"101,-233r1,121v-17,-2,-24,-3,-41,0v3,-24,2,-88,2,-121v-14,0,-27,1,-40,2v1,-6,2,-13,0,-19v17,3,98,3,117,0v-1,8,-2,11,0,19v-11,-1,-24,-2,-39,-2xm174,-203v-4,29,-9,59,-10,91v-11,-2,-13,-3,-24,0r23,-138v15,2,10,3,30,0v4,14,34,80,41,92v17,-31,30,-61,43,-92v10,2,17,3,29,0v3,46,10,95,18,138v-13,-3,-25,-2,-40,0v-1,-13,-4,-44,-9,-92r-44,92v-4,-1,-9,-1,-15,0v-9,-24,-30,-65,-42,-91","w":358},"\u00d7":{"d":"17,-31r64,-63r-64,-63r28,-27r63,63r63,-63r28,27r-64,63r64,63r-28,28r-63,-63r-63,63","w":216},"\u00a0":{"w":90,"k":{"\u201c":14,"\u2018":14,"Y":5,"V":5,"T":4}}}});

/* Utilities
-------------------------------------------------*/
util = {
	setup : function(){
		$(document).mousemove(function(e){
			util.mouse = e;
		});
	},
	addOnLoad : function(fnc){
		if(window.onload){
			var existing = window.onload;
			window.onload = function(){
			fnc();
			existing();
			}
		}
		else{
			window.onload = fnc;
		} 
	},
	cmpObj : function(a){
		  var o = {};
		  for(var i=0;i<a.length;i++)
		  {
			o[a[i]]='';
		  }
		  return o;
	},
	compact : function(ar, i, opts){
		var compacted = [];
		opts = (isset(opts)) ? opts : {};
		if(isset(i)){
			ar[i] = null;
		}
		for(j in ar){
			if(isset(opts.val)){
				ar[j] = (ar[j] == opts.val) ? null : ar[j];
			}
			if(isset(ar[j]) && (ar[j] != null)){
				compacted.push(ar[j]);
			}
		}
		return compacted;
	},
	createCookie : function(name,value,days){
		var expires = "";
		if(days){
			var date = new Date();
			date.setTime(date.getTime()+(days*24*60*60*1000));
			var expires = "; expires="+date.toGMTString();
		}
		value = escape($.toJSON(value));
		document.cookie = name+"="+value+expires+"; path=/";
	},
	emailIsDone : function(str){
		var domain = str.substring(str.length, str.length-5);
		var acTLDs = util.autoCompleteTLDs;
		for(var c in acTLDs){
			if(domain.indexOf('.'+acTLDs[c]) > 0){
				return true;
			}
		}
		return false;
	},
	emailIsValid : function(str){
		var at="@";
		var dot=".";
		var lat=str.indexOf(at);
		var lstr=str.length;
		var ldot=str.indexOf(dot);
		if (str.indexOf(at)==-1){
		   return false;
		}
		if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
		   return false;
		}
		if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
		    return false;
		}
		if (str.indexOf(at,(lat+1))!=-1){
		  return false;
		}
		if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
			return false;
		}
		if (str.indexOf(dot,(lat+2))==-1){
			return false;
		}
		if (str.indexOf(" ")!=-1){
			return false;
		}
 		return true;
	},
	eraseCookie : function(name){
		createCookie(name,"",-1);
	},
	formToJson : function(id){
		var data = {};
		var form = util.getForm(id);
		for(i in form.elements){
			data[form.elements[i].name] = form.elements[i].value;
		}
		return data;
	},
	getBaseUrl : function(url){
		url = url.replace('http://', '');
		url = url.split('/');
		return 'http://' + url[0];	
	},
	getCaretPosition : function(elm){
		var iCaretPos = 0;
		if(document.selection){
			elm.focus();
			var oSel = document.selection.createRange ();
			oSel.moveStart ('character', -elm.value.length);
			iCaretPos = oSel.text.length;
		}
		else if (elm.selectionStart || elm.selectionStart == '0'){
			iCaretPos = elm.selectionStart;
		}
		return (iCaretPos);
	},
	getForm : function(id){
		id = $('#'+id).attr('id') ? $('#'+id).attr('id') : id;
		for(i in document.forms){
			if(document.forms[i].id == id){
				return document.forms[i];
			}
		}
	},
	getKeyCode : function(e){
		return ((window.event) ? event.keyCode : e.charCode);
	},
	idData : function(id){
		id = id.split('-');
		return id[1];
	},
	isset : function(variable){
		return ( !(variable === undefined) );
	},
	labeledInput : function(t, l){
		t
			.focus(function(){
				if(t.val()==l){
					t.val('');
				}
			})
			.blur(function(){
				if(t.val()==''){
					t.val(l);
				}
			});
	},
	mousePosition : function(dir){
		if(dir == 'y'){
			return util.mouse.pageY;
		}
		if(dir == 'x'){
			return util.mouse.pageX;
		}
		return [util.util.mouse.pageX, util.util.mouse.pageY];
	},
	readCookie : function(name){
		var nameEQ = name + "=";
		var ca = document.cookie.split(';');
		for(var i=0;i < ca.length;i++) {
			var c = ca[i];
			while (c.charAt(0)==' ') c = c.substring(1,c.length);
			if (c.indexOf(nameEQ) == 0) return $.evalJSON((unescape(c.substring(nameEQ.length,c.length))));
		}
		return null;
	},
	scrollY : function(){
			var scrOfY = 0;
			if(typeof(window.pageYOffset) == 'number') {
				//Netscape compliant
				scrOfY = window.pageYOffset;
			}
			else if(document.body && (document.body.scrollLeft || document.body.scrollTop)){
				//DOM compliant
				scrOfY = document.body.scrollTop;
			}
			else if(document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)){
				//IE6 standards compliant mode
				scrOfY = document.documentElement.scrollTop;
			}
			return scrOfY;
		},
	scrollHeight : function(){
		var scrOfY = 0;
		if( typeof(window.scrollMaxY) == 'number') {
			//Netscape compliant
			scrOfY = window.scrollMaxY;
		}
		else if(document.body && (document.body.scrollLeft || document.body.scrollTop)){
			//DOM compliant
			scrOfY = document.body.scrollHeight;
		}
		else if(document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop)){
			//IE6 standards compliant mode
			scrOfY = document.documentElement.scrollHeight;
		}
		return scrOfY;
	},
	windowDimensions : function(){
		var width = 0, height = 0;
		if(typeof(window.innerWidth) == 'number'){
			//Non-IE
			width = window.innerWidth;
			height = window.innerHeight;
		} 
		else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)){
			//IE 6+ in 'standards compliant mode'
			width = document.documentElement.clientWidth;
			height = document.documentElement.clientHeight;
		} 
		else if(document.body && (document.body.clientWidth || document.body.clientHeight)){
			//IE 4 compatible
			width = document.body.clientWidth;
			height = document.body.clientHeight;
		}
		return [ width , height ];
	},
	/* Variables */
	autoCompleteTLDs : [
		"com", "net", "org", "in", "uk", "fr", "it"
	],
	noAuthFnc : ''
};

/* String Functions
-------------------------------------------------*/
String.prototype.ucfirst = function(){
    var f = this.charAt(0).toUpperCase();
    return f + this.substr(1);
};
String.prototype.trim = function(chars) {
	return this.ltrim(chars).rtrim(chars);
};
String.prototype.ltrim = function(chars) {
	chars = chars || "\\s";
	return this.replace(new RegExp("^[" + chars + "]+", "g"), "");
};
String.prototype.rtrim = function(chars) {
	chars = chars || "\\s";
	return this.replace(new RegExp("[" + chars + "]+$", "g"), "");
};
String.prototype.addSlashes = function(){
	return (this+'').replace(/([\\"'])/g, "\\$1").replace(/\u0000/g, "\\0");
};
String.prototype.stripSlashes = function(){
	return (this+'').replace(/\\(.?)/g, function (s, n1) {
        switch (n1) {
            case '\\':
                return '\\';
            case '0':
                return '\0';
            case '':
                return '';
            default:
                return n1;
        }
    });
}
