$(function() {
	
	$('#strap').css({fontSize: '26px'});
	$('#services li').css({ fontSize: '24px'});
	$('#tabs h4,#tabs label').css({ color: '#000' });
	
	var activenav = window.location.pathname.split('/')[1].split('.')[0];
	
	if(activenav) {
		var activenav = $('a[href^='+activenav+']');	
		activenav.addClass('active');
	} else {
		$('#nav a:eq(0)').addClass('active');	
	}
	
	Cufon.set('fontFamily', 'Myriad').replace('h1,label,h4');
	Cufon.set('fontFamily', 'Optima').replace('h3,h2');
	Cufon.replace('#nav a', {
		hover: {
			color: '#fff'
		},
		fontFamily: 'Myriad'		
	});
	Cufon.now();
	
	if($('#tabs').length > 0) {	
		$("#tabs").tabs();		
	}	

	$('#modal_boxes').load('modal_boxes.php', function() {
	
		$('button').click(function(e) {
		
			var form = $(e.currentTarget).parents('form'),
				formmethod = form.attr('method'),
				formaction = form.attr('action'),
				formdata = form.serialize();
	
			$.ajax({
				type: formmethod,   
				url: formaction,
				data: formdata+'&ajax=true',
				dataType: 'json',
				success: function(data) {			
								
					if(data.success === 'true') {
						
						if(data.form === 'contact') {
							var successHtml = '<h1>Contact Confirmed</h1><p>We will be in touch as soon as possible regarding your enquiry.</p>';	
						}
						
						if(data.form === 'quote') {
							var successHtml = '<h1>quote requested</h1><p>Thank you for your request, you will receive an email confirmation within the next couple of minutes and your quote will be sent via email within the next 48 hours.</p>';	
						}
						
						if(data.form === 'subscribe') {
							var successHtml = '<h1>Subscription Confirmed</h1><p>You have been added to our subscriber list.</p>';	
						}
						
						if(data.form === 'friend') {
							var successHtml = '<h1>Email Sent</h1><p>Your friend has been emailed.</p>';	
						}
						
						form.parent().children('p.error').fadeOut(500);
						
						form.fadeOut(1000, function() {							
							$('<div class="contactSuccess" />').html(successHtml).appendTo(form.parent()).hide().fadeIn(500);
							$.fn.colorbox.resize();					
							Cufon.set('fontFamily', 'Myriad').replace('div.contactSuccess h1');							
						});
						
					}
					
					else {
						if(form.parent().children('p.error').length === 0) {
							var errorCount = data.length,
								errorString = '';
							for(var x = 0; x < errorCount; x++) {
								errorString += '<p class="error">'+data[x]+'</p>'
							}
							form.before(errorString).hide().fadeIn(500);
							$.fn.colorbox.resize();	
						}				
					}
					
				}		
			});
			
			$(document).bind('cbox_closed', function(){
        		$('div.contactSuccess').hide();
				form.show();
			});
		
			return false;
			
		
		});
		
		$("a.modal").click(function(e) {
			var href = "#"+$(e.currentTarget).attr('rel');
			$(e.currentTarget).colorbox({inline:true, href: href,scrolling: false,rel: 'nofollow' });											
		});		
		
		Cufon.set('fontFamily', 'Myriad').replace('label,h4');
		Cufon.now();
		
		$('#friend_website').val(window.location.href);
		
	});	

});

/*
 * 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:
 * © 1992, 1994, 1997, 2000, 2004 Adobe Systems Incorporated. All rights reserved.
 * Protected by U.S. Patents D454,582.
 * 
 * Trademark:
 * Myriad is either a registered trademark or a trademark of Adobe Systems
 * Incorporated in the United States and/or other countries.
 * 
 * Full name:
 * MyriadPro-Regular
 * 
 * Designer:
 * Robert Slimbach and Carol Twombly
 * 
 * Vendor URL:
 * http://www.adobe.com/type
 * 
 * License information:
 * http://www.adobe.com/type/legal.html
 */
