/******************/
/* Menu functions */
/******************/
window.Menu = {
	delay		: 600,
	timer		: null,
	menuitem	: null,
	
	/**
	 * apply
	 * @param	string	selector
	 */
	apply: function( selector ) {
		$(selector).hover(Menu.open, Menu.setTimer);
		$(document).click(Menu.close);
	},
	
	/** 
	 * cancelTimer
	 */
	cancelTimer: function() {
		if(Menu.timer)	{
			clearTimeout(Menu.timer);
     		Menu.timer = null;
		}
	},
	
	/**
	 * setTimer
	 */
	setTimer: function() {
		Menu.timer = window.setTimeout(Menu.close, Menu.delay);
	},
		
	/** 
	 * close
	 * @param	string	current_menu_id
	 */
	close: function( current_menu_id ) {
		if(Menu.menuitem)	{
			if(Menu.menuitem.data("menuID") != current_menu_id)	
			{
				$("div", Menu.menuitem).css({ height: 'auto', zIndex: -100 }).stop().slideUp(200);
				$(Menu.menuitem).removeClass("hover");
			}
		}
	},

			
	/** 
	 * open
	 */
	open: function() {
		current_menu = $(this);
		
		current_menu.addClass("open");
		
		// uniek menu id per submenu, dit om bij het sluiten te checken of niet de actieve wordt gesloten
		if(!current_menu.data("menuID"))	{
			current_menu.data("menuID", (Math.random() +''+ Math.random()).replace(/\./g,""))
		}
		
		Menu.cancelTimer();
		Menu.close( current_menu.data("menuID") );
		Menu.menuitem = current_menu;
		
		$("div", Menu.menuitem).css({ height: 'auto', zIndex: -100}).stop().slideDown(200);
	}

};

/**
 * maak hele blokken klikbaar
 *
 * @param	bool	trigger_click		trigger het click event ipv de url.	default is false
 * @return	jQuery
 */
$.fn.hoverClick = function( trigger_click )
{
	return this.live("mouseover mouseout click", function( event )
	{
		if (event.type == 'mouseover')
		{
			if($("a", this).length)
			{
				$(this).addClass("hover").css("cursor", "pointer");
				$(this).attr("title", $("a:first", this).attr("title"));
			}
		}
		else if(event.type == 'click' && event.target.nodeName.toUpperCase() != 'A')
		{
			if(trigger_click)
			{
				$("a:first", this).trigger("click");
			}
			else
			{
				var link = $("a:first", this);
				
				if (link.attr("target")) 
				{
					window.open(link.attr("href"), link.attr("target"));
				}
				else 
				{
					window.location = link.attr("href");
				}
			}

			return false;
		}
		else
		{
			$(this).removeClass("hover");
		}
	});
};









/**
 * bij hover een className toevoegen/eraf halen
 *
 * @param	string	className		default is 'hover'
 * @return	jQuery
 */
$.fn.hoverClass = function( className )
{
	if(!className)
		className = 'hover';
	
	return this.live('mouseover mouseout', function( event )
	{ 
		if (event.type == 'mouseover')
			$(this).addClass(className);
		else
			$(this).removeClass(className);
	});
};


/** 
 * jquery.defaultvalue 
 * @param	string	defaultvalue
 * @return	jQuery
 */
$.fn.defaultvalue = function( defVal )
{
	return this.each(function()
	{
		var $input = $(this);
		if($input.val() == "" || $input.val() == defVal)
		{
			$input.addClass("defaultvalue").val(defVal);
		}
		
		$input
			.focus(function() {
				if($input.val() == defVal) 
					$input.val("").removeClass("defaultvalue");
			})
			.blur(function(){
				if($input.val() == "") 
					$input.addClass("defaultvalue").val(defVal);
			});
	});
};

/* Effect op overzicht technieken */
	$(function() {
	$('ul.overzicht-technieken li').hover(function(){
		$(this).find('img').animate({top:'182px'},{queue:false,duration:500});
	}, function(){
		$(this).find('img').animate({top:'0px'},{queue:false,duration:500});
	});
});



/* Cycle lite */
(function(D){var A="Lite-1.0";D.fn.cycle=function(E){return this.each(function(){E=E||{};if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=0;this.cyclePause=0;var I=D(this);var J=E.slideExpr?D(E.slideExpr,this):I.children();var G=J.get();if(G.length<2){if(window.console&&window.console.log){window.console.log("terminating; too few slides: "+G.length)}return }var H=D.extend({},D.fn.cycle.defaults,E||{},D.metadata?I.metadata():D.meta?I.data():{});H.before=H.before?[H.before]:[];H.after=H.after?[H.after]:[];H.after.unshift(function(){H.busy=0});var F=this.className;H.width=parseInt((F.match(/w:(\d+)/)||[])[1])||H.width;H.height=parseInt((F.match(/h:(\d+)/)||[])[1])||H.height;H.timeout=parseInt((F.match(/t:(\d+)/)||[])[1])||H.timeout;if(I.css("position")=="static"){I.css("position","relative")}if(H.width){I.width(H.width)}if(H.height&&H.height!="auto"){I.height(H.height)}var K=0;J.css({position:"absolute",top:0,left:0}).hide().each(function(M){D(this).css("z-index",G.length-M)});D(G[K]).css("opacity",1).show();if(D.browser.msie){G[K].style.removeAttribute("filter")}if(H.fit&&H.width){J.width(H.width)}if(H.fit&&H.height&&H.height!="auto"){J.height(H.height)}if(H.pause){I.hover(function(){this.cyclePause=1},function(){this.cyclePause=0})}D.fn.cycle.transitions.fade(I,J,H);J.each(function(){var M=D(this);this.cycleH=(H.fit&&H.height)?H.height:M.height();this.cycleW=(H.fit&&H.width)?H.width:M.width()});J.not(":eq("+K+")").css({opacity:0});if(H.cssFirst){D(J[K]).css(H.cssFirst)}if(H.timeout){if(H.speed.constructor==String){H.speed={slow:600,fast:200}[H.speed]||400}if(!H.sync){H.speed=H.speed/2}while((H.timeout-H.speed)<250){H.timeout+=H.speed}}H.speedIn=H.speed;H.speedOut=H.speed;H.slideCount=G.length;H.currSlide=K;H.nextSlide=1;var L=J[K];if(H.before.length){H.before[0].apply(L,[L,L,H,true])}if(H.after.length>1){H.after[1].apply(L,[L,L,H,true])}if(H.click&&!H.next){H.next=H.click}if(H.next){D(H.next).bind("click",function(){return C(G,H,H.rev?-1:1)})}if(H.prev){D(H.prev).bind("click",function(){return C(G,H,H.rev?1:-1)})}if(H.timeout){this.cycleTimeout=setTimeout(function(){B(G,H,0,!H.rev)},H.timeout+(H.delay||0))}})};function B(J,E,I,K){if(E.busy){return }var H=J[0].parentNode,M=J[E.currSlide],L=J[E.nextSlide];if(H.cycleTimeout===0&&!I){return }if(I||!H.cyclePause){if(E.before.length){D.each(E.before,function(N,O){O.apply(L,[M,L,E,K])})}var F=function(){if(D.browser.msie){this.style.removeAttribute("filter")}D.each(E.after,function(N,O){O.apply(L,[M,L,E,K])})};if(E.nextSlide!=E.currSlide){E.busy=1;D.fn.cycle.custom(M,L,E,F)}var G=(E.nextSlide+1)==J.length;E.nextSlide=G?0:E.nextSlide+1;E.currSlide=G?J.length-1:E.nextSlide-1}if(E.timeout){H.cycleTimeout=setTimeout(function(){B(J,E,0,!E.rev)},E.timeout)}}function C(E,F,I){var H=E[0].parentNode,G=H.cycleTimeout;if(G){clearTimeout(G);H.cycleTimeout=0}F.nextSlide=F.currSlide+I;if(F.nextSlide<0){F.nextSlide=E.length-1}else{if(F.nextSlide>=E.length){F.nextSlide=0}}B(E,F,1,I>=0);return false}D.fn.cycle.custom=function(K,H,I,E){var J=D(K),G=D(H);G.css({opacity:0});var F=function(){G.animate({opacity:1},I.speedIn,I.easeIn,E)};J.animate({opacity:0},I.speedOut,I.easeOut,function(){J.css({display:"none"});if(!I.sync){F()}});if(I.sync){F()}};D.fn.cycle.transitions={fade:function(F,G,E){G.not(":eq(0)").css("opacity",0);E.before.push(function(){D(this).show()})}};D.fn.cycle.ver=function(){return A};D.fn.cycle.defaults={timeout:4000,speed:1000,next:null,prev:null,before:null,after:null,height:"auto",sync:1,fit:0,pause:0,delay:0,slideExpr:null}})(jQuery)