Cufon.registerFont({"w":284,"face":{"font-family":"Myriad","font-weight":400,"font-stretch":"normal","units-per-em":"1000","panose-1":"2 11 5 3 3 4 3 2 2 4","ascent":"750","descent":"-250","x-height":"11","bbox":"-46 -750 765 250","underline-thickness":"50","underline-position":"-50","stemh":"67","stemv":"88","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":212},"!":{"d":"149,-193r-68,0r-14,-481r96,0xm114,11v-34,0,-58,-27,-58,-62v0,-36,25,-62,60,-62v35,0,58,26,58,62v0,35,-23,62,-60,62","w":230},"\"":{"d":"51,-692r87,0r-17,240r-54,0xm200,-692r87,0r-17,240r-53,0","w":337,"k":{"f":-25,"g":10,"c":8,"d":8,"e":8,"o":8,"q":8,"t":-24,"v":-21,"w":-21,"y":-21,",":113,".":113}},"#":{"d":"188,-255r104,0r19,-145r-104,0xm154,0r-60,0r26,-196r-83,0r0,-59r92,0r19,-145r-87,0r0,-59r95,0r26,-191r59,0r-26,191r105,0r25,-191r59,0r-25,191r82,0r0,59r-91,0r-18,145r86,0r0,59r-95,0r-26,196r-60,0r26,-196r-104,0","w":497},"$":{"d":"281,85r-63,0r0,-100v-58,-1,-117,-19,-152,-44r24,-67v35,23,87,43,143,43v71,0,119,-41,119,-98v0,-55,-39,-89,-113,-119v-102,-40,-165,-87,-165,-174v0,-83,59,-146,150,-161r0,-100r63,0r0,97v59,2,100,18,130,35r-25,66v-21,-12,-62,-35,-126,-35v-77,0,-106,46,-106,87v0,51,37,77,124,114v103,42,155,93,155,182v0,80,-55,154,-158,170r0,104","w":513},"%":{"d":"188,-661v90,0,149,70,149,193v0,137,-71,205,-155,205v-82,0,-151,-65,-152,-195v0,-130,70,-203,158,-203xm183,-608v-54,0,-84,65,-84,146v-2,83,30,146,85,146v58,0,84,-62,84,-147v0,-80,-23,-145,-85,-145xm231,12r-56,0r383,-674r56,0xm612,-392v90,0,149,70,149,194v0,137,-71,205,-155,205v-82,0,-151,-65,-152,-196v0,-130,70,-203,158,-203xm607,-339v-54,0,-84,65,-84,147v-2,83,30,146,85,146v58,0,84,-62,84,-148v0,-79,-23,-145,-85,-145","w":792},"&":{"d":"602,0r-104,0r-63,-65v-58,53,-122,76,-197,76v-131,0,-207,-88,-207,-189v0,-92,55,-155,132,-197r0,-3v-35,-44,-56,-94,-56,-141v0,-83,59,-167,171,-167v84,0,149,55,149,143v0,71,-41,127,-148,180r0,4r164,187v31,-47,52,-112,65,-197r80,0v-18,106,-47,190,-97,249xm254,-55v57,0,106,-26,138,-61r-190,-213v-37,24,-87,66,-87,138v0,77,57,136,139,136xm271,-626v-55,0,-84,46,-84,98v0,49,23,86,51,122v68,-39,112,-75,112,-133v0,-41,-23,-87,-79,-87","w":605},"(":{"d":"195,-694r68,0v-73,99,-125,228,-125,410v0,178,55,305,125,405r-68,0v-63,-83,-131,-211,-131,-406v1,-196,68,-325,131,-409","k":{"j":-56}},")":{"d":"88,121r-68,0v70,-99,125,-228,125,-408v0,-180,-54,-307,-125,-407r68,0v63,82,131,211,131,407v-1,196,-68,324,-131,408"},"*":{"d":"269,-686r60,35r-95,125r0,2r151,-20r0,68r-151,-19r0,3r96,120r-63,36r-61,-140r-2,0r-64,141r-57,-36r95,-122r0,-3r-148,20r0,-68r147,19r0,-2r-94,-123r61,-35r62,140r2,0","w":415},"+":{"d":"266,-532r64,0r0,235r226,0r0,60r-226,0r0,237r-64,0r0,-237r-226,0r0,-60r226,0r0,-235","w":596},",":{"d":"78,117r-62,7v22,-60,49,-167,60,-240r98,-10v-24,85,-68,196,-96,243","w":207,"k":{"\"":102,"'":102}},"-":{"d":"30,-302r247,0r0,64r-247,0r0,-64","w":307,"k":{"g":-14,"c":-18,"d":-18,"e":-18,"o":-18,"q":-18,"v":5,"w":5,"y":5}},".":{"d":"110,11v-34,0,-58,-27,-58,-63v0,-36,25,-63,60,-63v35,0,59,26,59,63v0,36,-24,63,-61,63","w":207,"k":{"\"":102,"'":102}},"\/":{"d":"66,39r-67,0r278,-725r69,0","w":343},":":{"d":"111,-342v-34,0,-58,-27,-58,-62v0,-37,25,-63,59,-63v36,0,59,26,59,63v0,35,-23,62,-60,62xm111,11v-34,0,-58,-27,-58,-62v0,-37,25,-63,59,-63v36,0,59,26,59,63v0,35,-23,62,-60,62","w":207},";":{"d":"78,116r-61,7v22,-60,49,-166,60,-240r97,-10v-24,86,-68,196,-96,243xm118,-342v-34,0,-58,-27,-58,-62v0,-37,25,-63,59,-63v36,0,59,26,59,63v0,35,-23,62,-60,62","w":207},"<":{"d":"66,-239r0,-54r464,-239r0,69r-391,196r0,2r391,196r0,69","w":596},"=":{"d":"556,-337r-516,0r0,-60r516,0r0,60xm556,-141r-516,0r0,-60r516,0r0,60","w":596},">":{"d":"530,-295r0,57r-464,238r0,-69r394,-196r0,-2r-394,-196r0,-69","w":596},"?":{"d":"220,-192r-79,0r-2,-26v-6,-53,12,-113,62,-173v45,-53,70,-92,70,-137v0,-51,-32,-85,-95,-86v-36,0,-76,12,-101,31r-24,-63v34,-24,90,-40,143,-40v115,0,167,71,167,147v0,68,-38,117,-86,174v-44,52,-60,97,-57,148xm178,11v-34,0,-58,-27,-58,-62v0,-37,25,-63,59,-63v36,0,59,26,59,63v0,35,-23,62,-60,62","w":406},"@":{"d":"448,-255r21,-112v-10,-4,-27,-8,-50,-8v-88,0,-159,83,-159,180v0,44,22,76,66,76v58,0,111,-74,122,-136xm508,22r16,43v-55,29,-111,40,-178,40v-164,0,-303,-120,-303,-313v0,-206,143,-385,365,-385v174,0,290,123,290,290v0,150,-84,238,-177,238v-40,0,-77,-26,-75,-88r-3,0v-35,59,-81,88,-141,88v-58,0,-108,-47,-108,-126v0,-124,98,-237,237,-237v42,0,81,9,107,21r-34,181v-15,76,-3,111,30,112v51,2,108,-67,108,-182v0,-146,-87,-251,-242,-251v-163,0,-300,130,-300,333v0,167,109,271,257,271v57,0,110,-12,151,-35","w":737},"[":{"d":"264,112r-183,0r0,-798r183,0r0,55r-114,0r0,688r114,0r0,55","k":{"j":-56}},"\\":{"d":"342,39r-68,0r-272,-725r68,0","w":341},"]":{"d":"20,-686r183,0r0,798r-183,0r0,-55r114,0r0,-688r-114,0r0,-55"},"^":{"d":"536,-189r-70,0r-167,-388r-2,0r-167,388r-69,0r206,-461r63,0","w":596},"_":{"d":"0,75r500,0r0,50r-500,0r0,-50","w":500},"a":{"d":"413,-297r0,181v0,42,2,83,7,116r-79,0r-7,-61r-3,0v-27,38,-79,72,-148,72v-98,0,-148,-69,-148,-139v0,-117,104,-181,291,-180r0,-10v0,-39,-11,-112,-110,-111v-46,0,-93,13,-127,36r-20,-59v40,-25,99,-42,160,-42v148,0,184,101,184,197xm328,-163r0,-84v-96,-2,-205,15,-205,109v0,58,38,84,82,84v64,0,105,-40,119,-81v3,-10,4,-20,4,-28","w":482},"b":{"d":"73,-125r0,-585r87,0r0,304r2,0v31,-54,87,-88,165,-88v121,0,205,100,205,246v0,173,-110,259,-218,259v-70,0,-126,-27,-163,-90r-2,0r-5,79r-75,0v2,-33,4,-82,4,-125xm160,-280r0,86v0,11,1,22,4,32v16,61,68,103,132,103v93,0,147,-75,147,-186v0,-97,-50,-180,-145,-180v-59,0,-115,42,-133,108v-3,11,-5,23,-5,37","w":569,"k":{"v":7,"w":7,"y":7,"z":7,"x":14,"-":-15,")":3,"]":3,"}":3,"\"":11,"'":11,",":24,".":24}},"c":{"d":"403,-83r15,66v-23,11,-74,28,-139,28v-146,0,-241,-99,-241,-247v0,-149,102,-258,260,-258v52,0,98,13,122,26r-20,67v-21,-11,-54,-23,-102,-23v-111,0,-171,83,-171,183v0,112,72,181,168,181v50,0,83,-12,108,-23","w":448,"k":{"f":-3,"c":6,"d":6,"e":6,"o":6,"q":6,"t":-13,"v":-18,"w":-18,"y":-18,"-":-5,",":10,".":10}},"d":{"d":"403,-710r87,0r0,585v0,43,2,92,4,125r-78,0r-4,-84r-3,0v-26,54,-84,95,-163,95v-117,0,-208,-99,-208,-246v-1,-161,100,-259,217,-259v75,0,124,35,146,73r2,0r0,-289xm403,-203r0,-84v0,-11,-1,-26,-4,-37v-13,-55,-61,-101,-127,-101v-91,0,-145,80,-145,186v0,98,49,179,143,179v59,0,113,-40,129,-105v3,-12,4,-24,4,-38","w":564,"k":{",":10,".":10}},"e":{"d":"462,-226r-340,0v2,119,77,168,166,168v63,0,102,-11,134,-25r16,63v-31,14,-85,31,-162,31v-149,0,-238,-99,-238,-245v0,-146,86,-260,227,-260v159,0,200,138,200,227v0,18,-1,31,-3,41xm123,-289r257,0v1,-55,-23,-142,-122,-142v-90,0,-128,81,-135,142","w":501,"k":{"x":3,"-":-28,",":12,".":12}},"f":{"d":"169,0r-87,0r0,-417r-67,0r0,-67r67,0r0,-23v0,-68,16,-130,56,-169v33,-32,77,-45,118,-45v32,0,58,7,75,14r-12,68v-13,-6,-30,-11,-56,-11v-75,0,-94,65,-94,140r0,26r117,0r0,67r-117,0r0,417","w":292,"k":{"g":12,"c":13,"d":13,"e":13,"o":13,"q":13,"s":9,"t":-11,":":-32,";":-32,")":-103,"]":-103,"}":-103,"\"":-56,"'":-56,",":33,".":33}},"g":{"d":"487,-352r0,281v0,112,-23,179,-69,222v-48,43,-116,58,-177,58v-58,0,-122,-14,-161,-40r22,-68v32,21,82,39,142,39v90,0,156,-47,156,-170r0,-53r-2,0v-26,45,-79,81,-154,81v-120,0,-206,-102,-206,-236v0,-164,107,-256,219,-256v84,0,129,43,151,83r2,0r3,-73r78,0v-3,34,-4,74,-4,132xm399,-206r0,-87v0,-15,-1,-28,-5,-39v-16,-52,-58,-94,-123,-94v-84,0,-144,71,-144,183v0,95,49,174,143,174v55,0,104,-34,122,-90v5,-15,7,-32,7,-47","w":559,"k":{"f":-4,"i":6,"m":6,"n":6,"p":6,"r":6,",":15,".":15}},"h":{"d":"73,0r0,-710r88,0r0,303r2,0v14,-25,36,-48,63,-63v26,-15,57,-24,90,-24v65,0,169,40,169,206r0,288r-88,0r0,-278v0,-78,-29,-143,-112,-143v-57,0,-101,40,-118,87v-5,13,-6,26,-6,42r0,292r-88,0","w":555,"k":{"t":4,"v":13,"w":13,"y":13,"\"":7,"'":7}},"i":{"d":"161,0r-88,0r0,-484r88,0r0,484xm117,-675v32,0,54,24,54,55v0,30,-21,54,-56,54v-32,0,-53,-24,-53,-54v0,-30,22,-55,55,-55","w":234},"j":{"d":"-36,211r-10,-69v41,-3,75,-14,96,-38v24,-27,34,-65,34,-181r0,-407r88,0r0,441v0,94,-15,155,-58,199v-39,39,-103,55,-150,55xm128,-675v33,0,54,25,54,55v0,29,-20,54,-56,54v-32,0,-53,-25,-53,-54v0,-30,22,-55,55,-55","w":243,"k":{",":11,".":11}},"k":{"d":"160,-710r0,448r2,0v12,-17,28,-38,42,-55r143,-167r105,0r-186,199r213,285r-108,0r-166,-232r-45,50r0,182r-87,0r0,-710r87,0","w":469,"k":{"a":-18,"b":-17,"h":-17,"k":-17,"l":-17,"i":-17,"m":-17,"n":-17,"p":-17,"r":-17,"u":-4,"v":-13,"w":-13,"y":-13,":":-10,";":-10,"-":10,",":-14,".":-14}},"l":{"d":"73,0r0,-710r88,0r0,710r-88,0","w":236,"k":{",":10,".":10}},"m":{"d":"73,0r0,-353v0,-51,-2,-91,-4,-131r77,0r4,79r3,0v27,-46,72,-89,153,-89v65,0,115,40,136,97r2,0v15,-28,35,-48,55,-63v29,-22,60,-34,106,-34v65,0,160,42,160,210r0,284r-86,0r0,-273v0,-94,-35,-149,-105,-149v-51,0,-89,37,-105,79v-4,13,-7,28,-7,44r0,299r-86,0r0,-290v0,-77,-34,-132,-101,-132v-54,0,-95,44,-109,88v-5,12,-7,28,-7,43r0,291r-86,0","w":834,"k":{"t":4,"v":13,"w":13,"y":13,"\"":7,"'":7}},"n":{"d":"73,0r0,-353v0,-51,-1,-91,-4,-131r78,0r5,80r2,0v24,-45,80,-90,160,-90v67,0,171,40,171,206r0,288r-88,0r0,-279v0,-78,-29,-143,-112,-143v-57,0,-102,41,-118,90v-4,11,-6,26,-6,41r0,291r-88,0","w":555,"k":{"t":4,"v":13,"w":13,"y":13,"\"":7,"'":7}},"o":{"d":"278,-494v139,0,233,101,233,248v0,179,-125,257,-241,257v-130,0,-232,-96,-232,-249v0,-161,107,-256,240,-256xm276,-428v-103,0,-148,96,-148,187v0,106,60,186,146,186v84,0,147,-79,147,-188v0,-82,-41,-185,-145,-185","w":549,"k":{"v":7,"w":7,"y":7,"z":7,"x":14,"-":-15,")":3,"]":3,"}":3,"\"":11,"'":11,",":24,".":24}},"p":{"d":"73,198r0,-524v0,-62,-2,-112,-4,-158r78,0r5,83r2,0v35,-59,93,-93,172,-93v118,0,206,99,206,245v0,174,-107,260,-221,260v-64,0,-120,-28,-149,-76r-2,0r0,263r-87,0xm160,-281r0,84v0,13,1,25,4,36v16,61,69,103,132,103v93,0,147,-76,147,-187v0,-96,-51,-179,-144,-179v-60,0,-117,42,-133,108v-3,11,-6,24,-6,35","w":569,"k":{"v":7,"w":7,"y":7,"z":7,"x":14,"-":-15,")":3,"]":3,"}":3,"\"":11,"'":11,",":24,".":24}},"q":{"d":"403,198r0,-272r-2,0v-27,47,-80,85,-158,85v-113,0,-205,-97,-205,-244v0,-182,117,-261,219,-261v75,0,125,37,149,83r2,0r3,-73r83,0v-2,40,-4,83,-4,133r0,549r-87,0xm403,-197r0,-91v0,-12,-1,-25,-4,-36v-14,-54,-60,-100,-126,-100v-91,0,-146,77,-146,185v0,97,46,180,143,180v57,0,106,-35,126,-95v4,-13,7,-30,7,-43","w":563,"k":{",":8,".":8}},"r":{"d":"73,0r0,-333v0,-57,-1,-106,-4,-151r77,0r4,96r3,0v22,-65,76,-106,135,-106v9,0,16,1,24,2r0,83v-9,-2,-18,-2,-30,-2v-62,0,-106,46,-118,112v-2,12,-3,27,-3,41r0,258r-88,0","w":327,"k":{"a":5,"f":-30,"g":8,"b":-4,"h":-4,"k":-4,"l":-4,"i":-4,"m":-4,"n":-4,"p":-4,"r":-4,"c":10,"d":10,"e":10,"o":10,"q":10,"t":-24,"v":-25,"w":-25,"y":-25,"z":-9,"x":-18,":":-9,";":-9,"-":5,",":53,".":53}},"s":{"d":"40,-23r21,-66v27,16,73,34,117,34v63,0,93,-31,93,-72v0,-42,-25,-64,-89,-88v-88,-32,-129,-79,-129,-137v0,-78,64,-142,167,-142v49,0,92,13,118,30r-21,64v-19,-12,-54,-29,-99,-29v-52,0,-80,30,-80,66v0,40,28,58,91,83v83,31,127,73,127,145v0,86,-67,146,-180,146v-53,0,-102,-14,-136,-34","w":396,"k":{",":11,".":11}},"t":{"d":"93,-574r86,-26r0,116r126,0r0,67r-126,0r0,261v0,60,17,94,66,94v24,0,38,-2,51,-6r4,67v-17,6,-44,12,-78,12v-41,0,-74,-14,-95,-37v-24,-27,-34,-70,-34,-127r0,-264r-75,0r0,-67r75,0r0,-90","w":331,"k":{"g":6,"c":6,"d":6,"e":6,"o":6,"q":6,"v":-9,"w":-9,"y":-9,"-":5,",":3,".":3}},"u":{"d":"478,-484r0,351v0,51,1,95,4,133r-78,0r-5,-79r-2,0v-22,39,-74,90,-160,90v-76,0,-167,-43,-167,-212r0,-283r88,0r0,267v0,92,29,155,108,155v59,0,100,-41,116,-81v5,-12,8,-28,8,-45r0,-296r88,0","w":551,"k":{",":8,".":8}},"v":{"d":"13,-484r94,0r95,271v16,45,29,85,39,125r3,0v11,-40,25,-80,41,-125r94,-271r92,0r-190,484r-84,0","w":481,"k":{"a":4,"g":10,"c":10,"d":10,"e":10,"o":10,"q":10,"s":6,"v":-12,"w":-12,"y":-12,":":-24,";":-24,"-":4,",":39,".":39}},"w":{"d":"18,-484r90,0r65,246v13,54,26,104,35,154r3,0v11,-49,27,-101,43,-153r79,-247r74,0r75,242v18,58,32,109,43,158r3,0v8,-49,21,-100,37,-157r69,-243r87,0r-156,484r-80,0r-74,-231v-17,-54,-31,-102,-43,-159r-2,0v-12,58,-27,108,-44,160r-78,230r-80,0","w":736,"k":{"a":4,"g":10,"c":10,"d":10,"e":10,"o":10,"q":10,"s":6,"v":-12,"w":-12,"y":-12,":":-24,";":-24,"-":4,",":39,".":39}},"x":{"d":"16,-484r98,0r69,104v19,27,34,51,50,78r2,0v16,-28,32,-53,49,-79r67,-103r96,0r-165,234r169,250r-99,0r-72,-109v-19,-28,-35,-55,-52,-84r-2,0v-16,29,-32,55,-51,84r-70,109r-97,0r172,-247","w":463,"k":{"c":15,"d":15,"e":15,"o":15,"q":15,"s":6,"t":-13,"v":-15,"w":-15,"y":-15,"-":6}},"y":{"d":"9,-484r96,0r105,286v12,32,24,70,32,99r2,0v9,-29,19,-66,31,-101r96,-284r93,0r-132,345v-63,166,-106,250,-166,303v-44,37,-86,52,-108,56r-22,-73v22,-7,51,-21,77,-43v24,-19,53,-53,74,-98v4,-9,7,-16,7,-21v0,-5,-2,-12,-7,-23","w":471,"k":{"a":4,"g":10,"c":10,"d":10,"e":10,"o":10,"q":10,"s":6,"v":-12,"w":-12,"y":-12,":":-24,";":-24,"-":4,",":39,".":39}},"z":{"d":"18,0r0,-51r218,-285r64,-76r0,-2r-262,0r0,-70r368,0r0,55r-216,281v-21,27,-40,52,-62,76r0,2r282,0r0,70r-392,0","w":428,"k":{"c":7,"d":7,"e":7,"o":7,"q":7,"v":-24,"w":-24,"y":-24}},"{":{"d":"28,-263r0,-51v70,0,80,-39,81,-74v0,-28,-4,-56,-8,-83v-4,-29,-8,-57,-8,-84v0,-92,61,-131,146,-131r20,0r0,55r-17,0v-59,1,-80,32,-80,86v0,23,4,47,7,71v4,25,8,49,8,76v1,64,-28,96,-73,108r0,2v45,12,73,45,73,109v0,27,-4,52,-8,77v-3,24,-7,48,-7,72v0,56,24,86,80,87r17,0r0,55r-21,0v-82,0,-145,-36,-145,-137v0,-27,4,-55,9,-82v3,-28,7,-55,7,-81v0,-32,-10,-75,-81,-75","k":{"j":-56}},"|":{"d":"86,-750r67,0r0,1000r-67,0r0,-1000","w":239},"}":{"d":"256,-314r0,51v-70,0,-80,43,-81,75v0,26,4,53,8,81v4,27,8,55,8,82v0,101,-63,137,-145,137r-21,0r0,-55r17,0v56,-1,80,-31,80,-87v0,-24,-4,-48,-7,-72v-4,-25,-8,-50,-8,-77v-1,-64,28,-97,73,-109r0,-2v-45,-12,-73,-44,-73,-108v0,-27,4,-51,8,-76v3,-24,7,-48,7,-71v0,-54,-21,-85,-80,-86r-17,0r0,-55r20,0v85,0,146,39,146,131v0,27,-4,55,-8,84v-4,27,-8,55,-8,83v0,35,10,74,81,74"},"~":{"d":"109,-210r-60,0v-3,-100,50,-151,119,-151v42,0,74,13,142,45v50,24,87,42,124,42v36,0,53,-29,54,-84r59,0v5,111,-52,151,-114,151v-40,0,-76,-12,-145,-44v-47,-23,-84,-44,-120,-44v-36,0,-58,25,-59,85","w":596},"'":{"d":"51,-692r87,0r-17,240r-54,0","w":188,"k":{"f":-25,"g":10,"c":8,"d":8,"e":8,"o":8,"q":8,"t":-24,"v":-21,"w":-21,"y":-21,",":113,".":113}},"`":{"d":"22,-693r96,0r88,143r-62,0","w":300},"\u00a0":{"w":212}}});