/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09i
 */
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("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());Cufon.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}})());


/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Copyright (c) 1989 Adobe Systems Incorporated.  All Rights Reserved.Avenir is a
 * registered trademark of Linotype AG and/or its subsidiaries.
 * 
 * Description:
 *  The digitally encoded machine readable software for producing the  Typefaces
 * licensed to you is copyrighted (c) 1989 Adobe Systems.  All Rights Reserved.
 * This software is the property of Adobe Systems  Incorporated and its licensors,
 * and may not be reproduced, used,   displayed, modified, disclosed or transferred
 * without the express   written approval of Adobe.    The digitally encoded
 * machine readable outline data for producing  the Typefaces licensed to you is
 * copyrighted (c) 1981 Linotype AG  and/or its subsidiaries. All Rights Reserved. 
 * This data is the property of Linotype AG and/or its subsidiaries  and may not be
 * reproduced, used, displayed, modified, disclosed or   transferred without the
 * express written approval of Linotype AG   and/or its subsidiaries.
 */
Cufon.registerFont({"w":200,"face":{"font-family":"Avenir 65","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 6 3 2 0 0 2 0 3","ascent":"288","descent":"-72","x-height":"4","bbox":"-60 -331.267 373 102","underline-thickness":"18","underline-position":"-27","unicode-range":"U+0020-U+FB02"},"glyphs":{" ":{"w":100},"\u00a0":{"w":100},"!":{"d":"50,2v-12,0,-24,-12,-24,-24v0,-12,12,-23,24,-23v12,0,24,11,24,23v0,12,-12,24,-24,24xm67,-73r-35,0r0,-182r35,0r0,182","w":100},"\"":{"d":"106,-255r28,0r0,89r-28,0r0,-89xm53,-255r28,0r0,89r-28,0r0,-89","w":186},"#":{"d":"83,-153r-7,51r41,0r8,-51r-42,0xm43,-73r-34,0r0,-29r38,0r7,-51r-34,0r0,-28r38,0r10,-74r29,0r-10,74r42,0r10,-74r28,0r-10,74r34,0r0,28r-38,0r-7,51r34,0r0,29r-38,0r-10,73r-29,0r10,-73r-41,0r-10,73r-29,0"},"$":{"d":"108,-26v45,2,58,-65,16,-78v-5,-2,-11,-3,-16,-5r0,83xm89,-229v-41,-1,-53,62,-15,75v5,2,10,4,15,5r0,-80xm15,-188v0,-44,32,-67,74,-71r0,-26r19,0r0,26v30,0,57,9,71,28r-26,25v-10,-13,-24,-23,-45,-23r0,85v39,12,78,24,78,74v0,46,-32,71,-78,74r0,26r-19,0r0,-26v-37,0,-63,-10,-80,-34r28,-25v10,16,29,28,52,29r0,-88v-38,-11,-74,-26,-74,-74"},"%":{"d":"230,-93v-20,0,-36,16,-36,36v0,20,16,35,36,35v19,0,35,-16,35,-35v0,-20,-15,-36,-35,-36xm230,6v-38,0,-64,-25,-64,-63v0,-38,26,-64,64,-64v38,0,63,26,63,64v0,38,-25,63,-63,63xm77,-233v-19,0,-36,16,-36,35v0,19,16,36,36,36v20,0,36,-17,36,-36v0,-19,-17,-35,-36,-35xm77,-134v-38,0,-64,-26,-64,-64v0,-38,26,-63,64,-63v38,0,64,25,64,63v0,38,-26,64,-64,64xm85,11r-22,-11r160,-266r22,11","w":306},"&":{"d":"81,-111v-42,18,-30,91,21,87v27,-1,43,-17,56,-32r-62,-64xm105,-157v16,-11,39,-18,39,-45v0,-17,-14,-27,-31,-27v-35,0,-42,45,-17,63v4,5,5,5,9,9xm179,-202v0,36,-28,53,-53,66r50,52r32,-52r40,0r-50,77r58,59r-46,0r-31,-34v-21,23,-39,40,-79,40v-50,-1,-83,-26,-83,-73v0,-41,28,-59,58,-73v-14,-17,-30,-31,-30,-59v0,-40,28,-60,68,-60v39,0,66,18,66,57","w":259},"'":{"d":"64,-166r-28,0r0,-89r28,0r0,89","w":100},"(":{"d":"70,56v-68,-75,-67,-242,0,-320r21,14v-58,69,-60,222,0,292","w":100},")":{"d":"30,-264v68,76,68,242,0,320r-21,-14v58,-69,60,-221,0,-291","w":100},"*":{"d":"97,-202r50,-17r7,24r-50,16r32,43r-20,15r-32,-44r-33,43r-19,-14r32,-43r-51,-17r7,-23r51,17r0,-53r26,0r0,53","w":167},"+":{"d":"24,-123r82,0r0,-82r28,0r0,82r82,0r0,28r-82,0r0,82r-28,0r0,-82r-82,0r0,-28","w":239},",":{"d":"47,48r-30,0r25,-89r35,0","w":100},"-":{"d":"101,-72r-88,0r0,-30r88,0r0,30","w":113},"\u00ad":{"d":"101,-72r-88,0r0,-30r88,0r0,30","w":113},".":{"d":"74,-22v0,12,-12,24,-24,24v-12,0,-24,-12,-24,-24v0,-12,12,-23,24,-23v12,0,24,11,24,23","w":100},"\/":{"d":"25,16r-25,-10r115,-277r25,10","w":140},"0":{"d":"100,-229v-47,0,-52,52,-53,102v0,47,7,101,53,101v53,0,56,-66,53,-121v-2,-39,-11,-82,-53,-82xm100,4v-69,0,-88,-64,-88,-131v0,-69,18,-132,88,-132v70,0,88,63,88,132v0,67,-19,131,-88,131"},"1":{"d":"97,-215r-47,43r-20,-24r71,-59r31,0r0,255r-35,0r0,-215"},"2":{"d":"103,-261v80,-6,101,86,53,133r-101,98r129,0r0,30r-167,0r0,-37v42,-47,95,-83,128,-138v8,-32,-11,-56,-42,-56v-26,-1,-43,16,-46,39r-38,-3v7,-42,36,-62,84,-66"},"3":{"d":"184,-69v5,90,-151,97,-167,18r36,-11v7,23,18,36,47,36v29,0,49,-17,49,-46v0,-40,-33,-47,-72,-48r0,-30v38,1,65,-5,66,-40v2,-51,-75,-52,-86,-12r-35,-11v11,-29,39,-49,77,-48v46,1,77,22,78,69v0,28,-20,52,-43,58v31,6,48,30,50,65"},"4":{"d":"121,-86r-1,-128r-78,128r79,0xm121,-56r-109,0r0,-35r102,-164r42,0r0,169r36,0r0,30r-36,0r0,56r-35,0r0,-56"},"5":{"d":"144,-78v3,-60,-71,-65,-114,-43r3,-134r137,0r0,33r-104,0r-1,63v61,-18,114,16,114,79v0,92,-141,113,-167,33r35,-12v9,21,21,33,47,33v31,0,49,-20,50,-52"},"6":{"d":"100,-132v-33,0,-53,21,-53,53v0,32,20,53,53,53v33,0,53,-21,53,-53v0,-32,-20,-53,-53,-53xm100,4v-86,5,-102,-94,-62,-157r65,-102r40,0r-64,99v55,-19,111,15,109,75v-1,55,-34,82,-88,85"},"7":{"d":"138,-225r-123,0r0,-30r160,0r0,30r-101,225r-39,0"},"8":{"d":"51,-73v1,30,20,46,49,47v28,1,49,-20,49,-47v-1,-30,-19,-46,-49,-47v-28,-1,-49,20,-49,47xm100,-231v-22,0,-41,17,-40,40v2,24,16,41,40,41v25,0,39,-16,40,-41v0,-23,-16,-41,-40,-40xm135,-136v77,23,53,147,-35,140v-50,-4,-83,-27,-83,-77v0,-35,22,-53,49,-63v-24,-8,-41,-27,-40,-60v2,-41,31,-63,74,-63v43,0,75,22,75,63v0,32,-16,52,-40,60"},"9":{"d":"100,-123v33,0,53,-21,53,-53v0,-32,-20,-53,-53,-53v-33,0,-53,21,-53,53v0,32,20,53,53,53xm100,-259v74,-3,109,77,72,139v-24,41,-50,80,-74,120r-41,0r63,-99v-54,19,-110,-15,-107,-75v2,-53,33,-83,87,-85"},":":{"d":"50,2v-12,0,-24,-12,-24,-24v0,-12,12,-23,24,-23v12,0,24,11,24,23v0,12,-12,24,-24,24xm74,-149v0,12,-12,24,-24,24v-12,0,-24,-12,-24,-24v0,-12,12,-24,24,-24v12,0,24,12,24,24","w":100},";":{"d":"50,-125v-12,0,-24,-12,-24,-24v0,-12,12,-23,24,-23v12,0,24,11,24,23v0,12,-12,24,-24,24xm47,48r-30,0r25,-89r35,0","w":100},"\u037e":{"d":"50,-125v-12,0,-24,-12,-24,-24v0,-12,12,-23,24,-23v12,0,24,11,24,23v0,12,-12,24,-24,24xm47,48r-30,0r25,-89r35,0","w":100},"<":{"d":"216,-15r-192,-79r0,-30r192,-79r0,28r-163,66r163,65r0,29","w":239},"=":{"d":"216,-95r0,28r-192,0r0,-28r192,0xm216,-151r0,28r-192,0r0,-28r192,0","w":239},">":{"d":"24,-203r192,79r0,30r-192,79r0,-29r162,-65r-162,-66r0,-28","w":239},"?":{"d":"93,2v-12,0,-24,-12,-24,-24v0,-12,12,-23,24,-23v11,0,23,12,23,23v0,12,-11,24,-23,24xm96,-261v62,0,93,65,57,109v-18,24,-49,34,-43,81r-34,0v-11,-68,48,-69,58,-122v-1,-23,-15,-38,-38,-38v-25,0,-40,17,-42,40r-37,-3v5,-40,35,-67,79,-67","w":180},"@":{"d":"150,-203v19,0,34,10,39,28r6,-21r26,0r-32,109v0,6,4,9,11,9v29,-6,44,-36,44,-71v0,-58,-38,-89,-94,-89v-66,0,-106,45,-106,111v0,67,42,110,108,110v36,0,67,-14,83,-37r29,0v-21,35,-58,60,-113,60v-82,0,-135,-52,-135,-134v0,-80,53,-133,133,-133v71,0,123,40,123,109v0,57,-36,94,-84,102v-15,2,-20,-14,-25,-23v-10,10,-26,23,-44,23v-33,0,-50,-24,-50,-57v0,-53,29,-96,81,-96xm175,-143v0,-16,-7,-32,-23,-32v-36,0,-51,30,-52,68v0,18,7,29,25,29v32,0,50,-32,50,-65","w":288},"B":{"d":"173,-73v1,-50,-55,-48,-106,-46r0,89v49,0,105,6,106,-43xm162,-187v1,-43,-51,-39,-95,-38r0,76v44,0,95,6,95,-38xm210,-71v0,81,-94,72,-177,71r0,-255v76,1,166,-13,166,64v0,32,-22,46,-44,57v33,4,55,26,55,63","w":226},"C":{"d":"17,-125v-10,-120,146,-180,222,-97r-29,22v-12,-16,-35,-29,-61,-29v-61,0,-95,42,-95,104v0,60,35,99,95,99v32,0,51,-14,66,-34r29,22v-20,24,-49,45,-96,44v-81,-2,-125,-54,-131,-131","w":253},"D":{"d":"213,-127v0,-77,-61,-104,-151,-95r0,190v86,6,151,-17,151,-95xm250,-127v0,110,-99,137,-223,127r0,-255r89,0v86,1,134,48,134,128","w":266},"E":{"d":"33,-255r164,0r0,33r-130,0r0,75r121,0r0,33r-121,0r0,82r137,0r0,32r-171,0r0,-255","w":219},"F":{"d":"33,-255r160,0r0,33r-126,0r0,79r117,0r0,33r-117,0r0,110r-34,0r0,-255","w":206,"k":{"A":20,".":57,",":57}},"G":{"d":"54,-127v-3,85,88,122,161,88r0,-71r-56,0r0,-33r91,0r0,126v-24,15,-58,24,-97,23v-85,-2,-130,-51,-136,-133v-8,-119,147,-174,228,-101r-25,26v-18,-18,-39,-27,-70,-27v-61,0,-94,40,-96,102","w":280},"H":{"d":"33,-255r34,0r0,106r132,0r0,-106r35,0r0,255r-35,0r0,-117r-132,0r0,117r-34,0r0,-255","w":266},"I":{"d":"33,-255r34,0r0,255r-34,0r0,-255","w":100},"J":{"d":"72,-26v33,0,40,-25,40,-58r0,-171r35,0r0,182v12,90,-131,109,-144,24r34,-8v4,18,14,31,35,31","w":173},"K":{"d":"33,-255r34,0r0,110r3,0r113,-110r48,0r-123,118r131,137r-50,0r-119,-127r-3,0r0,127r-34,0r0,-255","w":233},"L":{"d":"33,-255r34,0r0,223r117,0r0,32r-151,0r0,-255","w":186,"k":{"\u2019":40,"y":13,"Y":40,"W":20,"V":33,"T":33}},"M":{"d":"30,-255r52,0r82,193r80,-193r52,0r0,255r-35,0r0,-210r-86,210r-23,0r-87,-210r0,210r-35,0r0,-255","w":326},"N":{"d":"33,-255r45,0r141,210r0,-210r35,0r0,255r-44,0r-143,-210r0,210r-34,0r0,-255","w":286},"O":{"d":"54,-127v0,62,35,101,96,101v61,0,96,-41,96,-101v0,-61,-35,-102,-96,-102v-61,0,-96,40,-96,102xm283,-127v0,81,-51,133,-133,133v-82,0,-133,-52,-133,-133v0,-82,50,-134,133,-134v82,0,133,52,133,134","w":299},"P":{"d":"167,-184v0,-49,-53,-40,-100,-41r0,82v47,-1,100,9,100,-41xm204,-184v0,70,-64,76,-137,72r0,112r-34,0r0,-255v81,-1,171,-11,171,71","w":213,"k":{"A":27,".":64,",":64}},"Q":{"d":"54,-133v0,61,35,101,94,101v59,0,94,-40,94,-100v0,-58,-37,-97,-94,-97v-57,0,-94,39,-94,96xm279,-134v0,52,-25,85,-59,104r76,0r0,30r-147,0v-78,-5,-132,-50,-132,-130v0,-80,52,-131,132,-131v79,0,130,51,130,127","w":299},"R":{"d":"167,-184v0,-49,-53,-40,-100,-41r0,82v47,-1,100,9,100,-41xm204,-184v-2,40,-26,63,-63,68r73,116r-43,0r-65,-112r-39,0r0,112r-34,0r0,-255v81,-1,174,-11,171,71","w":219,"k":{"Y":6,"T":6}},"S":{"d":"149,-129v64,38,25,135,-56,135v-35,0,-66,-13,-81,-35r28,-24v20,37,103,37,105,-15v-14,-66,-126,-26,-126,-122v0,-74,119,-95,160,-42r-28,25v-17,-33,-98,-29,-95,17v3,47,61,42,93,61"},"T":{"d":"86,-222r-82,0r0,-33r199,0r0,33r-82,0r0,222r-35,0r0,-222","w":206,"k":{"A":33,"y":40,"w":40,"u":36,"s":40,"r":33,"o":40,"e":40,"c":40,"a":40,";":40,":":40,".":40,"-":46,",":40}},"U":{"d":"127,6v-61,0,-99,-39,-99,-99r0,-162r35,0v8,90,-32,229,64,229v96,0,56,-139,64,-229r34,0r0,162v-2,62,-37,99,-98,99","w":253},"V":{"d":"-2,-255r40,0r75,207r78,-207r38,0r-100,255r-33,0","w":226,"k":{"A":17,"y":6,"u":13,"r":13,"o":20,"i":6,"e":20,"a":20,";":17,":":17,".":46,"-":20,",":46}},"W":{"d":"0,-255r36,0r57,204r60,-204r40,0r61,204r56,-204r36,0r-74,255r-37,0r-62,-208r-62,208r-36,0","w":346,"k":{"A":9,"u":6,"r":6,"o":17,"e":17,"a":17,";":6,":":6,".":32,",":32}},"X":{"d":"92,-134r-86,-121r44,0r67,98r65,-98r43,0r-85,121r94,134r-45,0r-73,-111r-74,111r-43,0","w":233},"Y":{"d":"93,-109r-97,-146r45,0r69,112r72,-112r42,0r-97,146r0,109r-34,0r0,-109","w":220,"k":{"A":27,"v":20,"u":27,"q":33,"p":27,"o":40,"i":13,"e":40,"a":33,";":33,":":33,".":50,"-":40,",":50}},"Z":{"d":"12,-32r145,-190r-141,0r0,-33r184,0r0,33r-145,190r147,0r0,32r-190,0r0,-32","w":213},"[":{"d":"26,-264r63,0r0,24r-33,0r0,272r33,0r0,24r-63,0r0,-320","w":100},"\\":{"d":"0,-261r25,-10r115,277r-25,10","w":140},"]":{"d":"12,32r32,0r0,-272r-32,0r0,-24r62,0r0,320r-62,0r0,-24","w":100},"^":{"d":"105,-255r29,0r77,156r-30,0r-61,-127r-61,127r-30,0","w":239},"_":{"d":"0,27r180,0r0,18r-180,0r0,-18","w":180},"`":{"d":"67,-203r-30,0r-54,-52r47,0","w":86},"a":{"d":"85,-22v36,0,50,-23,49,-60v-38,0,-82,-2,-85,33v-1,22,16,27,36,27xm134,-106v7,-53,-68,-50,-89,-24r-20,-20v34,-37,138,-37,139,32r2,118r-29,0v-2,-8,1,-19,-2,-26v-22,43,-122,41,-119,-21v2,-55,58,-60,118,-59","w":186},"b":{"d":"57,-85v0,36,20,59,56,59v36,0,56,-23,56,-59v0,-37,-20,-60,-56,-60v-36,0,-56,23,-56,60xm204,-85v6,82,-103,116,-147,61r0,24r-33,0r0,-272r33,0r1,126v10,-17,34,-29,59,-29v54,0,83,35,87,90","w":219},"c":{"d":"16,-85v-5,-83,103,-117,155,-63r-24,23v-28,-37,-104,-16,-96,41v-5,54,67,76,96,39r23,23v-14,17,-37,26,-65,26v-56,-1,-86,-34,-89,-89","w":173},"d":{"d":"51,-85v0,36,20,59,56,59v36,0,56,-23,56,-59v0,-37,-20,-60,-56,-60v-36,0,-56,23,-56,60xm16,-85v-6,-83,104,-118,147,-61r0,-126r32,0r0,272r-32,0v-1,-7,2,-18,-1,-24v-10,17,-33,28,-59,28v-54,-2,-83,-35,-87,-89","w":219},"e":{"d":"151,-99v7,-59,-83,-65,-98,-18v-2,6,-4,12,-4,18r102,0xm103,-175v59,0,84,41,83,102r-137,0v-1,53,82,64,104,24r25,18v-46,63,-170,36,-164,-54v4,-54,34,-90,89,-90"},"f":{"d":"116,-245v-28,-11,-46,4,-46,35r0,39r38,0r0,28r-39,0r0,143r-32,0r0,-143r-37,0r0,-28r37,0v-6,-69,10,-120,83,-103","w":119,"k":{"\u2019":-6,"f":6}},"g":{"d":"163,-85v-1,-37,-20,-60,-56,-60v-36,0,-55,23,-56,60v0,34,22,57,56,57v34,0,56,-23,56,-57xm163,-146r0,-25r32,0r0,170v8,91,-123,111,-176,57r22,-28v27,42,129,38,122,-31v-1,-8,2,-19,-1,-25v-10,18,-32,30,-59,30v-54,-1,-82,-36,-87,-87v-7,-82,103,-118,147,-61","w":219},"h":{"d":"104,-145v-63,0,-45,83,-47,145r-33,0r0,-272r33,0r1,128v8,-18,30,-31,56,-31v39,2,62,24,62,65r0,110r-33,0v-5,-56,20,-145,-39,-145"},"i":{"d":"43,-208v-12,0,-24,-12,-24,-24v0,-12,12,-24,24,-24v12,0,24,12,24,24v0,12,-12,24,-24,24xm27,-171r32,0r0,171r-32,0r0,-171","w":86},"j":{"d":"43,-208v-12,0,-24,-12,-24,-24v0,-12,12,-24,24,-24v12,0,24,12,24,24v0,12,-12,24,-24,24xm-10,53v22,9,37,-3,37,-30r0,-194r32,0r0,195v4,45,-27,73,-73,59","w":86},"k":{"d":"24,-272r33,0r0,176r73,-74r45,0r-79,77r86,93r-46,0r-79,-89r0,89r-33,0r0,-272","w":186},"l":{"d":"27,-272r32,0r0,272r-32,0r0,-272","w":86},"m":{"d":"55,-144v15,-37,95,-43,108,1v10,-19,30,-31,54,-32v84,-3,63,96,65,175r-32,0v-6,-55,22,-144,-37,-145v-62,-1,-38,87,-43,145r-33,0v-6,-55,22,-145,-36,-145v-60,0,-41,85,-44,145r-33,0r0,-171r31,0r0,27","w":306},"n":{"d":"104,-145v-63,0,-45,83,-47,145r-33,0r0,-171r33,0v1,8,-2,21,1,27v8,-18,30,-31,56,-31v39,2,62,24,62,65r0,110r-33,0v-5,-56,20,-145,-39,-145"},"o":{"d":"107,4v-55,0,-91,-35,-91,-89v0,-54,36,-90,91,-90v55,0,91,36,91,90v0,54,-37,89,-91,89xm107,-145v-36,0,-56,23,-56,60v0,36,20,59,56,59v36,0,56,-23,56,-59v0,-37,-20,-60,-56,-60","w":213},"p":{"d":"169,-85v0,-37,-20,-60,-56,-60v-36,0,-56,23,-56,60v0,36,20,59,56,59v36,0,56,-23,56,-59xm57,-24r0,126r-33,0r0,-273r33,0v1,8,-2,19,1,25v10,-17,34,-29,59,-29v55,0,83,36,87,90v7,82,-105,117,-147,61","w":219},"q":{"d":"163,-85v0,-37,-20,-60,-56,-60v-36,0,-56,23,-56,60v0,36,20,59,56,59v36,0,56,-23,56,-59xm163,-146r0,-25r32,0r0,253r-32,0r-1,-106v-10,17,-33,28,-59,28v-54,-2,-83,-34,-87,-89v-6,-82,103,-118,147,-61","w":219},"r":{"d":"122,-138v-39,-9,-65,10,-65,52r0,86r-33,0r0,-171r33,0v1,8,-2,21,1,27v9,-21,35,-36,65,-29","w":133,"k":{"q":6,"o":6,"g":6,"e":6,"d":6,"c":6,".":33,"-":20,",":33}},"s":{"d":"17,-122v0,-61,98,-68,123,-25r-25,19v-11,-27,-82,-19,-58,15v29,22,88,9,88,64v0,65,-110,68,-135,23r25,-20v12,21,70,32,76,-2v-15,-41,-94,-16,-94,-74","w":159},"t":{"d":"117,-1v-43,15,-80,-1,-80,-53r0,-89r-37,0r0,-28r37,0r0,-48r32,0r0,48r47,0r0,28r-47,0r1,92v-3,25,28,30,47,20r0,30","w":133},"u":{"d":"96,-26v65,2,44,-84,47,-145r33,0r0,171r-33,0r0,-26v-8,17,-31,30,-57,30v-81,0,-59,-99,-62,-175r33,0v6,55,-21,144,39,145"},"v":{"d":"4,-171r37,0r52,131r48,-131r35,0r-67,171r-36,0","w":180,"k":{".":27,",":27}},"w":{"d":"4,-171r36,0r40,128r40,-128r34,0r44,128r37,-128r34,0r-55,171r-33,0r-45,-127r-41,127r-35,0","w":273,"k":{".":20,",":20}},"x":{"d":"71,-91r-60,-80r42,0r41,61r41,-61r39,0r-58,80r69,91r-42,0r-50,-72r-51,72r-40,0","w":186},"y":{"d":"4,-171r37,0r52,134r48,-134r35,0r-90,228v-8,26,-46,36,-78,25r4,-30v41,17,53,-22,63,-51","w":180,"k":{".":27,",":27}},"z":{"d":"13,-29r96,-114r-93,0r0,-28r133,0r0,29r-98,114r103,0r0,28r-141,0r0,-29","w":166},"{":{"d":"14,-117v71,-13,-19,-169,95,-147r0,26v-70,-12,-2,119,-64,135v36,6,30,58,30,102v0,22,8,36,34,31r0,26v-65,11,-67,-41,-64,-103v0,-22,-12,-41,-31,-42r0,-28","w":119},"|":{"d":"26,-272r28,0r0,278r-28,0r0,-278","w":79},"}":{"d":"105,-90v-63,9,4,149,-68,146r-27,0r0,-26v71,13,2,-118,65,-134v-36,-7,-30,-59,-30,-103v1,-22,-9,-35,-35,-31r0,-26v66,-10,69,41,65,104v-1,23,11,41,30,42r0,28","w":119},"~":{"d":"82,-136v39,1,87,53,109,0r14,22v-17,46,-76,28,-108,10v-23,-13,-42,4,-48,22r-14,-22v11,-16,21,-33,47,-32","w":239},"\u20ac":{"d":"37,-174v6,-67,85,-107,152,-72r-8,27v-44,-28,-108,-3,-112,45r99,0r-6,24r-98,0r-1,44r87,0r-6,23r-78,0v6,38,19,61,60,61v22,0,35,-10,45,-22r17,18v-12,16,-35,31,-64,30v-57,-1,-81,-35,-90,-87r-26,0r7,-23r17,0v-1,-14,-2,-30,0,-44r-23,0r7,-24r21,0"},"\u201a":{"d":"50,48r-30,0r25,-89r35,0","w":100},"\u0192":{"d":"177,-224v-25,-14,-47,4,-52,31r-7,40r44,0r0,26r-49,0v-16,55,-11,129,-45,166v-16,17,-51,16,-72,4r13,-26v26,14,44,-3,48,-27r22,-117r-39,0r0,-26r44,0v8,-54,19,-120,88,-104v7,1,13,3,19,6"},"\u201e":{"d":"125,48r-30,0r25,-89r35,0xm61,48r-29,0r25,-89r34,0","w":186},"\u2026":{"d":"324,-22v0,12,-12,24,-24,24v-12,0,-24,-12,-24,-24v0,-12,12,-23,24,-23v12,0,24,11,24,23xm204,-22v0,12,-12,24,-24,24v-12,0,-24,-12,-24,-24v0,-12,12,-23,24,-23v12,0,24,11,24,23xm84,-22v0,12,-12,24,-24,24v-12,0,-24,-12,-24,-24v0,-12,12,-23,24,-23v12,0,24,11,24,23","w":360},"\u2020":{"d":"84,-154r-71,0r0,-28r71,0r0,-73r32,0r0,73r72,0r0,28r-72,0r0,199r-32,0r0,-199"},"\u2021":{"d":"84,-24r-69,0r0,-28r69,0r0,-110r-69,0r0,-28r69,0r0,-65r32,0r0,65r69,0r0,28r-69,0r0,110r69,0r0,28r-69,0r0,69r-32,0r0,-69"},"\u02c6":{"d":"70,-203r-27,-35r-26,35r-33,0r40,-52r38,0r41,52r-33,0","w":86},"\u2030":{"d":"66,-233v-18,0,-33,14,-33,32v0,19,15,33,33,33v18,0,32,-15,32,-33v1,-18,-14,-32,-32,-32xm66,-142v-35,0,-59,-24,-59,-59v0,-35,23,-58,59,-58v35,0,58,22,58,58v0,36,-24,59,-58,59xm56,11r-23,-11r161,-266r21,10xm282,-52v0,18,14,33,32,33v18,0,33,-14,33,-33v0,-19,-15,-33,-33,-33v-18,0,-32,15,-32,33xm314,6v-35,0,-58,-23,-58,-58v0,-36,23,-59,58,-59v35,0,59,24,59,59v0,35,-23,58,-59,58xm150,-52v0,19,15,33,33,33v18,0,32,-15,32,-33v0,-18,-14,-33,-32,-33v-18,0,-33,14,-33,33xm241,-52v0,36,-23,58,-58,58v-36,0,-59,-23,-59,-58v0,-35,24,-59,59,-59v34,0,58,23,58,59","w":380},"\u0160":{"d":"149,-129v64,38,25,135,-56,135v-35,0,-66,-13,-81,-35r28,-24v20,37,103,37,105,-15v-14,-66,-126,-26,-126,-122v0,-74,119,-95,160,-42r-28,25v-17,-33,-98,-29,-95,17v3,47,61,42,93,61xm41,-321r31,0r28,35r27,-35r33,0r-41,52r-38,0"},"\u2039":{"d":"19,-87r53,-78r22,15r-42,63r42,63r-22,14","w":113},"\u0152":{"d":"58,-127v0,70,52,99,130,95r0,-190v-79,-5,-130,25,-130,95xm21,-127v0,-86,59,-128,147,-128r160,0r0,33r-106,0r0,75r99,0r0,33r-99,0r0,82r110,0r0,32r-164,0v-88,-2,-147,-42,-147,-127","w":353},"\u017d":{"d":"12,-32r145,-190r-141,0r0,-33r184,0r0,33r-145,190r147,0r0,32r-190,0r0,-32xm48,-321r31,0r28,35r27,-35r33,0r-41,52r-38,0","w":213},"\u2018":{"d":"50,-255r30,0r-25,89r-35,0","w":100,"k":{"\u2018":36}},"\u2019":{"d":"50,-166r-30,0r25,-89r35,0","w":100,"k":{"\u2019":36,"t":6,"s":27}},"\u201c":{"d":"130,-166r-35,0r31,-89r29,0xm67,-166r-35,0r30,-89r29,0","w":186},"\u201d":{"d":"125,-166r-30,0r25,-89r35,0xm61,-166r-29,0r25,-89r34,0","w":186},"\u2022":{"d":"90,-64v-38,0,-64,-25,-64,-63v0,-38,26,-64,64,-64v38,0,64,26,64,64v0,38,-26,63,-64,63","w":180},"\u2013":{"d":"180,-73r-180,0r0,-29r180,0r0,29","w":180},"\u2014":{"d":"360,-73r-360,0r0,-29r360,0r0,29","w":360},"\u02dc":{"d":"70,-209v-26,1,-59,-31,-70,2r-17,0v4,-20,13,-37,36,-38v25,0,56,31,67,-1r18,0v-5,19,-11,37,-34,37","w":86},"\u2122":{"d":"158,-255r43,0r41,114r40,-114r43,0r0,148r-28,0r-1,-123r-43,123r-23,0r-44,-123r0,123r-28,0r0,-148xm57,-231r-45,0r0,-24r118,0r0,24r-45,0r0,124r-28,0r0,-124","w":360},"\u0161":{"d":"17,-122v0,-61,98,-68,123,-25r-25,19v-11,-27,-82,-19,-58,15v29,22,88,9,88,64v0,65,-110,68,-135,23r25,-20v12,21,70,32,76,-2v-15,-41,-94,-16,-94,-74xm21,-255r31,0r28,35r27,-35r33,0r-41,52r-38,0","w":159},"\u203a":{"d":"19,-24r43,-63r-43,-63r22,-15r53,78r-52,77","w":113},"\u0153":{"d":"101,-24v40,1,57,-24,57,-61v0,-36,-17,-62,-54,-62v-37,0,-55,24,-55,62v1,36,17,60,52,61xm285,-99v5,-56,-78,-66,-92,-17v-2,6,-3,12,-3,17r95,0xm190,-73v-6,53,78,65,96,24r26,18v-25,47,-117,46,-141,2v-13,20,-35,33,-70,33v-56,-1,-83,-34,-87,-89v-6,-86,115,-119,158,-57v14,-19,34,-33,67,-33v57,0,84,39,80,102r-129,0","w":333},"\u017e":{"d":"13,-29r96,-114r-93,0r0,-28r133,0r0,29r-98,114r103,0r0,28r-141,0r0,-29xm24,-255r31,0r28,35r27,-35r33,0r-41,52r-38,0","w":166},"\u0178":{"d":"93,-109r-97,-146r45,0r69,112r72,-112r42,0r-97,146r0,109r-34,0r0,-109xm125,-303v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm51,-303v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23","w":220},"\u00a1":{"d":"50,-177v12,0,24,12,24,24v0,12,-12,23,-24,23v-12,0,-24,-11,-24,-23v0,-12,12,-24,24,-24xm33,-102r35,0r0,182r-35,0r0,-182","w":100},"\u00a2":{"d":"104,-147v-52,3,-60,91,-20,115v6,4,13,7,20,8r0,-123xm26,-85v0,-54,31,-82,78,-90r0,-24r19,0r0,24v25,1,47,13,60,27r-23,22v-9,-10,-20,-21,-37,-21r0,123v15,0,28,-6,38,-18r22,20v-13,16,-34,24,-60,26r0,24r-19,0r0,-24v-48,-6,-78,-36,-78,-89"},"\u00a3":{"d":"181,-212v-30,-32,-91,-13,-84,41r0,27r59,0r0,26r-59,0r0,88r89,0r0,30r-160,0r0,-30r37,0r0,-88r-35,0r0,-26r35,0v-20,-97,71,-147,140,-93"},"\u00a4":{"d":"100,-192v-38,0,-64,26,-64,64v0,39,25,65,64,65v40,0,65,-27,65,-65v0,-38,-26,-64,-65,-64xm25,-73v-22,-26,-22,-83,0,-109r-17,-18r20,-20r18,17v26,-22,82,-22,108,0r18,-17r21,20r-18,18v23,27,22,82,0,109r18,17r-21,21r-18,-18v-28,22,-78,25,-108,0r-18,18r-20,-21"},"\u00a5":{"d":"85,-67r-62,0r0,-24r62,0v1,-12,0,-23,-6,-29r-56,0r0,-24r41,0r-66,-111r36,0r65,114r66,-114r37,0r-67,111r42,0r0,24r-56,0v-6,6,-7,16,-6,29r62,0r0,24r-62,0r0,67r-30,0r0,-67"},"\u00a6":{"d":"26,-272r28,0r0,109r-28,0r0,-109xm26,-103r28,0r0,109r-28,0r0,-109","w":79},"\u00a7":{"d":"124,-66v23,-7,29,-51,2,-59v-24,-22,-76,-22,-62,23v13,19,39,25,60,36xm35,-202v-3,-70,118,-77,139,-23r-30,16v-8,-30,-73,-31,-72,6v14,53,106,35,106,103v-1,24,-14,38,-30,47v13,9,23,22,23,43v3,77,-130,80,-149,18r32,-14v7,35,81,40,81,-4v-16,-49,-103,-35,-107,-95v-2,-30,16,-45,36,-55v-16,-9,-28,-20,-29,-42"},"\u00a8":{"d":"58,-237v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm-16,-237v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23","w":86},"\u00a9":{"d":"144,-238v-65,0,-110,44,-110,111v0,66,45,110,110,110v65,0,110,-44,110,-110v0,-67,-45,-111,-110,-111xm93,-129v-5,56,80,79,91,26r28,0v-6,32,-31,57,-67,57v-52,0,-75,-32,-80,-83v-9,-90,132,-114,147,-27r-28,0v-4,-19,-16,-29,-40,-29v-35,0,-48,23,-51,56xm144,6v-81,0,-134,-54,-134,-133v0,-79,53,-134,134,-134v81,0,134,55,134,134v0,79,-53,133,-134,133","w":288},"\u00aa":{"d":"36,-183v9,24,60,14,51,-19v-21,2,-49,-2,-51,19xm87,-219v3,-29,-45,-24,-56,-9r-13,-16v23,-21,93,-25,93,20r0,71r-24,0v-1,-5,2,-13,-1,-16v-11,28,-75,24,-74,-13v1,-36,39,-36,75,-37","w":121},"\u00ab":{"d":"88,-87r52,-78r23,15r-42,63r42,63r-22,14xm17,-87r52,-78r22,15r-42,63r43,63r-23,14","w":180},"\u00ac":{"d":"216,-51r-28,0r0,-72r-164,0r0,-28r192,0r0,100","w":239},"\u00ae":{"d":"144,-238v-65,0,-110,44,-110,111v0,66,45,110,110,110v65,0,110,-44,110,-110v0,-67,-45,-111,-110,-111xm144,6v-81,0,-134,-54,-134,-133v0,-79,53,-134,134,-134v81,0,134,55,134,134v0,79,-53,133,-134,133xm177,-160v0,-26,-31,-20,-56,-21r0,43v24,-2,56,5,56,-22xm152,-205v62,-10,72,84,17,88r40,65r-30,0r-38,-62r-20,0r0,62r-28,0r0,-153r59,0","w":288},"\u00af":{"d":"95,-216r-104,0r0,-24r104,0r0,24","w":86},"\u02c9":{"d":"95,-216r-104,0r0,-24r104,0r0,24","w":86},"\u00b0":{"d":"72,-235v-16,0,-30,14,-30,29v0,16,14,30,30,30v16,0,30,-14,30,-30v0,-15,-14,-29,-30,-29xm72,-152v-32,0,-54,-22,-54,-54v0,-32,22,-53,54,-53v33,0,51,23,54,53v-3,31,-21,54,-54,54","w":144},"\u00b1":{"d":"24,-46r192,0r0,28r-192,0r0,-28xm24,-141r82,0r0,-59r28,0r0,59r82,0r0,28r-82,0r0,54r-28,0r0,-54r-82,0r0,-28","w":239},"\u00b2":{"d":"67,-259v55,-4,65,57,28,88r-51,43r77,0r0,24r-112,0r0,-27r76,-70v13,-14,0,-36,-18,-34v-15,-1,-24,9,-25,21r-30,-2v2,-28,25,-41,55,-43","w":129},"\u00b3":{"d":"64,-259v53,-7,72,64,25,75v20,2,31,17,32,37v3,58,-103,59,-112,9r30,-7v4,27,54,24,54,-4v0,-22,-21,-23,-43,-23r0,-23v19,-1,39,0,39,-21v0,-26,-44,-23,-48,-3r-30,-7v6,-22,28,-30,53,-33","w":129},"\u00b4":{"d":"57,-255r46,0r-54,52r-30,0","w":86},"\u00b5":{"d":"143,-26v-10,25,-55,39,-86,24r0,84r-33,0r0,-253r33,0v6,55,-21,144,39,145v65,2,44,-84,47,-145r33,0r0,171r-33,0r0,-26"},"\u03bc":{"d":"143,-26v-10,25,-55,39,-86,24r0,84r-33,0r0,-253r33,0v6,55,-21,144,39,145v65,2,44,-84,47,-145r33,0r0,171r-33,0r0,-26"},"\u00b6":{"d":"18,-181v-3,-83,89,-76,172,-74r0,300r-28,0r0,-276r-40,0r0,276r-28,0r0,-159v-43,-2,-73,-24,-76,-67","w":216},"\u00b7":{"d":"50,-85v-12,0,-24,-12,-24,-24v0,-12,12,-24,24,-24v12,0,24,12,24,24v0,12,-12,24,-24,24","w":100},"\u2219":{"d":"50,-85v-12,0,-24,-12,-24,-24v0,-12,12,-24,24,-24v12,0,24,12,24,24v0,12,-12,24,-24,24","w":100},"\u00b8":{"d":"85,48v0,37,-54,40,-83,26r7,-15v22,17,72,-4,38,-24v-12,-3,-24,8,-30,-4r22,-31r18,0r-16,22v24,-1,44,4,44,26","w":86},"\u00b9":{"d":"55,-233r-30,26r-15,-17r46,-35r25,0r0,155r-26,0r0,-129","w":129},"\u00ba":{"d":"103,-205v0,-20,-13,-33,-34,-33v-21,0,-33,13,-33,33v0,20,12,33,33,33v21,0,34,-13,34,-33xm10,-205v0,-34,25,-54,59,-54v34,0,60,21,60,54v0,33,-25,54,-60,54v-35,0,-59,-20,-59,-54","w":138},"\u00bb":{"d":"92,-87r-52,77r-23,-14r42,-63r-42,-63r22,-15xm163,-87r-52,77r-22,-14r42,-63r-43,-63r23,-15","w":180},"\u00bc":{"d":"213,-266r21,11r-158,267r-21,-12xm240,-58v-1,-22,2,-47,-1,-67r-41,67r42,0xm242,-34r-70,0r0,-21r66,-100r28,0r0,97r22,0r0,24r-22,0r0,34r-24,0r0,-34xm58,-233r-31,26r-15,-17r46,-35r26,0r0,155r-26,0r0,-129","w":300},"\u00bd":{"d":"208,-266r22,11r-158,267r-22,-12xm235,-155v56,-4,66,56,28,88r-51,43r77,0r0,24r-111,0r0,-27r75,-69v13,-15,1,-38,-18,-35v-14,-1,-24,9,-24,21r-31,-2v2,-28,25,-41,55,-43xm57,-233r-31,26r-15,-17r46,-35r26,0r0,155r-26,0r0,-129","w":300},"\u00be":{"d":"227,-266r22,11r-158,267r-22,-12xm249,-125r-42,67r42,0r0,-67xm249,-34r-70,0r0,-21r66,-100r28,0r0,97r23,0r0,24r-23,0r0,34r-24,0r0,-34xm93,-149v0,-22,-21,-23,-43,-23r0,-23v19,-1,39,-1,39,-21v0,-25,-44,-24,-48,-3r-30,-7v9,-44,106,-46,106,7v-1,18,-12,31,-28,35v20,2,31,17,32,37v1,57,-103,60,-113,9r30,-7v4,27,55,24,55,-4","w":300},"\u00bf":{"d":"87,-130v-11,0,-23,-12,-23,-23v0,-12,11,-24,23,-24v12,0,24,12,24,24v0,12,-12,23,-24,23xm84,86v-62,0,-93,-65,-57,-109v18,-24,49,-34,43,-81r34,0v11,68,-48,69,-58,122v1,23,15,38,38,38v25,0,40,-17,42,-40r37,3v-5,40,-35,67,-79,67","w":180},"\u00c0":{"d":"175,-93r-49,-117r-48,117r97,0xm113,-255r31,0r109,255r-40,0r-26,-63r-121,0r-25,63r-41,0xm151,-269r-30,0r-54,-52r47,0","w":253},"\u00c1":{"d":"175,-93r-49,-117r-48,117r97,0xm113,-255r31,0r109,255r-40,0r-26,-63r-121,0r-25,63r-41,0xm141,-321r46,0r-54,52r-30,0","w":253},"\u00c2":{"d":"175,-93r-49,-117r-48,117r97,0xm113,-255r31,0r109,255r-40,0r-26,-63r-121,0r-25,63r-41,0xm154,-269r-27,-35r-26,35r-33,0r40,-52r38,0r41,52r-33,0","w":253},"\u00c3":{"d":"175,-93r-49,-117r-48,117r97,0xm113,-255r31,0r109,255r-40,0r-26,-63r-121,0r-25,63r-41,0xm154,-275v-26,1,-59,-31,-70,2r-17,0v4,-20,13,-37,36,-38v25,0,56,31,67,-1r18,0v-5,19,-11,37,-34,37","w":253},"\u00c4":{"d":"175,-93r-49,-117r-48,117r97,0xm113,-255r31,0r109,255r-40,0r-26,-63r-121,0r-25,63r-41,0xm142,-303v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm68,-303v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23","w":253},"\u00c5":{"d":"175,-93r-49,-117r-48,117r97,0xm113,-255r31,0r109,255r-40,0r-26,-63r-121,0r-25,63r-41,0xm127,-277v12,0,21,-9,22,-20v0,-11,-10,-21,-22,-21v-12,0,-21,9,-21,21v0,11,10,20,21,20xm164,-298v1,48,-74,44,-74,1v0,-44,74,-47,74,-1","w":253},"\u00c6":{"d":"185,-94r0,-128r-6,0r-84,128r90,0xm162,-255r164,0r0,33r-106,0r0,75r100,0r0,33r-100,0r0,82r110,0r0,32r-145,0r0,-62r-109,0r-36,62r-43,0","w":346},"\u00c7":{"d":"17,-125v-10,-120,146,-180,222,-97r-29,22v-12,-16,-35,-29,-61,-29v-61,0,-95,42,-95,104v0,60,35,99,95,99v32,0,51,-14,66,-34r29,22v-20,24,-49,45,-96,44v-81,-2,-125,-54,-131,-131xm176,48v0,37,-54,40,-83,26r7,-15v22,17,72,-4,38,-24v-12,-3,-24,8,-30,-4r22,-31r18,0r-16,22v24,-1,44,4,44,26","w":253},"\u00c8":{"d":"33,-255r164,0r0,33r-130,0r0,75r121,0r0,33r-121,0r0,82r137,0r0,32r-171,0r0,-255xm134,-269r-30,0r-54,-52r47,0","w":219},"\u00c9":{"d":"33,-255r164,0r0,33r-130,0r0,75r121,0r0,33r-121,0r0,82r137,0r0,32r-171,0r0,-255xm124,-321r46,0r-54,52r-30,0","w":219},"\u00ca":{"d":"33,-255r164,0r0,33r-130,0r0,75r121,0r0,33r-121,0r0,82r137,0r0,32r-171,0r0,-255xm137,-269r-27,-35r-26,35r-33,0r40,-52r38,0r41,52r-33,0","w":219},"\u00cb":{"d":"33,-255r164,0r0,33r-130,0r0,75r121,0r0,33r-121,0r0,82r137,0r0,32r-171,0r0,-255xm125,-303v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm51,-303v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23","w":219},"\u00cc":{"d":"33,-255r34,0r0,255r-34,0r0,-255xm74,-269r-30,0r-54,-52r47,0","w":100},"\u00cd":{"d":"33,-255r34,0r0,255r-34,0r0,-255xm64,-321r46,0r-54,52r-30,0","w":100},"\u00ce":{"d":"33,-255r34,0r0,255r-34,0r0,-255xm77,-269r-27,-35r-26,35r-33,0r40,-52r38,0r41,52r-33,0","w":100},"\u00cf":{"d":"33,-255r34,0r0,255r-34,0r0,-255xm65,-303v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm-9,-303v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23","w":100},"\u00d0":{"d":"213,-127v0,-77,-61,-104,-151,-95r0,77r84,0r0,24r-84,0r0,89v86,6,151,-17,151,-95xm250,-127v0,110,-99,137,-223,127r0,-121r-26,0r0,-24r26,0r0,-110r89,0v86,1,134,48,134,128","w":266},"\u00d1":{"d":"33,-255r45,0r141,210r0,-210r35,0r0,255r-44,0r-143,-210r0,210r-34,0r0,-255xm170,-275v-26,1,-59,-31,-70,2r-17,0v4,-20,13,-37,36,-38v25,0,56,31,67,-1r18,0v-5,19,-11,37,-34,37","w":286},"\u00d2":{"d":"54,-127v0,62,35,101,96,101v61,0,96,-41,96,-101v0,-61,-35,-102,-96,-102v-61,0,-96,40,-96,102xm283,-127v0,81,-51,133,-133,133v-82,0,-133,-52,-133,-133v0,-82,50,-134,133,-134v82,0,133,52,133,134xm174,-269r-30,0r-54,-52r47,0","w":299},"\u00d3":{"d":"54,-127v0,62,35,101,96,101v61,0,96,-41,96,-101v0,-61,-35,-102,-96,-102v-61,0,-96,40,-96,102xm283,-127v0,81,-51,133,-133,133v-82,0,-133,-52,-133,-133v0,-82,50,-134,133,-134v82,0,133,52,133,134xm164,-321r46,0r-54,52r-30,0","w":299},"\u00d4":{"d":"54,-127v0,62,35,101,96,101v61,0,96,-41,96,-101v0,-61,-35,-102,-96,-102v-61,0,-96,40,-96,102xm283,-127v0,81,-51,133,-133,133v-82,0,-133,-52,-133,-133v0,-82,50,-134,133,-134v82,0,133,52,133,134xm177,-269r-27,-35r-26,35r-33,0r40,-52r38,0r41,52r-33,0","w":299},"\u00d5":{"d":"54,-127v0,62,35,101,96,101v61,0,96,-41,96,-101v0,-61,-35,-102,-96,-102v-61,0,-96,40,-96,102xm283,-127v0,81,-51,133,-133,133v-82,0,-133,-52,-133,-133v0,-82,50,-134,133,-134v82,0,133,52,133,134xm177,-275v-26,1,-59,-31,-70,2r-17,0v4,-20,13,-37,36,-38v25,0,56,31,67,-1r18,0v-5,19,-11,37,-34,37","w":299},"\u00d6":{"d":"54,-127v0,62,35,101,96,101v61,0,96,-41,96,-101v0,-61,-35,-102,-96,-102v-61,0,-96,40,-96,102xm283,-127v0,81,-51,133,-133,133v-82,0,-133,-52,-133,-133v0,-82,50,-134,133,-134v82,0,133,52,133,134xm165,-303v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm91,-303v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23","w":299},"\u00d7":{"d":"100,-109r-76,-76r20,-20r76,76r77,-76r19,20r-76,76r76,76r-20,20r-76,-76r-76,76r-20,-20","w":239},"\u00d8":{"d":"150,6v-36,1,-63,-11,-84,-28r-31,33r-15,-14r30,-33v-19,-23,-33,-52,-33,-91v0,-82,50,-132,133,-134v35,-1,63,11,83,27r29,-32r16,13r-30,33v20,22,35,54,35,93v0,81,-52,130,-133,133xm150,-229v-86,0,-121,103,-75,167r134,-147v-15,-11,-33,-20,-59,-20xm150,-26v86,4,121,-105,74,-168r-135,147v15,12,35,21,61,21","w":299},"\u00d9":{"d":"127,6v-61,0,-99,-39,-99,-99r0,-162r35,0v8,90,-32,229,64,229v96,0,56,-139,64,-229r34,0r0,162v-2,62,-37,99,-98,99xm151,-269r-30,0r-54,-52r47,0","w":253},"\u00da":{"d":"127,6v-61,0,-99,-39,-99,-99r0,-162r35,0v8,90,-32,229,64,229v96,0,56,-139,64,-229r34,0r0,162v-2,62,-37,99,-98,99xm141,-321r46,0r-54,52r-30,0","w":253},"\u00db":{"d":"127,6v-61,0,-99,-39,-99,-99r0,-162r35,0v8,90,-32,229,64,229v96,0,56,-139,64,-229r34,0r0,162v-2,62,-37,99,-98,99xm154,-269r-27,-35r-26,35r-33,0r40,-52r38,0r41,52r-33,0","w":253},"\u00dc":{"d":"127,6v-61,0,-99,-39,-99,-99r0,-162r35,0v8,90,-32,229,64,229v96,0,56,-139,64,-229r34,0r0,162v-2,62,-37,99,-98,99xm142,-303v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm68,-303v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23","w":253},"\u00dd":{"d":"93,-109r-97,-146r45,0r69,112r72,-112r42,0r-97,146r0,109r-34,0r0,-109xm124,-321r46,0r-54,52r-30,0","w":220},"\u00de":{"d":"167,-131v0,-50,-53,-40,-100,-41r0,82v47,-1,100,8,100,-41xm204,-131v0,69,-64,75,-137,71r0,60r-34,0r0,-255r34,0r0,52v73,-4,137,2,137,72","w":213},"\u00df":{"d":"104,-246v-36,-1,-47,24,-47,59r0,187r-33,0r0,-183v1,-57,20,-95,81,-93v44,1,72,22,74,65v1,32,-18,46,-40,56v36,7,61,32,61,76v0,61,-49,93,-113,80r0,-29v43,9,79,-12,78,-54v-1,-40,-27,-56,-67,-56r0,-30v27,1,46,-13,46,-39v-1,-25,-15,-39,-40,-39","w":219},"\u00e0":{"d":"85,-22v36,0,50,-23,49,-60v-38,0,-82,-2,-85,33v-1,22,16,27,36,27xm134,-106v7,-53,-68,-50,-89,-24r-20,-20v34,-37,138,-37,139,32r2,118r-29,0v-2,-8,1,-19,-2,-26v-22,43,-122,41,-119,-21v2,-55,58,-60,118,-59xm117,-203r-30,0r-54,-52r47,0","w":186},"\u00e1":{"d":"85,-22v36,0,50,-23,49,-60v-38,0,-82,-2,-85,33v-1,22,16,27,36,27xm134,-106v7,-53,-68,-50,-89,-24r-20,-20v34,-37,138,-37,139,32r2,118r-29,0v-2,-8,1,-19,-2,-26v-22,43,-122,41,-119,-21v2,-55,58,-60,118,-59xm107,-255r46,0r-54,52r-30,0","w":186},"\u00e2":{"d":"85,-22v36,0,50,-23,49,-60v-38,0,-82,-2,-85,33v-1,22,16,27,36,27xm134,-106v7,-53,-68,-50,-89,-24r-20,-20v34,-37,138,-37,139,32r2,118r-29,0v-2,-8,1,-19,-2,-26v-22,43,-122,41,-119,-21v2,-55,58,-60,118,-59xm120,-203r-27,-35r-26,35r-33,0r40,-52r38,0r41,52r-33,0","w":186},"\u00e3":{"d":"85,-22v36,0,50,-23,49,-60v-38,0,-82,-2,-85,33v-1,22,16,27,36,27xm134,-106v7,-53,-68,-50,-89,-24r-20,-20v34,-37,138,-37,139,32r2,118r-29,0v-2,-8,1,-19,-2,-26v-22,43,-122,41,-119,-21v2,-55,58,-60,118,-59xm120,-209v-26,1,-59,-31,-70,2r-17,0v4,-20,13,-37,36,-38v25,0,56,31,67,-1r18,0v-5,19,-11,37,-34,37","w":186},"\u00e4":{"d":"85,-22v36,0,50,-23,49,-60v-38,0,-82,-2,-85,33v-1,22,16,27,36,27xm134,-106v7,-53,-68,-50,-89,-24r-20,-20v34,-37,138,-37,139,32r2,118r-29,0v-2,-8,1,-19,-2,-26v-22,43,-122,41,-119,-21v2,-55,58,-60,118,-59xm108,-237v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm34,-237v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23","w":186},"\u00e5":{"d":"85,-22v36,0,50,-23,49,-60v-38,0,-82,-2,-85,33v-1,22,16,27,36,27xm134,-106v7,-53,-68,-50,-89,-24r-20,-20v34,-37,138,-37,139,32r2,118r-29,0v-2,-8,1,-19,-2,-26v-22,43,-122,41,-119,-21v2,-55,58,-60,118,-59xm93,-214v12,0,21,-9,22,-20v0,-11,-10,-21,-22,-21v-12,0,-21,9,-21,21v0,11,10,20,21,20xm130,-235v1,48,-74,44,-74,1v0,-44,74,-47,74,-1","w":186},"\u00e6":{"d":"258,-99v7,-53,-75,-64,-89,-19v-2,6,-3,13,-3,19r92,0xm84,-19v31,-3,52,-19,51,-54v-33,3,-86,-11,-86,24v0,17,17,31,35,30xm166,-73v-6,55,79,67,95,24r27,20v-25,42,-115,50,-138,1v-16,20,-36,34,-70,34v-41,1,-66,-19,-66,-55v0,-56,64,-50,121,-50v8,-56,-63,-61,-91,-31r-20,-20v27,-30,107,-37,129,2v14,-14,32,-27,60,-27v59,1,81,43,80,102r-127,0","w":306},"\u00e7":{"d":"16,-85v-5,-83,103,-117,155,-63r-24,23v-28,-37,-104,-16,-96,41v-5,54,67,76,96,39r23,23v-14,17,-37,26,-65,26v-56,-1,-86,-34,-89,-89xm139,48v0,37,-54,40,-83,26r7,-15v22,17,72,-4,38,-24v-12,-3,-24,8,-30,-4r22,-31r18,0r-16,22v24,-1,44,4,44,26","w":173},"\u00e8":{"d":"151,-99v7,-59,-83,-65,-98,-18v-2,6,-4,12,-4,18r102,0xm103,-175v59,0,84,41,83,102r-137,0v-1,53,82,64,104,24r25,18v-46,63,-170,36,-164,-54v4,-54,34,-90,89,-90xm124,-203r-30,0r-54,-52r47,0"},"\u00e9":{"d":"151,-99v7,-59,-83,-65,-98,-18v-2,6,-4,12,-4,18r102,0xm103,-175v59,0,84,41,83,102r-137,0v-1,53,82,64,104,24r25,18v-46,63,-170,36,-164,-54v4,-54,34,-90,89,-90xm114,-255r46,0r-54,52r-30,0"},"\u00ea":{"d":"151,-99v7,-59,-83,-65,-98,-18v-2,6,-4,12,-4,18r102,0xm103,-175v59,0,84,41,83,102r-137,0v-1,53,82,64,104,24r25,18v-46,63,-170,36,-164,-54v4,-54,34,-90,89,-90xm127,-203r-27,-35r-26,35r-33,0r40,-52r38,0r41,52r-33,0"},"\u00eb":{"d":"151,-99v7,-59,-83,-65,-98,-18v-2,6,-4,12,-4,18r102,0xm103,-175v59,0,84,41,83,102r-137,0v-1,53,82,64,104,24r25,18v-46,63,-170,36,-164,-54v4,-54,34,-90,89,-90xm115,-237v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm41,-237v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23"},"\u00ec":{"d":"27,-171r32,0r0,171r-32,0r0,-171xm67,-203r-30,0r-54,-52r47,0","w":86},"\u00ed":{"d":"27,-171r32,0r0,171r-32,0r0,-171xm57,-255r46,0r-54,52r-30,0","w":86},"\u00ee":{"d":"27,-171r32,0r0,171r-32,0r0,-171xm70,-203r-27,-35r-26,35r-33,0r40,-52r38,0r41,52r-33,0","w":86},"\u00ef":{"d":"27,-171r32,0r0,171r-32,0r0,-171xm58,-237v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm-16,-237v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23","w":86},"\u00f0":{"d":"107,-145v-36,0,-56,23,-56,60v0,36,20,59,56,59v36,0,56,-23,56,-59v0,-37,-20,-60,-56,-60xm152,-157v-8,-24,-33,-46,-51,-65r-39,18r-17,-16r39,-19r-31,-26r28,-17r32,29r39,-19r19,16r-40,19v32,36,67,75,67,140v0,62,-30,101,-91,101v-55,0,-88,-35,-91,-89v-4,-70,84,-116,136,-72","w":213},"\u00f1":{"d":"104,-145v-63,0,-45,83,-47,145r-33,0r0,-171r33,0v1,8,-2,21,1,27v8,-18,30,-31,56,-31v39,2,62,24,62,65r0,110r-33,0v-5,-56,20,-145,-39,-145xm127,-209v-26,1,-59,-31,-70,2r-17,0v4,-20,13,-37,36,-38v25,0,56,31,67,-1r18,0v-5,19,-11,37,-34,37"},"\u00f2":{"d":"107,4v-55,0,-91,-35,-91,-89v0,-54,36,-90,91,-90v55,0,91,36,91,90v0,54,-37,89,-91,89xm107,-145v-36,0,-56,23,-56,60v0,36,20,59,56,59v36,0,56,-23,56,-59v0,-37,-20,-60,-56,-60xm131,-203r-30,0r-54,-52r47,0","w":213},"\u00f3":{"d":"107,4v-55,0,-91,-35,-91,-89v0,-54,36,-90,91,-90v55,0,91,36,91,90v0,54,-37,89,-91,89xm107,-145v-36,0,-56,23,-56,60v0,36,20,59,56,59v36,0,56,-23,56,-59v0,-37,-20,-60,-56,-60xm121,-255r46,0r-54,52r-30,0","w":213},"\u00f4":{"d":"107,4v-55,0,-91,-35,-91,-89v0,-54,36,-90,91,-90v55,0,91,36,91,90v0,54,-37,89,-91,89xm107,-145v-36,0,-56,23,-56,60v0,36,20,59,56,59v36,0,56,-23,56,-59v0,-37,-20,-60,-56,-60xm134,-203r-27,-35r-26,35r-33,0r40,-52r38,0r41,52r-33,0","w":213},"\u00f5":{"d":"107,4v-55,0,-91,-35,-91,-89v0,-54,36,-90,91,-90v55,0,91,36,91,90v0,54,-37,89,-91,89xm107,-145v-36,0,-56,23,-56,60v0,36,20,59,56,59v36,0,56,-23,56,-59v0,-37,-20,-60,-56,-60xm134,-209v-26,1,-59,-31,-70,2r-17,0v4,-20,13,-37,36,-38v25,0,56,31,67,-1r18,0v-5,19,-11,37,-34,37","w":213},"\u00f6":{"d":"107,4v-55,0,-91,-35,-91,-89v0,-54,36,-90,91,-90v55,0,91,36,91,90v0,54,-37,89,-91,89xm107,-145v-36,0,-56,23,-56,60v0,36,20,59,56,59v36,0,56,-23,56,-59v0,-37,-20,-60,-56,-60xm122,-237v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm48,-237v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23","w":213},"\u00f7":{"d":"120,-24v-11,0,-24,-12,-24,-24v0,-12,12,-24,24,-24v12,0,24,12,24,24v0,12,-13,24,-24,24xm120,-145v-12,0,-24,-12,-24,-24v0,-12,12,-24,24,-24v12,0,24,12,24,24v0,12,-12,24,-24,24xm216,-123r0,28r-192,0r0,-28r192,0","w":239},"\u00f8":{"d":"75,-36v50,34,112,-24,80,-81xm198,-85v3,74,-88,113,-145,72r-25,25r-13,-13r24,-25v-13,-15,-22,-33,-23,-59v-3,-78,95,-115,149,-69r27,-27r13,13r-27,27v12,15,20,31,20,56xm144,-132v-35,-28,-93,-6,-93,47v0,15,4,26,11,36","w":213},"\u00f9":{"d":"96,-26v65,2,44,-84,47,-145r33,0r0,171r-33,0r0,-26v-8,17,-31,30,-57,30v-81,0,-59,-99,-62,-175r33,0v6,55,-21,144,39,145xm124,-203r-30,0r-54,-52r47,0"},"\u00fa":{"d":"96,-26v65,2,44,-84,47,-145r33,0r0,171r-33,0r0,-26v-8,17,-31,30,-57,30v-81,0,-59,-99,-62,-175r33,0v6,55,-21,144,39,145xm114,-255r46,0r-54,52r-30,0"},"\u00fb":{"d":"96,-26v65,2,44,-84,47,-145r33,0r0,171r-33,0r0,-26v-8,17,-31,30,-57,30v-81,0,-59,-99,-62,-175r33,0v6,55,-21,144,39,145xm127,-203r-27,-35r-26,35r-33,0r40,-52r38,0r41,52r-33,0"},"\u00fc":{"d":"96,-26v65,2,44,-84,47,-145r33,0r0,171r-33,0r0,-26v-8,17,-31,30,-57,30v-81,0,-59,-99,-62,-175r33,0v6,55,-21,144,39,145xm115,-237v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm41,-237v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23"},"\u00fd":{"d":"4,-171r37,0r52,134r48,-134r35,0r-90,228v-8,26,-46,36,-78,25r4,-30v41,17,53,-22,63,-51xm104,-255r46,0r-54,52r-30,0","w":180},"\u00fe":{"d":"57,-85v0,36,20,59,56,59v36,0,56,-23,56,-59v0,-37,-20,-60,-56,-60v-36,0,-56,23,-56,60xm204,-85v6,82,-103,116,-147,61r0,106r-33,0r0,-354r33,0r1,126v10,-17,34,-29,59,-29v54,0,83,35,87,90","w":219},"\u00ff":{"d":"4,-171r37,0r52,134r48,-134r35,0r-90,228v-8,26,-46,36,-78,25r4,-30v41,17,53,-22,63,-51xm105,-237v0,-11,12,-20,22,-20v10,0,23,9,22,20v1,13,-9,23,-22,23v-13,0,-22,-10,-22,-23xm31,-237v0,-11,12,-20,22,-20v11,0,24,9,23,20v0,12,-10,23,-23,23v-13,0,-22,-10,-22,-23","w":180},"A":{"d":"175,-93r-49,-117r-48,117r97,0xm113,-255r31,0r109,255r-40,0r-26,-63r-121,0r-25,63r-41,0","w":253,"k":{"\u2019":27,"y":6,"w":6,"v":6,"Y":27,"W":9,"V":17,"T":33}},"\u0141":{"d":"33,-75r-26,22r0,-32r26,-22r0,-148r34,0r0,118r78,-67r0,32r-78,67r0,73r117,0r0,32r-151,0r0,-75","w":186},"\u02d8":{"d":"100,-253v1,48,-62,63,-96,38v-10,-8,-16,-21,-17,-38r19,0v4,34,71,35,75,0r19,0","w":86},"\u02c7":{"d":"-16,-255r31,0r28,35r27,-35r33,0r-41,52r-38,0","w":86},"\u02d9":{"d":"66,-237v0,12,-10,23,-23,23v-13,0,-23,-10,-22,-23v0,-28,44,-24,45,0","w":86},"\u0131":{"d":"27,-171r32,0r0,171r-32,0r0,-171","w":86},"\ufb01":{"d":"116,-245v-28,-11,-46,4,-46,35r0,39r38,0r0,28r-39,0r0,143r-32,0r0,-143r-37,0r0,-28r37,0v-6,-69,10,-120,83,-103xm157,-208v-12,0,-24,-11,-24,-23v0,-12,12,-24,24,-24v12,0,24,12,24,24v0,12,-12,23,-24,23xm140,-171r33,0r0,171r-33,0r0,-171"},"\ufb02":{"d":"116,-245v-28,-11,-46,4,-46,35r0,39r38,0r0,28r-39,0r0,143r-32,0r0,-143r-37,0r0,-28r37,0v-6,-69,10,-120,83,-103xm141,-272r32,0r0,272r-32,0r0,-272"},"\u2215":{"d":"-38,12r-22,-12r158,-266r22,11","w":60},"\u02dd":{"d":"80,-255r46,0r-54,52r-29,0xm19,-255r46,0r-53,52r-30,0","w":86},"\u0142":{"d":"27,-107r-28,28r0,-33r28,-28r0,-132r32,0r0,100r28,-28r0,33r-28,27r0,140r-32,0r0,-107","w":86},"\u2212":{"d":"216,-123r0,28r-192,0r0,-28r192,0","w":239},"\u02db":{"d":"35,42v-1,19,26,20,34,9r8,16v-19,20,-69,17,-68,-18v1,-26,20,-38,33,-52r20,0v-11,12,-25,24,-27,45","w":86},"\u02da":{"d":"43,-214v12,0,21,-9,22,-20v0,-11,-10,-21,-22,-21v-12,0,-21,9,-21,21v0,11,10,20,21,20xm80,-235v1,48,-74,44,-74,1v0,-44,74,-47,74,-1","w":86}}});


/**
 * jQuery Galleriffic plugin
 *
 * Copyright (c) 2008 Trent Foley (http://trentacular.com)
 * Licensed under the MIT License:
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * Much thanks to primary contributer Ponticlaro (http://www.ponticlaro.com)
 */
;(function($) {
	// Globally keep track of all images by their unique hash.  Each item is an image data object.
	var allImages = {};
	var imageCounter = 0;

	// Galleriffic static class
	$.galleriffic = {
		version: '2.0.1',

		// Strips invalid characters and any leading # characters
		normalizeHash: function(hash) {
			return hash.replace(/^.*#/, '').replace(/\?.*$/, '');
		},

		getImage: function(hash) {
			if (!hash)
				return undefined;

			hash = $.galleriffic.normalizeHash(hash);
			return allImages[hash];
		},

		// Global function that looks up an image by its hash and displays the image.
		// Returns false when an image is not found for the specified hash.
		// @param {String} hash This is the unique hash value assigned to an image.
		gotoImage: function(hash) {
			var imageData = $.galleriffic.getImage(hash);
			if (!imageData)
				return false;

			var gallery = imageData.gallery;
			gallery.gotoImage(imageData);
			
			return true;
		},

		// Removes an image from its respective gallery by its hash.
		// Returns false when an image is not found for the specified hash or the
		// specified owner gallery does match the located images gallery.
		// @param {String} hash This is the unique hash value assigned to an image.
		// @param {Object} ownerGallery (Optional) When supplied, the located images
		// gallery is verified to be the same as the specified owning gallery before
		// performing the remove operation.
		removeImageByHash: function(hash, ownerGallery) {
			var imageData = $.galleriffic.getImage(hash);
			if (!imageData)
				return false;

			var gallery = imageData.gallery;
			if (ownerGallery && ownerGallery != gallery)
				return false;

			return gallery.removeImageByIndex(imageData.index);
		}
	};

	var defaults = {
		delay:                     3000,
		numThumbs:                 20,
		preloadAhead:              40, // Set to -1 to preload all images
		enableTopPager:            false,
		enableBottomPager:         true,
		maxPagesToShow:            7,
		imageContainerSel:         '',
		captionContainerSel:       '',
		controlsContainerSel:      '',
		loadingContainerSel:       '',
		renderSSControls:          true,
		renderNavControls:         true,
		playLinkText:              'Play',
		pauseLinkText:             'Pause',
		prevLinkText:              'Previous',
		nextLinkText:              'Next',
		nextPageLinkText:          'Next &rsaquo;',
		prevPageLinkText:          '&lsaquo; Prev',
		enableHistory:             false,
		enableKeyboardNavigation:  true,
		autoStart:                 false,
		syncTransitions:           false,
		defaultTransitionDuration: 1000,
		onSlideChange:             undefined, // accepts a delegate like such: function(prevIndex, nextIndex) { ... }
		onTransitionOut:           undefined, // accepts a delegate like such: function(slide, caption, isSync, callback) { ... }
		onTransitionIn:            undefined, // accepts a delegate like such: function(slide, caption, isSync) { ... }
		onPageTransitionOut:       undefined, // accepts a delegate like such: function(callback) { ... }
		onPageTransitionIn:        undefined, // accepts a delegate like such: function() { ... }
		onImageAdded:              undefined, // accepts a delegate like such: function(imageData, $li) { ... }
		onImageRemoved:            undefined  // accepts a delegate like such: function(imageData, $li) { ... }
	};

	// Primary Galleriffic initialization function that should be called on the thumbnail container.
	$.fn.galleriffic = function(settings) {
		//  Extend Gallery Object
		$.extend(this, {
			// Returns the version of the script
			version: $.galleriffic.version,

			// Current state of the slideshow
			isSlideshowRunning: false,
			slideshowTimeout: undefined,

			// This function is attached to the click event of generated hyperlinks within the gallery
			clickHandler: function(e, link) {
				this.pause();

				if (!this.enableHistory) {
					// The href attribute holds the unique hash for an image
					var hash = $.galleriffic.normalizeHash($(link).attr('href'));
					$.galleriffic.gotoImage(hash);
					e.preventDefault();
				}
			},

			// Appends an image to the end of the set of images.  Argument listItem can be either a jQuery DOM element or arbitrary html.
			// @param listItem Either a jQuery object or a string of html of the list item that is to be added to the gallery.
			appendImage: function(listItem) {
				this.addImage(listItem, false, false);
				return this;
			},

			// Inserts an image into the set of images.  Argument listItem can be either a jQuery DOM element or arbitrary html.
			// @param listItem Either a jQuery object or a string of html of the list item that is to be added to the gallery.
			// @param {Integer} position The index within the gallery where the item shouold be added.
			insertImage: function(listItem, position) {
				this.addImage(listItem, false, true, position);
				return this;
			},

			// Adds an image to the gallery and optionally inserts/appends it to the DOM (thumbExists)
			// @param listItem Either a jQuery object or a string of html of the list item that is to be added to the gallery.
			// @param {Boolean} thumbExists Specifies whether the thumbnail already exists in the DOM or if it needs to be added.
			// @param {Boolean} insert Specifies whether the the image is appended to the end or inserted into the gallery.
			// @param {Integer} position The index within the gallery where the item shouold be added.
			addImage: function(listItem, thumbExists, insert, position) {
				var $li = ( typeof listItem === "string" ) ? $(listItem) : listItem;				
				var $aThumb = $li.find('a.thumb');
				var slideUrl = $aThumb.attr('href');
				var title = $aThumb.attr('title');
				var $caption = $li.find('.caption').remove();
				var hash = $aThumb.attr('name');

				// Increment the image counter
				imageCounter++;

				// Autogenerate a hash value if none is present or if it is a duplicate
				if (!hash || allImages[''+hash]) {
					hash = imageCounter;
				}

				// Set position to end when not specified
				if (!insert)
					position = this.data.length;
				
				var imageData = {
					title:title,
					slideUrl:slideUrl,
					caption:$caption,
					hash:hash,
					gallery:this,
					index:position
				};

				// Add the imageData to this gallery's array of images
				if (insert) {
					this.data.splice(position, 0, imageData);

					// Reset index value on all imageData objects
					this.updateIndices(position);
				}
				else {
					this.data.push(imageData);
				}

				var gallery = this;

				// Add the element to the DOM
				if (!thumbExists) {
					// Update thumbs passing in addition post transition out handler
					this.updateThumbs(function() {
						var $thumbsUl = gallery.find('ul.thumbs');
						if (insert)
							$thumbsUl.children(':eq('+position+')').before($li);
						else
							$thumbsUl.append($li);
						
						if (gallery.onImageAdded)
							gallery.onImageAdded(imageData, $li);
					});
				}

				// Register the image globally
				allImages[''+hash] = imageData;

				// Setup attributes and click handler
				$aThumb.attr('rel', 'history')
					.attr('href', '#'+hash)
					.removeAttr('name')
					.click(function(e) {
						gallery.clickHandler(e, this);
					});

				return this;
			},

			// Removes an image from the gallery based on its index.
			// Returns false when the index is out of range.
			removeImageByIndex: function(index) {
				if (index < 0 || index >= this.data.length)
					return false;
				
				var imageData = this.data[index];
				if (!imageData)
					return false;
				
				this.removeImage(imageData);
				
				return true;
			},

			// Convenience method that simply calls the global removeImageByHash method.
			removeImageByHash: function(hash) {
				return $.galleriffic.removeImageByHash(hash, this);
			},

			// Removes an image from the gallery.
			removeImage: function(imageData) {
				var index = imageData.index;
				
				// Remove the image from the gallery data array
				this.data.splice(index, 1);
				
				// Remove the global registration
				delete allImages[''+imageData.hash];
				
				// Remove the image's list item from the DOM
				this.updateThumbs(function() {
					var $li = gallery.find('ul.thumbs')
						.children(':eq('+index+')')
						.remove();

					if (gallery.onImageRemoved)
						gallery.onImageRemoved(imageData, $li);
				});

				// Update each image objects index value
				this.updateIndices(index);

				return this;
			},

			// Updates the index values of the each of the images in the gallery after the specified index
			updateIndices: function(startIndex) {
				for (i = startIndex; i < this.data.length; i++) {
					this.data[i].index = i;
				}
				
				return this;
			},

			// Scraped the thumbnail container for thumbs and adds each to the gallery
			initializeThumbs: function() {
				this.data = [];
				var gallery = this;

				this.find('ul.thumbs > li').each(function(i) {
					gallery.addImage($(this), true, false);
				});

				return this;
			},

			isPreloadComplete: false,

			// Initalizes the image preloader
			preloadInit: function() {
				if (this.preloadAhead == 0) return this;
				
				this.preloadStartIndex = this.currentImage.index;
				var nextIndex = this.getNextIndex(this.preloadStartIndex);
				return this.preloadRecursive(this.preloadStartIndex, nextIndex);
			},

			// Changes the location in the gallery the preloader should work
			// @param {Integer} index The index of the image where the preloader should restart at.
			preloadRelocate: function(index) {
				// By changing this startIndex, the current preload script will restart
				this.preloadStartIndex = index;
				return this;
			},

			// Recursive function that performs the image preloading
			// @param {Integer} startIndex The index of the first image the current preloader started on.
			// @param {Integer} currentIndex The index of the current image to preload.
			preloadRecursive: function(startIndex, currentIndex) {
				// Check if startIndex has been relocated
				if (startIndex != this.preloadStartIndex) {
					var nextIndex = this.getNextIndex(this.preloadStartIndex);
					return this.preloadRecursive(this.preloadStartIndex, nextIndex);
				}

				var gallery = this;

				// Now check for preloadAhead count
				var preloadCount = currentIndex - startIndex;
				if (preloadCount < 0)
					preloadCount = this.data.length-1-startIndex+currentIndex;
				if (this.preloadAhead >= 0 && preloadCount > this.preloadAhead) {
					// Do this in order to keep checking for relocated start index
					setTimeout(function() { gallery.preloadRecursive(startIndex, currentIndex); }, 500);
					return this;
				}

				var imageData = this.data[currentIndex];
				if (!imageData)
					return this;

				// If already loaded, continue
				if (imageData.image)
					return this.preloadNext(startIndex, currentIndex); 
				
				// Preload the image
				var image = new Image();
				
				image.onload = function() {
					imageData.image = this;
					gallery.preloadNext(startIndex, currentIndex);
				};

				image.alt = imageData.title;
				image.src = imageData.slideUrl;

				return this;
			},
			
			// Called by preloadRecursive in order to preload the next image after the previous has loaded.
			// @param {Integer} startIndex The index of the first image the current preloader started on.
			// @param {Integer} currentIndex The index of the current image to preload.
			preloadNext: function(startIndex, currentIndex) {
				var nextIndex = this.getNextIndex(currentIndex);
				if (nextIndex == startIndex) {
					this.isPreloadComplete = true;
				} else {
					// Use setTimeout to free up thread
					var gallery = this;
					setTimeout(function() { gallery.preloadRecursive(startIndex, nextIndex); }, 100);
				}

				return this;
			},

			// Safe way to get the next image index relative to the current image.
			// If the current image is the last, returns 0
			getNextIndex: function(index) {
				var nextIndex = index+1;
				if (nextIndex >= this.data.length)
					nextIndex = 0;
				return nextIndex;
			},

			// Safe way to get the previous image index relative to the current image.
			// If the current image is the first, return the index of the last image in the gallery.
			getPrevIndex: function(index) {
				var prevIndex = index-1;
				if (prevIndex < 0)
					prevIndex = this.data.length-1;
				return prevIndex;
			},

			// Pauses the slideshow
			pause: function() {
				this.isSlideshowRunning = false;
				if (this.slideshowTimeout) {
					clearTimeout(this.slideshowTimeout);
					this.slideshowTimeout = undefined;
				}

				if (this.$controlsContainer) {
					this.$controlsContainer
						.find('div.ss-controls a').removeClass().addClass('play')
						.attr('title', this.playLinkText)
						.attr('href', '#play')
						.html(this.playLinkText);
				}
				
				return this;
			},

			// Plays the slideshow
			play: function() {
				this.isSlideshowRunning = true;

				if (this.$controlsContainer) {
					this.$controlsContainer
						.find('div.ss-controls a').removeClass().addClass('pause')
						.attr('title', this.pauseLinkText)
						.attr('href', '#pause')
						.html(this.pauseLinkText);
				}

				if (!this.slideshowTimeout) {
					var gallery = this;
					this.slideshowTimeout = setTimeout(function() { gallery.ssAdvance(); }, this.delay);
				}

				return this;
			},

			// Toggles the state of the slideshow (playing/paused)
			toggleSlideshow: function() {
				if (this.isSlideshowRunning)
					this.pause();
				else
					this.play();

				return this;
			},

			// Advances the slideshow to the next image and delegates navigation to the
			// history plugin when history is enabled
			// enableHistory is true
			ssAdvance: function() {
				if (this.isSlideshowRunning)
					this.next(true);

				return this;
			},

			// Advances the gallery to the next image.
			// @param {Boolean} dontPause Specifies whether to pause the slideshow.
			// @param {Boolean} bypassHistory Specifies whether to delegate navigation to the history plugin when history is enabled.  
			next: function(dontPause, bypassHistory) {
				this.gotoIndex(this.getNextIndex(this.currentImage.index), dontPause, bypassHistory);
				return this;
			},

			// Navigates to the previous image in the gallery.
			// @param {Boolean} dontPause Specifies whether to pause the slideshow.
			// @param {Boolean} bypassHistory Specifies whether to delegate navigation to the history plugin when history is enabled.
			previous: function(dontPause, bypassHistory) {
				this.gotoIndex(this.getPrevIndex(this.currentImage.index), dontPause, bypassHistory);
				return this;
			},

			// Navigates to the next page in the gallery.
			// @param {Boolean} dontPause Specifies whether to pause the slideshow.
			// @param {Boolean} bypassHistory Specifies whether to delegate navigation to the history plugin when history is enabled.
			nextPage: function(dontPause, bypassHistory) {
				var page = this.getCurrentPage();
				var lastPage = this.getNumPages() - 1;
				if (page < lastPage) {
					var startIndex = page * this.numThumbs;
					var nextPage = startIndex + this.numThumbs;
					this.gotoIndex(nextPage, dontPause, bypassHistory);
				}

				return this;
			},

			// Navigates to the previous page in the gallery.
			// @param {Boolean} dontPause Specifies whether to pause the slideshow.
			// @param {Boolean} bypassHistory Specifies whether to delegate navigation to the history plugin when history is enabled.
			previousPage: function(dontPause, bypassHistory) {
				var page = this.getCurrentPage();
				if (page > 0) {
					var startIndex = page * this.numThumbs;
					var prevPage = startIndex - this.numThumbs;				
					this.gotoIndex(prevPage, dontPause, bypassHistory);
				}
				
				return this;
			},

			// Navigates to the image at the specified index in the gallery
			// @param {Integer} index The index of the image in the gallery to display.
			// @param {Boolean} dontPause Specifies whether to pause the slideshow.
			// @param {Boolean} bypassHistory Specifies whether to delegate navigation to the history plugin when history is enabled.
			gotoIndex: function(index, dontPause, bypassHistory) {
				if (!dontPause)
					this.pause();
				
				if (index < 0) index = 0;
				else if (index >= this.data.length) index = this.data.length-1;
				
				var imageData = this.data[index];
				
				if (!bypassHistory && this.enableHistory)
					$.historyLoad(String(imageData.hash));  // At the moment, historyLoad only accepts string arguments
				else
					this.gotoImage(imageData);

				return this;
			},

			// This function is garaunteed to be called anytime a gallery slide changes.
			// @param {Object} imageData An object holding the image metadata of the image to navigate to.
			gotoImage: function(imageData) {
				var index = imageData.index;

				if (this.onSlideChange)
					this.onSlideChange(this.currentImage.index, index);
				
				this.currentImage = imageData;
				this.preloadRelocate(index);
				
				this.refresh();
				
				return this;
			},

			// Returns the default transition duration value.  The value is halved when not
			// performing a synchronized transition.
			// @param {Boolean} isSync Specifies whether the transitions are synchronized.
			getDefaultTransitionDuration: function(isSync) {
				if (isSync)
					return this.defaultTransitionDuration;
				return this.defaultTransitionDuration / 2;
			},

			// Rebuilds the slideshow image and controls and performs transitions
			refresh: function() {
				var imageData = this.currentImage;
				if (!imageData)
					return this;

				var index = imageData.index;

				// Update Controls
				if (this.$controlsContainer) {
					this.$controlsContainer
						.find('div.nav-controls a.prev').attr('href', '#'+this.data[this.getPrevIndex(index)].hash).end()
						.find('div.nav-controls a.next').attr('href', '#'+this.data[this.getNextIndex(index)].hash);
				}

				var previousSlide = this.$imageContainer.find('span.current').addClass('previous').removeClass('current');
				var previousCaption = 0;

				if (this.$captionContainer) {
					previousCaption = this.$captionContainer.find('span.current').addClass('previous').removeClass('current');
				}

				// Perform transitions simultaneously if syncTransitions is true and the next image is already preloaded
				var isSync = this.syncTransitions && imageData.image;

				// Flag we are transitioning
				var isTransitioning = true;
				var gallery = this;

				var transitionOutCallback = function() {
					// Flag that the transition has completed
					isTransitioning = false;

					// Remove the old slide
					previousSlide.remove();

					// Remove old caption
					if (previousCaption)
						previousCaption.remove();

					if (!isSync) {
						if (imageData.image && imageData.hash == gallery.data[gallery.currentImage.index].hash) {
							gallery.buildImage(imageData, isSync);
						} else {
							// Show loading container
							if (gallery.$loadingContainer) {
								gallery.$loadingContainer.show();
							}
						}
					}
				};

				if (previousSlide.length == 0) {
					// For the first slide, the previous slide will be empty, so we will call the callback immediately
					transitionOutCallback();
				} else {
					if (this.onTransitionOut) {
						this.onTransitionOut(previousSlide, previousCaption, isSync, transitionOutCallback);
					} else {
						previousSlide.fadeTo(this.getDefaultTransitionDuration(isSync), 0.0, transitionOutCallback);
						if (previousCaption)
							previousCaption.fadeTo(this.getDefaultTransitionDuration(isSync), 0.0);
					}
				}

				// Go ahead and begin transitioning in of next image
				if (isSync)
					this.buildImage(imageData, isSync);

				if (!imageData.image) {
					var image = new Image();
					
					// Wire up mainImage onload event
					image.onload = function() {
						imageData.image = this;

						// Only build image if the out transition has completed and we are still on the same image hash
						if (!isTransitioning && imageData.hash == gallery.data[gallery.currentImage.index].hash) {
							gallery.buildImage(imageData, isSync);
						}
					};

					// set alt and src
					image.alt = imageData.title;
					image.src = imageData.slideUrl;
				}

				// This causes the preloader (if still running) to relocate out from the currentIndex
				this.relocatePreload = true;

				return this.syncThumbs();
			},

			// Called by the refresh method after the previous image has been transitioned out or at the same time
			// as the out transition when performing a synchronous transition.
			// @param {Object} imageData An object holding the image metadata of the image to build.
			// @param {Boolean} isSync Specifies whether the transitions are synchronized.
			buildImage: function(imageData, isSync) {
				var gallery = this;
				var nextIndex = this.getNextIndex(imageData.index);

				// Construct new hidden span for the image
				var newSlide = this.$imageContainer
					.append('<span class="image-wrapper current"><a class="advance-link" rel="history" href="#'+this.data[nextIndex].hash+'" title="'+imageData.title+'">&nbsp;</a></span>')
					.find('span.current').css('opacity', '0');
				
				newSlide.find('a')
					.append(imageData.image)
					.click(function(e) {
						gallery.clickHandler(e, this);
					});
				
				var newCaption = 0;
				if (this.$captionContainer) {
					// Construct new hidden caption for the image
					newCaption = this.$captionContainer
						.append('<span class="image-caption current"></span>')
						.find('span.current').css('opacity', '0')
						.append(imageData.caption);
				}

				// Hide the loading conatiner
				if (this.$loadingContainer) {
					this.$loadingContainer.hide();
				}

				// Transition in the new image
				if (this.onTransitionIn) {
					this.onTransitionIn(newSlide, newCaption, isSync);
				} else {
					newSlide.fadeTo(this.getDefaultTransitionDuration(isSync), 1.0);
					if (newCaption)
						newCaption.fadeTo(this.getDefaultTransitionDuration(isSync), 1.0);
				}
				
				if (this.isSlideshowRunning) {
					if (this.slideshowTimeout)
						clearTimeout(this.slideshowTimeout);

					this.slideshowTimeout = setTimeout(function() { gallery.ssAdvance(); }, this.delay);
				}

				return this;
			},

			// Returns the current page index that should be shown for the currentImage
			getCurrentPage: function() {
				return Math.floor(this.currentImage.index / this.numThumbs);
			},

			// Applies the selected class to the current image's corresponding thumbnail.
			// Also checks if the current page has changed and updates the displayed page of thumbnails if necessary.
			syncThumbs: function() {
				var page = this.getCurrentPage();
				if (page != this.displayedPage)
					this.updateThumbs();

				// Remove existing selected class and add selected class to new thumb
				var $thumbs = this.find('ul.thumbs').children();
				$thumbs.filter('.selected').removeClass('selected');
				$thumbs.eq(this.currentImage.index).addClass('selected');

				return this;
			},

			// Performs transitions on the thumbnails container and updates the set of
			// thumbnails that are to be displayed and the navigation controls.
			// @param {Delegate} postTransitionOutHandler An optional delegate that is called after
			// the thumbnails container has transitioned out and before the thumbnails are rebuilt.
			updateThumbs: function(postTransitionOutHandler) {
				var gallery = this;
				var transitionOutCallback = function() {
					// Call the Post-transition Out Handler
					if (postTransitionOutHandler)
						postTransitionOutHandler();
					
					gallery.rebuildThumbs();

					// Transition In the thumbsContainer
					if (gallery.onPageTransitionIn)
						gallery.onPageTransitionIn();
					else
						gallery.show();
				};

				// Transition Out the thumbsContainer
				if (this.onPageTransitionOut) {
					this.onPageTransitionOut(transitionOutCallback);
				} else {
					this.hide();
					transitionOutCallback();
				}

				return this;
			},

			// Updates the set of thumbnails that are to be displayed and the navigation controls.
			rebuildThumbs: function() {
				var needsPagination = this.data.length > this.numThumbs;

				// Rebuild top pager
				if (this.enableTopPager) {
					var $topPager = this.find('div.top');
					if ($topPager.length == 0)
						$topPager = this.prepend('<div class="top pagination"></div>').find('div.top');
					else
						$topPager.empty();

					if (needsPagination)
						this.buildPager($topPager);
				}

				// Rebuild bottom pager
				if (this.enableBottomPager) {
					var $bottomPager = this.find('div.bottom');
					if ($bottomPager.length == 0)
						$bottomPager = this.append('<div class="bottom pagination"></div>').find('div.bottom');
					else
						$bottomPager.empty();

					if (needsPagination)
						this.buildPager($bottomPager);
				}

				var page = this.getCurrentPage();
				var startIndex = page*this.numThumbs;
				var stopIndex = startIndex+this.numThumbs-1;
				if (stopIndex >= this.data.length)
					stopIndex = this.data.length-1;

				// Show/Hide thumbs
				var $thumbsUl = this.find('ul.thumbs');
				$thumbsUl.find('li').each(function(i) {
					var $li = $(this);
					if (i >= startIndex && i <= stopIndex) {
						$li.show();
					} else {
						$li.hide();
					}
				});

				this.displayedPage = page;

				// Remove the noscript class from the thumbs container ul
				$thumbsUl.removeClass('noscript');
				
				return this;
			},

			// Returns the total number of pages required to display all the thumbnails.
			getNumPages: function() {
				return Math.ceil(this.data.length/this.numThumbs);
			},

			// Rebuilds the pager control in the specified matched element.
			// @param {jQuery} pager A jQuery element set matching the particular pager to be rebuilt.
			buildPager: function(pager) {
				var gallery = this;
				var numPages = this.getNumPages();
				var page = this.getCurrentPage();
				var startIndex = page * this.numThumbs;
				var pagesRemaining = this.maxPagesToShow - 1;
				
				var pageNum = page - Math.floor((this.maxPagesToShow - 1) / 2) + 1;
				if (pageNum > 0) {
					var remainingPageCount = numPages - pageNum;
					if (remainingPageCount < pagesRemaining) {
						pageNum = pageNum - (pagesRemaining - remainingPageCount);
					}
				}

				if (pageNum < 0) {
					pageNum = 0;
				}

				// Prev Page Link
				if (page > 0) {
					var prevPage = startIndex - this.numThumbs;
					pager.append('<a rel="history" href="#'+this.data[prevPage].hash+'" title="'+this.prevPageLinkText+'">'+this.prevPageLinkText+'</a>');
				}

				// Create First Page link if needed
				if (pageNum > 0) {
					this.buildPageLink(pager, 0, numPages);
					if (pageNum > 1)
						pager.append('<span class="ellipsis">&hellip;</span>');
					
					pagesRemaining--;
				}

				// Page Index Links
				while (pagesRemaining > 0) {
					this.buildPageLink(pager, pageNum, numPages);
					pagesRemaining--;
					pageNum++;
				}

				// Create Last Page link if needed
				if (pageNum < numPages) {
					var lastPageNum = numPages - 1;
					if (pageNum < lastPageNum)
						pager.append('<span class="ellipsis">&hellip;</span>');

					this.buildPageLink(pager, lastPageNum, numPages);
				}

				// Next Page Link
				var nextPage = startIndex + this.numThumbs;
				if (nextPage < this.data.length) {
					pager.append('<a rel="history" href="#'+this.data[nextPage].hash+'" title="'+this.nextPageLinkText+'">'+this.nextPageLinkText+'</a>');
				}

				pager.find('a').click(function(e) {
					gallery.clickHandler(e, this);
				});

				return this;
			},

			// Builds a single page link within a pager.  This function is called by buildPager
			// @param {jQuery} pager A jQuery element set matching the particular pager to be rebuilt.
			// @param {Integer} pageNum The page number of the page link to build.
			// @param {Integer} numPages The total number of pages required to display all thumbnails.
			buildPageLink: function(pager, pageNum, numPages) {
				var pageLabel = pageNum + 1;
				var currentPage = this.getCurrentPage();
				if (pageNum == currentPage)
					pager.append('<span class="current">'+pageLabel+'</span>');
				else if (pageNum < numPages) {
					var imageIndex = pageNum*this.numThumbs;
					pager.append('<a rel="history" href="#'+this.data[imageIndex].hash+'" title="'+pageLabel+'">'+pageLabel+'</a>');
				}
				
				return this;
			}
		});

		// Now initialize the gallery
		$.extend(this, defaults, settings);
		
		// Verify the history plugin is available
		if (this.enableHistory && !$.historyInit)
			this.enableHistory = false;
		
		// Select containers
		if (this.imageContainerSel) this.$imageContainer = $(this.imageContainerSel);
		if (this.captionContainerSel) this.$captionContainer = $(this.captionContainerSel);
		if (this.loadingContainerSel) this.$loadingContainer = $(this.loadingContainerSel);

		// Initialize the thumbails
		this.initializeThumbs();
		
		if (this.maxPagesToShow < 3)
			this.maxPagesToShow = 3;

		this.displayedPage = -1;
		this.currentImage = this.data[0];
		var gallery = this;

		// Hide the loadingContainer
		if (this.$loadingContainer)
			this.$loadingContainer.hide();

		// Setup controls
		if (this.controlsContainerSel) {
			this.$controlsContainer = $(this.controlsContainerSel).empty();
			
			if (this.renderSSControls) {
				if (this.autoStart) {
					this.$controlsContainer
						.append('<div class="ss-controls"><a href="#pause" class="pause" title="'+this.pauseLinkText+'">'+this.pauseLinkText+'</a></div>');
				} else {
					this.$controlsContainer
						.append('<div class="ss-controls"><a href="#play" class="play" title="'+this.playLinkText+'">'+this.playLinkText+'</a></div>');
				}

				this.$controlsContainer.find('div.ss-controls a')
					.click(function(e) {
						gallery.toggleSlideshow();
						e.preventDefault();
						return false;
					});
			}
		
			if (this.renderNavControls) {
				this.$controlsContainer
					.append('<div class="nav-controls"><a class="prev" rel="history" title="'+this.prevLinkText+'">'+this.prevLinkText+'</a><a class="next" rel="history" title="'+this.nextLinkText+'">'+this.nextLinkText+'</a></div>')
					.find('div.nav-controls a')
					.click(function(e) {
						gallery.clickHandler(e, this);
					});
			}
		}

		var initFirstImage = !this.enableHistory || !location.hash;
		if (this.enableHistory && location.hash) {
			var hash = $.galleriffic.normalizeHash(location.hash);
			var imageData = allImages[hash];
			if (!imageData)
				initFirstImage = true;
		}

		// Setup gallery to show the first image
		if (initFirstImage)
			this.gotoIndex(0, false, true);

		// Setup Keyboard Navigation
		if (this.enableKeyboardNavigation) {
			$(document).keydown(function(e) {
				var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode : 0;
				switch(key) {
					case 32: // space
						gallery.next();
						e.preventDefault();
						break;
					case 33: // Page Up
						gallery.previousPage();
						e.preventDefault();
						break;
					case 34: // Page Down
						gallery.nextPage();
						e.preventDefault();
						break;
					case 35: // End
						gallery.gotoIndex(gallery.data.length-1);
						e.preventDefault();
						break;
					case 36: // Home
						gallery.gotoIndex(0);
						e.preventDefault();
						break;
					case 37: // left arrow
						gallery.previous();
						e.preventDefault();
						break;
					case 39: // right arrow
						gallery.next();
						e.preventDefault();
						break;
				}
			});
		}

		// Auto start the slideshow
		if (this.autoStart)
			this.play();

		// Kickoff Image Preloader after 1 second
		setTimeout(function() { gallery.preloadInit(); }, 1000);

		return this;
	};
})(jQuery);



/**
 * jQuery Opacity Rollover plugin
 *
 * Copyright (c) 2009 Trent Foley (http://trentacular.com)
 * Licensed under the MIT License:
 *   http://www.opensource.org/licenses/mit-license.php
 */
;(function($) {
	var defaults = {
		mouseOutOpacity:   0.67,
		mouseOverOpacity:  1.0,
		fadeSpeed:         'fast',
		exemptionSelector: '.selected'
	};

	$.fn.opacityrollover = function(settings) {
		// Initialize the effect
		$.extend(this, defaults, settings);

		var config = this;

		function fadeTo(element, opacity) {
			var $target = $(element);
			
			if (config.exemptionSelector)
				$target = $target.not(config.exemptionSelector);	
			
			$target.fadeTo(config.fadeSpeed, opacity);
		}

		this.css('opacity', this.mouseOutOpacity)
			.hover(
				function () {
					fadeTo(this, config.mouseOverOpacity);
				},
				function () {
					fadeTo(this, config.mouseOutOpacity);
				});

		return this;
	};
})(jQuery);


/*
 * Shadowbox.js, version 3.0.3
 * http://shadowbox-js.com/
 *
 * Copyright 2007-2010, Michael J. I. Jackson
 * Date: 2010-04-07 08:15:25 +0000
 */
(function(window,undefined){var S={version:"3.0.3"};var ua=navigator.userAgent.toLowerCase();if(ua.indexOf("windows")>-1||ua.indexOf("win32")>-1){S.isWindows=true}else{if(ua.indexOf("macintosh")>-1||ua.indexOf("mac os x")>-1){S.isMac=true}else{if(ua.indexOf("linux")>-1){S.isLinux=true}}}S.isIE=ua.indexOf("msie")>-1;S.isIE6=ua.indexOf("msie 6")>-1;S.isIE7=ua.indexOf("msie 7")>-1;S.isGecko=ua.indexOf("gecko")>-1&&ua.indexOf("safari")==-1;S.isWebKit=ua.indexOf("applewebkit/")>-1;var inlineId=/#(.+)$/,galleryName=/^(light|shadow)box\[(.*?)\]/i,inlineParam=/\s*([a-z_]*?)\s*=\s*(.+)\s*/,fileExtension=/[0-9a-z]+$/i,scriptPath=/(.+\/)shadowbox\.js/i;var open=false,initialized=false,lastOptions={},slideDelay=0,slideStart,slideTimer;S.current=-1;S.dimensions=null;S.ease=function(state){return 1+Math.pow(state-1,3)};S.errorInfo={fla:{name:"Flash",url:"http://www.adobe.com/products/flashplayer/"},qt:{name:"QuickTime",url:"http://www.apple.com/quicktime/download/"},wmp:{name:"Windows Media Player",url:"http://www.microsoft.com/windows/windowsmedia/"},f4m:{name:"Flip4Mac",url:"http://www.flip4mac.com/wmv_download.htm"}};S.gallery=[];S.onReady=noop;S.path=null;S.player=null;S.playerId="sb-player";S.options={animate:true,animateFade:true,autoplayMovies:true,continuous:false,enableKeys:true,flashParams:{bgcolor:"#000000",allowfullscreen:true},flashVars:{},flashVersion:"9.0.115",handleOversize:"resize",handleUnsupported:"link",onChange:noop,onClose:noop,onFinish:noop,onOpen:noop,showMovieControls:true,skipSetup:false,slideshowDelay:0,viewportPadding:20};S.getCurrent=function(){return S.current>-1?S.gallery[S.current]:null};S.hasNext=function(){return S.gallery.length>1&&(S.current!=S.gallery.length-1||S.options.continuous)};S.isOpen=function(){return open};S.isPaused=function(){return slideTimer=="pause"};S.applyOptions=function(options){lastOptions=apply({},S.options);apply(S.options,options)};S.revertOptions=function(){apply(S.options,lastOptions)};S.init=function(options,callback){if(initialized){return}initialized=true;if(S.skin.options){apply(S.options,S.skin.options)}if(options){apply(S.options,options)}if(!S.path){var path,scripts=document.getElementsByTagName("script");for(var i=0,len=scripts.length;i<len;++i){path=scriptPath.exec(scripts[i].src);if(path){S.path=path[1];break}}}if(callback){S.onReady=callback}bindLoad()};S.open=function(obj){if(open){return}var gc=S.makeGallery(obj);S.gallery=gc[0];S.current=gc[1];obj=S.getCurrent();if(obj==null){return}S.applyOptions(obj.options||{});filterGallery();if(S.gallery.length){obj=S.getCurrent();if(S.options.onOpen(obj)===false){return}open=true;S.skin.onOpen(obj,load)}};S.close=function(){if(!open){return}open=false;if(S.player){S.player.remove();S.player=null}if(typeof slideTimer=="number"){clearTimeout(slideTimer);slideTimer=null}slideDelay=0;listenKeys(false);S.options.onClose(S.getCurrent());S.skin.onClose();S.revertOptions()};S.play=function(){if(!S.hasNext()){return}if(!slideDelay){slideDelay=S.options.slideshowDelay*1000}if(slideDelay){slideStart=now();slideTimer=setTimeout(function(){slideDelay=slideStart=0;S.next()},slideDelay);if(S.skin.onPlay){S.skin.onPlay()}}};S.pause=function(){if(typeof slideTimer!="number"){return}slideDelay=Math.max(0,slideDelay-(now()-slideStart));if(slideDelay){clearTimeout(slideTimer);slideTimer="pause";if(S.skin.onPause){S.skin.onPause()}}};S.change=function(index){if(!(index in S.gallery)){if(S.options.continuous){index=(index<0?S.gallery.length+index:0);if(!(index in S.gallery)){return}}else{return}}S.current=index;if(typeof slideTimer=="number"){clearTimeout(slideTimer);slideTimer=null;slideDelay=slideStart=0}S.options.onChange(S.getCurrent());load(true)};S.next=function(){S.change(S.current+1)};S.previous=function(){S.change(S.current-1)};S.setDimensions=function(height,width,maxHeight,maxWidth,topBottom,leftRight,padding,preserveAspect){var originalHeight=height,originalWidth=width;var extraHeight=2*padding+topBottom;if(height+extraHeight>maxHeight){height=maxHeight-extraHeight}var extraWidth=2*padding+leftRight;if(width+extraWidth>maxWidth){width=maxWidth-extraWidth}var changeHeight=(originalHeight-height)/originalHeight,changeWidth=(originalWidth-width)/originalWidth,oversized=(changeHeight>0||changeWidth>0);if(preserveAspect&&oversized){if(changeHeight>changeWidth){width=Math.round((originalWidth/originalHeight)*height)}else{if(changeWidth>changeHeight){height=Math.round((originalHeight/originalWidth)*width)}}}S.dimensions={height:height+topBottom,width:width+leftRight,innerHeight:height,innerWidth:width,top:Math.floor((maxHeight-(height+extraHeight))/2+padding),left:Math.floor((maxWidth-(width+extraWidth))/2+padding),oversized:oversized};return S.dimensions};S.makeGallery=function(obj){var gallery=[],current=-1;if(typeof obj=="string"){obj=[obj]}if(typeof obj.length=="number"){each(obj,function(i,o){if(o.content){gallery[i]=o}else{gallery[i]={content:o}}});current=0}else{if(obj.tagName){var cacheObj=S.getCache(obj);obj=cacheObj?cacheObj:S.makeObject(obj)}if(obj.gallery){gallery=[];var o;for(var key in S.cache){o=S.cache[key];if(o.gallery&&o.gallery==obj.gallery){if(current==-1&&o.content==obj.content){current=gallery.length}gallery.push(o)}}if(current==-1){gallery.unshift(obj);current=0}}else{gallery=[obj];current=0}}each(gallery,function(i,o){gallery[i]=apply({},o)});return[gallery,current]};S.makeObject=function(link,options){var obj={content:link.href,title:link.getAttribute("title")||"",link:link};if(options){options=apply({},options);each(["player","title","height","width","gallery"],function(i,o){if(typeof options[o]!="undefined"){obj[o]=options[o];delete options[o]}});obj.options=options}else{obj.options={}}if(!obj.player){obj.player=S.getPlayer(obj.content)}var rel=link.getAttribute("rel");if(rel){var match=rel.match(galleryName);if(match){obj.gallery=escape(match[2])}each(rel.split(";"),function(i,p){match=p.match(inlineParam);if(match){obj[match[1]]=match[2]}})}return obj};S.getPlayer=function(content){if(content.indexOf("#")>-1&&content.indexOf(document.location.href)==0){return"inline"}var q=content.indexOf("?");if(q>-1){content=content.substring(0,q)}var ext,m=content.match(fileExtension);if(m){ext=m[0].toLowerCase()}if(ext){if(S.img&&S.img.ext.indexOf(ext)>-1){return"img"}if(S.swf&&S.swf.ext.indexOf(ext)>-1){return"swf"}if(S.flv&&S.flv.ext.indexOf(ext)>-1){return"flv"}if(S.qt&&S.qt.ext.indexOf(ext)>-1){if(S.wmp&&S.wmp.ext.indexOf(ext)>-1){return"qtwmp"}else{return"qt"}}if(S.wmp&&S.wmp.ext.indexOf(ext)>-1){return"wmp"}}return"iframe"};function filterGallery(){var err=S.errorInfo,plugins=S.plugins,obj,remove,needed,m,format,replace,inlineEl,flashVersion;for(var i=0;i<S.gallery.length;++i){obj=S.gallery[i];remove=false;needed=null;switch(obj.player){case"flv":case"swf":if(!plugins.fla){needed="fla"}break;case"qt":if(!plugins.qt){needed="qt"}break;case"wmp":if(S.isMac){if(plugins.qt&&plugins.f4m){obj.player="qt"}else{needed="qtf4m"}}else{if(!plugins.wmp){needed="wmp"}}break;case"qtwmp":if(plugins.qt){obj.player="qt"}else{if(plugins.wmp){obj.player="wmp"}else{needed="qtwmp"}}break}if(needed){if(S.options.handleUnsupported=="link"){switch(needed){case"qtf4m":format="shared";replace=[err.qt.url,err.qt.name,err.f4m.url,err.f4m.name];break;case"qtwmp":format="either";replace=[err.qt.url,err.qt.name,err.wmp.url,err.wmp.name];break;default:format="single";replace=[err[needed].url,err[needed].name]}obj.player="html";obj.content='<div class="sb-message">'+sprintf(S.lang.errors[format],replace)+"</div>"}else{remove=true}}else{if(obj.player=="inline"){m=inlineId.exec(obj.content);if(m){inlineEl=get(m[1]);if(inlineEl){obj.content=inlineEl.innerHTML}else{remove=true}}else{remove=true}}else{if(obj.player=="swf"||obj.player=="flv"){flashVersion=(obj.options&&obj.options.flashVersion)||S.options.flashVersion;if(S.flash&&!S.flash.hasFlashPlayerVersion(flashVersion)){obj.width=310;obj.height=177}}}}if(remove){S.gallery.splice(i,1);if(i<S.current){--S.current}else{if(i==S.current){S.current=i>0?i-1:i}}--i}}}function listenKeys(on){if(!S.options.enableKeys){return}(on?addEvent:removeEvent)(document,"keydown",handleKey)}function handleKey(e){if(e.metaKey||e.shiftKey||e.altKey||e.ctrlKey){return}var code=keyCode(e),handler;switch(code){case 81:case 88:case 27:handler=S.close;break;case 37:handler=S.previous;break;case 39:handler=S.next;break;case 32:handler=typeof slideTimer=="number"?S.pause:S.play;break}if(handler){preventDefault(e);handler()}}function load(changing){listenKeys(false);var obj=S.getCurrent();var player=(obj.player=="inline"?"html":obj.player);if(typeof S[player]!="function"){throw"unknown player "+player}if(changing){S.player.remove();S.revertOptions();S.applyOptions(obj.options||{})}S.player=new S[player](obj,S.playerId);if(S.gallery.length>1){var next=S.gallery[S.current+1]||S.gallery[0];if(next.player=="img"){var a=new Image();a.src=next.content}var prev=S.gallery[S.current-1]||S.gallery[S.gallery.length-1];if(prev.player=="img"){var b=new Image();b.src=prev.content}}S.skin.onLoad(changing,waitReady)}function waitReady(){if(!open){return}if(typeof S.player.ready!="undefined"){var timer=setInterval(function(){if(open){if(S.player.ready){clearInterval(timer);timer=null;S.skin.onReady(show)}}else{clearInterval(timer);timer=null}},10)}else{S.skin.onReady(show)}}function show(){if(!open){return}S.player.append(S.skin.body,S.dimensions);S.skin.onShow(finish)}function finish(){if(!open){return}if(S.player.onLoad){S.player.onLoad()}S.options.onFinish(S.getCurrent());if(!S.isPaused()){S.play()}listenKeys(true)}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(obj,from){var len=this.length>>>0;from=from||0;if(from<0){from+=len}for(;from<len;++from){if(from in this&&this[from]===obj){return from}}return -1}}function now(){return(new Date).getTime()}function apply(original,extension){for(var property in extension){original[property]=extension[property]}return original}function each(obj,callback){var i=0,len=obj.length;for(var value=obj[0];i<len&&callback.call(value,i,value)!==false;value=obj[++i]){}}function sprintf(str,replace){return str.replace(/\{(\w+?)\}/g,function(match,i){return replace[i]})}function noop(){}function get(id){return document.getElementById(id)}function remove(el){el.parentNode.removeChild(el)}var supportsOpacity=true,supportsFixed=true;function checkSupport(){var body=document.body,div=document.createElement("div");supportsOpacity=typeof div.style.opacity==="string";div.style.position="fixed";div.style.margin=0;div.style.top="20px";body.appendChild(div,body.firstChild);supportsFixed=div.offsetTop==20;body.removeChild(div)}S.getStyle=(function(){var opacity=/opacity=([^)]*)/,getComputedStyle=document.defaultView&&document.defaultView.getComputedStyle;return function(el,style){var ret;if(!supportsOpacity&&style=="opacity"&&el.currentStyle){ret=opacity.test(el.currentStyle.filter||"")?(parseFloat(RegExp.$1)/100)+"":"";return ret===""?"1":ret}if(getComputedStyle){var computedStyle=getComputedStyle(el,null);if(computedStyle){ret=computedStyle[style]}if(style=="opacity"&&ret==""){ret="1"}}else{ret=el.currentStyle[style]}return ret}})();S.appendHTML=function(el,html){if(el.insertAdjacentHTML){el.insertAdjacentHTML("BeforeEnd",html)}else{if(el.lastChild){var range=el.ownerDocument.createRange();range.setStartAfter(el.lastChild);var frag=range.createContextualFragment(html);el.appendChild(frag)}else{el.innerHTML=html}}};S.getWindowSize=function(dimension){if(document.compatMode==="CSS1Compat"){return document.documentElement["client"+dimension]}return document.body["client"+dimension]};S.setOpacity=function(el,opacity){var style=el.style;if(supportsOpacity){style.opacity=(opacity==1?"":opacity)}else{style.zoom=1;if(opacity==1){if(typeof style.filter=="string"&&(/alpha/i).test(style.filter)){style.filter=style.filter.replace(/\s*[\w\.]*alpha\([^\)]*\);?/gi,"")}}else{style.filter=(style.filter||"").replace(/\s*[\w\.]*alpha\([^\)]*\)/gi,"")+" alpha(opacity="+(opacity*100)+")"}}};S.clearOpacity=function(el){S.setOpacity(el,1)};function getTarget(e){return e.target}function getPageXY(e){return[e.pageX,e.pageY]}function preventDefault(e){e.preventDefault()}function keyCode(e){return e.keyCode}function addEvent(el,type,handler){jQuery(el).bind(type,handler)}function removeEvent(el,type,handler){jQuery(el).unbind(type,handler)}jQuery.fn.shadowbox=function(options){return this.each(function(){var el=jQuery(this);var opts=jQuery.extend({},options||{},jQuery.metadata?el.metadata():jQuery.meta?el.data():{});var cls=this.className||"";opts.width=parseInt((cls.match(/w:(\d+)/)||[])[1])||opts.width;opts.height=parseInt((cls.match(/h:(\d+)/)||[])[1])||opts.height;Shadowbox.setup(el,opts)})};var loaded=false,DOMContentLoaded;if(document.addEventListener){DOMContentLoaded=function(){document.removeEventListener("DOMContentLoaded",DOMContentLoaded,false);S.load()}}else{if(document.attachEvent){DOMContentLoaded=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",DOMContentLoaded);S.load()}}}}function doScrollCheck(){if(loaded){return}try{document.documentElement.doScroll("left")}catch(e){setTimeout(doScrollCheck,1);return}S.load()}function bindLoad(){if(document.readyState==="complete"){return S.load()}if(document.addEventListener){document.addEventListener("DOMContentLoaded",DOMContentLoaded,false);window.addEventListener("load",S.load,false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",DOMContentLoaded);window.attachEvent("onload",S.load);var topLevel=false;try{topLevel=window.frameElement===null}catch(e){}if(document.documentElement.doScroll&&topLevel){doScrollCheck()}}}}S.load=function(){if(loaded){return}if(!document.body){return setTimeout(S.load,13)}loaded=true;checkSupport();S.onReady();if(!S.options.skipSetup){S.setup()}S.skin.init()};S.plugins={};if(navigator.plugins&&navigator.plugins.length){var names=[];each(navigator.plugins,function(i,p){names.push(p.name)});names=names.join(",");var f4m=names.indexOf("Flip4Mac")>-1;S.plugins={fla:names.indexOf("Shockwave Flash")>-1,qt:names.indexOf("QuickTime")>-1,wmp:!f4m&&names.indexOf("Windows Media")>-1,f4m:f4m}}else{var detectPlugin=function(name){var axo;try{axo=new ActiveXObject(name)}catch(e){}return !!axo};S.plugins={fla:detectPlugin("ShockwaveFlash.ShockwaveFlash"),qt:detectPlugin("QuickTime.QuickTime"),wmp:detectPlugin("wmplayer.ocx"),f4m:false}}var relAttr=/^(light|shadow)box/i,expando="shadowboxCacheKey",cacheKey=1;S.cache={};S.select=function(selector){var links=[];if(!selector){var rel;each(document.getElementsByTagName("a"),function(i,el){rel=el.getAttribute("rel");if(rel&&relAttr.test(rel)){links.push(el)}})}else{var length=selector.length;if(length){if(typeof selector=="string"){if(S.find){links=S.find(selector)}}else{if(length==2&&typeof selector[0]=="string"&&selector[1].nodeType){if(S.find){links=S.find(selector[0],selector[1])}}else{for(var i=0;i<length;++i){links[i]=selector[i]}}}}else{links.push(selector)}}return links};S.setup=function(selector,options){each(S.select(selector),function(i,link){S.addCache(link,options)})};S.teardown=function(selector){each(S.select(selector),function(i,link){S.removeCache(link)})};S.addCache=function(link,options){var key=link[expando];if(key==undefined){key=cacheKey++;link[expando]=key;addEvent(link,"click",handleClick)}S.cache[key]=S.makeObject(link,options)};S.removeCache=function(link){removeEvent(link,"click",handleClick);delete S.cache[link[expando]];link[expando]=null};S.getCache=function(link){var key=link[expando];return(key in S.cache&&S.cache[key])};S.clearCache=function(){for(var key in S.cache){S.removeCache(S.cache[key].link)}S.cache={}};function handleClick(e){S.open(this);if(S.gallery.length){preventDefault(e)}}











if(TAAL == 'nl')
{
	TEKST_VAN = 'van';
	TEKST_VOLGENDE = 'Volgende';
	TEKST_VORIGE = 'Vorige';
	TEKST_ANNULEREN = 'Annuleren';
	TEKST_CLOSE = 'Sluiten';
}
else if(TAAL == 'de')
{
	TEKST_VAN = 'von';
	TEKST_VOLGENDE = 'Nächste';
	TEKST_VORIGE = 'Vorige';
	TEKST_ANNULEREN = 'Cancel';
	TEKST_CLOSE = 'Schließen';
}
else
{
	//default is engels
	TEKST_VAN = 'from';
	TEKST_VOLGENDE = 'Next';
	TEKST_VORIGE = 'Previous';
	TEKST_ANNULEREN = 'Cancel';
	TEKST_CLOSE = 'Close';
}


/*
 * SWFObject v2.1 <http://code.google.com/p//>
 * Copyright (c) 2007-2008 Geoff Stearns, Michael Williams, and Bobby van der Sluis
 * This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
 *
 * Modified for inclusion in Shadowbox.js
 */
S.flash=(function(){var swfobject=function(){var UNDEF="undefined",OBJECT="object",SHOCKWAVE_FLASH="Shockwave Flash",SHOCKWAVE_FLASH_AX="ShockwaveFlash.ShockwaveFlash",FLASH_MIME_TYPE="application/x-shockwave-flash",EXPRESS_INSTALL_ID="SWFObjectExprInst",win=window,doc=document,nav=navigator,domLoadFnArr=[],regObjArr=[],objIdArr=[],listenersArr=[],script,timer=null,storedAltContent=null,storedAltContentId=null,isDomLoaded=false,isExpressInstallActive=false;var ua=function(){var w3cdom=typeof doc.getElementById!=UNDEF&&typeof doc.getElementsByTagName!=UNDEF&&typeof doc.createElement!=UNDEF,playerVersion=[0,0,0],d=null;if(typeof nav.plugins!=UNDEF&&typeof nav.plugins[SHOCKWAVE_FLASH]==OBJECT){d=nav.plugins[SHOCKWAVE_FLASH].description;if(d&&!(typeof nav.mimeTypes!=UNDEF&&nav.mimeTypes[FLASH_MIME_TYPE]&&!nav.mimeTypes[FLASH_MIME_TYPE].enabledPlugin)){d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1");playerVersion[0]=parseInt(d.replace(/^(.*)\..*$/,"$1"),10);playerVersion[1]=parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10);playerVersion[2]=/r/.test(d)?parseInt(d.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof win.ActiveXObject!=UNDEF){var a=null,fp6Crash=false;try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".7")}catch(e){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".6");playerVersion=[6,0,21];a.AllowScriptAccess="always"}catch(e){if(playerVersion[0]==6){fp6Crash=true}}if(!fp6Crash){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX)}catch(e){}}}if(!fp6Crash&&a){try{d=a.GetVariable("$version");if(d){d=d.split(" ")[1].split(",");playerVersion=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)]}}catch(e){}}}}var u=nav.userAgent.toLowerCase(),p=nav.platform.toLowerCase(),webkit=/webkit/.test(u)?parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,ie=false,windows=p?/win/.test(p):/win/.test(u),mac=p?/mac/.test(p):/mac/.test(u);
/*@cc_on
			ie = true;
			@if (@_win32)
				windows = true;
			@elif (@_mac)
				mac = true;
			@end
		@*/
return{w3cdom:w3cdom,pv:playerVersion,webkit:webkit,ie:ie,win:windows,mac:mac}}();var onDomLoad=function(){if(!ua.w3cdom){return}addDomLoadEvent(main);if(ua.ie&&ua.win){try{doc.write("<script id=__ie_ondomload defer=true src=//:><\/script>");script=getElementById("__ie_ondomload");if(script){addListener(script,"onreadystatechange",checkReadyState)}}catch(e){}}if(ua.webkit&&typeof doc.readyState!=UNDEF){timer=setInterval(function(){if(/loaded|complete/.test(doc.readyState)){callDomLoadFunctions()}},10)}if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("DOMContentLoaded",callDomLoadFunctions,null)}addLoadEvent(callDomLoadFunctions)}();function checkReadyState(){if(script.readyState=="complete"){script.parentNode.removeChild(script);callDomLoadFunctions()}}function callDomLoadFunctions(){if(isDomLoaded){return}if(ua.ie&&ua.win){var s=createElement("span");try{var t=doc.getElementsByTagName("body")[0].appendChild(s);t.parentNode.removeChild(t)}catch(e){return}}isDomLoaded=true;if(timer){clearInterval(timer);timer=null}var dl=domLoadFnArr.length;for(var i=0;i<dl;i++){domLoadFnArr[i]()}}function addDomLoadEvent(fn){if(isDomLoaded){fn()}else{domLoadFnArr[domLoadFnArr.length]=fn}}function addLoadEvent(fn){if(typeof win.addEventListener!=UNDEF){win.addEventListener("load",fn,false)}else{if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("load",fn,false)}else{if(typeof win.attachEvent!=UNDEF){addListener(win,"onload",fn)}else{if(typeof win.onload=="function"){var fnOld=win.onload;win.onload=function(){fnOld();fn()}}else{win.onload=fn}}}}}function main(){var rl=regObjArr.length;for(var i=0;i<rl;i++){var id=regObjArr[i].id;if(ua.pv[0]>0){var obj=getElementById(id);if(obj){regObjArr[i].width=obj.getAttribute("width")?obj.getAttribute("width"):"0";regObjArr[i].height=obj.getAttribute("height")?obj.getAttribute("height"):"0";if(hasPlayerVersion(regObjArr[i].swfVersion)){if(ua.webkit&&ua.webkit<312){fixParams(obj)}setVisibility(id,true)}else{if(regObjArr[i].expressInstall&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){showExpressInstall(regObjArr[i])}else{displayAltContent(obj)}}}}else{setVisibility(id,true)}}}function fixParams(obj){var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var e=createElement("embed"),a=nestedObj.attributes;if(a){var al=a.length;for(var i=0;i<al;i++){if(a[i].nodeName=="DATA"){e.setAttribute("src",a[i].nodeValue)}else{e.setAttribute(a[i].nodeName,a[i].nodeValue)}}}var c=nestedObj.childNodes;if(c){var cl=c.length;for(var j=0;j<cl;j++){if(c[j].nodeType==1&&c[j].nodeName=="PARAM"){e.setAttribute(c[j].getAttribute("name"),c[j].getAttribute("value"))}}}obj.parentNode.replaceChild(e,obj)}}function showExpressInstall(regObj){isExpressInstallActive=true;var obj=getElementById(regObj.id);if(obj){if(regObj.altContentId){var ac=getElementById(regObj.altContentId);if(ac){storedAltContent=ac;storedAltContentId=regObj.altContentId}}else{storedAltContent=abstractAltContent(obj)}if(!(/%$/.test(regObj.width))&&parseInt(regObj.width,10)<310){regObj.width="310"}if(!(/%$/.test(regObj.height))&&parseInt(regObj.height,10)<137){regObj.height="137"}doc.title=doc.title.slice(0,47)+" - Flash Player Installation";var pt=ua.ie&&ua.win?"ActiveX":"PlugIn",dt=doc.title,fv="MMredirectURL="+win.location+"&MMplayerType="+pt+"&MMdoctitle="+dt,replaceId=regObj.id;if(ua.ie&&ua.win&&obj.readyState!=4){var newObj=createElement("div");replaceId+="SWFObjectNew";newObj.setAttribute("id",replaceId);obj.parentNode.insertBefore(newObj,obj);obj.style.display="none";var fn=function(){obj.parentNode.removeChild(obj)};addListener(win,"onload",fn)}createSWF({data:regObj.expressInstall,id:EXPRESS_INSTALL_ID,width:regObj.width,height:regObj.height},{flashvars:fv},replaceId)}}function displayAltContent(obj){if(ua.ie&&ua.win&&obj.readyState!=4){var el=createElement("div");obj.parentNode.insertBefore(el,obj);el.parentNode.replaceChild(abstractAltContent(obj),el);obj.style.display="none";var fn=function(){obj.parentNode.removeChild(obj)};addListener(win,"onload",fn)}else{obj.parentNode.replaceChild(abstractAltContent(obj),obj)}}function abstractAltContent(obj){var ac=createElement("div");if(ua.win&&ua.ie){ac.innerHTML=obj.innerHTML}else{var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var c=nestedObj.childNodes;if(c){var cl=c.length;for(var i=0;i<cl;i++){if(!(c[i].nodeType==1&&c[i].nodeName=="PARAM")&&!(c[i].nodeType==8)){ac.appendChild(c[i].cloneNode(true))}}}}}return ac}function createSWF(attObj,parObj,id){var r,el=getElementById(id);if(el){if(typeof attObj.id==UNDEF){attObj.id=id}if(ua.ie&&ua.win){var att="";for(var i in attObj){if(attObj[i]!=Object.prototype[i]){if(i.toLowerCase()=="data"){parObj.movie=attObj[i]}else{if(i.toLowerCase()=="styleclass"){att+=' class="'+attObj[i]+'"'}else{if(i.toLowerCase()!="classid"){att+=" "+i+'="'+attObj[i]+'"'}}}}}var par="";for(var j in parObj){if(parObj[j]!=Object.prototype[j]){par+='<param name="'+j+'" value="'+parObj[j]+'" />'}}el.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+att+">"+par+"</object>";objIdArr[objIdArr.length]=attObj.id;r=getElementById(attObj.id)}else{if(ua.webkit&&ua.webkit<312){var e=createElement("embed");e.setAttribute("type",FLASH_MIME_TYPE);for(var k in attObj){if(attObj[k]!=Object.prototype[k]){if(k.toLowerCase()=="data"){e.setAttribute("src",attObj[k])}else{if(k.toLowerCase()=="styleclass"){e.setAttribute("class",attObj[k])}else{if(k.toLowerCase()!="classid"){e.setAttribute(k,attObj[k])}}}}}for(var l in parObj){if(parObj[l]!=Object.prototype[l]){if(l.toLowerCase()!="movie"){e.setAttribute(l,parObj[l])}}}el.parentNode.replaceChild(e,el);r=e}else{var o=createElement(OBJECT);o.setAttribute("type",FLASH_MIME_TYPE);for(var m in attObj){if(attObj[m]!=Object.prototype[m]){if(m.toLowerCase()=="styleclass"){o.setAttribute("class",attObj[m])}else{if(m.toLowerCase()!="classid"){o.setAttribute(m,attObj[m])}}}}for(var n in parObj){if(parObj[n]!=Object.prototype[n]&&n.toLowerCase()!="movie"){createObjParam(o,n,parObj[n])}}el.parentNode.replaceChild(o,el);r=o}}}return r}function createObjParam(el,pName,pValue){var p=createElement("param");p.setAttribute("name",pName);p.setAttribute("value",pValue);el.appendChild(p)}function removeSWF(id){var obj=getElementById(id);if(obj&&(obj.nodeName=="OBJECT"||obj.nodeName=="EMBED")){if(ua.ie&&ua.win){if(obj.readyState==4){removeObjectInIE(id)}else{win.attachEvent("onload",function(){removeObjectInIE(id)})}}else{obj.parentNode.removeChild(obj)}}}function removeObjectInIE(id){var obj=getElementById(id);if(obj){for(var i in obj){if(typeof obj[i]=="function"){obj[i]=null}}obj.parentNode.removeChild(obj)}}function getElementById(id){var el=null;try{el=doc.getElementById(id)}catch(e){}return el}function createElement(el){return doc.createElement(el)}function addListener(target,eventType,fn){target.attachEvent(eventType,fn);listenersArr[listenersArr.length]=[target,eventType,fn]}function hasPlayerVersion(rv){var pv=ua.pv,v=rv.split(".");v[0]=parseInt(v[0],10);v[1]=parseInt(v[1],10)||0;v[2]=parseInt(v[2],10)||0;return(pv[0]>v[0]||(pv[0]==v[0]&&pv[1]>v[1])||(pv[0]==v[0]&&pv[1]==v[1]&&pv[2]>=v[2]))?true:false}function createCSS(sel,decl){if(ua.ie&&ua.mac){return}var h=doc.getElementsByTagName("head")[0],s=createElement("style");s.setAttribute("type","text/css");s.setAttribute("media","screen");if(!(ua.ie&&ua.win)&&typeof doc.createTextNode!=UNDEF){s.appendChild(doc.createTextNode(sel+" {"+decl+"}"))}h.appendChild(s);if(ua.ie&&ua.win&&typeof doc.styleSheets!=UNDEF&&doc.styleSheets.length>0){var ls=doc.styleSheets[doc.styleSheets.length-1];if(typeof ls.addRule==OBJECT){ls.addRule(sel,decl)}}}function setVisibility(id,isVisible){var v=isVisible?"visible":"hidden";if(isDomLoaded&&getElementById(id)){getElementById(id).style.visibility=v}else{createCSS("#"+id,"visibility:"+v)}}function urlEncodeIfNecessary(s){var regex=/[\\\"<>\.;]/;var hasBadChars=regex.exec(s)!=null;return hasBadChars?encodeURIComponent(s):s}var cleanup=function(){if(ua.ie&&ua.win){window.attachEvent("onunload",function(){var ll=listenersArr.length;for(var i=0;i<ll;i++){listenersArr[i][0].detachEvent(listenersArr[i][1],listenersArr[i][2])}var il=objIdArr.length;for(var j=0;j<il;j++){removeSWF(objIdArr[j])}for(var k in ua){ua[k]=null}ua=null;for(var l in swfobject){swfobject[l]=null}swfobject=null})}}();return{registerObject:function(objectIdStr,swfVersionStr,xiSwfUrlStr){if(!ua.w3cdom||!objectIdStr||!swfVersionStr){return}var regObj={};regObj.id=objectIdStr;regObj.swfVersion=swfVersionStr;regObj.expressInstall=xiSwfUrlStr?xiSwfUrlStr:false;regObjArr[regObjArr.length]=regObj;setVisibility(objectIdStr,false)},getObjectById:function(objectIdStr){var r=null;if(ua.w3cdom){var o=getElementById(objectIdStr);if(o){var n=o.getElementsByTagName(OBJECT)[0];if(!n||(n&&typeof o.SetVariable!=UNDEF)){r=o}else{if(typeof n.SetVariable!=UNDEF){r=n}}}}return r},embedSWF:function(swfUrlStr,replaceElemIdStr,widthStr,heightStr,swfVersionStr,xiSwfUrlStr,flashvarsObj,parObj,attObj){if(!ua.w3cdom||!swfUrlStr||!replaceElemIdStr||!widthStr||!heightStr||!swfVersionStr){return}widthStr+="";heightStr+="";if(hasPlayerVersion(swfVersionStr)){setVisibility(replaceElemIdStr,false);var att={};if(attObj&&typeof attObj===OBJECT){for(var i in attObj){if(attObj[i]!=Object.prototype[i]){att[i]=attObj[i]}}}att.data=swfUrlStr;att.width=widthStr;att.height=heightStr;var par={};if(parObj&&typeof parObj===OBJECT){for(var j in parObj){if(parObj[j]!=Object.prototype[j]){par[j]=parObj[j]}}}if(flashvarsObj&&typeof flashvarsObj===OBJECT){for(var k in flashvarsObj){if(flashvarsObj[k]!=Object.prototype[k]){if(typeof par.flashvars!=UNDEF){par.flashvars+="&"+k+"="+flashvarsObj[k]}else{par.flashvars=k+"="+flashvarsObj[k]}}}}addDomLoadEvent(function(){createSWF(att,par,replaceElemIdStr);if(att.id==replaceElemIdStr){setVisibility(replaceElemIdStr,true)}})}else{if(xiSwfUrlStr&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){isExpressInstallActive=true;setVisibility(replaceElemIdStr,false);addDomLoadEvent(function(){var regObj={};regObj.id=regObj.altContentId=replaceElemIdStr;regObj.width=widthStr;regObj.height=heightStr;regObj.expressInstall=xiSwfUrlStr;showExpressInstall(regObj)})}}},getFlashPlayerVersion:function(){return{major:ua.pv[0],minor:ua.pv[1],release:ua.pv[2]}},hasFlashPlayerVersion:hasPlayerVersion,createSWF:function(attObj,parObj,replaceElemIdStr){if(ua.w3cdom){return createSWF(attObj,parObj,replaceElemIdStr)}else{return undefined}},removeSWF:function(objElemIdStr){if(ua.w3cdom){removeSWF(objElemIdStr)}},createCSS:function(sel,decl){if(ua.w3cdom){createCSS(sel,decl)}},addDomLoadEvent:addDomLoadEvent,addLoadEvent:addLoadEvent,getQueryParamValue:function(param){var q=doc.location.search||doc.location.hash;if(param==null){return urlEncodeIfNecessary(q)}if(q){var pairs=q.substring(1).split("&");for(var i=0;i<pairs.length;i++){if(pairs[i].substring(0,pairs[i].indexOf("="))==param){return urlEncodeIfNecessary(pairs[i].substring((pairs[i].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(isExpressInstallActive&&storedAltContent){var obj=getElementById(EXPRESS_INSTALL_ID);if(obj){obj.parentNode.replaceChild(storedAltContent,obj);if(storedAltContentId){setVisibility(storedAltContentId,true);if(ua.ie&&ua.win){storedAltContent.style.display="block"}}storedAltContent=null;storedAltContentId=null;isExpressInstallActive=false}}}}}();return swfobject})();S.lang={code:"nl",of:TEKST_VAN,loading:"",cancel:TEKST_ANNULEREN,next:TEKST_VOLGENDE,previous:TEKST_VORIGE,play:"Play",pause:"Pause",close:TEKST_CLOSE,errors:{single:'U moet de <a href="{0}">{1}</a> browser plugin installeren om dit media type te kunnen bekijken.',shared:'U moet de <a href="{0}">{1}</a> en de <a href="{2}">{3}</a> browser plugins installeren om dit media type te kunnen bekijken.',either:'U moet de <a href="{0}">{1}</a> of de <a href="{2}">{3}</a> browser plugin installeren om dit media type te kunnen bekijken.'}};var pre,proxyId="sb-drag-proxy",dragData,dragProxy,dragTarget;function resetDrag(){dragData={x:0,y:0,startX:null,startY:null}}function updateProxy(){var dims=S.dimensions;apply(dragProxy.style,{height:dims.innerHeight+"px",width:dims.innerWidth+"px"})}function enableDrag(){resetDrag();var style=["position:absolute","cursor:"+(S.isGecko?"-moz-grab":"move"),"background-color:"+(S.isIE?"#063558;filter:alpha(opacity=0)":"transparent")].join(";");S.appendHTML(S.skin.body,'<div id="'+proxyId+'" style="'+style+'"></div>');dragProxy=get(proxyId);updateProxy();addEvent(dragProxy,"mousedown",startDrag)}function disableDrag(){if(dragProxy){removeEvent(dragProxy,"mousedown",startDrag);remove(dragProxy);dragProxy=null}dragTarget=null}function startDrag(e){preventDefault(e);var xy=getPageXY(e);dragData.startX=xy[0];dragData.startY=xy[1];dragTarget=get(S.player.id);addEvent(document,"mousemove",positionDrag);addEvent(document,"mouseup",endDrag);if(S.isGecko){dragProxy.style.cursor="-moz-grabbing"}}function positionDrag(e){var player=S.player,dims=S.dimensions,xy=getPageXY(e);var moveX=xy[0]-dragData.startX;dragData.startX+=moveX;dragData.x=Math.max(Math.min(0,dragData.x+moveX),dims.innerWidth-player.width);var moveY=xy[1]-dragData.startY;dragData.startY+=moveY;dragData.y=Math.max(Math.min(0,dragData.y+moveY),dims.innerHeight-player.height);apply(dragTarget.style,{left:dragData.x+"px",top:dragData.y+"px"})}function endDrag(){removeEvent(document,"mousemove",positionDrag);removeEvent(document,"mouseup",endDrag);if(S.isGecko){dragProxy.style.cursor="-moz-grab"}}S.img=function(obj,id){this.obj=obj;this.id=id;this.ready=false;var self=this;pre=new Image();pre.onload=function(){self.height=obj.height?parseInt(obj.height,10):pre.height;self.width=obj.width?parseInt(obj.width,10):pre.width;self.ready=true;pre.onload=null;pre=null};pre.src=obj.content};S.img.ext=["bmp","gif","jpg","jpeg","png"];S.img.prototype={append:function(body,dims){var img=document.createElement("img");img.id=this.id;img.src=this.obj.content;img.style.position="absolute";var height,width;if(dims.oversized&&S.options.handleOversize=="resize"){height=dims.innerHeight;width=dims.innerWidth}else{height=this.height;width=this.width}img.setAttribute("height",height);img.setAttribute("width",width);body.appendChild(img)},remove:function(){var el=get(this.id);if(el){remove(el)}disableDrag();if(pre){pre.onload=null;pre=null}},onLoad:function(){var dims=S.dimensions;if(dims.oversized&&S.options.handleOversize=="drag"){enableDrag()}},onWindowResize:function(){var dims=S.dimensions;switch(S.options.handleOversize){case"resize":var el=get(this.id);el.height=dims.innerHeight;el.width=dims.innerWidth;break;case"drag":if(dragTarget){var top=parseInt(S.getStyle(dragTarget,"top")),left=parseInt(S.getStyle(dragTarget,"left"));if(top+this.height<dims.innerHeight){dragTarget.style.top=dims.innerHeight-this.height+"px"}if(left+this.width<dims.innerWidth){dragTarget.style.left=dims.innerWidth-this.width+"px"}updateProxy()}break}}};S.iframe=function(obj,id){this.obj=obj;this.id=id;var overlay=get("sb-overlay");this.height=obj.height?parseInt(obj.height,10):overlay.offsetHeight;this.width=obj.width?parseInt(obj.width,10):overlay.offsetWidth};S.iframe.prototype={append:function(body,dims){var html='<iframe id="'+this.id+'" name="'+this.id+'" height="100%" width="100%" frameborder="0" marginwidth="0" marginheight="0" style="visibility:hidden" onload="this.style.visibility=\'visible\'" scrolling="auto"';if(S.isIE){html+=' allowtransparency="true"';if(S.isIE6){html+=" src=\"javascript:false;document.write('');\""}}html+="></iframe>";body.innerHTML=html},remove:function(){var el=get(this.id);if(el){remove(el);if(S.isGecko){delete window.frames[this.id]}}},onLoad:function(){var win=S.isIE?get(this.id).contentWindow:window.frames[this.id];win.location.href=this.obj.content}};S.html=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;this.width=obj.width?parseInt(obj.width,10):500};S.html.prototype={append:function(body,dims){var div=document.createElement("div");div.id=this.id;div.className="html";div.innerHTML=this.obj.content;body.appendChild(div)},remove:function(){var el=get(this.id);if(el){remove(el)}}};S.swf=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;this.width=obj.width?parseInt(obj.width,10):300};S.swf.ext=["swf"];S.swf.prototype={append:function(body,dims){var tmp=document.createElement("div");tmp.id=this.id;body.appendChild(tmp);var height=dims.innerHeight,width=dims.innerWidth,swf=this.obj.content,version=S.options.flashVersion,express=S.path+"expressInstall.swf",flashvars=S.options.flashVars,params=S.options.flashParams;S.flash.embedSWF(swf,this.id,width,height,version,express,flashvars,params)},remove:function(){S.flash.expressInstallCallback();S.flash.removeSWF(this.id)},onWindowResize:function(){var dims=S.dimensions,el=get(this.id);el.height=dims.innerHeight;el.width=dims.innerWidth}};var jwControllerHeight=20;S.flv=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;if(S.options.showMovieControls){this.height+=jwControllerHeight}this.width=obj.width?parseInt(obj.width,10):300};S.flv.ext=["flv","m4v"];S.flv.prototype={append:function(body,dims){var tmp=document.createElement("div");tmp.id=this.id;body.appendChild(tmp);var height=dims.innerHeight,width=dims.innerWidth,swf=submap+"/fla/player.swf",version=S.options.flashVersion,express=S.path+"expressInstall.swf",flashvars=apply({file:this.obj.content,height:height,width:width,autostart:(S.options.autoplayMovies?"true":"false"),controlbar:(S.options.showMovieControls?"bottom":"none"),backcolor:"0x000000",frontcolor:"0xCCCCCC",lightcolor:"0x1d72aa"},S.options.flashVars),params=S.options.flashParams;S.flash.embedSWF(swf,this.id,width,height,version,express,flashvars,params)},remove:function(){S.flash.expressInstallCallback();S.flash.removeSWF(this.id)},onWindowResize:function(){var dims=S.dimensions,el=get(this.id);el.height=dims.innerHeight;el.width=dims.innerWidth}};var overlayOn=false,visibilityCache=[],pngIds=["sb-nav-close","sb-nav-next","sb-nav-play","sb-nav-pause","sb-nav-previous"],container,overlay,wrapper,doWindowResize=true;function animate(el,property,to,duration,callback){var isOpacity=(property=="opacity"),anim=isOpacity?S.setOpacity:function(el,value){el.style[property]=""+value+"px"};if(duration==0||(!isOpacity&&!S.options.animate)||(isOpacity&&!S.options.animateFade)){anim(el,to);if(callback){callback()}return}var from=parseFloat(S.getStyle(el,property))||0;var delta=to-from;if(delta==0){if(callback){callback()}return}duration*=1000;var begin=now(),ease=S.ease,end=begin+duration,time;var interval=setInterval(function(){time=now();if(time>=end){clearInterval(interval);interval=null;anim(el,to);if(callback){callback()}}else{anim(el,from+ease((time-begin)/duration)*delta)}},10)}function setSize(){container.style.height=S.getWindowSize("Height")+"px";container.style.width=S.getWindowSize("Width")+"px"}function setPosition(){container.style.top=document.documentElement.scrollTop+"px";container.style.left=document.documentElement.scrollLeft+"px"}function toggleTroubleElements(on){if(on){each(visibilityCache,function(i,el){el[0].style.visibility=el[1]||""})}else{visibilityCache=[];each(S.options.troubleElements,function(i,tag){each(document.getElementsByTagName(tag),function(j,el){visibilityCache.push([el,el.style.visibility]);el.style.visibility="hidden"})})}}function toggleNav(id,on){var el=get("sb-nav-"+id);if(el){el.style.display=on?"":"none"}}function toggleLoading(on,callback){var loading=get("sb-loading"),playerName=S.getCurrent().player,anim=(playerName=="img"||playerName=="html");if(on){S.setOpacity(loading,0);loading.style.display="block";var wrapped=function(){S.clearOpacity(loading);if(callback){callback()}};if(anim){animate(loading,"opacity",1,S.options.fadeDuration,wrapped)}else{wrapped()}}else{var wrapped=function(){loading.style.display="none";S.clearOpacity(loading);if(callback){callback()}};if(anim){animate(loading,"opacity",0,S.options.fadeDuration,wrapped)}else{wrapped()}}}function buildBars(callback){var obj=S.getCurrent();get("sb-title-inner").innerHTML=obj.title||"";var close,next,play,pause,previous;if(S.options.displayNav){close=true;var len=S.gallery.length;if(len>1){if(S.options.continuous){next=previous=true}else{next=(len-1)>S.current;previous=S.current>0}}if(S.options.slideshowDelay>0&&S.hasNext()){pause=!S.isPaused();play=!pause}}else{close=next=play=pause=previous=false}toggleNav("close",close);toggleNav("next",next);toggleNav("play",play);toggleNav("pause",pause);toggleNav("previous",previous);var counter="";if(S.options.displayCounter&&S.gallery.length>1){var len=S.gallery.length;if(S.options.counterType=="skip"){var i=0,end=len,limit=parseInt(S.options.counterLimit)||0;if(limit<len&&limit>2){var h=Math.floor(limit/2);i=S.current-h;if(i<0){i+=len}end=S.current+(limit-h);if(end>len){end-=len}}while(i!=end){if(i==len){i=0}counter+='<a onclick="Shadowbox.change('+i+');"';if(i==S.current){counter+=' class="sb-counter-current"'}counter+=">"+(++i)+"</a>"}}else{counter=[S.current+1,S.lang.of,len].join(" ")}}get("sb-counter").innerHTML=counter;callback()}function showBars(callback){var titleInner=get("sb-title-inner"),infoInner=get("sb-info-inner"),duration=0.35;titleInner.style.visibility=infoInner.style.visibility="";if(titleInner.innerHTML!=""){animate(titleInner,"marginTop",0,duration)}animate(infoInner,"marginTop",0,duration,callback)}function hideBars(anim,callback){var title=get("sb-title"),info=get("sb-info"),titleHeight=title.offsetHeight,infoHeight=info.offsetHeight,titleInner=get("sb-title-inner"),infoInner=get("sb-info-inner"),duration=(anim?0.35:0);animate(titleInner,"marginTop",titleHeight,duration);animate(infoInner,"marginTop",infoHeight*-1,duration,function(){titleInner.style.visibility=infoInner.style.visibility="hidden";callback()})}function adjustHeight(height,top,anim,callback){var wrapperInner=get("sb-wrapper-inner"),duration=(anim?S.options.resizeDuration:0);animate(wrapper,"top",top,duration);animate(wrapperInner,"height",height,duration,callback)}function adjustWidth(width,left,anim,callback){var duration=(anim?S.options.resizeDuration:0);animate(wrapper,"left",left,duration);animate(wrapper,"width",width,duration,callback)}function setDimensions(height,width){var bodyInner=get("sb-body-inner"),height=parseInt(height),width=parseInt(width),topBottom=wrapper.offsetHeight-bodyInner.offsetHeight,leftRight=wrapper.offsetWidth-bodyInner.offsetWidth,maxHeight=overlay.offsetHeight,maxWidth=overlay.offsetWidth,padding=parseInt(S.options.viewportPadding)||20,preserveAspect=(S.player&&S.options.handleOversize!="drag");return S.setDimensions(height,width,maxHeight,maxWidth,topBottom,leftRight,padding,preserveAspect)}var K={};K.markup='<div id="sb-container"><div id="sb-overlay"></div><div id="sb-wrapper"><div id="sb-title"><div id="sb-title-inner"></div></div><div id="sb-wrapper-inner"><div id="sb-body"><div id="sb-body-inner"></div><div id="sb-loading"><div id="sb-loading-inner"><span>{loading}</span></div></div></div></div><div id="sb-info"><div id="sb-info-inner"><div id="sb-counter"></div><div id="sb-nav"><a id="sb-nav-close" title="{close}" onclick="Shadowbox.close()"></a><a id="sb-nav-next" title="{next}" onclick="Shadowbox.next()"></a><a id="sb-nav-play" title="{play}" onclick="Shadowbox.play()"></a><a id="sb-nav-pause" title="{pause}" onclick="Shadowbox.pause()"></a><a id="sb-nav-previous" title="{previous}" onclick="Shadowbox.previous()"></a></div></div></div></div></div>';K.options={animSequence:"sync",counterLimit:10,counterType:"default",displayCounter:true,displayNav:true,fadeDuration:0.35,initialHeight:160,initialWidth:320,modal:false,overlayColor:"#000",overlayOpacity:0.5,resizeDuration:0.35,showOverlay:true,troubleElements:["select","object","embed","canvas"]};K.init=function(){S.appendHTML(document.body,sprintf(K.markup,S.lang));K.body=get("sb-body-inner");container=get("sb-container");overlay=get("sb-overlay");wrapper=get("sb-wrapper");if(!supportsFixed){container.style.position="absolute"}if(!supportsOpacity){var el,m,re=/url\("(.*\.png)"\)/;each(pngIds,function(i,id){el=get(id);if(el){m=S.getStyle(el,"backgroundImage").match(re);if(m){el.style.backgroundImage="none";el.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="+m[1]+",sizingMethod=scale);"}}})}var timer;addEvent(window,"resize",function(){if(timer){clearTimeout(timer);timer=null}if(open){timer=setTimeout(K.onWindowResize,10)}})};K.onOpen=function(obj,callback){doWindowResize=false;container.style.display="block";setSize();var dims=setDimensions(S.options.initialHeight,S.options.initialWidth);adjustHeight(dims.innerHeight,dims.top);adjustWidth(dims.width,dims.left);if(S.options.showOverlay){overlay.style.backgroundColor=S.options.overlayColor;S.setOpacity(overlay,0);if(!S.options.modal){addEvent(overlay,"click",S.close)}overlayOn=true}if(!supportsFixed){setPosition();addEvent(window,"scroll",setPosition)}toggleTroubleElements();container.style.visibility="visible";if(overlayOn){animate(overlay,"opacity",S.options.overlayOpacity,S.options.fadeDuration,callback)}else{callback()}};K.onLoad=function(changing,callback){toggleLoading(true);while(K.body.firstChild){remove(K.body.firstChild)}hideBars(changing,function(){if(!open){return}if(!changing){wrapper.style.visibility="visible"}buildBars(callback)})};K.onReady=function(callback){if(!open){return}var player=S.player,dims=setDimensions(player.height,player.width);var wrapped=function(){showBars(callback)};switch(S.options.animSequence){case"hw":adjustHeight(dims.innerHeight,dims.top,true,function(){adjustWidth(dims.width,dims.left,true,wrapped)});break;case"wh":adjustWidth(dims.width,dims.left,true,function(){adjustHeight(dims.innerHeight,dims.top,true,wrapped)});break;default:adjustWidth(dims.width,dims.left,true);adjustHeight(dims.innerHeight,dims.top,true,wrapped)}};K.onShow=function(callback){toggleLoading(false,callback);doWindowResize=true};K.onClose=function(){if(!supportsFixed){removeEvent(window,"scroll",setPosition)}removeEvent(overlay,"click",S.close);wrapper.style.visibility="hidden";var callback=function(){container.style.visibility="hidden";container.style.display="none";toggleTroubleElements(true)};if(overlayOn){animate(overlay,"opacity",0,S.options.fadeDuration,callback)}else{callback()}};K.onPlay=function(){toggleNav("play",false);toggleNav("pause",true)};K.onPause=function(){toggleNav("pause",false);toggleNav("play",true)};K.onWindowResize=function(){if(!doWindowResize){return}setSize();var player=S.player,dims=setDimensions(player.height,player.width);adjustWidth(dims.width,dims.left);adjustHeight(dims.innerHeight,dims.top);if(player.onWindowResize){player.onWindowResize()}};S.skin=K;window.Shadowbox=S})(window);



/*
 * FancyBox - simple and fancy jQuery plugin
 * Examples and documentation at: http://fancy.klade.lv/
 * Version: 1.2.1 (13/03/2009)
 * Copyright (c) 2009 Janis Skarnelis
 * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License
 * Requires: jQuery v1.3+
*/

	$.fn.fixPNG = function() {
		return this.each(function () {
			var image = $(this).css('backgroundImage');

			if (image.match(/^url\(["']?(.*\.png)["']?\)$/i)) {
				image = RegExp.$1;
				$(this).css({
					'backgroundImage': 'none',
					'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=" + ($(this).css('backgroundRepeat') == 'no-repeat' ? 'crop' : 'scale') + ", src='" + image + "')"
				}).each(function () {
					var position = $(this).css('position');
					if (position != 'absolute' && position != 'relative')
						$(this).css('position', 'relative');
				});
			}
		});
	};

	var elem, opts, busy = false, imagePreloader = new Image, loadingTimer, loadingFrame = 1, imageRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i;
	var isIE = ($.browser.msie && parseInt($.browser.version.substr(0,1)) < 8);

	$.fn.fancybox = function(settings) {
		settings = $.extend({}, $.fn.fancybox.defaults, settings);

		var matchedGroup = this;

		function _initialize() {
			elem = this;
			opts = settings;

			_start();

			return false;
		};

		function _start() {
			if (busy) return;

			if ($.isFunction(opts.callbackOnStart)) {
				opts.callbackOnStart();
			}

			opts.itemArray		= [];
			opts.itemCurrent	= 0;

			if (settings.itemArray.length > 0) {
				opts.itemArray = settings.itemArray;

			} else {
				var item = {};

				if (!elem.rel || elem.rel == '') {
					var item = {href: elem.href, title: elem.title};

					if ($(elem).children("img:first").length) {
						item.orig = $(elem).children("img:first");
					}

					opts.itemArray.push( item );

				} else {
					
					var subGroup = $(matchedGroup).filter("a[rel=" + elem.rel + "]");

					var item = {};

					for (var i = 0; i < subGroup.length; i++) {
						item = {href: subGroup[i].href, title: subGroup[i].title};

						if ($(subGroup[i]).children("img:first").length) {
							item.orig = $(subGroup[i]).children("img:first");
						}

						opts.itemArray.push( item );
					}

					while ( opts.itemArray[ opts.itemCurrent ].href != elem.href ) {
						opts.itemCurrent++;
					}
				}
			}

			if (opts.overlayShow) {
				if (isIE) {
					$('embed, object, select').css('visibility', 'hidden');
				}

				$("#fancy_overlay").css('opacity', opts.overlayOpacity).show();
			}

			_change_item();
		};

		function _change_item() {
			$("#fancy_right, #fancy_left, #fancy_close, #fancy_title").hide();

			var href = opts.itemArray[ opts.itemCurrent ].href;

			if (href.match(/#/)) {
				var target = window.location.href.split('#')[0]; target = href.replace(target, ''); target = target.substr(target.indexOf('#'));

				_set_content('<div id="fancy_div">' + $(target).html() + '</div>', opts.frameWidth, opts.frameHeight);

			} else if (href.match(imageRegExp)) {
				imagePreloader = new Image; imagePreloader.src = href;

				if (imagePreloader.complete) {
					_proceed_image();

				} else {
					$.fn.fancybox.showLoading();

					$(imagePreloader).unbind().bind('load', function() {
						$(".fancy_loading").hide();

						_proceed_image();
					});
				}

			 } else if (href.match("iframe") || elem.className.indexOf("iframe") >= 0) {
				_set_content('<iframe id="fancy_frame" onload="$.fn.fancybox.showIframe()" name="fancy_iframe' + Math.round(Math.random()*1000) + '" frameborder="0" hspace="0" src="' + href + '"></iframe>', opts.frameWidth, opts.frameHeight);

			} else {
				$.get(href, function(data) {
					_set_content( '<div id="fancy_ajax">' + data + '</div>', opts.frameWidth, opts.frameHeight );
				});
			}
		};

		function _proceed_image() {
			if (opts.imageScale) {
				var w = $.fn.fancybox.getViewport();

				var r = Math.min(Math.min(w[0] - 36, imagePreloader.width) / imagePreloader.width, Math.min(w[1] - 60, imagePreloader.height) / imagePreloader.height);

				var width = Math.round(r * imagePreloader.width);
				var height = Math.round(r * imagePreloader.height);

			} else {
				var width = imagePreloader.width;
				var height = imagePreloader.height;
			}

			_set_content('<img alt="" id="fancy_img" src="' + imagePreloader.src + '" />', width, height);
		};

		function _preload_neighbor_images() {
			if ((opts.itemArray.length -1) > opts.itemCurrent) {
				var href = opts.itemArray[opts.itemCurrent + 1].href;

				if (href.match(imageRegExp)) {
					objNext = new Image();
					objNext.src = href;
				}
			}

			if (opts.itemCurrent > 0) {
				var href = opts.itemArray[opts.itemCurrent -1].href;

				if (href.match(imageRegExp)) {
					objNext = new Image();
					objNext.src = href;
				}
			}
		};

		function _set_content(value, width, height) {
			busy = true;

			var pad = opts.padding;

			if (isIE) {
				$("#fancy_content")[0].style.removeExpression("height");
				$("#fancy_content")[0].style.removeExpression("width");
			}

			if (pad > 0) {
				width	+= pad * 2;
				height	+= pad * 2;

				$("#fancy_content").css({
					'top'		: pad + 'px',
					'right'		: pad + 'px',
					'bottom'	: pad + 'px',
					'left'		: pad + 'px',
					'width'		: 'auto',
					'height'	: 'auto'
				});

				if (isIE) {
					$("#fancy_content")[0].style.setExpression('height',	'(this.parentNode.clientHeight - 20)');
					$("#fancy_content")[0].style.setExpression('width',		'(this.parentNode.clientWidth - 20)');
				}

			} else {
				$("#fancy_content").css({
					'top'		: 0,
					'right'		: 0,
					'bottom'	: 0,
					'left'		: 0,
					'width'		: '100%',
					'height'	: '100%'
				});
			}

			if ($("#fancy_outer").is(":visible") && width == $("#fancy_outer").width() && height == $("#fancy_outer").height()) {
				$("#fancy_content").fadeOut("fast", function() {
					$("#fancy_content").empty().append($(value)).fadeIn("normal", function() {
						_finish();
					});
				});

				return;
			}

			var w = $.fn.fancybox.getViewport();

			var itemLeft	= (width + 36)	> w[0] ? w[2] : (w[2] + Math.round((w[0] - width - 36) / 2));
			var itemTop		= (height + 50)	> w[1] ? w[3] : (w[3] + Math.round((w[1] - height - 50) / 2));

			var itemOpts = {
				'left':		itemLeft,
				'top':		itemTop,
				'width':	width + 'px',
				'height':	height + 'px'
			};

			if ($("#fancy_outer").is(":visible")) {
				$("#fancy_content").fadeOut("normal", function() {
					$("#fancy_content").empty();
					$("#fancy_outer").animate(itemOpts, opts.zoomSpeedChange, opts.easingChange, function() {
						$("#fancy_content").append($(value)).fadeIn("normal", function() {
							_finish();
						});
					});
				});

			} else {

				if (opts.zoomSpeedIn > 0 && opts.itemArray[opts.itemCurrent].orig !== undefined) {
					$("#fancy_content").empty().append($(value));

					var orig_item	= opts.itemArray[opts.itemCurrent].orig;
					var orig_pos	= $.fn.fancybox.getPosition(orig_item);

					$("#fancy_outer").css({
						'left':		(orig_pos.left - 18) + 'px',
						'top':		(orig_pos.top  - 18) + 'px',
						'width':	$(orig_item).width(),
						'height':	$(orig_item).height()
					});

					if (opts.zoomOpacity) {
						itemOpts.opacity = 'show';
					}

					$("#fancy_outer").animate(itemOpts, opts.zoomSpeedIn, opts.easingIn, function() {
						_finish();
					});

				} else {

					$("#fancy_content").hide().empty().append($(value)).show();
					$("#fancy_outer").css(itemOpts).fadeIn("normal", function() {
						_finish();
					});
				}
			}
		};

		function _set_navigation() {
			if (opts.itemCurrent != 0) {
				$("#fancy_left, #fancy_left_ico").unbind().bind("click", function(e) {
					e.stopPropagation();

					opts.itemCurrent--;
					_change_item();

					return false;
				});

				$("#fancy_left").show();
			}

			if (opts.itemCurrent != ( opts.itemArray.length -1)) {
				$("#fancy_right, #fancy_right_ico").unbind().bind("click", function(e) {
					e.stopPropagation();

					opts.itemCurrent++;
					_change_item();

					return false;
				});

				$("#fancy_right").show();
			}
		};

		function _finish() {
			_set_navigation();

			_preload_neighbor_images();

			$(document).keydown(function(e) {
				if (e.keyCode == 27) {
					$.fn.fancybox.close();
					$(document).unbind("keydown");

				} else if(e.keyCode == 37 && opts.itemCurrent != 0) {
					opts.itemCurrent--;
					_change_item();
					$(document).unbind("keydown");

				} else if(e.keyCode == 39 && opts.itemCurrent != (opts.itemArray.length - 1)) {
 					opts.itemCurrent++;
					_change_item();
					$(document).unbind("keydown");
				}
			});

			if (opts.centerOnScroll) {
				$(window).bind("resize scroll", $.fn.fancybox.scrollBox);
			} else {
				$("div#fancy_outer").css("position", "absolute");
			}

			if (opts.hideOnContentClick) {
				$("#fancy_wrap").click($.fn.fancybox.close);
			}

			$("#fancy_overlay, #fancy_close").bind("click", $.fn.fancybox.close);

			$("#fancy_close").show();

			if (opts.itemArray[ opts.itemCurrent ].title !== undefined && opts.itemArray[ opts.itemCurrent ].title.length > 0) {
				$('#fancy_title div').html(opts.itemArray[ opts.itemCurrent ].title);
				$('#fancy_title').show();
			}

			if (opts.overlayShow && isIE) {
				$('embed, object, select', $('#fancy_content')).css('visibility', 'visible');
			}

			if ($.isFunction(opts.callbackOnShow)) {
				opts.callbackOnShow();
			}

			busy = false;
		};

		return this.unbind('click').click(_initialize);
	};

	$.fn.fancybox.scrollBox = function() {
		var pos = $.fn.fancybox.getViewport();

		$("#fancy_outer").css('left', (($("#fancy_outer").width()	+ 36) > pos[0] ? pos[2] : pos[2] + Math.round((pos[0] - $("#fancy_outer").width()	- 36)	/ 2)));
		$("#fancy_outer").css('top',  (($("#fancy_outer").height()	+ 50) > pos[1] ? pos[3] : pos[3] + Math.round((pos[1] - $("#fancy_outer").height()	- 50)	/ 2)));
	};

	$.fn.fancybox.getNumeric = function(el, prop) {
		return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0;
	};

	$.fn.fancybox.getPosition = function(el) {
		var pos = el.offset();

		pos.top	+= $.fn.fancybox.getNumeric(el, 'paddingTop');
		pos.top	+= $.fn.fancybox.getNumeric(el, 'borderTopWidth');

		pos.left += $.fn.fancybox.getNumeric(el, 'paddingLeft');
		pos.left += $.fn.fancybox.getNumeric(el, 'borderLeftWidth');

		return pos;
	};

	$.fn.fancybox.showIframe = function() {
		$(".fancy_loading").hide();
		$("#fancy_frame").show();
	};

	$.fn.fancybox.getViewport = function() {
		return [$(window).width(), $(window).height(), $(document).scrollLeft(), $(document).scrollTop() ];
	};

	$.fn.fancybox.animateLoading = function() {
		if (!$("#fancy_loading").is(':visible')){
			clearInterval(loadingTimer);
			return;
		}

		$("#fancy_loading > div").css('top', (loadingFrame * -40) + 'px');

		loadingFrame = (loadingFrame + 1) % 12;
	};

	$.fn.fancybox.showLoading = function() {
		clearInterval(loadingTimer);

		var pos = $.fn.fancybox.getViewport();

		$("#fancy_loading").css({'left': ((pos[0] - 40) / 2 + pos[2]), 'top': ((pos[1] - 40) / 2 + pos[3])}).show();
		$("#fancy_loading").bind('click', $.fn.fancybox.close);

		loadingTimer = setInterval($.fn.fancybox.animateLoading, 66);
	};

	$.fn.fancybox.close = function() {
		busy = true;

		$(imagePreloader).unbind();

		$("#fancy_overlay, #fancy_close").unbind();

		if (opts.hideOnContentClick) {
			$("#fancy_wrap").unbind();
		}

		$("#fancy_close, .fancy_loading, #fancy_left, #fancy_right, #fancy_title").hide();

		if (opts.centerOnScroll) {
			$(window).unbind("resize scroll");
		}

		__cleanup = function() {
			$("#fancy_overlay, #fancy_outer").hide();

			if (opts.centerOnScroll) {
				$(window).unbind("resize scroll");
			}

			if (isIE) {
				$('embed, object, select').css('visibility', 'visible');
			}

			if ($.isFunction(opts.callbackOnClose)) {
				opts.callbackOnClose();
			}

			busy = false;
		};

		if ($("#fancy_outer").is(":visible") !== false) {
			if (opts.zoomSpeedOut > 0 && opts.itemArray[opts.itemCurrent].orig !== undefined) {
				var orig_item	= opts.itemArray[opts.itemCurrent].orig;
				var orig_pos	= $.fn.fancybox.getPosition(orig_item);

				var itemOpts = {
					'left':		(orig_pos.left - 18) + 'px',
					'top': 		(orig_pos.top  - 18) + 'px',
					'width':	$(orig_item).width(),
					'height':	$(orig_item).height()
				};

				if (opts.zoomOpacity) {
					itemOpts.opacity = 'hide';
				}

				$("#fancy_outer").stop(false, true).animate(itemOpts, opts.zoomSpeedOut, opts.easingOut, __cleanup);

			} else {
				$("#fancy_outer").stop(false, true).fadeOut("fast", __cleanup);
			}

		} else {
			__cleanup();
		}

		return false;
	};

	$.fn.fancybox.build = function() {
		var html = '';

		html += '<div id="fancy_overlay"></div>';

		html += '<div id="fancy_wrap">';

		html += '<div class="fancy_loading" id="fancy_loading"><div></div></div>';

		html += '<div id="fancy_outer">';

		html += '<div id="fancy_inner">';

		html += '<div id="fancy_close"></div>';

		html +=  '<div id="fancy_bg"><div class="fancy_bg fancy_bg_n"></div><div class="fancy_bg fancy_bg_ne"></div><div class="fancy_bg fancy_bg_e"></div><div class="fancy_bg fancy_bg_se"></div><div class="fancy_bg fancy_bg_s"></div><div class="fancy_bg fancy_bg_sw"></div><div class="fancy_bg fancy_bg_w"></div><div class="fancy_bg fancy_bg_nw"></div></div>';

		html +=  '<a href="javascript:;" id="fancy_left"><span class="fancy_ico" id="fancy_left_ico"></span></a><a href="javascript:;" id="fancy_right"><span class="fancy_ico" id="fancy_right_ico"></span></a>';

		html += '<div id="fancy_content"></div>';

		html +=  '<div id="fancy_title"></div>';

		html += '</div>';

		html += '</div>';

		html += '</div>';

		$(html).appendTo("body");

		$('<table cellspacing="0" cellpadding="0" border="0"><tr><td class="fancy_title" id="fancy_title_left"></td><td class="fancy_title" id="fancy_title_main"><div></div></td><td class="fancy_title" id="fancy_title_right"></td></tr></table>').appendTo('#fancy_title');

		if (isIE) {
			$("#fancy_inner").prepend('<iframe class="fancy_bigIframe" scrolling="no" frameborder="0"></iframe>');
			$("#fancy_close, .fancy_bg, .fancy_title, .fancy_ico").fixPNG();
		}
	};

	$.fn.fancybox.defaults = {
		padding				:	10,
		imageScale			:	true,
		zoomOpacity			:	false,
		zoomSpeedIn			:	0,
		zoomSpeedOut		:	0,
		zoomSpeedChange		:	300,
		easingIn			:	'swing',
		easingOut			:	'swing',
		easingChange		:	'swing',
		frameWidth			:	425,
		frameHeight			:	355,
		overlayShow			:	true,
		overlayOpacity		:	0.3,
		hideOnContentClick	:	true,
		centerOnScroll		:	true,
		itemArray			:	[],
		callbackOnStart		:	null,
		callbackOnShow		:	null,
		callbackOnClose		:	null
	};

	$(document).ready(function() {
		$.fn.fancybox.build();
	});