/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Optima is a trademark of Heidelberger Druckmaschinen AG, which may be
 * registered in certain jurisdictions, exclusively licensed through Linotype
 * Library GmbH, a wholly owned subsidiary of Heidelberger Druckmaschinen AG.
 */
Cufon.registerFont({"w":278,"face":{"font-family":"Optima","font-weight":400,"font-stretch":"normal","units-per-em":"1000","panose-1":"2 0 5 3 0 0 0 0 0 0","ascent":"800","descent":"-200","cap-height":"5","bbox":"-30 -750 987 250","underline-thickness":"50","underline-position":"-100","stemh":"37","stemv":"74","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{},"!":{"d":"177,-171r-20,0v-16,-190,-39,-456,-39,-478v0,-36,24,-49,49,-49v25,0,49,13,49,49v0,22,-23,288,-39,478xm110,-45v0,-31,26,-57,57,-57v31,0,57,26,57,57v0,31,-26,57,-57,57v-31,0,-57,-26,-57,-57","w":333},"\"":{"d":"66,-410r0,-288r52,0r0,288r-52,0xm215,-410r0,-288r52,0r0,288r-52,0","w":333},"#":{"d":"164,-224r43,-208r-75,0v10,-21,19,-60,19,-82r73,0v21,-101,26,-129,29,-145v7,2,14,3,21,3v7,0,14,-1,21,-3v-7,15,-10,24,-35,145r114,0v21,-101,26,-129,29,-145v7,2,14,3,21,3v7,0,14,-1,21,-3v-7,15,-10,24,-35,145r74,0v-9,21,-19,61,-19,82r-73,0r-43,208r75,0v-9,21,-19,61,-19,82r-73,0v-22,107,-27,130,-29,145v-7,-1,-14,-3,-21,-3v-7,0,-14,2,-21,3v6,-15,9,-24,35,-145r-114,0v-22,107,-27,130,-29,145v-7,-1,-14,-3,-21,-3v-7,0,-14,2,-21,3v6,-15,9,-24,35,-145r-74,0v10,-21,19,-60,19,-82r73,0xm314,-224r43,-208r-115,0r-43,208r115,0","w":556},"$":{"d":"302,-290r0,263v65,-15,103,-72,103,-137v0,-43,-11,-81,-103,-126xm265,-393r0,-240v-57,9,-97,55,-97,116v0,62,33,100,97,124xm265,-21r0,-283v-119,-46,-175,-89,-175,-186v0,-97,68,-167,175,-180v0,-26,-1,-55,-8,-78v9,3,17,5,26,5v9,0,17,-2,26,-5v-6,24,-7,51,-7,76v87,0,126,27,153,46v-12,22,-19,44,-27,80r-12,0v-13,-34,-42,-86,-114,-89r0,256v115,44,181,84,181,179v0,99,-66,188,-181,210v0,38,1,75,7,112v-9,-3,-17,-5,-26,-5v-9,0,-17,2,-26,5v6,-31,8,-70,8,-107v-12,1,-18,1,-27,1v-62,0,-116,-16,-165,-55v12,-29,15,-49,19,-85r12,0v47,85,107,103,161,103","w":556},"%":{"d":"42,-506v0,-95,64,-166,161,-166v97,0,161,71,161,166v0,95,-64,166,-161,166v-97,0,-161,-71,-161,-166xm116,-506v0,74,27,142,87,142v60,0,87,-68,87,-142v0,-74,-27,-142,-87,-142v-60,0,-87,68,-87,142xm525,-150v0,-95,64,-166,161,-166v97,0,161,71,161,166v0,95,-64,166,-161,166v-97,0,-161,-71,-161,-166xm599,-150v0,74,27,142,87,142v60,0,87,-68,87,-142v0,-74,-27,-142,-87,-142v-60,0,-87,68,-87,142xm233,39r373,-734v8,3,16,5,24,5v7,0,15,-2,23,-5r-373,734v-8,-3,-16,-5,-23,-5v-8,0,-16,2,-24,5","w":889},"&":{"d":"421,-561v0,-48,-31,-83,-80,-83v-52,0,-85,41,-85,94v0,39,27,99,63,144v68,-42,102,-104,102,-155xm186,-522v0,-84,64,-150,154,-150v77,0,133,39,133,112v0,76,-78,140,-137,175v60,77,118,153,176,218v48,-66,87,-128,119,-198v8,17,23,30,38,40v-41,64,-81,122,-135,186r128,144v-21,-2,-43,-5,-64,-5v-18,0,-39,3,-57,5v-11,-18,-34,-51,-63,-85v-59,59,-121,98,-216,98v-103,0,-191,-58,-191,-169v0,-88,79,-172,182,-215v-39,-55,-67,-106,-67,-156xm153,-169v0,72,61,140,147,140v67,0,112,-26,158,-72v-66,-80,-128,-158,-188,-241v-73,44,-117,90,-117,173","w":722},"(":{"d":"222,-698r20,18v-100,128,-120,246,-120,399v0,153,20,271,120,399r-20,18v-106,-114,-162,-264,-162,-417v0,-146,56,-303,162,-417"},")":{"d":"56,136r-20,-18v100,-128,120,-246,120,-399v0,-153,-20,-271,-120,-399r20,-18v106,114,162,264,162,417v0,146,-56,303,-162,417"},"*":{"d":"208,-529r-14,-155v9,3,17,4,29,4v12,0,20,-1,29,-4r-16,155r125,-92v3,21,14,41,30,52r-142,64r141,66v-13,10,-26,29,-29,50r-126,-88r17,152v-9,-2,-17,-4,-29,-4v-12,0,-20,2,-29,4r14,-152r-122,89v-3,-22,-15,-41,-29,-51r140,-65r-144,-65v13,-11,29,-32,29,-52","w":444},"+":{"d":"50,-227r0,-52r227,0r0,-227r52,0r0,227r227,0r0,52r-227,0r0,227r-52,0r0,-227r-227,0","w":606},",":{"d":"30,168r77,-243v5,-17,17,-38,44,-38v16,0,37,10,37,34v0,16,-8,29,-15,42r-125,212"},"-":{"d":"42,-200r0,-62r249,0r0,62r-249,0","w":333},".":{"d":"82,-45v0,-31,26,-57,57,-57v31,0,57,26,57,57v0,31,-26,57,-57,57v-31,0,-57,-26,-57,-57"},"\/":{"d":"-25,23r276,-726v9,3,17,5,26,5v9,0,17,-2,26,-5r-276,726v-9,-3,-17,-5,-26,-5v-9,0,-17,2,-26,5"},":":{"d":"82,-411v0,-31,26,-57,57,-57v31,0,57,26,57,57v0,31,-26,57,-57,57v-31,0,-57,-26,-57,-57xm82,-45v0,-31,26,-57,57,-57v31,0,57,26,57,57v0,31,-26,57,-57,57v-31,0,-57,-26,-57,-57"},";":{"d":"30,168r77,-243v5,-17,17,-38,44,-38v16,0,37,10,37,34v0,16,-8,29,-15,42r-125,212xm82,-411v0,-31,26,-57,57,-57v31,0,57,26,57,57v0,31,-26,57,-57,57v-31,0,-57,-26,-57,-57"},"<":{"d":"50,-228r0,-52r506,-236r0,52r-459,211r459,211r0,52","w":606},"=":{"d":"556,-376r0,52r-506,0r0,-52r506,0xm556,-182r0,52r-506,0r0,-52r506,0","w":606},">":{"d":"50,10r0,-52r459,-211r-459,-211r0,-52r506,238r0,52","w":606},"?":{"d":"86,-615r-6,-50v26,-16,57,-33,103,-33v96,0,148,61,148,132v0,142,-178,201,-178,305v0,26,18,59,52,59v16,0,29,-6,34,-9r6,4v-5,6,-11,19,-12,28v-8,3,-19,5,-35,5v-33,0,-107,-29,-107,-111v0,-133,172,-185,172,-294v0,-51,-44,-82,-86,-82v-36,0,-69,19,-91,46xm125,-45v0,-31,26,-57,57,-57v31,0,57,26,57,57v0,31,-26,57,-57,57v-31,0,-57,-26,-57,-57","w":389},"@":{"d":"496,-468r10,-54r52,0v-52,248,-55,268,-55,286v0,22,13,35,33,35v53,0,130,-83,130,-193v0,-132,-55,-226,-239,-226v-161,0,-278,138,-278,315v0,159,106,240,250,240v96,0,176,-44,227,-82r-3,32v-34,31,-122,87,-248,87v-130,0,-288,-98,-288,-310v0,-158,133,-314,344,-314v218,0,282,120,282,238v0,144,-106,241,-192,241v-56,0,-65,-28,-65,-72r-2,0v-23,35,-61,72,-110,72v-70,0,-108,-45,-108,-134v0,-132,81,-225,179,-225v41,0,75,19,79,64r2,0xm476,-425v0,-43,-11,-75,-61,-75v-76,0,-117,116,-117,197v0,61,13,93,61,93v78,0,117,-145,117,-215","w":800},"A":{"d":"330,-698r19,0v98,232,248,596,301,703v-18,-3,-35,-5,-53,-5v-18,0,-35,2,-53,5v-19,-69,-67,-179,-103,-268v-43,-1,-87,-2,-131,-2v-41,0,-81,1,-122,2v-42,103,-80,205,-97,268v-13,-3,-25,-5,-37,-5v-12,0,-24,2,-37,5xm427,-309r-111,-254r-109,254v35,0,73,2,108,2v37,0,75,-1,112,-2","w":667},"B":{"d":"98,-255r0,-172v0,-86,-4,-173,-8,-258v35,3,71,5,106,5v35,0,71,-5,106,-5v114,0,211,31,211,144v0,98,-68,153,-168,175r0,2v119,6,192,54,192,168v0,148,-137,201,-253,201v-32,0,-65,-5,-97,-5v-32,0,-65,2,-97,5v4,-87,8,-174,8,-260xm180,-378r54,0v94,0,191,-33,191,-144v0,-108,-87,-126,-163,-126v-34,0,-57,2,-76,5v-2,63,-6,127,-6,190r0,75xm180,-341r0,102v0,67,4,135,6,202v25,3,62,5,98,5v86,0,161,-60,161,-168v0,-114,-87,-141,-220,-141r-45,0","w":611},"C":{"d":"624,-98r-9,59v-25,20,-108,57,-208,57v-211,0,-365,-131,-365,-358v0,-227,154,-358,375,-358v86,0,163,21,217,46v-10,18,-17,57,-21,78r-6,2v-28,-31,-96,-89,-190,-89v-157,0,-277,99,-277,321v0,222,120,321,277,321v95,0,165,-54,203,-83","w":667},"D":{"d":"180,-426r0,172v0,71,2,143,6,212v28,6,80,10,131,10v147,0,307,-58,307,-322v0,-232,-120,-289,-284,-289v-59,0,-113,5,-154,10v-4,64,-6,135,-6,207xm98,-254r0,-172v0,-86,-4,-173,-8,-259v50,3,101,5,151,5v50,0,101,-5,151,-5v234,0,330,125,330,331v0,267,-206,359,-364,359v-45,0,-89,-5,-134,-5v-45,0,-89,2,-134,5v4,-86,8,-173,8,-259","w":778},"E":{"d":"98,-255r0,-172v0,-86,-4,-173,-8,-258v60,3,119,5,179,5v60,0,119,-2,178,-5v-2,10,-3,20,-3,30v0,10,1,20,3,30v-84,-6,-133,-13,-263,-13v-1,43,-4,78,-4,127v0,52,1,107,1,132v118,0,184,-5,243,-10v-2,10,-3,21,-3,31v0,10,1,20,3,30v-69,-7,-195,-9,-243,-9v-1,24,-1,49,-1,145v0,76,1,125,2,150v89,0,207,-1,270,-13v-2,9,-3,22,-3,31v0,9,1,20,3,29v-59,-3,-119,-5,-180,-5v-61,0,-121,2,-182,5v4,-87,8,-174,8,-260","w":500},"F":{"d":"98,-254r0,-172v0,-86,-4,-173,-8,-259v60,3,119,5,179,5v60,0,119,-2,191,-5v-2,10,-3,20,-3,30v0,10,1,20,3,30v-72,-7,-214,-13,-279,-13v-1,47,-2,89,-2,131v0,46,1,84,1,126v86,0,175,-2,258,-10v-2,10,-4,20,-4,30v0,10,2,20,4,30v-67,-7,-172,-8,-258,-8r0,85v0,86,4,173,8,259v-17,-3,-33,-5,-49,-5v-16,0,-32,2,-49,5v4,-86,8,-173,8,-259","w":500},"G":{"d":"683,-563r-12,0v-41,-49,-119,-98,-220,-98v-166,0,-293,99,-293,321v0,196,110,316,298,316v57,0,126,-11,160,-32v1,-40,2,-80,2,-121v0,-47,-3,-95,-5,-137v13,3,32,5,48,5v15,0,30,-1,43,-5v-2,30,-4,95,-4,203v0,26,1,54,1,81v-57,20,-177,48,-255,48v-238,0,-386,-124,-386,-358v0,-227,154,-358,391,-358v135,0,208,33,255,58v-10,18,-20,52,-23,77","w":778},"H":{"d":"598,-391r0,-35v0,-86,-4,-173,-8,-259v17,3,33,5,49,5v16,0,32,-2,49,-5v-4,86,-8,173,-8,259r0,172v0,86,4,173,8,259v-17,-3,-33,-5,-49,-5v-16,0,-32,2,-49,5v4,-86,8,-173,8,-259r0,-90v-70,-1,-139,-2,-209,-2v-70,0,-139,1,-209,2r0,90v0,86,4,173,8,259v-17,-3,-33,-5,-49,-5v-16,0,-32,2,-49,5v4,-86,8,-173,8,-259r0,-172v0,-86,-4,-173,-8,-259v17,3,33,5,49,5v16,0,32,-2,49,-5v-4,86,-8,173,-8,259r0,35v70,1,139,3,209,3v70,0,139,-2,209,-3","w":778},"I":{"d":"98,-254r0,-172v0,-86,-4,-173,-8,-259v17,3,33,5,49,5v16,0,32,-2,49,-5v-4,86,-8,173,-8,259r0,172v0,86,4,173,8,259v-17,-3,-33,-5,-49,-5v-16,0,-32,2,-49,5v4,-86,8,-173,8,-259"},"J":{"d":"-22,144r-8,-28v117,0,128,-109,128,-267r0,-275v0,-86,-4,-173,-8,-259v17,3,33,5,49,5v16,0,32,-2,49,-5v-4,86,-8,173,-8,259v0,120,3,260,3,356v0,119,-82,214,-205,214"},"K":{"d":"90,5v4,-86,8,-173,8,-259r0,-172v0,-86,-4,-173,-8,-259v17,3,33,5,49,5v16,0,32,-2,49,-5v-4,86,-8,173,-8,259r0,55v0,6,2,8,6,8v4,0,6,-2,14,-9v93,-81,207,-206,301,-313v13,3,27,5,41,5v16,0,32,-2,48,-5v-92,81,-248,229,-320,312r331,378v-20,-3,-40,-5,-60,-5v-18,0,-37,2,-55,5v-95,-117,-246,-301,-289,-344v-6,-6,-9,-8,-12,-8v-3,0,-5,3,-5,6r0,87v0,86,4,173,8,259v-17,-3,-33,-5,-49,-5v-16,0,-32,2,-49,5","w":611},"L":{"d":"98,-254r0,-172v0,-86,-4,-173,-8,-259v17,3,33,5,49,5v16,0,32,-2,49,-5v-4,86,-8,173,-8,259v0,168,2,286,3,384v94,0,176,0,276,-13v-3,10,-5,20,-5,30v0,10,2,20,5,30v-61,-3,-123,-5,-184,-5v-62,0,-123,2,-185,5v4,-86,8,-173,8,-259","w":500},"M":{"d":"145,-698r17,0v91,188,185,364,287,551v40,-78,199,-366,297,-551r13,0v30,256,50,474,82,703v-16,-3,-31,-5,-47,-5v-16,0,-31,2,-47,5v-14,-179,-28,-345,-49,-516r-2,0v-91,167,-183,331,-262,511r-9,0v-78,-166,-170,-338,-257,-511r-2,0v-19,165,-47,403,-48,516v-12,-3,-23,-5,-35,-5v-12,0,-23,2,-35,5v35,-221,75,-491,97,-703","w":889},"N":{"d":"675,18r-14,0v-152,-179,-334,-371,-505,-553v-1,37,-3,97,-3,203v0,86,4,297,9,337v-11,-3,-23,-5,-35,-5v-12,0,-24,2,-37,5v8,-47,21,-303,21,-435v0,-126,0,-223,-3,-268r16,0v163,177,384,418,506,541v0,-179,0,-374,-8,-528v11,3,23,5,34,5v11,0,21,-2,32,-5v-6,59,-16,257,-16,335v0,102,2,323,3,368","w":778},"O":{"d":"693,-340v0,-222,-120,-321,-277,-321v-156,0,-276,99,-276,321v0,222,120,321,276,321v157,0,277,-99,277,-321xm42,-340v0,-227,154,-358,374,-358v221,0,375,131,375,358v0,227,-154,358,-375,358v-220,0,-374,-131,-374,-358","w":833},"P":{"d":"98,-254r0,-172v0,-86,-4,-173,-8,-259v32,3,65,5,97,5v32,0,96,-5,124,-5v60,0,219,2,219,169v0,176,-173,210,-269,210v-30,0,-55,-1,-81,-3r0,55v0,86,4,173,8,259v-17,-3,-33,-5,-49,-5v-16,0,-32,2,-49,5v4,-86,8,-173,8,-259xm180,-648r0,297v21,5,49,8,71,8v82,0,187,-31,187,-167v0,-114,-65,-138,-168,-138r-90,0","w":556},"Q":{"d":"693,-340v0,-222,-120,-321,-277,-321v-156,0,-276,99,-276,321v0,222,120,321,276,321v157,0,277,-99,277,-321xm42,-340v0,-227,154,-358,374,-358v221,0,375,131,375,358v0,187,-104,308,-264,346v71,57,145,115,226,172v-35,2,-67,24,-78,41v-73,-67,-147,-134,-230,-202v-10,1,-19,1,-29,1v-220,0,-374,-131,-374,-358","w":833},"R":{"d":"180,-426r0,57v18,4,41,5,67,5v82,0,191,-34,191,-153v0,-105,-87,-131,-155,-131v-46,0,-76,3,-97,5v-3,73,-6,145,-6,217xm98,-254r0,-172v0,-86,-4,-173,-8,-259v38,3,76,5,114,5v38,0,76,-5,114,-5v113,0,208,39,208,158v0,129,-129,181,-205,191v49,61,216,276,274,341v-20,-3,-40,-5,-60,-5v-19,0,-39,2,-58,5v-40,-61,-173,-245,-259,-332r-38,0r0,73v0,86,4,173,8,259v-17,-3,-33,-5,-49,-5v-16,0,-32,2,-49,5v4,-86,8,-173,8,-259","w":611},"S":{"d":"64,-128r12,0v22,47,72,104,158,104v89,0,143,-65,143,-145v0,-184,-315,-105,-315,-340v0,-111,84,-189,217,-189v63,0,108,15,148,47v-12,23,-19,46,-27,84r-12,0v-14,-37,-44,-94,-119,-94v-75,0,-129,51,-129,124v0,187,315,109,315,330v0,122,-91,225,-245,225v-83,0,-130,-29,-165,-57v12,-31,15,-51,19,-89","w":500},"T":{"d":"237,-254r0,-172v0,-69,-1,-138,-3,-207v-69,0,-158,4,-214,11v3,-10,5,-21,5,-32v0,-10,-2,-20,-5,-31v86,3,172,5,258,5v86,0,172,-2,258,-5v-3,11,-5,21,-5,32v0,10,2,21,5,31v-56,-7,-145,-11,-214,-11v-2,69,-3,138,-3,207r0,172v0,86,4,173,8,259v-17,-3,-33,-5,-49,-5v-16,0,-32,2,-49,5v4,-86,8,-173,8,-259","w":556},"U":{"d":"619,-360v0,-190,0,-286,-6,-325v13,3,27,5,41,5v10,0,21,-2,30,-5v-8,93,-16,269,-18,415v-2,177,-105,288,-285,288v-198,0,-286,-92,-286,-286v0,-62,5,-108,5,-158v0,-110,-4,-201,-6,-259v16,3,36,5,52,5v14,0,30,-2,43,-5v-6,59,-12,195,-12,343v0,136,0,313,223,313v219,0,219,-205,219,-331","w":778},"V":{"d":"296,5v-60,-165,-182,-460,-279,-690v17,3,35,5,52,5v17,0,35,-2,52,-5v59,177,144,389,228,591v73,-162,185,-460,227,-591v12,3,25,5,37,5v12,0,25,-2,37,-5v-104,230,-200,460,-288,690v-11,-3,-22,-5,-33,-5v-11,0,-24,2,-33,5","w":667},"W":{"d":"229,5v-33,-109,-177,-584,-216,-690v17,3,33,5,50,5v17,0,33,-2,50,-5v51,203,93,339,173,592r2,0v36,-110,166,-489,191,-592v11,3,22,5,33,5v11,0,22,-2,33,-5v30,108,156,488,191,592r2,0v30,-89,160,-505,179,-592v12,3,23,5,35,5v12,0,23,-2,35,-5v-39,94,-204,584,-239,690v-11,-3,-23,-5,-34,-5v-11,0,-23,2,-34,5r-184,-573r-2,0r-195,573v-12,-3,-23,-5,-35,-5v-12,0,-23,2,-35,5","w":1000},"X":{"d":"319,-411v62,-91,111,-171,167,-274v12,3,25,5,37,5v12,0,25,-2,37,-5v-75,105,-150,205,-218,312r232,378v-19,-3,-37,-5,-56,-5v-19,0,-37,2,-56,5v-53,-101,-103,-202,-170,-303v-68,101,-127,202,-181,303v-12,-3,-25,-5,-37,-5v-12,0,-25,2,-37,5r231,-344r-212,-346v18,3,36,5,54,5v18,0,36,-2,54,-5v44,89,94,173,155,274","w":611},"Y":{"d":"265,-279v-40,-69,-201,-343,-243,-406v18,3,37,5,55,5v18,0,37,-2,55,-5v58,114,121,227,190,346v62,-97,135,-232,189,-346v13,3,26,5,39,5v13,0,26,-2,39,-5v-127,195,-199,311,-242,395v0,98,3,233,8,295v-17,-3,-33,-5,-49,-5v-16,0,-32,2,-49,5v8,-71,8,-177,8,-284","w":611},"Z":{"d":"23,5r0,-17v158,-216,382,-545,433,-624v-24,-1,-49,-2,-70,-2v-96,0,-246,7,-322,15v3,-10,5,-21,5,-31v0,-10,-2,-21,-5,-31v65,5,211,5,417,5v36,0,73,-3,107,-5r0,18v-78,86,-380,525,-437,622v32,2,57,3,83,3v102,0,284,-9,354,-18v-3,12,-5,22,-5,33v0,11,2,21,5,32v-96,-3,-159,-5,-235,-5v-104,0,-280,2,-330,5","w":611},"[":{"d":"138,-155r0,-252v0,-93,-2,-185,-6,-276v15,2,32,3,51,3v33,0,85,-2,112,-3v-1,5,-2,9,-2,14v0,5,1,10,2,15v-28,-1,-60,-2,-91,-2v-5,82,-8,166,-8,249r0,252v0,83,3,167,8,249v31,0,63,-1,91,-2v-1,5,-2,10,-2,15v0,5,1,9,2,14v-27,-1,-79,-3,-112,-3v-19,0,-36,1,-51,3v4,-91,6,-183,6,-276","w":333},"\\":{"d":"362,23r-276,-726v9,3,17,5,26,5v9,0,17,-2,26,-5r276,726v-9,-3,-17,-5,-26,-5v-9,0,-17,2,-26,5","w":500},"]":{"d":"137,-155r0,-252v0,-83,-3,-167,-8,-249v-31,0,-63,1,-91,2v1,-5,2,-10,2,-15v0,-5,-1,-9,-2,-14v27,1,79,3,112,3v19,0,36,-1,51,-3v-4,91,-6,183,-6,276r0,252v0,93,2,185,6,276v-15,-2,-32,-3,-51,-3v-33,0,-85,2,-112,3v1,-5,2,-9,2,-14v0,-5,-1,-10,-2,-15v28,1,60,2,91,2v5,-82,8,-166,8,-249","w":333},"^":{"d":"42,-203r236,-453r52,0r234,453r-52,0r-209,-406r-209,406r-52,0","w":606},"_":{"d":"500,130r-500,0r0,-50r500,0r0,50","w":500},"{":{"d":"57,-260r0,-42v48,0,73,-38,73,-94r0,-170v0,-90,32,-117,88,-117r58,0r0,37r-32,0v-35,0,-52,13,-52,80r0,164v0,66,-33,100,-88,120r0,2v55,20,88,54,88,120r0,164v0,67,17,80,52,80r32,0r0,37r-58,0v-56,0,-88,-27,-88,-117r0,-170v0,-56,-25,-94,-73,-94","w":333},"|":{"d":"141,250r0,-1000r52,0r0,1000r-52,0","w":333},"}":{"d":"276,-302r0,42v-48,0,-73,38,-73,94r0,170v0,90,-32,117,-88,117r-58,0r0,-37r32,0v35,0,52,-13,52,-80r0,-164v0,-66,33,-100,88,-120r0,-2v-55,-20,-88,-54,-88,-120r0,-164v0,-67,-17,-80,-52,-80r-32,0r0,-37r58,0v56,0,88,27,88,117r0,170v0,56,25,94,73,94","w":333},"~":{"d":"104,-186r-29,-44v31,-51,61,-83,122,-83v40,0,66,12,94,25v45,20,77,43,119,43v39,0,75,-43,92,-75r29,42v-27,40,-64,85,-122,85v-37,0,-71,-15,-114,-37v-35,-18,-66,-31,-92,-31v-59,0,-85,43,-99,75","w":606},"'":{"d":"113,-410r0,-288r52,0r0,288r-52,0"},"`":{"d":"193,-559r-147,-94v-16,-10,-36,-23,-36,-47v0,-21,20,-32,33,-32v15,0,31,10,45,24r147,149r-42,0","w":333},"\u00a0":{}}});

// ColorBox v1.3.6 - a full featured, light-weight, customizable lightbox based on jQuery 1.3
// c) 2009 Jack Moore - www.colorpowered.com - jack@colorpowered.com
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php

(function ($) {
	// Shortcuts (to increase compression)
	var colorbox = 'colorbox',
	hover = 'hover',
	TRUE = true,
	FALSE = false,
	cboxPublic,
	isIE = !$.support.opacity,
	isIE6 = isIE && !window.XMLHttpRequest,

	// Event Strings (to increase compression)
	cbox_open = 'cbox_open',
	cbox_load = 'cbox_load',
	cbox_complete = 'cbox_complete',
	cbox_cleanup = 'cbox_cleanup',
	cbox_closed = 'cbox_closed',
	cbox_resize = 'resize.cbox_resize',

	// Cached jQuery Object Variables
	$overlay,
	$cbox,
	$wrap,
	$content,
	$topBorder,
	$leftBorder,
	$rightBorder,
	$bottomBorder,
	$related,
	$window,
	$loaded,
	$loadingBay,
	$loadingOverlay,
	$loadingGraphic,
	$title,
	$current,
	$slideshow,
	$next,
	$prev,
	$close,

	// Variables for cached values or use across multiple functions
	interfaceHeight,
	interfaceWidth,
	loadedHeight,
	loadedWidth,
	element,
	bookmark,
	index,
	settings,
	open,
	active,
	
	// ColorBox Default Settings.	
	// See http://colorpowered.com/colorbox for details.
	defaults = {
		transition: "fade",
		speed: 350,
		width: FALSE,
		height: FALSE,
		innerWidth: FALSE,
		innerHeight: FALSE,
		initialWidth: "0",
		initialHeight: "0",
		maxWidth: FALSE,
		maxHeight: FALSE,
		scalePhotos: TRUE,
		scrolling: TRUE,
		inline: FALSE,
		html: FALSE,
		iframe: FALSE,
		photo: FALSE,
		href: FALSE,
		title: FALSE,
		rel: FALSE,
		opacity: 0.7,
		preloading: TRUE,
		current: "image {current} of {total}",
		previous: "previous",
		next: "next",
		close: "close",
		open: FALSE,
		overlayClose: TRUE,
		
		slideshow: FALSE,
		slideshowAuto: TRUE,
		slideshowSpeed: 2500,
		slideshowStart: "start slideshow",
		slideshowStop: "stop slideshow",
		
		onOpen: FALSE,
		onLoad: FALSE,
		onComplete: FALSE,
		onCleanup: FALSE,
		onClosed: FALSE
	};
	
	// ****************
	// HELPER FUNCTIONS
	// ****************
		
	// Convert % values to pixels
	function setSize(size, dimension) {
		dimension = dimension === 'x' ? $window.width() : $window.height();//document.documentElement.clientWidth : document.documentElement.clientHeight;
		return (typeof size === 'string') ? Math.round((size.match(/%/) ? (dimension / 100) * parseInt(size, 10) : parseInt(size, 10))) : size;
	}

	// Checks an href to see if it is a photo.
	// There is a force photo option (photo: true) for hrefs that cannot be matched by this regex.
	function isImage(url) {
		url = $.isFunction(url) ? url.call(element) : url;
		return settings.photo || url.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i);
	}
	
	// Assigns functions results to their respective settings.  This allows functions to be used to set ColorBox options.
	function process() {
		for (var i in settings) {
			if ($.isFunction(settings[i]) && i.substring(0, 2) !== 'on') { // checks to make sure the function isn't one of the callbacks, they will be handled at the appropriate time.
			    settings[i] = settings[i].call(element);
			}
		}
		settings.rel = settings.rel || element.rel;
		settings.href = settings.href || element.href;
		settings.title = settings.title || element.title;
	}

	function launch(elem) {
		
		element = elem;
		
		settings = $(element).data(colorbox);
		
		process(); // Convert functions to their returned values.
		
		if (settings.rel && settings.rel !== 'nofollow') {
			$related = $('.cboxElement').filter(function () {
				var relRelated = $(this).data(colorbox).rel || this.rel;
				return (relRelated === settings.rel);
			});
			index = $related.index(element);
			
			// Check direct calls to ColorBox.
			if (index < 0) {
				$related = $related.add(element);
				index = $related.length - 1;
			}
		} else {
			$related = $(element);
			index = 0;
		}
		
		if (!open) {
			open = TRUE;
			
			active = TRUE; // Prevents the page-change action from queuing up if the visitor holds down the left or right keys.
			
			bookmark = element;
			
			bookmark.blur(); // Remove the focus from the calling element.
			
			// Set Navigation Key Bindings
			$(document).bind("keydown.cbox_close", function (e) {
				if (e.keyCode === 27) {
					e.preventDefault();
					cboxPublic.close();
				}
			}).bind("keydown.cbox_arrows", function (e) {
				if ($related.length > 1) {
					if (e.keyCode === 37) {
						e.preventDefault();
						$prev.click();
					} else if (e.keyCode === 39) {
						e.preventDefault();
						$next.click();
					}
				}
			});
			
			if (settings.overlayClose) {
				$overlay.css({"cursor": "pointer"}).one('click', cboxPublic.close);
			}
			
			$.event.trigger(cbox_open);
			if (settings.onOpen) {
				settings.onOpen.call(element);
			}
			
			$overlay.css({"opacity": settings.opacity}).show();
			
			// Opens inital empty ColorBox prior to content being loaded.
			settings.w = setSize(settings.initialWidth, 'x');
			settings.h = setSize(settings.initialHeight, 'y');
			cboxPublic.position(0);
			
			if (isIE6) {
				$window.bind('resize.cboxie6 scroll.cboxie6', function () {
					$overlay.css({width: $window.width(), height: $window.height(), top: $window.scrollTop(), left: $window.scrollLeft()});
				}).trigger("scroll.cboxie6");
			}
		}
		
		$current.add($prev).add($next).add($slideshow).add($title).hide();
		
		$close.html(settings.close).show();
		
		cboxPublic.slideshow();
		
		cboxPublic.load();
	}

	// ****************
	// PUBLIC FUNCTIONS
	// Usage format: $.fn.colorbox.close();
	// Usage from within an iframe: parent.$.fn.colorbox.close();
	// ****************
	
	cboxPublic = $.fn.colorbox = function (options, callback) {
		var $this = this;
		
		if (!$this.length) {
			if ($this.selector === '') { // empty selector means a direct call, ie: $.fn.colorbox();
				$this = $('<a/>');
				options.open = TRUE;
			} else { // else the selector didn't match anything, and colorbox should go ahead and return.
				return this;
			}
		}
		
		$this.each(function () {
			var data = $.extend({}, $(this).data(colorbox) ? $(this).data(colorbox) : defaults, options);
			
			$(this).data(colorbox, data).addClass("cboxElement");
			
			if (callback) {
				$(this).data(colorbox).onComplete = callback;
			}
		});
		
		if (options && options.open) {
			launch($this);
		}
		
		return this;
	};

	// Initialize ColorBox: store common calculations, preload the interface graphics, append the html.
	// This preps colorbox for a speedy open when clicked, and lightens the burdon on the browser by only
	// having to run once, instead of each time colorbox is opened.
	cboxPublic.init = function () {
		
		// jQuery object generator to save a bit of space
		function $div(id) {
			return $('<div id="cbox' + id + '"/>');
		}
		
		// Create & Append jQuery Objects
		$window = $(window);
		$cbox = $('<div id="colorbox"/>');
		$overlay = $div("Overlay").hide();
		$wrap = $div("Wrapper");
		$content = $div("Content").append(
			$loaded = $div("LoadedContent").css({width: 0, height: 0}),
			$loadingOverlay = $div("LoadingOverlay"),
			$loadingGraphic = $div("LoadingGraphic"),
			$title = $div("Title"),
			$current = $div("Current"),
			$slideshow = $div("Slideshow"),
			$next = $div("Next"),
			$prev = $div("Previous"),
			$close = $div("Close")
		);
		$wrap.append( // The 3x3 Grid that makes up ColorBox
			$('<div/>').append(
				$div("TopLeft"),
				$topBorder = $div("TopCenter"),
				$div("TopRight")
			),
			$('<div/>').append(
				$leftBorder = $div("MiddleLeft"),
				$content,
				$rightBorder = $div("MiddleRight")
			),
			$('<div/>').append(
				$div("BottomLeft"),
				$bottomBorder = $div("BottomCenter"),
				$div("BottomRight")
			)
		).children().children().css({'float': 'left'});
		
		$loadingBay = $("<div style='position:absolute; top:0; left:0; width:9999px; height:0;'/>");
		
		$('body').prepend($overlay, $cbox.append($wrap, $loadingBay));
				
		if (isIE) {
			$cbox.addClass('cboxIE');
			if (isIE6) {
				$overlay.css('position', 'absolute');
			}
		}
		
		// Add rollover event to navigation elements
		$content.children()
		.bind('mouseover mouseout', function(){
			$(this).toggleClass(hover);
		}).addClass(hover);
		
		// Cache values needed for size calculations
		interfaceHeight = $topBorder.height() + $bottomBorder.height() + $content.outerHeight(TRUE) - $content.height();//Subtraction needed for IE6
		interfaceWidth = $leftBorder.width() + $rightBorder.width() + $content.outerWidth(TRUE) - $content.width();
		loadedHeight = $loaded.outerHeight(TRUE);
		loadedWidth = $loaded.outerWidth(TRUE);
		
		// Setting padding to remove the need to do size conversions during the animation step.
		$cbox.css({"padding-bottom": interfaceHeight, "padding-right": interfaceWidth}).hide();
		
		// Setup button & key events.
		$next.click(cboxPublic.next);
		$prev.click(cboxPublic.prev);
		$close.click(cboxPublic.close);
		
		// Adding the 'hover' class allowed the browser to load the hover-state
		// background graphics.  The class can now can be removed.
		$content.children().removeClass(hover);
		
		$('.cboxElement').live('click', function (e) {
			if (e.button !== 0 && typeof e.button !== 'undefined') {// checks to see if it was a non-left mouse-click.
				return TRUE;
			} else {
				launch(this);			
				return FALSE;
			}
		});
	};

	cboxPublic.position = function (speed, loadedCallback) {
		var
		animate_speed,
		winHeight = $window.height(),
		// keeps the top and left positions within the browser's viewport.
		posTop = Math.max(winHeight - settings.h - loadedHeight - interfaceHeight,0)/2 + $window.scrollTop(),
		posLeft = Math.max(document.documentElement.clientWidth - settings.w - loadedWidth - interfaceWidth,0)/2 + $window.scrollLeft();
		
		// setting the speed to 0 to reduce the delay between same-sized content.
		animate_speed = ($cbox.width() === settings.w+loadedWidth && $cbox.height() === settings.h+loadedHeight) ? 0 : speed;
		
		// this gives the wrapper plenty of breathing room so it's floated contents can move around smoothly,
		// but it has to be shrank down around the size of div#colorbox when it's done.  If not,
		// it can invoke an obscure IE bug when using iframes.
		$wrap[0].style.width = $wrap[0].style.height = "9999px";
		
		function modalDimensions (that) {
			// loading overlay size has to be sure that IE6 uses the correct height.
			$topBorder[0].style.width = $bottomBorder[0].style.width = $content[0].style.width = that.style.width;
			$loadingGraphic[0].style.height = $loadingOverlay[0].style.height = $content[0].style.height = $leftBorder[0].style.height = $rightBorder[0].style.height = that.style.height;
		}
		
		$cbox.dequeue().animate({width:settings.w+loadedWidth, height:settings.h+loadedHeight, top:posTop, left:posLeft}, {duration: animate_speed,
			complete: function(){
				modalDimensions(this);
				
				active = FALSE;
				
				// shrink the wrapper down to exactly the size of colorbox to avoid a bug in IE's iframe implementation.
				$wrap[0].style.width = (settings.w+loadedWidth+interfaceWidth) + "px";
				$wrap[0].style.height = (settings.h+loadedHeight+interfaceHeight) + "px";
				
				if (loadedCallback) {loadedCallback();}
			},
			step: function(){
				modalDimensions(this);
			}
		});
	};

	cboxPublic.resize = function (object) {
		if(!open){ return; }
		
		var topMargin,
		prev,
		prevSrc,
		next,
		nextSrc,
		photo,
		timeout,
		speed = settings.transition==="none" ? 0 : settings.speed;
		
		$window.unbind(cbox_resize);
		
		if(!object){
			timeout = setTimeout(function(){ // timer allows IE to render the dimensions before attempting to calculate the height
				var $child = $loaded.wrapInner("<div style='overflow:auto'></div>").children(); // temporary wrapper to get an accurate estimate of just how high the total content should be.
				settings.h = $child.height();
				$loaded.css({height:settings.h});
				$child.replaceWith($child.children()); // ditch the temporary wrapper div used in height calculation
				cboxPublic.position(speed);
			}, 1);
			return;
		}
		
		$loaded.remove();
		$loaded = $('<div id="cboxLoadedContent"/>').html(object);
		
		function getWidth(){
			settings.w = settings.w || $loaded.width();
			settings.w = settings.mw && settings.mw < settings.w ? settings.mw : settings.w;
			return settings.w;
		}
		function getHeight(){
			settings.h = settings.h || $loaded.height();
			settings.h = settings.mh && settings.mh < settings.h ? settings.mh : settings.h;
			return settings.h;
		}
		
		$loaded.hide()
		.appendTo($loadingBay)// content has to be appended to the DOM for accurate size calculations.  Appended to an absolutely positioned element, rather than BODY, which avoids an extremely brief display of the vertical scrollbar in Firefox that can occur for a small minority of websites.
		.css({width:getWidth(), overflow:settings.scrolling ? 'auto' : 'hidden'})
		.css({height:getHeight()})// sets the height independently from the width in case the new width influences the value of height.
		.prependTo($content);
		
		$('#cboxPhoto').css({cssFloat:'none'});// floating the IMG removes the bottom line-height and fixed a problem where IE miscalculates the width of the parent element as 100% of the document width.
		
		// Hides SELECT elements in IE6 because they would otherwise sit on top of the overlay.
		if (isIE6) {
			$('select:not(#colorbox select)').filter(function(){
				return this.style.visibility !== 'hidden';
			}).css({'visibility':'hidden'}).one(cbox_cleanup, function(){
				this.style.visibility = 'inherit';
			});
		}
				
		function setPosition (s) {
			cboxPublic.position(s, function(){
				if (!open) { return; }
				
				if (isIE) {
					//This fadeIn helps the bicubic resampling to kick-in.
					if( photo ){$loaded.fadeIn(100);}
					//IE adds a filter when ColorBox fades in and out that can cause problems if the loaded content contains transparent pngs.
					$cbox[0].style.removeAttribute("filter");
				}
				
				//Waited until the iframe is added to the DOM & it is visible before setting the src.
				//This increases compatability with pages using DOM dependent JavaScript.
				if(settings.iframe){
					$loaded.append("<iframe id='cboxIframe'" + (settings.scrolling ? " " : "scrolling='no'") + " name='iframe_"+new Date().getTime()+"' frameborder=0 src='"+settings.href+"' " + (isIE ? "allowtransparency='true'" : '') + " />");
				}
				
				$loaded.show();
				
				$title.show().html(settings.title);
				
				if ($related.length>1) {
					$current.html(settings.current.replace(/\{current\}/, index+1).replace(/\{total\}/, $related.length)).show();
					$next.html(settings.next).show();
					$prev.html(settings.previous).show();
					
					if(settings.slideshow){
						$slideshow.show();
					}
				}
				
				$loadingOverlay.hide();
				$loadingGraphic.hide();
				
				$.event.trigger(cbox_complete);
				if (settings.onComplete) {
					settings.onComplete.call(element);
				}
				
				if (settings.transition === 'fade'){
					$cbox.fadeTo(speed, 1, function(){
						if(isIE){$cbox[0].style.removeAttribute("filter");}
					});
				}
				
				$window.bind(cbox_resize, function(){
					cboxPublic.position(0);
				});
			});
		}
		
		if((settings.transition === 'fade' && $cbox.fadeTo(speed, 0, function(){setPosition(0);})) || setPosition(speed)){}
		
		// Preloads images within a rel group
		if (settings.preloading && $related.length>1) {
			prev = index > 0 ? $related[index-1] : $related[$related.length-1];
			next = index < $related.length-1 ? $related[index+1] : $related[0];
			nextSrc = $(next).data(colorbox).href || next.href;
			prevSrc = $(prev).data(colorbox).href || prev.href;
			
			if(isImage(nextSrc)){
				$('<img />').attr('src', nextSrc);
			}
			
			if(isImage(prevSrc)){
				$('<img />').attr('src', prevSrc);
			}
		}

	};

	cboxPublic.load = function () {
		var href, img, setResize, resize = cboxPublic.resize;
		
		active = TRUE;
		
		/*
		 
		// I decided to comment this out because I can see it causing problems as users
		// really should just set the dimensions on their IMG elements instead,
		// but I'm leaving the code in as it may be useful to someone.
		// To use, uncomment the function and change 'if(textStatus === "success"){ resize(this); }'
		// to 'if(textStatus === "success"){ preload(this); }'
		
		// Preload loops through the HTML to find IMG elements and loads their sources.
		// This allows the resize method to accurately estimate the dimensions of the new content.
		function preload(html){
			var
			$ajax = $(html),
			$imgs = $ajax.find('img'),
			x = $imgs.length;
			
			function loadloop(){
				var img = new Image();
				x = x-1;
				if(x >= 0){
					img.onload = loadloop;
					img.src = $imgs[x].src;
				} else {
					resize($ajax);
				}
			}
			
			loadloop();
		}
		*/
		
		element = $related[index];
		
		settings = $(element).data(colorbox);
		
		//convert functions to static values
		process();
		
		$.event.trigger(cbox_load);
		if (settings.onLoad) {
			settings.onLoad.call(element);
		}
		
		// Evaluate the height based on the optional height and width settings.
		settings.h = settings.height ?
				setSize(settings.height, 'y') - loadedHeight - interfaceHeight :
				settings.innerHeight ?
					setSize(settings.innerHeight, 'y') :
					FALSE;
		settings.w = settings.width ?
				setSize(settings.width, 'x') - loadedWidth - interfaceWidth :
				settings.innerWidth ?
					setSize(settings.innerWidth, 'x') :
					FALSE;
		
		// Sets the minimum dimensions for use in image scaling
		settings.mw = settings.w;
		settings.mh = settings.h;
		
		// Re-evaluate the minimum width and height based on maxWidth and maxHeight values.
		// If the width or height exceed the maxWidth or maxHeight, use the maximum values instead.
		if(settings.maxWidth){
			settings.mw = setSize(settings.maxWidth, 'x') - loadedWidth - interfaceWidth;
			settings.mw = settings.w && settings.w < settings.mw ? settings.w : settings.mw;
		}
		if(settings.maxHeight){
			settings.mh = setSize(settings.maxHeight, 'y') - loadedHeight - interfaceHeight;
			settings.mh = settings.h && settings.h < settings.mh ? settings.h : settings.mh;
		}
		
		href = settings.href;
		
		$loadingOverlay.show();
		$loadingGraphic.show();
		
		if (settings.inline) {
			// Inserts an empty placeholder where inline content is being pulled from.
			// An event is bound to put inline content back when ColorBox closes or loads new content.
			$('<div id="cboxInlineTemp" />').hide().insertBefore($(href)[0]).bind(cbox_load+' '+cbox_cleanup, function(){
				$(this).replaceWith($loaded.children());
			});
			resize($(href));
		} else if (settings.iframe) {
			// IFrame element won't be added to the DOM until it is ready to be displayed,
			// to avoid problems with DOM-ready JS that might be trying to run in that iframe.
			resize(" ");
		} else if (settings.html) {
			resize(settings.html);
		} else if (isImage(href)){
			img = new Image();
			img.onload = function(){
				var percent;
				
				img.onload = null;
				
				img.id = 'cboxPhoto';
				
				$(img).css({margin:'auto', border:'none', display:'block', cssFloat:'left'});
				
				if(settings.scalePhotos){
					setResize = function(){
						img.height -= img.height * percent;
						img.width -= img.width * percent;	
					};
					if(settings.mw && img.width > settings.mw){
						percent = (img.width - settings.mw) / img.width;
						setResize();
					}
					if(settings.mh && img.height > settings.mh){
						percent = (img.height - settings.mh) / img.height;
						setResize();
					}
				}
				
				if (settings.h) {
					img.style.marginTop = Math.max(settings.h - img.height,0)/2 + 'px';
				}
				
				resize(img);
				
				if($related.length > 1){
					$(img).css({cursor:'pointer'}).click(cboxPublic.next);
				}
				
				if(isIE){
					img.style.msInterpolationMode='bicubic';
				}
			};
			img.src = href;
		} else {
			$('<div />').appendTo($loadingBay).load(href, function(data, textStatus){
				if(textStatus === "success"){
					resize(this);
				} else {
					resize($("<p>Request unsuccessful.</p>"));
				}
			});
		}
	};

	// Navigates to the next page/image in a set.
	cboxPublic.next = function () {
		if(!active){
			index = index < $related.length-1 ? index+1 : 0;
			cboxPublic.load();
		}
	};
	
	cboxPublic.prev = function () {
		if(!active){
			index = index > 0 ? index-1 : $related.length-1;
			cboxPublic.load();
		}
	};

	cboxPublic.slideshow = function () {
		var stop, timeOut, className = 'cboxSlideshow_';
		
		$slideshow.bind(cbox_closed, function(){
			$slideshow.unbind();
			clearTimeout(timeOut);
			$cbox.removeClass(className+"off"+" "+className+"on");
		});
		
		function start(){
			$slideshow
			.text(settings.slideshowStop)
			.bind(cbox_complete, function(){
				timeOut = setTimeout(cboxPublic.next, settings.slideshowSpeed);
			})
			.bind(cbox_load, function(){
				clearTimeout(timeOut);	
			}).one("click", function(){
				stop();
				$(this).removeClass(hover);
			});
			$cbox.removeClass(className+"off").addClass(className+"on");
		}
		
		stop = function(){
			clearTimeout(timeOut);
			$slideshow
			.text(settings.slideshowStart)
			.unbind(cbox_complete+' '+cbox_load)
			.one("click", function(){
				start();
				timeOut = setTimeout(cboxPublic.next, settings.slideshowSpeed);
				$(this).removeClass(hover);
			});
			$cbox.removeClass(className+"on").addClass(className+"off");
		};
		
		if(settings.slideshow && $related.length>1){
			if(settings.slideshowAuto){
				start();
			} else {
				stop();
			}
		}
	};

	// Note: to use this within an iframe use the following format: parent.$.fn.colorbox.close();
	cboxPublic.close = function () {
		
		$.event.trigger(cbox_cleanup);
		if (settings.onCleanup) {
			settings.onCleanup.call(element);
		}
		
		open = FALSE;
		$(document).unbind("keydown.cbox_close keydown.cbox_arrows");
		$window.unbind(cbox_resize+' resize.cboxie6 scroll.cboxie6');
		$overlay.css({cursor: 'auto'}).fadeOut('fast');
		
		$cbox
		.stop(TRUE, FALSE)
		.fadeOut('fast', function () {
			$('#colorbox iframe').attr('src', 'about:blank');
			$loaded.remove();
			$cbox.css({'opacity': 1});
			
			try{
				bookmark.focus();
			} catch (er){
				// do nothing
			}
			
			$.event.trigger(cbox_closed);
			if (settings.onClosed) {
				settings.onClosed.call(element);
			}
		});
	};

	// A method for fetching the current element ColorBox is referencing.
	// returns a jQuery object.
	cboxPublic.element = function(){ return $(element); };

	cboxPublic.settings = defaults;

	// Initializes ColorBox when the DOM has loaded
	$(cboxPublic.init);

}(jQuery));
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								   
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																						
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																										   
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																										   
