
/* $.preloadImages */
(function($) {
	var cache = [];
	// Arguments are image paths relative to the current page.
	$.preloadImages = function() {
		var args_len = arguments.length;
		for (var i = args_len; i--;) {
			var cacheImage = document.createElement('img');
			cacheImage.src = arguments[i];
			cache.push(cacheImage);
		}
	}
})(jQuery);

/**
 * 	$.easyListSplitter 1.0.2
 * 
 *  http://www.madeincima.eu/samples/jquery/easyListSplitter/scripts/jquery.easyListSplitter.js
 *  

	$('.your-list-class-name').easyListSplitter({ 
			colNumber: 3,
			direction: 'horizontal'
	});
	
 * 
 * gzip	Packer 3.1	shrink, privateVars
 * 
 */
var j=1;(function(a){a.fn.easyListSplitter=function(g){var h={colNumber:2,direction:'vertical'};this.each(function(){var m=a(this);var b=a.extend(h,g);var k=a(this).children('li').size();var f=Math.ceil(k/b.colNumber);var l=a(this).attr('class');for(i=1;i<=b.colNumber;i++){if(i==1){a(this).addClass('listCol1').wrap('<div class="listContainer'+j+'"></div>')}else if(a(this).is('ul')){a(this).parents('.listContainer'+j).append('<ul class="listCol'+i+'"></ul>')}else{a(this).parents('.listContainer'+j).append('<ol class="listCol'+i+'"></ol>')}a('.listContainer'+j+' > ul,.listContainer'+j+' > ol').addClass(l)}var e=0;var d=1;var c=0;if(b.direction=='vertical'){a(this).children('li').each(function(){e=e+1;if(e>f*(b.colNumber-1)){a(this).parents('.listContainer'+j).find('.listCol'+b.colNumber).append(this)}else{if(e<=(f*d)){a(this).parents('.listContainer'+j).find('.listCol'+d).append(this)}else{a(this).parents('.listContainer'+j).find('.listCol'+(d+1)).append(this);d=d+1}}});a('.listContainer'+j).find('ol,ul').each(function(){if(a(this).children().size()==0){a(this).remove()}})}else{a(this).children('li').each(function(){c=c+1;if(c<=b.colNumber){a(this).parents('.listContainer'+j).find('.listCol'+c).append(this)}else{c=1;a(this).parents('.listContainer'+j).find('.listCol'+c).append(this)}})}a('.listContainer'+j).find('ol:last,ul:last').addClass('last');j=j+1})}})(jQuery);

/**
 * jquery.tools 1.1.2 - The missing UI library for the Web
 * tools.tabs-1.0.4, tools.tabs.slideshow-1.0.2, tools.tabs.history-1.0.2, tools.tooltip-1.1.2, tools.tooltip.slide-1.0.0, tools.tooltip.dynamic-1.0.1, tools.scrollable-1.1.2, tools.scrollable.circular-0.5.1, tools.scrollable.autoscroll-1.0.1, tools.scrollable.navigator-1.0.2, tools.scrollable.mousewheel-1.0.1, tools.overlay-1.1.2, tools.overlay.gallery-1.0.0, tools.overlay.apple-1.0.1, tools.expose-1.0.5
 * jquery.event.wheel.js
 */
(function(d){d.tools=d.tools||{};d.tools.tabs={version:"1.0.4",conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",api:false,rotate:false},addEffect:function(e,f){c[e]=f}};var c={"default":function(f,e){this.getPanes().hide().eq(f).show();e.call()},fade:function(g,e){var f=this.getConf(),j=f.fadeOutSpeed,h=this.getPanes();if(j){h.fadeOut(j)}else{h.hide()}h.eq(g).fadeIn(f.fadeInSpeed,e)},slide:function(f,e){this.getPanes().slideUp(200);this.getPanes().eq(f).slideDown(400,e)},ajax:function(f,e){this.getPanes().eq(0).load(this.getTabs().eq(f).attr("href"),e)}};var b;d.tools.tabs.addEffect("horizontal",function(f,e){if(!b){b=this.getPanes().eq(0).width()}this.getCurrentPane().animate({width:0},function(){d(this).hide()});this.getPanes().eq(f).animate({width:b},function(){d(this).show();e.call()})});function a(g,h,f){var e=this,j=d(this),i;d.each(f,function(k,l){if(d.isFunction(l)){j.bind(k,l)}});d.extend(this,{click:function(k,n){var o=e.getCurrentPane();var l=g.eq(k);if(typeof k=="string"&&k.replace("#","")){l=g.filter("[href*="+k.replace("#","")+"]");k=Math.max(g.index(l),0)}if(f.rotate){var m=g.length-1;if(k<0){return e.click(m,n)}if(k>m){return e.click(0,n)}}if(!l.length){if(i>=0){return e}k=f.initialIndex;l=g.eq(k)}if(k===i){return e}n=n||d.Event();n.type="onBeforeClick";j.trigger(n,[k]);if(n.isDefaultPrevented()){return}c[f.effect].call(e,k,function(){n.type="onClick";j.trigger(n,[k])});n.type="onStart";j.trigger(n,[k]);if(n.isDefaultPrevented()){return}i=k;g.removeClass(f.current);l.addClass(f.current);return e},getConf:function(){return f},getTabs:function(){return g},getPanes:function(){return h},getCurrentPane:function(){return h.eq(i)},getCurrentTab:function(){return g.eq(i)},getIndex:function(){return i},next:function(){return e.click(i+1)},prev:function(){return e.click(i-1)},bind:function(k,l){j.bind(k,l);return e},onBeforeClick:function(k){return this.bind("onBeforeClick",k)},onClick:function(k){return this.bind("onClick",k)},unbind:function(k){j.unbind(k);return e}});g.each(function(k){d(this).bind(f.event,function(l){e.click(k,l);return false})});if(location.hash){e.click(location.hash)}else{if(f.initialIndex===0||f.initialIndex>0){e.click(f.initialIndex)}}h.find("a[href^=#]").click(function(k){e.click(d(this).attr("href"),k)})}d.fn.tabs=function(i,f){var g=this.eq(typeof f=="number"?f:0).data("tabs");if(g){return g}if(d.isFunction(f)){f={onBeforeClick:f}}var h=d.extend({},d.tools.tabs.conf),e=this.length;f=d.extend(h,f);this.each(function(l){var j=d(this);var k=j.find(f.tabs);if(!k.length){k=j.children()}var m=i.jquery?i:j.children(i);if(!m.length){m=e==1?d(i):j.parent().find(i)}g=new a(k,m,f);j.data("tabs",g)});return f.api?g:this}})(jQuery);
(function(b){var a=b.tools.tabs;a.plugins=a.plugins||{};a.plugins.slideshow={version:"1.0.2",conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:false,autopause:true,interval:3000,clickable:true,api:false}};b.prototype.slideshow=function(e){var f=b.extend({},a.plugins.slideshow.conf),c=this.length,d;e=b.extend(f,e);this.each(function(){var p=b(this),m=p.tabs(),i=b(m),o=m;b.each(e,function(t,u){if(b.isFunction(u)){m.bind(t,u)}});function n(t){return c==1?b(t):p.parent().find(t)}var s=n(e.next).click(function(){m.next()});var q=n(e.prev).click(function(){m.prev()});var h,j,l,g=false;b.extend(m,{play:function(){if(h){return}var t=b.Event("onBeforePlay");i.trigger(t);if(t.isDefaultPrevented()){return m}g=false;h=setInterval(m.next,e.interval);i.trigger("onPlay");m.next()},pause:function(){if(!h){return m}var t=b.Event("onBeforePause");i.trigger(t);if(t.isDefaultPrevented()){return m}h=clearInterval(h);l=clearInterval(l);i.trigger("onPause")},stop:function(){m.pause();g=true},onBeforePlay:function(t){return m.bind("onBeforePlay",t)},onPlay:function(t){return m.bind("onPlay",t)},onBeforePause:function(t){return m.bind("onBeforePause",t)},onPause:function(t){return m.bind("onPause",t)}});if(e.autopause){var k=m.getTabs().add(s).add(q).add(m.getPanes());k.hover(function(){m.pause();j=clearInterval(j)},function(){if(!g){j=setTimeout(m.play,e.interval)}})}if(e.autoplay){l=setTimeout(m.play,e.interval)}else{m.stop()}if(e.clickable){m.getPanes().click(function(){m.next()})}if(!m.getConf().rotate){var r=e.disabledClass;if(!m.getIndex()){q.addClass(r)}m.onBeforeClick(function(u,t){if(!t){q.addClass(r)}else{q.removeClass(r);if(t==m.getTabs().length-1){s.addClass(r)}else{s.removeClass(r)}}})}});return e.api?d:this}})(jQuery);
(function(d){var a=d.tools.tabs;a.plugins=a.plugins||{};a.plugins.history={version:"1.0.2",conf:{api:false}};var e,b;function c(f){if(f){var g=b.contentWindow.document;g.open().close();g.location.hash=f}}d.fn.onHash=function(g){var f=this;if(d.browser.msie&&d.browser.version<"8"){if(!b){b=d("<iframe/>").attr("src","javascript:false;").hide().get(0);d("body").append(b);setInterval(function(){var i=b.contentWindow.document,j=i.location.hash;if(e!==j){d.event.trigger("hash",j);e=j}},100);c(location.hash||"#")}f.bind("click.hash",function(h){c(d(this).attr("href"))})}else{setInterval(function(){var j=location.hash;var i=f.filter("[href$="+j+"]");if(!i.length){j=j.replace("#","");i=f.filter("[href$="+j+"]")}if(i.length&&j!==e){e=j;d.event.trigger("hash",j)}},100)}d(window).bind("hash",g);return this};d.fn.history=function(g){var h=d.extend({},a.plugins.history.conf),f;g=d.extend(h,g);this.each(function(){var j=d(this).tabs(),i=j.getTabs();if(j){f=j}i.onHash(function(k,l){if(!l||l=="#"){l=j.getConf().initialIndex}j.click(l)});i.click(function(k){location.hash=d(this).attr("href").replace("#","")})});return g.api?f:this}})(jQuery);
(function(b){b.tools=b.tools||{};b.tools.scrollable={version:"1.1.2",conf:{size:5,vertical:false,speed:400,keyboard:true,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:true,activeClass:"active",easing:"swing",loop:false,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",api:false}};var c;function a(o,m){var r=this,p=b(this),d=!m.vertical,e=o.children(),k=0,i;if(!c){c=r}b.each(m,function(s,t){if(b.isFunction(t)){p.bind(s,t)}});if(e.length>1){e=b(m.items,o)}function l(t){var s=b(t);return m.globalNav?s:o.parent().find(t)}o.data("finder",l);var f=l(m.prev),h=l(m.next),g=l(m.prevPage),n=l(m.nextPage);b.extend(r,{getIndex:function(){return k},getClickIndex:function(){var s=r.getItems();return s.index(s.filter("."+m.activeClass))},getConf:function(){return m},getSize:function(){return r.getItems().size()},getPageAmount:function(){return Math.ceil(this.getSize()/m.size)},getPageIndex:function(){return Math.ceil(k/m.size)},getNaviButtons:function(){return f.add(h).add(g).add(n)},getRoot:function(){return o},getItemWrap:function(){return e},getItems:function(){return e.children(m.item)},getVisibleItems:function(){return r.getItems().slice(k,k+m.size)},seekTo:function(s,w,t){if(s<0){s=0}if(k===s){return r}if(b.isFunction(w)){t=w}if(s>r.getSize()-m.size){return m.loop?r.begin():this.end()}var u=r.getItems().eq(s);if(!u.length){return r}var v=b.Event("onBeforeSeek");p.trigger(v,[s]);if(v.isDefaultPrevented()){return r}if(w===undefined||b.isFunction(w)){w=m.speed}function x(){if(t){t.call(r,s)}p.trigger("onSeek",[s])}if(d){e.animate({left:-u.position().left},w,m.easing,x)}else{e.animate({top:-u.position().top},w,m.easing,x)}c=r;k=s;v=b.Event("onStart");p.trigger(v,[s]);if(v.isDefaultPrevented()){return r}f.add(g).toggleClass(m.disabledClass,s===0);h.add(n).toggleClass(m.disabledClass,s>=r.getSize()-m.size);return r},move:function(u,t,s){i=u>0;return this.seekTo(k+u,t,s)},next:function(t,s){return this.move(1,t,s)},prev:function(t,s){return this.move(-1,t,s)},movePage:function(w,v,u){i=w>0;var s=m.size*w;var t=k%m.size;if(t>0){s+=(w>0?-t:m.size-t)}return this.move(s,v,u)},prevPage:function(t,s){return this.movePage(-1,t,s)},nextPage:function(t,s){return this.movePage(1,t,s)},setPage:function(t,u,s){return this.seekTo(t*m.size,u,s)},begin:function(t,s){i=false;return this.seekTo(0,t,s)},end:function(t,s){i=true;var u=this.getSize()-m.size;return u>0?this.seekTo(u,t,s):r},reload:function(){p.trigger("onReload");return r},focus:function(){c=r;return r},click:function(u){var v=r.getItems().eq(u),s=m.activeClass,t=m.size;if(u<0||u>=r.getSize()){return r}if(t==1){if(m.loop){return r.next()}if(u===0||u==r.getSize()-1){i=(i===undefined)?true:!i}return i===false?r.prev():r.next()}if(t==2){if(u==k){u--}r.getItems().removeClass(s);v.addClass(s);return r.seekTo(u,time,fn)}if(!v.hasClass(s)){r.getItems().removeClass(s);v.addClass(s);var x=Math.floor(t/2);var w=u-x;if(w>r.getSize()-t){w=r.getSize()-t}if(w!==u){return r.seekTo(w)}}return r},bind:function(s,t){p.bind(s,t);return r},unbind:function(s){p.unbind(s);return r}});b.each("onBeforeSeek,onStart,onSeek,onReload".split(","),function(s,t){r[t]=function(u){return r.bind(t,u)}});f.addClass(m.disabledClass).click(function(){r.prev()});h.click(function(){r.next()});n.click(function(){r.nextPage()});if(r.getSize()<m.size){h.add(n).addClass(m.disabledClass)}g.addClass(m.disabledClass).click(function(){r.prevPage()});var j=m.hoverClass,q="keydown."+Math.random().toString().substring(10);r.onReload(function(){if(j){r.getItems().hover(function(){b(this).addClass(j)},function(){b(this).removeClass(j)})}if(m.clickable){r.getItems().each(function(s){b(this).unbind("click.scrollable").bind("click.scrollable",function(t){if(b(t.target).is("a")){return}return r.click(s)})})}if(m.keyboard){b(document).unbind(q).bind(q,function(t){if(t.altKey||t.ctrlKey){return}if(m.keyboard!="static"&&c!=r){return}var u=m.keyboardSteps;if(d&&(t.keyCode==37||t.keyCode==39)){r.move(t.keyCode==37?-u:u);return t.preventDefault()}if(!d&&(t.keyCode==38||t.keyCode==40)){r.move(t.keyCode==38?-u:u);return t.preventDefault()}return true})}else{b(document).unbind(q)}});r.reload()}b.fn.scrollable=function(d){var e=this.eq(typeof d=="number"?d:0).data("scrollable");if(e){return e}var f=b.extend({},b.tools.scrollable.conf);d=b.extend(f,d);d.keyboardSteps=d.keyboardSteps||d.size;this.each(function(){e=new a(b(this),d);b(this).data("scrollable",e)});return d.api?e:this}})(jQuery);
(function(b){var a=b.tools.scrollable;a.plugins=a.plugins||{};a.plugins.circular={version:"0.5.1",conf:{api:false,clonedClass:"cloned"}};b.fn.circular=function(e){var d=b.extend({},a.plugins.circular.conf),c;b.extend(d,e);this.each(function(){var i=b(this).scrollable(),n=i.getItems(),k=i.getConf(),f=i.getItemWrap(),j=0;if(i){c=i}if(n.length<k.size){return false}n.slice(0,k.size).each(function(o){b(this).clone().appendTo(f).click(function(){i.click(n.length+o)}).addClass(d.clonedClass)});var l=b.makeArray(n.slice(-k.size)).reverse();b(l).each(function(o){b(this).clone().prependTo(f).click(function(){i.click(-o-1)}).addClass(d.clonedClass)});var m=f.children(k.item);var h=k.hoverClass;if(h){m.hover(function(){b(this).addClass(h)},function(){b(this).removeClass(h)})}function g(o){var p=m.eq(o);if(k.vertical){f.css({top:-p.position().top})}else{f.css({left:-p.position().left})}}g(k.size);b.extend(i,{move:function(s,r,p,q){var u=j+s+k.size;var t=u>i.getSize()-k.size;if(u<=0||t){var o=j+k.size+(t?-n.length:n.length);g(o);u=o+s}if(q){m.removeClass(k.activeClass).eq(u+Math.floor(k.size/2)).addClass(k.activeClass)}if(u===j+k.size){return self}return i.seekTo(u,r,p)},begin:function(p,o){return this.seekTo(k.size,p,o)},end:function(p,o){return this.seekTo(n.length,p,o)},click:function(p,r,q){if(!k.clickable){return self}if(k.size==1){return this.next()}var s=p-j,o=k.activeClass;s-=Math.floor(k.size/2);return this.move(s,r,q,true)},getIndex:function(){return j},setPage:function(p,q,o){return this.seekTo(p*k.size+k.size,q,o)},getPageAmount:function(){return Math.ceil(n.length/k.size)},getPageIndex:function(){if(j<0){return this.getPageAmount()-1}if(j>=n.length){return 0}var o=(j+k.size)/k.size-1;return o},getVisibleItems:function(){var o=j+k.size;return m.slice(o,o+k.size)}});i.onStart(function(p,o){j=o-k.size;return false});i.getNaviButtons().removeClass(k.disabledClass)});return d.api?c:this}})(jQuery);
(function(b){var a=b.tools.scrollable;a.plugins=a.plugins||{};a.plugins.autoscroll={version:"1.0.1",conf:{autoplay:true,interval:3000,autopause:true,steps:1,api:false}};b.fn.autoscroll=function(d){if(typeof d=="number"){d={interval:d}}var e=b.extend({},a.plugins.autoscroll.conf),c;b.extend(e,d);this.each(function(){var g=b(this).scrollable();if(g){c=g}var i,f,h=true;g.play=function(){if(i){return}h=false;i=setInterval(function(){g.move(e.steps)},e.interval);g.move(e.steps)};g.pause=function(){i=clearInterval(i)};g.stop=function(){g.pause();h=true};if(e.autopause){g.getRoot().add(g.getNaviButtons()).hover(function(){g.pause();clearInterval(f)},function(){if(!h){f=setTimeout(g.play,e.interval)}})}if(e.autoplay){setTimeout(g.play,e.interval)}});return e.api?c:this}})(jQuery);
(function(b){var a=b.tools.scrollable;a.plugins=a.plugins||{};a.plugins.navigator={version:"1.0.2",conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,api:false,idPrefix:null}};b.fn.navigator=function(d){var e=b.extend({},a.plugins.navigator.conf),c;if(typeof d=="string"){d={navi:d}}d=b.extend(e,d);this.each(function(){var i=b(this).scrollable(),f=i.getRoot(),l=f.data("finder").call(null,d.navi),g=null,k=i.getNaviButtons();if(i){c=i}i.getNaviButtons=function(){return k.add(l)};function j(){if(!l.children().length||l.data("navi")==i){l.empty();l.data("navi",i);for(var m=0;m<i.getPageAmount();m++){l.append(b("<"+(d.naviItem||"a")+"/>"))}g=l.children().each(function(n){var o=b(this);o.click(function(p){i.setPage(n);return p.preventDefault()});if(d.indexed){o.text(n)}if(d.idPrefix){o.attr("id",d.idPrefix+n)}})}else{g=d.naviItem?l.find(d.naviItem):l.children();g.each(function(n){var o=b(this);o.click(function(p){i.setPage(n);return p.preventDefault()})})}g.eq(0).addClass(d.activeClass)}i.onStart(function(o,n){var m=d.activeClass;g.removeClass(m).eq(i.getPageIndex()).addClass(m)});i.onReload(function(){j()});j();var h=g.filter("[href="+location.hash+"]");if(h.length){i.move(g.index(h))}});return d.api?c:this}})(jQuery);

/* ColorBox v1.3.14 - a full featured, light-weight, customizable lightbox based on jQuery 1.3+ */
/**
 * REW Hack Added
 * 
if (!percent) {
	if (img.width < settings.mw) {
		percent = (img.width - settings.mw) / img.width;
		tw = img.width - (img.width * percent);
		th = img.height - (img.height * percent);
		if (tw <= settings.mw && th <= settings.mh) {
			setResize();
		}
	}
	if (img.height < settings.mh) {
		percent = (img.height - settings.mh) / img.height;
		tw = img.width - (img.width * percent);
		th = img.height - (img.height * percent);
		if (tw <= settings.mw && th <= settings.mh) {
			setResize();
		}								
	}	
}
* 
* gzip	Packer 3.1	shrink, privateVars
* 
*/
(function(c,bk){var bd={transition:"elastic",speed:300,width:false,initialWidth:"600",innerWidth:false,maxWidth:false,height:false,initialHeight:"450",innerHeight:false,maxHeight:false,scalePhotos:true,scrolling:true,inline:false,html:false,iframe:false,photo:false,href:false,title:false,rel:false,opacity:0.9,preloading:true,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:false,returnFocus:true,loop:true,slideshow:false,slideshowAuto:true,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:false,onLoad:false,onComplete:false,onCleanup:false,onClosed:false,overlayClose:true,escKey:true,arrowKey:true},u='colorbox',m='cbox',be=m+'_0',R=m+'_1',S=m+'_2',N=m+'_3',bf=m+'_4',O=m+'_5',bg=m+'_6',F=c.browser.msie&&!c.support.opacity,T=F&&c.browser.version<7,P=m+'_7',x,o,C,v,U,V,W,X,l,r,p,H,I,Y,Z,J,K,L,ba,D,E,y,z,q,j,a,w,G,Q=false,g,M=m+'Element';function h(b,f){b=b?' id="'+m+b+'"':'';f=f?' style="'+f+'"':'';return c('<div'+b+f+'/>')}function t(b,f){f=f==='x'?r.width():r.height();return(typeof b==='string')?Math.round((/%/.test(b)?(f/100)*parseInt(b,10):parseInt(b,10))):b}function bb(b){return a.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(b)}function bh(b){for(var f in b){if(c.isFunction(b[f])&&f.substring(0,2)!=='on'){b[f]=b[f].call(q)}}b.rel=b.rel||q.rel||'nofollow';b.href=b.href||c(q).attr('href');b.title=b.title||q.title;return b}function A(b,f){if(f){f.call(q)}c.event.trigger(b)}function bl(){var b,f=m+"Slideshow_",i="click."+m,k,n,d;if(a.slideshow&&l[1]){k=function(){J.text(a.slideshowStop).unbind(i).bind(S,function(){if(j<l.length-1||a.loop){b=setTimeout(g.next,a.slideshowSpeed)}}).bind(R,function(){clearTimeout(b)}).one(i+' '+N,n);o.removeClass(f+"off").addClass(f+"on");b=setTimeout(g.next,a.slideshowSpeed)};n=function(){clearTimeout(b);J.text(a.slideshowStart).unbind([S,R,N,i].join(' ')).one(i,k);o.removeClass(f+"on").addClass(f+"off")};if(a.slideshowAuto){k()}else{n()}}}function bi(f){if(!Q){q=f;a=bh(c.extend({},c.data(q,u)));l=c(q);j=0;if(a.rel!=='nofollow'){l=c('.'+M).filter(function(){var b=c.data(this,u).rel||this.rel;return(b===a.rel)});j=l.index(q);if(j===-1){l=l.add(q);j=l.length-1}}if(!w){w=G=true;o.show();if(a.returnFocus){try{q.blur();c(q).one(bf,function(){try{this.focus()}catch(e){}})}catch(e){}}x.css({"opacity":+a.opacity,"cursor":a.overlayClose?"pointer":"auto"}).show();a.w=t(a.initialWidth,'x');a.h=t(a.initialHeight,'y');g.position(0);if(T){r.bind('resize.'+P+' scroll.'+P,function(){x.css({width:r.width(),height:r.height(),top:r.scrollTop(),left:r.scrollLeft()})}).trigger('scroll.'+P)}A(be,a.onOpen);Z.add(L).add(K).add(J).add(Y).hide();ba.html(a.close).show()}g.load(true)}}g=c.fn[u]=c[u]=function(b,f){var i=this,k;if(!i[0]&&i.selector){return i}b=b||{};if(f){b.onComplete=f}if(!i[0]||i.selector===undefined){i=c('<a/>');b.open=true}i.each(function(){c.data(this,u,c.extend({},c.data(this,u)||bd,b));c(this).addClass(M)});k=b.open;if(c.isFunction(k)){k=k.call(i)}if(k){bi(i[0])}return i};g.init=function(){r=c(bk);o=h().attr({id:u,'class':F?m+'IE':''});x=h("Overlay",T?'position:absolute':'').hide();C=h("Wrapper");v=h("Content").append(p=h("LoadedContent",'width:0;height:0;overflow:hidden'),I=h("LoadingOverlay").add(h("LoadingGraphic")),Y=h("Title"),Z=h("Current"),K=h("Next"),L=h("Previous"),J=h("Slideshow").bind(be,bl),ba=h("Close"));C.append(h().append(h("TopLeft"),U=h("TopCenter"),h("TopRight")),h(false,'clear:left').append(V=h("MiddleLeft"),v,W=h("MiddleRight")),h(false,'clear:left').append(h("BottomLeft"),X=h("BottomCenter"),h("BottomRight"))).children().children().css({'float':'left'});H=h(false,'position:absolute; width:9999px; visibility:hidden; display:none');c('body').prepend(x,o.append(C,H));v.children().hover(function(){c(this).addClass('hover')},function(){c(this).removeClass('hover')}).addClass('hover');D=U.height()+X.height()+v.outerHeight(true)-v.height();E=V.width()+W.width()+v.outerWidth(true)-v.width();y=p.outerHeight(true);z=p.outerWidth(true);o.css({"padding-bottom":D,"padding-right":E}).hide();K.click(g.next);L.click(g.prev);ba.click(g.close);v.children().removeClass('hover');c('.'+M).live('click',function(b){if(!((b.button!==0&&typeof b.button!=='undefined')||b.ctrlKey||b.shiftKey||b.altKey)){b.preventDefault();bi(this)}});x.click(function(){if(a.overlayClose){g.close()}});c(document).bind("keydown",function(b){if(w&&a.escKey&&b.keyCode===27){b.preventDefault();g.close()}if(w&&a.arrowKey&&!G&&l[1]){if(b.keyCode===37&&(j||a.loop)){b.preventDefault();L.click()}else if(b.keyCode===39&&(j<l.length-1||a.loop)){b.preventDefault();K.click()}}})};g.remove=function(){o.add(x).remove();c('.'+M).die('click').removeData(u).removeClass(M)};g.position=function(f,i){var k,n=Math.max(document.documentElement.clientHeight-a.h-y-D,0)/2+r.scrollTop(),d=Math.max(r.width()-a.w-z-E,0)/2+r.scrollLeft();k=(o.width()===a.w+z&&o.height()===a.h+y)?0:f;C[0].style.width=C[0].style.height="9999px";function s(b){U[0].style.width=X[0].style.width=v[0].style.width=b.style.width;I[0].style.height=I[1].style.height=v[0].style.height=V[0].style.height=W[0].style.height=b.style.height}o.dequeue().animate({width:a.w+z,height:a.h+y,top:n,left:d},{duration:k,complete:function(){s(this);G=false;C[0].style.width=(a.w+z+E)+"px";C[0].style.height=(a.h+y+D)+"px";if(i){i()}},step:function(){s(this)}})};g.resize=function(b){if(w){b=b||{};if(b.width){a.w=t(b.width,'x')-z-E}if(b.innerWidth){a.w=t(b.innerWidth,'x')}p.css({width:a.w});if(b.height){a.h=t(b.height,'y')-y-D}if(b.innerHeight){a.h=t(b.innerHeight,'y')}if(!b.innerHeight&&!b.height){var f=p.wrapInner("<div style='overflow:auto'></div>").children();a.h=f.height();f.replaceWith(f.children())}p.css({height:a.h});g.position(a.transition==="none"?0:a.speed)}};g.prep=function(bm){if(!w){return}var bn,bc=a.transition==="none"?0:a.speed;r.unbind('resize.'+m);p.remove();p=h('LoadedContent').html(bm);function bo(){a.w=a.w||p.width();a.w=a.mw&&a.mw<a.w?a.mw:a.w;return a.w}function bp(){a.h=a.h||p.height();a.h=a.mh&&a.mh<a.h?a.mh:a.h;return a.h}p.hide().appendTo(H.show()).css({width:bo(),overflow:a.scrolling?'auto':'hidden'}).css({height:bp()}).prependTo(v);H.hide();c('#'+m+'Photo').css({cssFloat:'none',marginLeft:'auto',marginRight:'auto'});if(T){c('select').not(o.find('select')).filter(function(){return this.style.visibility!=='hidden'}).css({'visibility':'hidden'}).one(N,function(){this.style.visibility='inherit'})}function bj(f){var i,k,n,d,s=l.length,B=a.loop;g.position(f,function(){function b(){if(F){o[0].style.filter=false}}if(!w){return}if(F){if(bn){p.fadeIn(100)}}p.show();A(bg);Y.show().html(a.title);if(s>1){if(typeof a.current==="string"){Z.html(a.current.replace(/\{current\}/,j+1).replace(/\{total\}/,s)).show()}K[(B||j<s-1)?"show":"hide"]().html(a.next);L[(B||j)?"show":"hide"]().html(a.previous);i=j?l[j-1]:l[s-1];n=j<s-1?l[j+1]:l[0];if(a.slideshow){J.show()}if(a.preloading){d=c.data(n,u).href||n.href;k=c.data(i,u).href||i.href;d=c.isFunction(d)?d.call(n):d;k=c.isFunction(k)?k.call(i):k;if(bb(d)){c('<img/>')[0].src=d}if(bb(k)){c('<img/>')[0].src=k}}}I.hide();if(a.transition==='fade'){o.fadeTo(bc,1,function(){b()})}else{b()}r.bind('resize.'+m,function(){g.position(0)});A(S,a.onComplete)})}if(a.transition==='fade'){o.fadeTo(bc,0,function(){bj(0)})}else{bj(bc)}};g.load=function(k){var n,d,s,B=g.prep;G=true;q=l[j];if(!k){a=bh(c.extend({},c.data(q,u)))}A(O);A(R,a.onLoad);a.h=a.height?t(a.height,'y')-y-D:a.innerHeight&&t(a.innerHeight,'y');a.w=a.width?t(a.width,'x')-z-E:a.innerWidth&&t(a.innerWidth,'x');a.mw=a.w;a.mh=a.h;if(a.maxWidth){a.mw=t(a.maxWidth,'x')-z-E;a.mw=a.w&&a.w<a.mw?a.w:a.mw}if(a.maxHeight){a.mh=t(a.maxHeight,'y')-y-D;a.mh=a.h&&a.h<a.mh?a.h:a.mh}n=a.href;I.show();if(a.inline){h().hide().insertBefore(c(n)[0]).one(O,function(){c(this).replaceWith(p.children())});B(c(n))}else if(a.iframe){o.one(bg,function(){var b=c("<iframe name='"+new Date().getTime()+"' frameborder=0"+(a.scrolling?"":" scrolling='no'")+(F?" allowtransparency='true'":'')+" style='width:100%; height:100%; border:0; display:block;'/>");b[0].src=a.href;b.appendTo(p).one(O,function(){b[0].src='//about:blank'})});B(" ")}else if(a.html){B(a.html)}else if(bb(n)){d=new Image();d.onload=function(){var b;d.onload=null;d.id=m+'Photo';c(d).css({border:'none',display:'block',cssFloat:'left'});if(a.scalePhotos){s=function(){d.height-=d.height*b;d.width-=d.width*b};if(a.mw&&d.width>a.mw){b=(d.width-a.mw)/d.width;s()}if(a.mh&&d.height>a.mh){b=(d.height-a.mh)/d.height;s()}if(!b){if(d.width<a.mw){b=(d.width-a.mw)/d.width;tw=d.width-(d.width*b);th=d.height-(d.height*b);if(tw<=a.mw&&th<=a.mh){s()}}if(d.height<a.mh){b=(d.height-a.mh)/d.height;tw=d.width-(d.width*b);th=d.height-(d.height*b);if(tw<=a.mw&&th<=a.mh){s()}}}}if(a.h){d.style.marginTop=Math.max(a.h-d.height,0)/2+'px'}if(l[1]&&(j<l.length-1||a.loop)){c(d).css({cursor:'pointer'}).click(g.next)}if(F){d.style.msInterpolationMode='bicubic'}setTimeout(function(){B(d)},1)};setTimeout(function(){d.src=n},1)}else if(n){H.load(n,function(b,f,i){B(f==='error'?'Request unsuccessful: '+i.statusText:c(this).children())})}};g.next=function(){if(!G){j=j<l.length-1?j+1:0;g.load()}};g.prev=function(){if(!G){j=j?j-1:l.length-1;g.load()}};g.close=function(){if(w&&!Q){Q=true;w=false;A(N,a.onCleanup);r.unbind('.'+m+' .'+P);x.fadeTo('fast',0);o.stop().fadeTo('fast',0,function(){A(O);p.remove();o.add(x).css({'opacity':1,cursor:'auto'}).hide();setTimeout(function(){Q=false;A(bf,a.onClosed)},1)})}};g.element=function(){return c(q)};g.settings=bd;c(g.init)}(jQuery,this));

/**
* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+
* <http://cherne.net/brian/resources/jquery.hoverIntent.html>
*
* @param  f  onMouseOver function || An object with configuration options
* @param  g  onMouseOut function  || Nothing (use configuration options object)
* @author    Brian Cherne <brian@cherne.net>
*/
(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev]);}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev]);};var handleHover=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode;}catch(e){p=this;}}if(p==this){return false;}var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);}if(e.type=="mouseover"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob);},cfg.timeout);}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);

/* $.masonry */
(function($){

	//Finding min and max values in array from http://snippets.dzone.com/posts/show/769
	Array.prototype.min = function(){ return Math.min.apply({},this) };
	Array.prototype.max = function(){ return Math.max.apply({},this) };

	$.fn.masonry = function() {
		this.each(function() {

			var wall = $(this);

			if ( wall.children().length > 0 ) { // check if the element has anything in it

				if( wall.children('.masonryWrap').length == 0 ) {      // checks if the masonryWrap div is already there
					wall.wrapInner('<div class=\"masonryWrap\"></div>');
				}
				var mWrap = wall.children('.masonryWrap');

				var brick = mWrap.children();
				var brickW = brick.outerWidth(true);
				var colCount = Math.floor( mWrap.width() / brickW ) ;

				var colH=new Array();
				for ( i=0; i < colCount; i++) {
					colH[ i ] =  0 ;
				}

				mWrap.css({ position: 'relative' });

				brick.css({
						float: 'none',
						position: 'absolute',
						display: 'block'
					})
					.each(function(){
						for ( i=colCount-1; i > -1; i-- ) {
							if ( colH[ i ] == colH.min() ) {
								var thisCol = i;
							}
						}
						$(this).css({
							top: colH[ thisCol ],
							left: brickW * thisCol
						});
						colH[ thisCol ] += $(this).outerHeight(true);
					});

				mWrap.height( colH.max() );
			}

			return this;
		});
	};
})(jQuery);

/*
 * jQuery Autocomplete plugin 1.1.1
 *
 * Copyright (c) 2009 Jörn Zaefferer
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 *
 * With a small modification by Alfonso Gómez-Arzola to
 * enable UP/DOWN arrow keys when navigating text within
 * input element. Particularly useful for textareas.
 *
 * Revision: $Id: jquery.autocomplete.js 15 2009-08-22 10:30:27Z joern.zaefferer $
 * 
 * gzip	Packer 3.1	shrink, privateVars
 * 
 */
//(function(f){f.fn.extend({autocomplete:function(a,c){var g=typeof a=="string";c=f.extend({},f.Autocompleter.defaults,{url:g?a:null,data:g?null:a,delay:g?f.Autocompleter.defaults.delay:10,max:c&&!c.scroll?10:150},c);c.highlight=c.highlight||function(b){return b};c.formatMatch=c.formatMatch||c.formatItem;return this.each(function(){new f.Autocompleter(this,c)})},result:function(b){return this.bind("result",b)},search:function(b){return this.trigger("search",[b])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(b){return this.trigger("setOptions",[b])},unautocomplete:function(){return this.trigger("unautocomplete")}});f.Autocompleter=function(h,d){var j={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};var i=f(h).attr("autocomplete","off").addClass(d.inputClass);var r;var p="";var k=f.Autocompleter.Cache(d);var s=0;var t;var u={mouseDownOnSelect:false};var n=f.Autocompleter.Select(d,h,y,u);var x;f.browser.opera&&f(h.form).bind("submit.autocomplete",function(){if(x){x=false;return false}});i.bind((f.browser.opera?"keypress":"keydown")+".autocomplete",function(b){s=1;t=b.keyCode;switch(b.keyCode){case j.UP:if(n.visible()){b.preventDefault();n.prev()}else{v(0,true)}break;case j.DOWN:if(n.visible()){b.preventDefault();n.next()}else{v(0,true)}break;case j.PAGEUP:b.preventDefault();if(n.visible()){n.pageUp()}else{v(0,true)}break;case j.PAGEDOWN:b.preventDefault();if(n.visible()){n.pageDown()}else{v(0,true)}break;case d.multiple&&f.trim(d.multipleSeparator)==","&&j.COMMA:case j.TAB:case j.RETURN:if(y()){b.preventDefault();x=true;return false}break;case j.ESC:n.hide();break;default:clearTimeout(r);r=setTimeout(v,d.delay);break}}).focus(function(){s++}).blur(function(){s=0;if(!u.mouseDownOnSelect){D()}}).click(function(){if(s++>1&&!n.visible()){v(0,true)}}).bind("search",function(){var e=(arguments.length>1)?arguments[1]:null;function m(b,a){var c;if(a&&a.length){for(var g=0;g<a.length;g++){if(a[g].result.toLowerCase()==b.toLowerCase()){c=a[g];break}}}if(typeof e=="function")e(c);else i.trigger("result",c&&[c.data,c.value])}f.each(w(i.val()),function(b,a){C(a,m,m)})}).bind("flushCache",function(){k.flush()}).bind("setOptions",function(){f.extend(d,arguments[1]);if("data"in arguments[1])k.populate()}).bind("unautocomplete",function(){n.unbind();i.unbind();f(h.form).unbind(".autocomplete")});function y(){var c=n.selected();if(!c)return false;var g=c.result;p=g;if(d.multiple){var e=w(i.val());if(e.length>1){var m=d.multipleSeparator.length;var o=f(h).selection().start;var q,l=0;f.each(e,function(b,a){l+=a.length;if(o<=l){q=b;return false}l+=m});e[q]=g;g=e.join(d.multipleSeparator)}g+=d.multipleSeparator}i.val(g);z();i.trigger("result",[c.data,c.value]);return true}function v(b,a){if(t==j.DEL){n.hide();return}var c=i.val();if(!a&&c==p)return;p=c;c=A(c);if(c.length>=d.minChars){i.addClass(d.loadingClass);if(!d.matchCase)c=c.toLowerCase();C(c,E,z)}else{B();n.hide()}};function w(a){if(!a)return[""];if(!d.multiple)return[f.trim(a)];return f.map(a.split(d.multipleSeparator),function(b){return f.trim(a).length?f.trim(b):null})}function A(b){if(!d.multiple)return b;var a=w(b);if(a.length==1)return a[0];var c=f(h).selection().start;if(c==b.length){a=w(b)}else{a=w(b.replace(b.substring(c),""))}return a[a.length-1]}function F(b,a){if(d.autoFill&&(A(i.val()).toLowerCase()==b.toLowerCase())&&t!=j.BACKSPACE){i.val(i.val()+a.substring(A(p).length));f(h).selection(p.length,p.length+a.length)}};function D(){clearTimeout(r);r=setTimeout(z,200)};function z(){var c=n.visible();n.hide();clearTimeout(r);B();if(d.mustMatch){i.search(function(b){if(!b){if(d.multiple){var a=w(i.val()).slice(0,-1);i.val(a.join(d.multipleSeparator)+(a.length?d.multipleSeparator:""))}else{i.val("");i.trigger("result",null)}}})}};function E(b,a){if(a&&a.length&&s){B();n.display(a,b);F(b,a[0].value);n.show()}else{z()}};function C(c,g,e){if(!d.matchCase)c=c.toLowerCase();var m=k.load(c);if(m&&m.length){g(c,m)}else if((typeof d.url=="string")&&(d.url.length>0)){var o={timestamp:+new Date()};f.each(d.extraParams,function(b,a){o[b]=typeof a=="function"?a():a});f.ajax({mode:"abort",port:"autocomplete"+h.name,dataType:d.dataType,url:d.url,data:f.extend({q:A(c),limit:d.max},o),success:function(b){var a=d.parse&&d.parse(b)||G(b);k.add(c,a);g(c,a)}})}else{n.emptyList();e(c)}};function G(b){var a=[];var c=b.split("\n");for(var g=0;g<c.length;g++){var e=f.trim(c[g]);if(e){e=e.split("|");a[a.length]={data:e,value:e[0],result:d.formatResult&&d.formatResult(e,e[0])||e[0]}}}return a};function B(){i.removeClass(d.loadingClass)}};f.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:100,max:1000,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(b){return b[0]},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(b,a){return b.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+a.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>");},scroll:true,scrollHeight:180};f.Autocompleter.Cache=function(d){var j={};var i=0;function r(b,a){if(!d.matchCase)b=b.toLowerCase();var c=b.indexOf(a);if(d.matchContains=="word"){c=b.toLowerCase().search("\\b"+a.toLowerCase());}if(c==-1)return false;return c==0||d.matchContains;};function p(b,a){if(i>d.cacheLength){s();}if(!j[b]){i++;}j[b]=a;}function k(){if(!d.data)return false;var c={},g=0;if(!d.url)d.cacheLength=1;c[""]=[];for(var e=0,m=d.data.length;e<m;e++){var o=d.data[e];o=(typeof o=="string")?[o]:o;var q=d.formatMatch(o,e+1,d.data.length);if(q===false)continue;var l=q.charAt(0).toLowerCase();if(!c[l])c[l]=[];var h={value:q,data:o,result:d.formatResult&&d.formatResult(o)||q};c[l].push(h);if(g++<d.max){c[""].push(h);}};f.each(c,function(b,a){d.cacheLength++;p(b,a);});}setTimeout(k,25);function s(){j={};i=0;}return{flush:s,add:p,populate:k,load:function(c){if(!d.cacheLength||!i)return null;if(!d.url&&d.matchContains){var g=[];for(var e in j){if(e.length>0){var m=j[e];f.each(m,function(b,a){if(r(a.value,c)){g.push(a);}});}}return g;}else if(j[c]){return j[c];}else if(d.matchSubset){for(var o=c.length-1;o>=d.minChars;o--){var m=j[c.substr(0,o)];if(m){var g=[];f.each(m,function(b,a){if(r(a.value,c)){g[g.length]=a;}});return g;}}}return null;}};};f.Autocompleter.Select=function(e,m,o,q){var l={ACTIVE:"ac_over"};var h,d=-1,j,i="",r=true,p,k;function s(){if(!r)return;p=f("<div/>").hide().addClass(e.resultsClass).css("position","absolute").appendTo(document.body);k=f("<ul/>").appendTo(p).mouseover(function(b){if(t(b).nodeName&&t(b).nodeName.toUpperCase()=='LI'){d=f("li",k).removeClass(l.ACTIVE).index(t(b));f(t(b)).addClass(l.ACTIVE);}}).click(function(b){f(t(b)).addClass(l.ACTIVE);o();m.focus();return false;}).mousedown(function(){q.mouseDownOnSelect=true;}).mouseup(function(){q.mouseDownOnSelect=false;});if(e.width>0)p.css("width",e.width);r=false;}function t(b){var a=b.target;while(a&&a.tagName!="LI")a=a.parentNode;if(!a)return[];return a;}function u(b){h.slice(d,d+1).removeClass(l.ACTIVE);n(b);var a=h.slice(d,d+1).addClass(l.ACTIVE);if(e.scroll){var c=0;h.slice(0,d).each(function(){c+=this.offsetHeight;});if((c+a[0].offsetHeight-k.scrollTop())>k[0].clientHeight){k.scrollTop(c+a[0].offsetHeight-k.innerHeight());}else if(c<k.scrollTop()){k.scrollTop(c);}}};function n(b){d+=b;if(d<0){d=h.size()-1;}else if(d>=h.size()){d=0;}}function x(b){return e.max&&e.max<b?e.max:b;}function y(){k.empty();var b=x(j.length);for(var a=0;a<b;a++){if(!j[a])continue;var c=e.formatItem(j[a].data,a+1,b,j[a].value,i);if(c===false)continue;var g=f("<li/>").html(e.highlight(c,i)).addClass(a%2==0?"ac_even":"ac_odd").appendTo(k)[0];f.data(g,"ac_data",j[a]);}h=k.find("li");if(e.selectFirst){h.slice(0,1).addClass(l.ACTIVE);d=0;}if(f.fn.bgiframe)k.bgiframe();}return{display:function(b,a){s();j=b;i=a;y();},next:function(){u(1);},prev:function(){u(-1);},pageUp:function(){if(d!=0&&d-8<0){u(-d);}else{u(-8);}},pageDown:function(){if(d!=h.size()-1&&d+8>h.size()){u(h.size()-1-d);}else{u(8);}},hide:function(){p&&p.hide();h&&h.removeClass(l.ACTIVE);d=-1;},visible:function(){return p&&p.is(":visible");},current:function(){return this.visible()&&(h.filter("."+l.ACTIVE)[0]||e.selectFirst&&h[0]);},show:function(){var b=f(m).offset();p.css({width:typeof e.width=="string"||e.width>0?e.width:f(m).width(),top:b.top+m.offsetHeight,left:b.left}).show();if(e.scroll){k.scrollTop(0);k.css({maxHeight:e.scrollHeight,overflow:'auto'});if(f.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var a=0;h.each(function(){a+=this.offsetHeight;});var c=a>e.scrollHeight;k.css('height',c?e.scrollHeight:a);if(!c){h.width(k.width()-parseInt(h.css("padding-left"))-parseInt(h.css("padding-right")));}}}},selected:function(){var b=h&&h.filter("."+l.ACTIVE).removeClass(l.ACTIVE);return b&&b.length&&f.data(b[0],"ac_data");},emptyList:function(){k&&k.empty();},unbind:function(){p&&p.remove();}};};f.fn.selection=function(a,c){if(a!==undefined){return this.each(function(){if(this.createTextRange){var b=this.createTextRange();if(c===undefined||a==c){b.move("character",a);b.select();}else{b.collapse(true);b.moveStart("character",a);b.moveEnd("character",c);b.select();}}else if(this.setSelectionRange){this.setSelectionRange(a,c);}else if(this.selectionStart){this.selectionStart=a;this.selectionEnd=c;}});}var g=this[0];if(g.createTextRange){var e=document.selection.createRange(),m=g.value,o="<->",q=e.text.length;e.text=o;var l=g.value.indexOf(o);g.value=m;this.selection(l,l+q);return{start:l,end:l+q}}else if(g.selectionStart!==undefined){return{start:g.selectionStart,end:g.selectionEnd}}}})(jQuery);

// HTML Truncator for jQuery
// by Henrik Nyh <http://henrik.nyh.se> 2008-02-28.
// Free to modify and redistribute with credit.
(function($) {

  var trailing_whitespace = true;

  $.fn.truncate = function(options) {

    var opts = $.extend({}, $.fn.truncate.defaults, options);

    $(this).each(function() {

      var content_length = $.trim(squeeze($(this).text())).length;
      if (content_length <= opts.max_length)
        return;  // bail early if not overlong

      var actual_max_length = opts.max_length - opts.more.length - 3;  // 3 for " ()"
      var truncated_node = recursivelyTruncate(this, actual_max_length);
      var full_node = $(this).hide();

      truncated_node.insertAfter(full_node);

      findNodeForMore(truncated_node).append(' (<a href="#show more content">'+opts.more+'</a>)');
      findNodeForLess(full_node).append(' (<a href="#show less content">'+opts.less+'</a>)');

      truncated_node.find('a:last').click(function() {
        truncated_node.hide(); full_node.show(); return false;
      });
      full_node.find('a:last').click(function() {
        truncated_node.show(); full_node.hide(); return false;
      });

    });
  }
  // Note that the " (more)" bit counts towards the max length ï¿½ï¿½ï¿½ so a max
  // length of 10 would truncate "1234567890" to "12 (ï¿½ï¿½?more)".
  $.fn.truncate.defaults = {
    max_length: 100,
    more: 'more',
    less: 'less'
  };
  function recursivelyTruncate(node, max_length) {
    return (node.nodeType == 3) ? truncateText(node, max_length) : truncateNode(node, max_length);
  }
  function truncateNode(node, max_length) {
    var node = $(node);
    var new_node = node.clone().empty();
    var truncatedChild;
    node.contents().each(function() {
      var remaining_length = max_length - new_node.text().length;
      if (remaining_length == 0) return;  // breaks the loop
      truncatedChild = recursivelyTruncate(this, remaining_length);
      if (truncatedChild) new_node.append(truncatedChild);
    });
    return new_node;
  }
  function truncateText(node, max_length) {
    var text = squeeze(node.data);
    if (trailing_whitespace)  // remove initial whitespace if last text
      text = text.replace(/^ /, '');  // node had trailing whitespace.
    trailing_whitespace = !!text.match(/ $/);
    var text = text.slice(0, max_length);
    // Ensure HTML entities are encoded
    // http://debuggable.com/posts/encode-html-entities-with-jquery:480f4dd6-13cc-4ce9-8071-4710cbdd56cb
    text = $('<div/>').text(text).html();
    return text;
  }
  // Collapses a sequence of whitespace into a single space.
  function squeeze(string) {
    return string.replace(/\s+/g, ' ');
  }
  // Finds the last, innermost block-level element
  function findNodeForMore(node) {
    var $node = $(node);
    var last_child = $node.children(":last");
    if (!last_child) return node;
    var display = last_child.css('display');
    if (!display || display=='inline') return $node;
    return findNodeForMore(last_child);
  };
  // Finds the last child if it's a p; otherwise the parent
  function findNodeForLess(node) {
    var $node = $(node);
    var last_child = $node.children(":last");
    if (last_child && last_child.is('p')) return last_child;
    return node;
  };
})(jQuery);

/**
 * jQuery.fn.rewImgSizer
 * version 1.2
 * COPYRIGHT 2010
 *
 * Usage: $('img').rewImgSizer({});
 *
 * Options:
 *
 * scale : Ratio (e.g 1.25)
 * align: 'top left', 'top center', 'top right', 'center', 'center right', 'center left', 'bottom right', 'bottom center' or 'bottom left'
 * scale: 'scale', 'crop', 'fit' or 'none'
 * noUpscale: bollean (true or false)
 * onBeforeShow:
 * onAfterShow:
 *
**/
jQuery.fn.rewImgSizer = function(options) {

	var $self = this;

	var defaults = {
		method: 'crop',
		scale: 1,
		align: 'center',
		effect: 'fadeIn',
		noUpScale: false,
		onBeforeShow: function(){},
		onAfterShow: function(){}
	};

	var options = $.extend(defaults, options);

	$self.resize = function ($img) {

	    $self.show();

		/* photo
		----------------------------------------------------------- */

		var pho_vsize = 1;
		var pho_hsize = 1;
		var pho_width = $img.width();
		var pho_heigh = $img.height();

		// Steve: Generate both to prevent square images
//		if (pho_width > pho_heigh) {
			pho_vsize = Math.round((pho_width / pho_heigh) * 100) / 100;
//		} else{
			pho_hsize = Math.round((pho_heigh / pho_width) * 100) / 100;
//		}

		/* canvas
		----------------------------------------------------------- */

		$can = $img.parent();

		var can_vsize = 1;
		var can_hsize = 1;
		var can_width = $can.width();
		var can_heigh = $can.height();

		// Steve: Generate both to prevent square images
//		if (can_width > can_heigh) {
			can_vsize = Math.round((can_width / can_heigh) * 100) / 100;
//		} else{
			can_hsize = Math.round((can_heigh / can_width) * 100) / 100;
//		}

		/* store in case we want to revert */
		oldmethod = options.method;

		if (options.noUpScale) {
			if(pho_width < can_width && pho_heigh < can_heigh) {
				options.method = 'none';
			}

		}

		/* ect.
		----------------------------------------------------------- */
		//$img.attr('title', 'photo height=' + pho_hsize + '; photo width=' + pho_vsize + '; canvas height=' + can_hsize + '; canvas width=' + can_vsize);

		if (options.method == 'crop') {

			if (pho_hsize > can_hsize) {
				$img.width(can_width);
				$img.height($img.width() * pho_hsize);
			} else if (pho_vsize > can_vsize) {
				$img.height(can_heigh);
				$img.width($img.height() * pho_vsize);
			} else {
				// square 1:1
				$img.width(can_width);
				$img.height($img.width() * pho_hsize);
			}

		} else if (options.method == 'fit') {

			$img.height(can_heigh);
			$img.width(can_width);

		} else if (options.method == 'scale') {

			if (pho_hsize > can_hsize) {
				$img.height(can_heigh);
			} else if (pho_vsize > can_vsize) {
				$img.width(can_width);
			} else {
				// square 1:1
				if (can_hsize > can_vsize) {
					$img.width(can_width);
				} else {
					$img.height(can_heigh);
				}
			}

		} else {

			/* no resize */

		}

		/* SCALE OPTION */
		if (options.scale) {
			sImgH = $img.height() * options.scale;
			sImgW = $img.width() * options.scale;
			$img.width(sImgW);
			$img.height(sImgH);
		}

		$img.css({position:'absolute', left: ''});

		switch (options.align) {

			case 'center':
    			$img.css('top', -($img.height() - can_heigh) / 2 + 'px');
    			$img.css('left', -($img.width() - can_width) / 2 + 'px');
			break;

			case 'top left':
    			$img.css({'top': 0, 'left': 0});
			break;

			case 'top center':
    			$img.css('top', 0);
    			$img.css('left', -($img.width() - can_width) / 2 + 'px');
			break;

			case 'top right':
    			$img.css('top', 0);
    			$img.css('right', 0);
			break;

			case 'center right':
    			$img.css('top', -($img.height() - can_heigh) / 2 + 'px');
    			$img.css('right', 0);
			break;

			case 'center left':
    			$img.css('top', -($img.height() - can_heigh) / 2 + 'px');
    			$img.css('left', 0);
			break;

			case 'bottom right':
    			$img.css('bottom', 0);
    			$img.css('right', 0);
			break;

			case 'bottom center':
    			$img.css('bottom', 0);
    			$img.css('left', -($img.width() - can_width) / 2 + 'px');
			break;

			case 'bottom left':
    			$img.css('bottom', 0);
    			$img.css('left', 0);
			break;

		}

		$img.hide();

		//showImage();

		//function showImage() {
			options.onBeforeShow.call(this);
			$img.fadeIn('slow', options.onAfterShow.call(this));
		//}

		options.method = oldmethod;

	};

    jQuery(this).each(function (i) {

		$img = $(this);
		$img.css({position: 'absolute', left: '-999em'});

		var orgSrc = this.src;
		if (!$.browser.msie) {
			this.src = ""; //ie will do funky things if this is here (show the image as an X, only show half of the image, etc)
		}
		$(this).bind('load', function(){
		    $(this).unbind('load');
			$self.resize($(this));
		});
		if (!$.browser.msie) {
			this.src = orgSrc; //needed for potential cached images
		} else if (this.complete || this.complete === undefined) {
			this.src = orgSrc;
			$(this).trigger('load');
		}

	});

	// allow jQuery chaining
	return this;

};


(function($){

	/* rewIDX_SLIDES */
	$.fn.rewIDX_SLIDES = function(options) {
        return this.each(function() {
            $.innerfade(this, options);
        });
    };

    $.innerfade = function(container, options) {
        var settings = {
            'speed':            'slow',
            'timeout':          5000,
            'order':			'sequential'
        };
        if (options) $.extend(settings, options);

        var elements = $(container).children();

        if (elements.length > 1) {
            $(container).css('position', 'relative');
            for (var i = 0; i < elements.length; i++) {
                $(elements[i]).css('z-index', String(elements.length-i)).css('position', 'absolute').hide();
            };
			setTimeout(function() {
				$.innerfade.next(elements, settings, 1, 0);
			}, settings.timeout);
			$(elements[0]).show();
        }
    };

    $.innerfade.next = function(elements, settings, current, last) {

		if(settings.order == 'random') { elements[current] = elements.get(Math.random()*elements.length())}

		$(elements[last]).fadeOut(settings.speed);
		$(elements[current]).fadeIn(settings.speed, function(){});
		$(elements[current]).find('img').not('.resized').rewIDX_IMGCANVAS({'method':'crop'});

		if ((current + 1) < elements.length) {
			current = current + 1;
			last = current - 1;
		} else {
			current = 0;
			last = elements.length - 1;
		}

        setTimeout((function() {
            $.innerfade.next(elements, settings, current, last);
        }), settings.timeout);
    };

	/* rewIDX_IMGCANVAS */
	jQuery.fn.rewIDX_IMGCANVAS = function(options) {
		var $self = $(this);
		var defaults = {
			method: 'crop',
			align: 'center'
		};
		var options = $.extend(defaults, options);
		jQuery(this).each(function(i) {

			$self.resize = function ($img) {

				/* the canvas */
				$imgCanvas 	= $img.parent();
				$imgCanvasW	= $imgCanvas.width();
				$imgCanvasH	= $imgCanvas.height();

				if($imgCanvasW > $imgCanvasH) {
					$imgCanvasAspect = 'landscape';
					$imgCanvasRatioH = 1;
					$imgCanvasRatioV = Math.round(($imgCanvasW / $imgCanvasH) * 100) / 100;
				} else {
					$imgCanvasAspect = 'portrait';
					$imgCanvasRatioV = 1;
					$imgCanvasRatioH = Math.round(($imgCanvasH / $imgCanvasW) * 100) / 100;
				}

				/* the image */
				$img		= $('img', $imgCanvas);
				$imgW		= $img.width();
				$imgH		= $img.height();
				if($imgW > $imgH) {
					$imgAspect = 'landscape';
					$imgRatioH = 1;
					$imgRatioV = Math.round(($imgW / $imgH) * 100) / 100;
				} else {
					$imgAspect = 'portrait';
					$imgRatioH = 1;
					$imgRatioV = Math.round(($imgW / $imgH) * 100) / 100;
				}

				if(options.method == 'crop'){

						if($imgRatioV > $imgCanvasRatioV) {

							$img.height($imgCanvasH);
							$img.width($img.height() * $imgRatioV);

						} else {

							$img.width($imgCanvasW);
							$img.height($img.width() * Math.round(($imgH / $imgW) * 100) / 100);

						}


						/* recheck and adjust size. easiest this way */
						if($img.height() < $imgCanvasH) {
							$img.height($imgCanvasH);
							$img.width($imgCanvasH * $imgRatioV);
						}

				} else if (options.method == 'scale') {

						if($imgRatioV > $imgCanvasRatioV) {

							$img.width($imgCanvasW);
							$img.height($img.width() * Math.round(($imgH / $imgW) * 100) / 100);

						} else {

							$img.height($imgCanvasH);
							$img.height($img.width() * Math.round(($imgH / $imgW) * 100) / 100);

						}

						/* recheck and adjust size. easiest this way */
						if($img.width() > $imgCanvasW) {
							$img.width($imgCanvasW);
							$img.height($imgCanvasW * Math.round(($imgH / $imgW) * 100) / 100);
						}

				}

				/* SCALE OPTION */
				if (options.scale) {
					sImgH = $img.height() * options.scale;
					sImgW = $img.width() * options.scale;
					$img.width(sImgW); $img.height(sImgH);
				}

				$imgCanvas.css({position: 'relative'});
				$img.css({position: 'absolute'});

				/* ALIGN OPTION */
				switch (options.align) {

					case 'center':
						$img.css('top', -($img.height() - $imgCanvasH) / 2 + 'px');
						$img.css('left', -($img.width() - $imgCanvasW) / 2 + 'px');
					break;

					case 'top left':
						$img.css({'top': 0, 'left': 0});
					break;

					case 'top center':
						$img.css('top', 0);
						$img.css('left', -($img.width() - $imgCanvasW) / 2 + 'px');
					break;

					case 'top right':
						$img.css('top', 0);
						$img.css('right', 0);
					break;

					case 'center right':
						$img.css('top', -($img.height() - $imgCanvasH) / 2 + 'px');
						$img.css('right', 0);
					break;

					case 'center left':
						$img.css('top', -($img.height() - $imgCanvasH) / 2 + 'px');
						$img.css('left', 0);
					break;

					case 'bottom right':
						$img.css('bottom', 0);
						$img.css('right', 0);
					break;

					case 'bottom center':
						$img.css('bottom', 0);
						$img.css('left', -($img.width() - $imgCanvasW) / 2 + 'px');
					break;

					case 'bottom left':
						$img.css('bottom', 0);
						$img.css('left', 0);
					break;

				}

				$img.addClass('resized');

			}

			jQuery(this).each(function (i) {

				$img = $(this);

				var orgSrc = this.src;

				if (!$.browser.msie) {
					this.src = ""; //ie will do funky things if this is here (show the image as an X, only show half of the image, etc)
				}
				$(this).bind('load', function(){
					$(this).unbind('load');
					if($(this).parent().height() > 0) {
						$self.resize($(this));
					}
				});
				if (!$.browser.msie) {
					this.src = orgSrc; //needed for potential cached images
				} else if (this.complete || this.complete === undefined) {
					this.src = orgSrc;
					$(this).trigger('load');
				}

			});

			return this;

		});

	};

})(jQuery);

/**
 * $.splitList
 */
(function($) {
    $.fn.splitList = function(options) {
        var defaults = { itemsPerColumn: 10 };
        var opts = $.extend($.fn.splitList.defaults, options);
        this.each(function() {
            var ul = this;
            var li = $(ul).children("li");
            $(ul).empty();
            for (var i = 0; i < opts.itemsPerColumn; i++) $(ul).append(li[i]);
            var curUl = ul;
            $(curUl).css("float", "left");
            for (var i = 1; i < li.length / opts.itemsPerColumn; i++) {
                var newUl = document.createElement("ul");
                for (var j = opts.itemsPerColumn * i; j < (opts.itemsPerColumn * i) + opts.itemsPerColumn; j++) $(newUl).append(li[j]);
                $(newUl).attr('class', $(curUl).attr('class')).css("float", "left");
                $(curUl).after(newUl);
                curUl = newUl;
            }
        });
    };
})(jQuery);

/*
 * jQuery UI Position 1.8.5
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Position
 */
(function(c){c.ui=c.ui||{};var n=/left|center|right/,o=/top|center|bottom/,t=c.fn.position,u=c.fn.offset;c.fn.position=function(b){if(!b||!b.of)return t.apply(this,arguments);b=c.extend({},b);var a=c(b.of),d=a[0],g=(b.collision||"flip").split(" "),e=b.offset?b.offset.split(" "):[0,0],h,k,j;if(d.nodeType===9){h=a.width();k=a.height();j={top:0,left:0}}else if(d.scrollTo&&d.document){h=a.width();k=a.height();j={top:a.scrollTop(),left:a.scrollLeft()}}else if(d.preventDefault){b.at="left top";h=k=0;j=
{top:b.of.pageY,left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}c.each(["my","at"],function(){var f=(b[this]||"").split(" ");if(f.length===1)f=n.test(f[0])?f.concat(["center"]):o.test(f[0])?["center"].concat(f):["center","center"];f[0]=n.test(f[0])?f[0]:"center";f[1]=o.test(f[1])?f[1]:"center";b[this]=f});if(g.length===1)g[1]=g[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(b.at[0]==="right")j.left+=h;else if(b.at[0]==="center")j.left+=h/
2;if(b.at[1]==="bottom")j.top+=k;else if(b.at[1]==="center")j.top+=k/2;j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,"marginLeft",true))||0,q=parseInt(c.curCSS(this,"marginTop",true))||0,v=l+p+parseInt(c.curCSS(this,"marginRight",true))||0,w=m+q+parseInt(c.curCSS(this,"marginBottom",true))||0,i=c.extend({},j),r;if(b.my[0]==="right")i.left-=l;else if(b.my[0]==="center")i.left-=l/2;if(b.my[1]==="bottom")i.top-=m;else if(b.my[1]===
"center")i.top-=m/2;i.left=parseInt(i.left);i.top=parseInt(i.top);r={left:i.left-p,top:i.top-q};c.each(["left","top"],function(s,x){c.ui.position[g[s]]&&c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(i,{using:b.using}))})};c.ui.position={fit:{left:function(b,a){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();
b.left=d>0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();b.top=d>0?b.top-d:Math.max(b.top-a.collisionPosition.top,b.top)}},flip:{left:function(b,a){if(a.at[0]!=="center"){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();var g=a.my[0]==="left"?-a.elemWidth:a.my[0]==="right"?a.elemWidth:0,e=a.at[0]==="left"?a.targetWidth:-a.targetWidth,h=-2*a.offset[0];
b.left+=a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top<0?g+e+h:d>0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,"position")))b.style.position="relative";var d=
c(b),g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using"in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});return u.call(this)}}})(jQuery);
/**
 * jQuery Facebox Plugin (Redux)
 */
(function($) {

    /* jQuery.fn.facebox */
    $.facebox = function(options) {
        
        /* Instance */
        var $self = this;

        /* Facebox Defaults */
        $self.defaults = {
            opacity      : 0.3,
            overlay      : true,
            modal        : true,
            noclose      : false,
            //
            div          : false,
            ajax         : false,
            image        : false,
            data         : false,
            iframe       : false,
            //
            title        : '&nbsp;',
            css_top      : 'auto', // auto or number of pixels
            css_left     : 'auto', // auto or number of pixels
            loadingImage : '/img/facebox/loading.gif',
            closeImage   : '/img/facebox/closelabel.gif',
            imageTypes   : [ 'png', 'jpg', 'jpeg', 'gif' ],
            faceboxHtml  : '\
                <div id="facebox" style="display:none;"> \
                    <div class="popup"> \
                        <table> \
                          <tbody> \
                            <tr> \
                              <td class="tl"/><td class="b"/><td class="tr"/> \
                            </tr> \
                            <tr> \
                              <td class="b"/> \
                              <td class="body"> \
                                <div class="titlebar"> \
                                  <span class="title">&nbsp;</span> \
                                  <a href="#" class="close">Close</a> \
                                </div> \
                                <div class="content"> \
                                </div> \
                              </td> \
                              <td class="b"/> \
                            </tr> \
                            <tr> \
                              <td class="bl"/><td class="b"/><td class="br"/> \
                            </tr> \
                          </tbody> \
                        </table> \
                      </div> \
                </div>'
        };

        /* Instance Options */
        $self.options = $.extend($self.defaults, options);

        /* Initilized Boolean */
        $self.initilized = false;

        /* $.facebox.makeCompatible */
        $self.makeCompatible = function () {
            $self.options.loadingImage = $self.options.loading_image || $self.options.loadingImage;
            $self.options.closeImage   = $self.options.close_image   || $self.options.closeImage;
            $self.options.imageTypes   = $self.options.image_types   || $self.options.imageTypes;
            $self.options.faceboxHtml  = $self.options.facebox_html  || $self.options.faceboxHtml;
        }

        /* $facebox.close */
        $self.close = function () {
            $(document).unbind('close.facebox');
            $(document).unbind('keydown.facebox');
            $('#facebox').fadeOut(function() {
                $('#facebox .content').removeClass().addClass('content');
                $self.hideOverlay();
                $('#facebox .loading').remove();
            }).remove();
            return false;
        }

        /* $facebox.skipOverlay */
        $self.skipOverlay = function () {
            return $self.options.overlay == false || $self.options.opacity === null;
        }

        /* $facebox.showOverlay */
        $self.showOverlay = function () {
            if ($self.skipOverlay()) return;
            if ($('#facebox_overlay').length == 0) {
                $("body").append('<div id="facebox_overlay" class="facebox_hide"></div>');
            }
            $('#facebox_overlay').hide().addClass("facebox_overlayBG").css('opacity', $self.options.opacity).click(function() {
                if ($self.options.modal != true) {
                    $self.close();
                }
            }).fadeIn(200);
            return false;
        }

        /* $facebox.hideOverlay */
        $self.hideOverlay = function () {
            if ($self.skipOverlay()) return;
            $('#facebox_overlay').fadeOut(200, function() {
                $("#facebox_overlay").removeClass("facebox_overlayBG");
                $("#facebox_overlay").addClass("facebox_hide");
                $("#facebox_overlay").remove();
            });
            return false;
        }

        /* $facebox.fillFaceboxFromHref */
        $self.fillFaceboxFromHref = function (href) {

            // div
            if (href.match(/#/)) {
                var url    = window.location.href.split('#')[0];
                var target = href.replace(url, '');
                if (target == '#') return;
                $self.reveal($(target).html());

            // image
            } else if (href.match($self.options.imageTypesRegexp)) {
                $self.fillFaceboxFromImage(href);

            // ajax
            } else {
                $self.fillFaceboxFromAjax(href);

            }

        }

        /* $facebox.fillFaceboxFromImage */
        $self.fillFaceboxFromImage = function (href) {
            var image = new Image();
            image.onload = function () {
                $self.reveal('<div class="image"><img src="' + image.src + '" /></div>');
            }
            image.src = href;
        }

        /* $facebox.fillFaceboxFromAjax */
        $self.fillFaceboxFromAjax = function (href) {
            $.get(href, function(data) {
                $self.reveal(data);
            });
        }

        /* $facebox.fillFaceboxFromIFrame */
        $self.fillFaceboxFromIFrame = function (href) {
            
            /* Append facebox_Frame=true to URL Query */
            var href = (href.indexOf('?') != -1) ? href + '&facebox_Frame=true' : href + '?facebox_Frame=false';

            /* Remove Existing IFrame */
            $('#facebox-iframe').remove();
            
            /* Build IFrame */
            href = href.replace(/\"/g, "'");
            var iframe = $('<iframe id="facebox-iframe" src="' + href + '" width="100%" height="100" frameborder="0" scrolling="no" style="overflow-x: hidden;" />');
            
            /*
            iframe.load(function () {
                var height = this.contentWindow.document.body.scrollHeight;
                $(this).css('height', height + 'px');
            });
            */
            
            $self.reveal(iframe);

        }

        /* $facebox.reveal */
        $self.reveal = function (data) {
            $('#facebox .content').append(data);
            $('#facebox .loading').remove();
            $('#facebox .body').children().fadeIn('normal');
            if ($self.options.noclose == true) {
                $('#facebox .titlebar a.close').hide();
            } else {
                $('#facebox .titlebar a.close').show();
            }
            $('#facebox').css('left', $(window).width() / 2 - ($('#facebox table').width() / 2));
        }

        /* $facebox.getPageScroll */
        $self.getPageScroll = function () {
            var xScroll, yScroll;
            if (self.pageYOffset) {
                yScroll = self.pageYOffset;
                xScroll = self.pageXOffset;
            } else if (document.documentElement && document.documentElement.scrollTop) {     // Explorer 6 Strict
                yScroll = document.documentElement.scrollTop;
                xScroll = document.documentElement.scrollLeft;
            } else if (document.body) {// all other Explorers
                yScroll = document.body.scrollTop;
                xScroll = document.body.scrollLeft;
            }
            return new Array(xScroll, yScroll);
        }

        /* $facebox.getPageHeight */
        $self.getPageHeight = function () {
            var windowHeight;
            if (self.innerHeight) { // all except Explorer
                windowHeight = self.innerHeight;
            } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
                windowHeight = document.documentElement.clientHeight;
            } else if (document.body) { // other Explorers
                windowHeight = document.body.clientHeight;
            }
            return windowHeight;
        }

        /* $.facebox.init */
        $self.init = function () {

            /* Return if Already Initilized */
            if ($self.initilized) {
                return true;
            } else {
                $self.initilized = true;
            }

            /* Make Compatible */
            $self.makeCompatible();

            var imageTypes = $self.options.imageTypes.join('|');
            $self.options.imageTypesRegexp = new RegExp('\.(' + imageTypes + ')$', 'i');

            /* Append Facebox Content to Document Body */
            $('body').append($self.options.faceboxHtml);

            /* Preload Close & Loading Images */
            var preload = [ new Image(), new Image() ];
            preload[0].src = $self.options.closeImage;
            preload[1].src = $self.options.loadingImage;

            /* Preload Images */
            $('#facebox').find('.b:first, .bl').each(function() {
                preload.push(new Image());
                preload.slice(-1).src = $(this).css('background-image').replace(/url\((.+)\)/, '$1');
            });

            /* Close Button */
            $('#facebox .close').click($self.close);
            $('#facebox .close_image').attr('src', $self.options.closeImage);

        }

        /* $.facebox.loading */
        $self.loading = function() {

            $self.init();

            if ($('#facebox .loading').length == 1) return true;

            $self.showOverlay();

            $('#facebox .content').empty();
            $('#facebox .body').children().hide().end().
            append('<div class="loading"><img src="' + $self.options.loadingImage + '"/></div>')

            $('#facebox').css({
                top:    $self.options.css_top  != 'auto' ? $self.options.css_top  : $self.getPageScroll()[1] + ($self.getPageHeight() / 10),
                left:   $self.options.css_left != 'auto' ? $self.options.css_left : $(window).width() / 2 - 205
            }).show()

            if (typeof($self.options.title) != 'undefined') {
                $('#facebox .titlebar span.title').html($self.options.title);
            }

            if (typeof($self.options.width) != 'undefined') {
                $('#facebox .body').width($self.options.width);
            }

            if (typeof($self.options.height) != 'undefined') {
                $('#facebox .body').height($self.options.height);
            }

            $(document).bind('keydown.facebox', function(e) {
                if ($self.options.modal != true) {
                    if (e.keyCode == 27) {
                        $self.close();
                    }
                }
                return true;
            });
            
            $(document).bind('close.facebox', function(e) {
                $self.close();
            });

        }

        /* Initilize Facebox */
        $self.init();

        /* Loading */
        $self.loading();

        /* AJAX */
        if ($self.options.ajax) {
            $self.fillFaceboxFromAjax($self.options.ajax);

        /* IFrame */
        } else if ($self.options.iframe) {
            $self.fillFaceboxFromIFrame($self.options.iframe);

        /* Image */
        } else if ($self.options.image) {
            $self.fillFaceboxFromImage($self.options.image);

        /* Container */
        } else if ($self.options.div) {
            $self.fillFaceboxFromHref($self.options.div);

        /* Load Data */
        } else {
            $self.reveal($self.options.data);

        }

        /* Return Facebox Instance */
        return $self;

    };

})(jQuery);
/**
 * REW Forms
 */
var rewForm = function (rewform) {
    var l = rewform.length;
    for (var i = 0; i < l; i++) {
        var $form = $(rewform[i]);
        // these three lines cause a strange flash in top left corner (ON search.html ONLY)
        $form.wrapInner('<div class="form-wrap"></div>');
        $form.find('.field').wrapInner('<span class="field-iwrap"></span>');
        $form.find('.field select').wrap('<span class="select-wrap"></span>');
        //
        $form.find('.field input:text,.field input:password').wrap('<span class="input-wrap"></span>');
        $form.find('.field textarea').not('.richtext').wrap('<span class="textarea-wrap"></span>');
        $form.find('.token').wrapInner('<span class="token-iwrap"></span>');
        $form.find('legend').each(function() {
            var content = $(this).html();
            $(this).after('<h4 class="legend">'+ content +'</h4>').hide();
            $(this).remove();
         });
    }
};

$(document).ready(function() {

    /* Skin */
    var skin = 'template-09';

    /* Preload Image */
    $.preloadImages('/img/no-bookmarks.png');

    /* Business Directory, Categories */
    $('#business-directory .directory-categories').splitList({'itemsPerColumn':3});
    
    /* Tooltip Container */
    $('body').append('<div class="tooltip"></div>');

    /* Tabset Events */
    $('#content .tabset li').bind('click', function(event) {
        var target = $(event.target);
        if (target.is('li')) {
            target.find('a').trigger('click');
            return false;
        } else if (target.is('a')) {
            window.location.href = target.attr('href');
        }
    });

    /* Communities Box */
    var colNumber = (skin == 'lec3') ? 2: 3;
    $('.communities-nav ul').easyListSplitter({'colNumber': colNumber});
    $('.communities-nav ul').each(function() {
        $(this).find('li:odd').addClass('odd');
	});

    /* rewImgSizer */
    $('.agent .photos img, .office .photos img').rewImgSizer({method:'crop'});

    /* Refine Search Panels */
    $('#refine-form dl.panel, #quick-search dl.panel').each(function(i){
        $(this).find('dt').append('<span class="ico-panel-trigger"></span>');
        $(this).find('dt').bind('click', function(){
                $(this).parent('dl').toggleClass('open');
            $(this).next('dd').slideToggle();
            });
        });

    $("#content div.item").wrap('<div class="dialog">'+'<div class="bd">'+'<div class="c">'+'<div class="s">'+'</div>'+'</div>'+'</div>'+'</div>');

    $('div.dialog').prepend('<div class="hd">'+'<div class="c"></div>'+'</div>').append('<div class="ft">'+'<div class="c"></div>'+'</div>');


    $('#nav .nav.primary li div').css({'left':'-1px'}).hide();

    $('#nav .nav.primary li').hoverIntent(function() {
        $(this).find('div').show();
    }, function() {
        $(this).find('div').hide();
    });

    $('#content hr').wrap('<div class="hr"></div>');

    $('#content legend').each( function() {
        val = $(this).html();
        $(this).after('<h5 class="legend"><span>' + val + '</span></h5>');
        $(this).html('');
    });

    /* Suckerfish Check */
    if (!$('body').hasClass('enablesuckerfish')) {
        $('#nav ul ul, #nav ul div').remove();
    }

    /* Disable Form Autocomplete */
    $("form").attr("autocomplete", "off");

    /* REW Forms */
    rewForm($('form.rewfw'));

    /* REW Buttons */
    $('#content .actions a.button').each(function(){
        $button = $(this);
        $label = $(this).html();
        $classes = $(this).attr('class').replace('button','');
        $(this).wrap('<div class="button link ' + $classes + '"></div>').after('<span class="label">' + $label + '</span>');
        $(this).find('.button').live('click', function() {
            document.location = $(this).find('a').attr('href');
        });
    });

    /* REW Buttons */
    $('.rewbtn').bind({
        'mousedown'  : function() { $(this).addClass('active'); },
        'mouseleave' : function() { $(this).removeClass('active'); }
    });

//    /* IDX Auto Complete */
//    $('input.autocomplete').each(function () {
//        var multiple = $(this).hasClass('single') ? false : true;
//        $(this).autocomplete('/idx/inc/php/ajax/json.php?search=' + $(this).attr('name'), {
//            extraParams : {
//                'search_city' : function () {
//                    return $('select[name="search_city"]').val();
//                }
//            },
//            cacheLength: 0,
//            multiple: multiple,
//            dataType: 'json',
//            parse: function (data) {
//                var parsed = [];
//                var rows   = data.options;
//                for (var i=0; i < rows.length; i++) {
//                    var row = $.trim(rows[i].title);
//                    if (row) {
//                        row = row.split("|");
//                        parsed[parsed.length] = {
//                            data: row,
//                            value: row[0],
//                            result: row
//                        };
//                    }
//                }
//                return parsed;
//            }
//        });
//    });

    /* Autocomplete Fields */
    $('input.autocomplete').each(function () {
        var $this = $(this), multiple = $this.hasClass('single') ? false : true;
        $this.autocomplete({
            source: function (request, response) {
        		if (multiple) {
        			request.term = request.term.split(/,\s*/).pop();
        		}
                $.getJSON('/idx/inc/php/ajax/json.php?limit=10&search=' + $this.attr('name'), {
                    q : request.term,
                    search_city : function () {
                	    var search_city = $('select[name="search_city"]');
                	    if (search_city.length == 1) {
                	        return search_city.val();
                	    } else {
                	        return '';
                	    }
                    }
                }, function (data) {
                    var parsed = [];
                    var rows   = data.options ? data.options : [];
                    for (var i=0; i < rows.length; i++) {
                        var row = $.trim(rows[i].title);
                        if (row) {
                            row = row.split('|');
                            parsed.push({
                                value: row[0],
                                label: row[0]
                            });
                        }
                    }
                    response(parsed);
                });
            },
            focus: function () {
                return false;
            },
            select: function (event, ui) {
            	if (multiple) {
	                var terms = this.value.split(/,\s*/);
	                terms.pop();
	                terms.push(ui.item.value);
	                terms.push('');
	                this.value = terms.join(', ');
	                return false;
            	}
            }
        });
    });

    /* IDX Nav Toolbar */
    $('#nav-supplementary li a').mouseover(function() { $('.menu').hide(); });
    $('.menu').hover(function() {}, function() { $('.menu').hide(); });

    /* Compact Listings */
    var $compact = $('.compact .listing');
    $compact.live('mouseover', function() { $(this).addClass('hover'); });
    $compact.live('mouseout', function() { $(this).removeClass('hover'); });
    $compact.live('click', function() {
        document.location = $(this).find('a:first').attr('href');
                });

    /* IDX Search Result: Resize Thumbnails */
    $('.set .photos img').rewImgSizer({ method: 'crop', scale: 1 });   

});
/**
 * Set Cookie
 * @param name
 * @param value
 * @param expires
 * @return
 */
var rew_setCookie = function (name, value, expires) {
    if (typeof(expires) == 'undefined') {
        var exp = new Date(); //set new date object
        exp.setTime(exp.getTime() + (1000 * 60 * 60 * 24 * 30)); //set it 30 days ahead
    }
    document.cookie = name + "=" + escape(value) + "; path=/" + ((expires == null) ? "" : "; expires=" + expires.toGMTString());
};

/**
 * Get Cookie
 * @param c_name
 * @return
 */
var rew_getCookie = function (c_name) {
    if (document.cookie.length > 0) {
        c_start = document.cookie.indexOf(c_name + "=");
        if (c_start != -1) {
            c_start = c_start + c_name.length + 1;
            c_end = document.cookie.indexOf(";", c_start);
            if (c_end == -1) c_end = document.cookie.length;
            return unescape(document.cookie.substring(c_start, c_end));
        }
    }
    return "";
};

/**
 * Open Facebox Iframe
 * @param href
 * @return
 */
var openPage = function openPage (href) {
    closeFacebox();
    $.facebox({'iframe' : href});
};

/**
 * Close Facebox
 * @return
 */
var closeFacebox = function () {
    $(document).trigger('close.facebox');
};

/**
 * Re-Load User Search Tools
 * @return
 */
var reloadUserTools = function () {
    $.ajax({
        'url' : '?',
        'success' : function (data) {
            var data = $('#login', data).html();
            if (typeof(data) != 'undefined') {
                $('#login', window.parent.document.body).html(data);
                if (typeof(Cufon) != 'undefined') Cufon.refresh();
            }
        }
    });
};

/**
 * Bookmarking IDX Listing
 * @param mls_number
 * @param container
 * @return
 */
var bookmarkListing = function (mls_number, container) {

    /* POST HTTP Request, Expect JSON */
    $.ajax({
        'url'      : '/idx/inc/php/ajax/json.php?bookmarkListing',
        'type'     : 'POST',
        'dataType' : 'json',
        'data'     : {
            'mls_number' : mls_number
        },
        'error'    : function (XMLHttpRequest, textStatus, errorThrown) {
            alert('An error has occurred. Listing could not be saved.');
            return;
        },
        'success'  : function (json, textStatus) {

            /* Return Code */
            if (json.returnCode == 200) {

                /* Success - Saved */
                if (json.added) $(container).addClass('saved');

                /* Success - Removed */
                if (json.removed) $(container).removeClass('saved');

                /* reload favs menu */
                $('#favs-menu').load('/idx/inc/php/ajax/favourites.php', function () {
                    $(this).addClass('loaded');
                });

            } else {

                /* Require Registration */
                if (json.register) {

                    /* Registration Form Overlay */
                    openPage(json.register);

                } else {

                    /* Error Occurred */
                    alert('An error has occurred. Listing could not be saved.');

                }
            }
            return;
        }
    });

};

/**
 * Save IDX Search
 * @param search
 * @return
 */
var saveSearch = function (search) {

    /* Search Object */
    search = search ? search : {};

    /* Create Container */
    var content  = $('<div />', {
        'id'  : 'save-search'
    });

    /* Create Container */
    var message  = $('<div />', {
        'class'  : 'response'
    });

    /* Create Form */
    var form  = $('<form />', {
        'class'  : 'rewfw',
        'autocomplete' : 'off'
    });
    
    /* Default Title? */
    var search_title = search.search_title ? search.search_title : search.save_prompt;

    /* Search Title */
    var input_text = $('<input />', {
        type  : 'text',
        name  : 'search_title',
        value : (search_title != '') ? search_title : 'My Saved Search'
    });

    /* Wrap Form */
    form.wrapInner('<div class="form-wrap"><fieldset><ul></ul></fieldset><div class="buttonset"><button type="submit" name="search" value="Save Search" class="rewbtn primary"><b><i>Save Search</i></b></button></div></div>');

    /* Add Inputs to Form */
    form.find('ul').append(input_text);

    /* Wrap Form Inputs */
    input_text.wrap('<span class="input-wrap" />').wrap('<li><div class="field rpd-gridcolx6"><span class="field-iwrap"><label>Search Title</label></span></div></li>');

    /* Container Content */
    content.append(message).append(form);

    /* Form Submit Event */
    form.bind('submit', function () {

        /* Reset Message */
        message.html('');

        /* Search Title */
        var search_title = $(this).find('input[name="search_title"]').val();

        /* Set Search Title */
        search.search_title = search_title;

        /* Save Search Action */
        search.save_search = true;

        /* AJAX Request */
        $.ajax({
            'url'      : '/idx/inc/php/ajax/json.php?saveSearch',
            'type'     : 'POST',
            'dataType' : 'json',
            'data'     : search,
            'error'    : function (XMLHttpRequest, textStatus, errorThrown) {
                //alert('AJAX Error');
            },
            'success'  : function (json, textStatus) {
                if (typeof(json) == 'undefined' || !json) return;
                if (json.success) {
                    if (search.create_search && search.lead_id) {
                        window.location = '/backend/leadman/leads/lead_searches.php?lead_id=' + search.lead_id;
                    } else {
                        $(document).trigger('close.facebox');
                        if (json.search) {
                            $('#results-message').html('<p>You are viewing your <strong>"' + search.search_title + '"</strong> saved search. <a href="?edit_search=true&saved_search_id=' + json.search + '">Edit this Search</a></p>');
                        }
                    }
                } else {
                    if (json.error) message.html('<div class="msg errors"><h5 class="title">Oops, There was an Error with your Form Submission!</h5><ul><li>' + json.error + '</li></ul></div>');
                    if (json.redirect) {
                        openPage(json.redirect);
                    }
                }
            }
        });

        /* Return */
        return false;

    });

    /* Trigger Submit */
    if (search.trigger) {
        form.trigger('submit');
    }

    /* Load Facebox */
    $.facebox({
        title : 'Save this Search',
        data : content
    });

    /* Return */
    return;

};

/**
 * Edit IDX Search
 * @param search
 * @return
 */
var editSearch = function (search) {

    /* Search Object */
    search = search ? search : {};

    /* AJAX Request */
    $.ajax({
        'url'      : '/idx/inc/php/ajax/json.php?editSearch',
        'type'     : 'POST',
        'dataType' : 'json',
        'data'     : search,
        'success'  : function (json, textStatus) {
            if (typeof(json) == 'undefined' || !json) return;
            if (json.success) {
                if (search.edit_search && search.lead_id) {
                    window.location = '/backend/leadman/leads/lead_searches.php?lead_id=' + search.lead_id;
                } else if (search.saved_search_id && search.search_by == 'map') {
                    window.location = '/idx/map/' + search.saved_search_id + '/';
                } else if (search.saved_search_id) {
                    window.location = '/idx/search/' + search.saved_search_id + '/';
                }
            } else if (json.error) {
                alert(json.error);
            }
        }
    });

    /* Return */
    return;

};
/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09
 */
var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Copyright (c) 2008 by Jos Buivenga. All rights reserved.
 * 
 * Trademark:
 * Fertigo Pro is a trademark of Jos Buivenga.
 * 
 * Full name:
 * FertigoPro-Regular
 * 
 * Description:
 * Spaced and kerned with iKern.
 * 
 * Manufacturer:
 * Jos Buivenga
 * 
 * Designer:
 * Jos Buivenga
 * 
 * Vendor URL:
 * http://www.josbuivenga.demon.nl
 */
Cufon.registerFont({"w":116,"face":{"font-family":"Fertigo Pro","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 5 0 0 0 0 2 0 4","ascent":"277","descent":"-83","x-height":"5","bbox":"-2 -281 361.124 87.9904","underline-thickness":"18","underline-position":"-18","stemh":"24","stemv":"38","unicode-range":"U+0020-U+00AE"},"glyphs":{" ":{"w":85},"$":{"d":"15,-25v0,-8,5,-23,13,-26v0,0,22,32,59,35r0,-75v-30,-14,-63,-29,-63,-66v0,-36,30,-56,63,-61v0,-18,0,-32,-1,-40v0,0,22,-5,20,7r0,31v19,1,61,7,61,24v0,8,-5,29,-18,33v0,0,-16,-31,-43,-37r0,73v30,13,63,27,63,67v0,37,-30,59,-63,64v-4,20,13,36,-11,36v-13,0,-7,-23,-8,-35v-18,0,-72,-9,-72,-30xm87,-136r0,-64v-34,8,-33,53,0,64xm106,-17v39,-9,30,-51,0,-64r0,64","w":187},"%":{"d":"65,-144v-28,0,-54,-24,-54,-54v0,-30,26,-54,54,-54v29,0,55,24,55,54v0,30,-26,54,-55,54xm78,-17v-4,-2,-31,-13,-16,-25r128,-193v6,4,28,13,16,25xm66,-164v46,0,40,-69,0,-67v-18,0,-34,14,-34,32v0,17,15,35,34,35xm146,-49v0,-30,26,-54,54,-54v29,0,55,24,55,54v0,30,-26,54,-55,54v-28,0,-54,-24,-54,-54xm167,-50v0,17,15,35,34,35v46,0,40,-69,0,-67v-18,0,-34,14,-34,32","w":269},"&":{"d":"87,5v-81,0,-98,-102,-25,-136v-13,-21,-21,-42,-21,-60v0,-44,39,-66,76,-66v47,0,68,27,68,59v0,43,-46,67,-49,60v0,0,12,-21,12,-52v0,-64,-70,-65,-70,-7v0,35,43,85,91,124v21,-36,39,-75,76,-75v9,-4,20,10,15,22v-42,-3,-54,30,-77,64v31,23,61,41,80,46v-3,15,-12,20,-24,20v-22,0,-50,-15,-78,-35v-17,21,-39,36,-74,36xm148,-41v-29,-24,-59,-51,-80,-80v-4,5,-12,22,-12,48v0,55,65,75,92,32","w":277},"'":{"d":"47,-191v-10,3,-35,4,-30,-11v0,-25,3,-49,-1,-72v8,-2,38,-4,31,11r0,72","w":64},"(":{"d":"21,-99v0,-82,36,-153,84,-157v-16,14,-52,72,-52,157v0,88,38,158,54,172v-46,5,-86,-81,-86,-172","k":{"V":-2,"W":-2,"Y":-3}},")":{"d":"10,73v16,-14,54,-84,54,-172v0,-87,-40,-143,-51,-158v48,9,83,75,83,158v1,91,-42,175,-86,172"},"*":{"d":"98,-197v-9,-23,-16,-54,-28,-63v6,-9,16,-14,28,-14v17,20,18,57,0,77xm176,-227v-10,24,-40,45,-68,37v22,-18,36,-40,41,-54v11,0,21,7,27,17xm17,-199v-6,-10,-7,-32,10,-32v23,0,55,17,57,41v-25,-9,-44,-14,-67,-9xm43,-123v-11,0,-20,-7,-26,-17v10,-25,37,-42,67,-39r0,3v-22,17,-36,39,-41,53xm174,-136v-31,3,-61,-15,-66,-40v25,9,43,10,67,8v6,10,5,22,-1,32xm94,-93v-17,-19,-19,-61,2,-77v4,28,16,52,26,63v-6,9,-16,14,-28,14","w":191},"+":{"d":"94,-43v-36,3,-28,-6,-26,-51r-51,1v-2,-5,-4,-29,7,-27v0,0,20,2,44,2v0,-17,-1,-45,-2,-52v1,0,30,-4,28,4v0,0,-2,22,-2,48v17,0,45,-1,51,-2v0,0,4,29,-4,27v0,0,-21,-1,-47,-1v0,18,1,42,2,51","w":159},",":{"d":"-2,31v10,0,38,1,38,-23v0,-15,-19,-9,-19,-30v0,-13,10,-23,23,-23v19,0,28,18,28,37v0,24,-14,51,-44,51v-20,0,-26,-12,-26,-12","w":84,"k":{"7":5,"6":3,"A":-5,"J":2,"T":18,"V":18,"W":18,"Y":21,"v":9,"w":9,"y":9,"B":3,"D":3,"E":3,"F":3,"H":3,"I":3,"K":3,"L":3,"M":3,"N":3,"P":3,"R":3,"C":7,"G":7,"O":7,"Q":7,"U":9,"g":2}},"-":{"d":"27,-87v-1,-6,-3,-29,8,-28v12,2,100,4,119,0v0,1,4,30,-4,28v-15,-2,-101,-4,-123,0","w":181,"k":{"A":8,"J":6,"T":21,"V":14,"W":14,"Y":24,"a":4,"B":5,"D":5,"E":5,"F":5,"H":5,"I":5,"K":5,"L":5,"M":5,"N":5,"P":5,"R":5,"C":2,"G":2,"O":2,"Q":2,"U":5,"S":18,"X":19,"Z":14,"x":5,"z":8}},".":{"d":"17,-21v0,-13,11,-24,24,-24v13,0,25,11,25,24v0,13,-12,25,-25,25v-13,0,-24,-12,-24,-25","w":82,"k":{"7":5,"6":2,"A":-2,"J":2,"T":18,"V":18,"W":18,"Y":21,"v":8,"w":8,"y":8,"B":3,"D":3,"E":3,"F":3,"H":3,"I":3,"K":3,"L":3,"M":3,"N":3,"P":3,"R":3,"C":6,"G":6,"O":6,"Q":6,"U":8,"g":2}},"\/":{"d":"87,-244r-51,304v0,0,-26,2,-26,-10v0,-24,46,-252,51,-302v1,0,30,0,26,8","w":99,"k":{"7":-5}},"0":{"d":"108,5v-56,0,-85,-44,-85,-110v0,-67,30,-115,85,-115v56,0,86,45,86,109v0,68,-31,116,-86,116xm109,-23v28,0,50,-32,50,-79v0,-49,-16,-89,-52,-89v-27,0,-49,31,-49,77v0,50,16,91,51,91","w":216},"1":{"d":"101,-60v-2,56,0,34,40,45v8,-2,6,14,5,17v-29,-3,-99,-3,-129,0v-9,-23,33,-18,41,-24v4,-23,3,-110,3,-148v1,-21,-8,-31,-31,-29v-16,1,-13,-12,-11,-19v27,4,94,0,117,0v9,0,8,9,9,16v-28,3,-44,0,-44,35r0,107","w":162,"k":{"6":2,"4":6}},"2":{"d":"13,0v15,-57,103,-80,103,-149v0,-21,-8,-43,-40,-43v-21,0,-37,11,-50,27v-5,-31,34,-55,65,-55v49,0,71,34,71,67v2,68,-93,100,-112,128v19,-6,67,-7,97,-7v32,0,33,8,36,35","w":195,"k":{"4":6}},"3":{"d":"79,43v-24,0,-62,-12,-60,-42v37,36,103,14,103,-34v0,-32,-27,-59,-66,-64v-1,-16,13,-11,24,-14v40,-9,50,-81,-8,-81v-21,0,-37,11,-50,27v-1,-32,33,-55,65,-55v82,0,93,96,26,114r0,2v89,22,62,147,-34,147","w":191},"4":{"d":"112,-51v-32,-4,-95,7,-106,-13r98,-151v20,-7,48,-1,48,20r0,116v40,3,40,-18,40,7v0,25,-16,22,-40,22v-4,30,12,91,-20,87v-45,-6,-16,15,-20,-88xm42,-78v16,2,45,-6,70,-2v-2,-29,4,-81,-3,-103","w":204,"k":{"7":4,"5":3,"3":2,"1":5}},"5":{"d":"77,43v-24,0,-63,-15,-58,-40v13,10,32,16,48,16v77,-1,80,-131,-1,-131v-12,0,-27,4,-40,3r9,-107v28,1,145,-2,124,-4v0,21,-7,36,-28,36v-48,0,-68,-3,-74,-6r-3,61v59,-10,117,3,117,80v0,50,-40,92,-94,92","w":189},"6":{"d":"154,-66v1,-39,-18,-72,-67,-78v0,0,9,-13,31,-13v52,0,79,37,79,76v0,40,-26,86,-80,86v-64,0,-90,-54,-90,-122v0,-64,37,-140,111,-140v50,0,55,40,47,40v0,0,-16,-18,-37,-18v-53,0,-75,65,-75,125v0,52,16,100,49,100v22,0,32,-28,32,-56","w":214},"7":{"d":"19,40v3,-9,17,-15,31,-37v24,-35,81,-147,90,-187v0,0,-14,4,-104,4v-21,0,-29,-18,-29,-40v2,4,180,5,179,2v-23,65,-85,180,-101,221v-14,37,-33,40,-66,37","w":192,"k":{"4":8,".":15,",":15}},"8":{"d":"24,-59v0,-51,50,-68,53,-61v-21,31,-21,110,28,109v26,0,40,-20,40,-44v0,-79,-115,-58,-115,-133v0,-37,35,-69,79,-69v52,0,79,26,79,64v0,47,-52,66,-54,59v23,-28,13,-107,-27,-107v-18,0,-35,15,-35,46v0,80,118,57,118,127v0,37,-28,73,-84,73v-55,0,-82,-30,-82,-64","w":213},"9":{"d":"60,-149v0,41,21,71,68,79v0,0,-10,12,-32,12v-52,0,-78,-36,-78,-75v0,-40,26,-87,80,-87v64,0,89,54,89,122v0,64,-36,141,-110,141v-50,0,-54,-40,-48,-40v0,0,17,18,38,18v53,0,75,-65,75,-125v0,-52,-16,-100,-49,-100v-22,0,-33,27,-33,55","w":214,"k":{"7":4,"1":2}},":":{"d":"49,-137v-13,0,-25,-11,-25,-24v0,-13,12,-24,25,-24v13,0,24,11,24,24v0,13,-11,24,-24,24xm24,-19v0,-13,12,-24,25,-24v13,0,24,11,24,24v0,13,-11,24,-24,24v-13,0,-25,-11,-25,-24","w":97},";":{"d":"48,-137v-13,0,-24,-11,-24,-24v0,-13,11,-24,24,-24v13,0,25,11,25,24v0,13,-12,24,-25,24xm6,31v10,0,38,1,38,-23v0,-15,-19,-9,-19,-30v0,-13,10,-23,23,-23v19,0,28,18,28,37v0,24,-14,51,-44,51v-20,0,-26,-12,-26,-12","w":99},"<":{"d":"24,-90v-6,-3,-17,-21,-7,-27v5,-3,95,-51,109,-63v0,0,13,14,13,22v1,6,-63,32,-90,53v35,22,91,47,91,52v0,9,-13,23,-13,23v-14,-12,-97,-57,-103,-60","w":157},"=":{"d":"71,-124v-24,-5,-43,13,-43,-11v0,-31,48,-7,89,-14v27,5,43,-15,40,15v-2,23,-15,5,-53,10r-33,0xm71,-68v-24,-5,-43,13,-43,-11v0,-31,48,-7,89,-14v27,5,43,-15,40,15v-2,23,-15,5,-53,10r-33,0","w":186},">":{"d":"30,-30v0,0,-12,-14,-12,-23v-2,-6,60,-28,90,-54v-31,-17,-89,-46,-89,-51v0,-8,12,-22,12,-22v14,12,105,60,110,63v9,7,-3,24,-8,27v-6,3,-89,48,-103,60","w":157},"?":{"d":"59,-65v-19,4,-29,-1,-28,-23v0,-48,57,-67,57,-94v0,-28,-68,-11,-68,-62v1,-2,0,-12,7,-30v3,10,18,18,37,24v46,14,65,33,65,56v0,52,-104,69,-70,129xm24,-18v0,-12,10,-23,22,-23v12,0,22,11,22,23v0,12,-10,22,-22,22v-12,0,-22,-10,-22,-22","w":140},"@":{"d":"244,11v-24,0,-40,-17,-45,-37v-33,60,-109,25,-107,-42v3,-82,67,-135,150,-112v4,3,-23,165,12,166v24,0,51,-32,51,-86v0,-89,-60,-131,-118,-131v-90,0,-134,74,-134,147v0,68,38,143,118,134v-3,18,-5,32,-28,32v-79,0,-124,-81,-124,-156v0,-88,60,-183,172,-183v79,0,145,49,145,148v0,49,-34,120,-92,120xm134,-73v0,20,8,51,33,51v47,0,33,-117,34,-148v-4,0,-67,1,-67,97","w":353},"A":{"d":"205,4v-45,-3,-34,-48,-53,-88v-28,-1,-62,-1,-88,1v-25,73,-18,95,-61,83v-1,-6,8,-7,23,-47r76,-210v0,0,36,2,49,44v19,59,52,166,80,213v0,0,-13,4,-26,4xm69,-103r76,0v-15,-37,-23,-82,-40,-108","w":233,"k":{"T":17,"V":13,"W":13,"Y":19,"v":4,"w":4,"y":4,"C":2,"G":2,"O":2,"Q":2,"U":4,"'":13,"\"":13,",":-2,"-":8,".":-3}},"B":{"d":"35,0v5,-17,6,-216,-2,-253r74,1v100,0,103,75,50,118v31,8,58,28,58,62v0,42,-31,76,-84,76v-26,0,-37,-4,-96,-4xm80,-143v21,0,43,1,62,5v26,-46,14,-102,-61,-95v0,28,-1,58,-1,90xm81,-35v0,15,25,18,39,18v43,0,48,-26,48,-50v0,-48,-43,-59,-88,-60","w":233,"k":{"X":1,"T":4,"V":4,"W":4,"Y":9,"'":4,"\"":4,"-":2}},"C":{"d":"20,-117v0,-70,48,-140,130,-140v51,0,110,29,64,63v-48,-72,-151,-54,-150,59v0,55,29,109,89,109v28,0,57,-9,82,-30v2,30,-47,61,-91,61v-85,0,-124,-59,-124,-122","w":253,"k":{"v":2,"w":2,"y":2,"g":4,"x":1,"-":22,":":2,";":2,"m":1,"n":1,"r":1,"p":1,"s":1}},"D":{"d":"35,0v5,-16,6,-215,-2,-252v120,-4,232,-3,232,126v0,75,-53,129,-122,129v-32,0,-49,-3,-108,-3xm81,-35v0,15,31,17,50,17v55,0,88,-47,88,-102v0,-91,-65,-116,-138,-113r0,198","w":285,"k":{"A":3,"T":4,"V":1,"W":1,"Y":7,"X":6,"Z":4,",":9,"-":2,".":9}},"E":{"d":"35,0v5,-16,6,-215,-2,-252v32,1,148,-1,146,-4v-2,18,-3,30,-29,30v-43,0,-69,-5,-69,-5r0,88v21,0,64,2,76,-4v-1,17,-2,27,-21,27v-19,0,-56,-2,-56,-2r2,98v35,-2,91,1,114,-9v1,27,-3,35,-34,35","w":209,"k":{"v":6,"w":6,"y":6,"C":2,"G":2,"O":2,"Q":2,"U":1,"g":1,"-":18}},"F":{"d":"34,0v7,-12,3,-204,-1,-252v32,1,148,-1,146,-4v-2,18,-4,30,-30,30v-41,0,-68,-5,-68,-5v0,15,-1,54,-1,90v21,0,64,2,77,-3v-1,17,-3,26,-22,26v-19,0,-55,-2,-55,-2r1,99v0,31,-25,26,-47,21","w":185,"k":{"}":-3,"x":11,"p":8,"]":-3,";":5,":":5,",":22,"A":15,"a":8,"v":3,"w":3,"y":3,"g":2,"S":1,"z":12,"'":-2,"\"":-2,"-":11,".":22,"m":8,"n":8,"r":8,"s":3,"f":1,"c":4,"d":4,"e":4,"o":4,"q":4,"t":6,"u":5}},"G":{"d":"20,-118v0,-68,46,-139,130,-139v32,0,84,11,84,34v-1,7,-7,25,-17,30v-49,-74,-153,-54,-153,58v0,72,50,138,131,112v3,-23,3,-85,-4,-93v21,-5,49,-3,48,22v-2,30,3,68,-3,95v-23,-3,-68,4,-88,4v-88,0,-128,-60,-128,-123","w":262,"k":{"v":1,"w":1,"y":1,"-":3}},"H":{"d":"208,-145v0,-30,-2,-97,-6,-107v20,-9,49,-3,49,19v0,31,-2,61,-2,91v0,44,2,126,5,142v-23,7,-48,6,-48,-26v0,-27,2,-62,2,-96r-128,0r1,101v0,31,-25,26,-47,21v7,-12,3,-204,-1,-252v19,-9,49,-3,48,19v0,14,-1,52,-1,88v32,3,96,2,128,0","w":286,"k":{"Y":1,"'":2,"\"":2,"-":5,"m":1,"n":1,"r":1,"p":1,"h":1,"k":1,"j":1,"l":1}},"I":{"d":"37,-132v1,-34,-1,-106,-5,-120v19,-9,49,-3,48,19v0,31,-1,61,-1,91v0,47,0,93,6,141v-22,5,-47,10,-48,-21r0,-110","k":{"Y":1,"'":2,"\"":2,"-":5,"m":1,"n":1,"r":1,"p":1,"h":1,"k":1,"j":1,"l":1}},"J":{"d":"39,-120v0,-31,-4,-116,-6,-132v19,-9,49,-3,48,19r-2,238v2,48,-36,76,-73,69v30,-21,33,-62,33,-194","k":{"'":2,"\"":2,",":3,"-":5,".":2,"m":1,"n":1,"r":1,"p":2,"h":1,"k":1,"j":1,"l":1}},"K":{"d":"34,0v7,-12,3,-204,-1,-252v18,-9,48,-1,48,19v0,14,-5,66,1,98v78,-76,95,-97,99,-118v15,0,37,0,34,11v1,17,-62,64,-98,102v-1,2,84,112,119,137v0,0,-14,5,-35,5v-58,0,-100,-123,-121,-124r1,101v0,31,-25,26,-47,21","w":237,"k":{"v":9,"w":9,"y":9,"C":6,"G":6,"O":6,"Q":6,"U":5,"g":6,",":-4,"-":18,".":-5,"c":5,"d":5,"e":5,"o":5,"q":5,"t":6,"u":2}},"L":{"d":"35,0v6,-13,2,-205,-2,-252v18,-10,48,0,48,19r-1,209v35,-2,91,1,114,-9v1,27,-3,35,-34,35","w":199,"k":{"T":23,"V":23,"W":23,"Y":21,"v":9,"w":9,"y":9,"C":4,"G":4,"O":4,"Q":4,"U":5,"g":1,"'":26,"\"":26,",":-4,"-":26,".":-4}},"M":{"d":"33,0v8,-11,4,-204,0,-252v11,-3,43,-6,48,4r62,108v10,15,10,29,18,34v8,-21,44,-84,67,-129v10,-22,23,-23,49,-18r0,111v0,47,0,94,6,142v-22,5,-47,10,-48,-21r-1,-185v-23,44,-62,114,-75,160v-5,0,-11,0,-13,-3v-22,-50,-63,-108,-86,-155v-3,54,3,124,2,183v7,29,-17,25,-29,21","w":314,"k":{"Y":1,"'":2,"\"":2,"-":5,"m":1,"n":1,"r":1,"p":1,"h":1,"k":1,"j":1,"l":1}},"N":{"d":"214,-67v2,-59,-4,-124,-5,-185v9,-7,37,-3,30,17v0,44,-2,85,-2,142v0,40,0,80,3,93v-6,1,-30,6,-34,-8v-38,-54,-111,-130,-146,-184v-3,54,3,112,2,171v7,29,-17,25,-29,21v8,-11,4,-204,0,-252v9,-3,31,-6,37,3v39,56,106,128,144,182","w":274,"k":{"Y":1,"'":2,"\"":2,"-":5,"m":1,"n":1,"r":1,"p":1,"h":1,"k":1,"j":1,"l":1}},"O":{"d":"20,-120v0,-71,44,-137,130,-137v83,0,126,58,126,118v0,74,-45,144,-131,144v-83,0,-125,-61,-125,-125xm145,-238v-108,3,-101,226,5,224v102,-2,109,-226,-5,-224","w":295,"k":{"A":3,"T":4,"V":1,"W":1,"Y":7,"X":6,"Z":4,",":9,"-":2,".":9}},"P":{"d":"37,-132v1,-35,-1,-107,-5,-121r73,1v66,0,95,36,95,73v0,60,-60,88,-121,81v0,32,2,65,6,98v-22,5,-47,10,-48,-21r0,-111xm79,-115v46,7,76,-27,76,-60v0,-32,-27,-62,-75,-58","w":210,"k":{"X":2,",":28,"A":13,"a":1,"Z":1,"-":11,".":28,"c":1,"d":1,"e":1,"o":1,"q":1}},"Q":{"d":"306,37v12,25,-3,44,-41,44v-30,0,-95,-17,-131,-76v-162,-11,-147,-262,16,-262v176,0,157,252,7,262v27,30,99,50,149,32xm145,-238v-108,3,-101,226,5,224v102,-2,109,-226,-5,-224","w":295,"k":{"}":-6,"]":-14,";":-9,",":9,")":-9,"A":3,"T":4,"V":1,"W":1,"Y":7,"X":6,"Z":4,"-":2,".":9}},"R":{"d":"58,4v-47,-8,-19,12,-19,-104v0,-30,-1,-91,-2,-114v-1,-58,-19,-34,25,-38v71,-7,141,15,138,65v-4,67,-61,68,-59,74v-1,2,65,90,92,110v0,0,-22,5,-32,5v-61,-1,-81,-114,-121,-119v-5,9,21,129,-22,121xm80,-134v40,11,77,3,77,-46v0,-33,-25,-57,-76,-53v-1,30,-1,72,-1,99","w":236,"k":{"T":6,"V":4,"W":4,"Y":8,"v":1,"w":1,"y":1,"C":2,"G":2,"O":2,"Q":2,"U":3,"g":1,"'":2,"\"":2,",":-2,"-":15,".":-3,"c":1,"d":1,"e":1,"o":1,"q":1,"t":1}},"S":{"d":"101,5v-41,0,-107,-18,-74,-56v8,-2,26,34,79,34v35,0,47,-19,47,-38v0,-57,-129,-50,-129,-129v0,-48,45,-73,90,-73v19,0,72,7,72,27v-1,8,-5,25,-17,29v0,0,-23,-37,-62,-37v-24,0,-43,17,-43,40v0,56,130,44,130,127v0,50,-48,76,-93,76","w":212,"k":{"v":2,"w":2,"y":2,"x":2,"-":2,":":2,";":2,"f":1}},"T":{"d":"88,-21r-3,-206v-24,0,-63,0,-79,3v0,-6,-4,-31,7,-30v11,-1,165,7,197,-2v0,2,4,34,-6,30r-73,0v-2,78,-5,150,4,226v-22,5,-47,10,-47,-21","w":215,"k":{"A":16,"V":-1,"W":-1,"a":31,"v":28,"w":28,"y":28,"C":7,"G":7,"O":7,"Q":7,"g":27,"x":29,"z":33,"'":-5,"\"":-5,",":17,"-":20,".":17,":":15,";":15,"m":38,"n":38,"r":38,"p":39,"s":29,"f":1,"c":26,"d":26,"e":26,"o":26,"q":26,"t":26,"u":33,")":-2,"?":-2,"]":-5,"}":-4}},"U":{"d":"35,-109v0,-134,-5,-140,-5,-143v15,-7,48,-4,48,19r0,126v0,59,26,91,67,91v41,0,67,-32,67,-91v0,-53,0,-103,-4,-145v11,-6,37,-5,30,19v0,31,-3,91,-3,121v0,74,-30,117,-99,117v-59,0,-101,-32,-101,-114","w":269,"k":{"A":5,"a":1,",":8,"-":5,".":8,":":2,";":2,"m":3,"n":3,"r":3,"p":3,"u":1,"h":1,"k":1,"j":1}},"V":{"d":"83,-38v-19,-58,-50,-168,-80,-212v0,0,9,-5,33,-5v13,0,26,9,30,24v11,42,42,137,66,190r22,-65v45,-136,41,-149,68,-149v13,0,18,2,17,6v0,0,-14,9,-27,46r-63,173v-6,16,-10,35,-10,35v0,0,-43,-2,-56,-43","w":239,"k":{"A":13,"T":-3,"a":13,"C":3,"G":3,"O":3,"Q":3,"g":11,"x":3,"z":2,"'":-7,"\"":-7,",":18,"-":14,".":18,":":5,";":5,"m":10,"n":10,"r":10,"p":10,"s":11,"c":12,"d":12,"e":12,"o":12,"q":12,"t":4,"u":6,")":-3,"?":-3,"]":-6,"}":-4,"!":-2}},"W":{"d":"83,-38v-19,-58,-50,-168,-80,-212v0,0,9,-5,33,-5v13,0,26,9,30,24v11,42,42,136,66,189v15,-40,35,-98,35,-118v0,-28,-27,-90,-27,-90v0,0,3,-5,26,-5v13,0,27,9,30,24v11,42,34,138,60,189v67,-197,57,-213,89,-213v12,0,17,2,16,6v-36,53,-74,182,-99,254v0,0,-43,-2,-56,-43v-7,-21,-10,-56,-25,-84v-10,38,-35,90,-42,127v0,0,-42,0,-56,-43","w":362,"k":{"A":13,"T":-3,"a":13,"C":3,"G":3,"O":3,"Q":3,"g":11,"x":3,"z":2,"'":-7,"\"":-7,",":18,"-":14,".":18,":":5,";":5,"m":10,"n":10,"r":10,"p":10,"s":11,"c":12,"d":12,"e":12,"o":12,"q":12,"t":4,"u":6,")":-3,"?":-3,"]":-6,"}":-4,"!":-2}},"X":{"d":"33,3v-5,-1,-18,1,-21,-6v22,-11,84,-110,88,-116v-18,-36,-60,-108,-88,-133v0,0,13,-3,30,-3v26,0,30,8,42,22v13,16,22,48,46,79v18,-28,38,-62,46,-79v9,-19,35,-29,54,-17v-22,12,-66,79,-90,118v62,110,92,125,91,131v-66,11,-58,1,-117,-95r-2,0v-47,80,-55,99,-79,99","w":242,"k":{"p":1,"v":10,"w":10,"y":10,"C":6,"G":6,"O":6,"Q":6,"g":6,"-":18,"f":1,"c":5,"d":5,"e":5,"o":5,"q":5,"t":5,"u":3}},"Y":{"d":"230,-252v-23,24,-78,105,-92,131v0,40,1,80,6,121v-22,5,-47,10,-48,-21r0,-99v-24,-27,-66,-102,-92,-132v0,0,11,-3,28,-3v24,0,27,6,35,19v16,27,39,70,60,90v63,-91,44,-117,103,-106","w":233,"k":{"A":18,"a":23,"v":6,"w":6,"y":6,"C":10,"G":10,"O":10,"Q":10,"g":24,"S":2,"x":11,"z":9,"'":-6,"\"":-6,",":20,"-":24,".":20,":":13,";":13,"m":25,"n":25,"r":25,"p":25,"s":22,"f":3,"c":29,"d":29,"e":29,"o":29,"q":29,"t":13,"u":17,")":-3,"?":-2,"]":-6,"}":-5}},"Z":{"d":"19,0v0,-12,0,-20,5,-30v22,-35,93,-158,112,-198v-3,-7,-9,4,-94,2v-21,0,-28,-9,-28,-30v1,3,138,5,178,4v0,12,0,19,-7,31v-45,70,-87,154,-111,198v0,0,8,-4,101,-4v28,0,29,7,28,31v-8,-4,-137,-4,-184,-4","w":216,"k":{"v":3,"w":3,"y":3,"C":4,"G":4,"O":4,"Q":4,"U":1,"g":4,"-":23,"c":2,"d":2,"e":2,"o":2,"q":2,"t":2,"u":1}},"[":{"d":"33,48v-1,-19,5,-254,0,-300r79,0v1,4,3,24,-4,23r-47,0r-1,260r52,0v2,5,3,25,-4,25r-59,0v-7,0,-16,-1,-16,-8","w":123,"k":{"T":-5,"V":-5,"W":-5,"Y":-5}},"\\":{"d":"64,53v-7,-30,-40,-253,-54,-301v0,0,12,-4,21,-4v4,0,6,0,7,3r55,304v-1,1,-27,8,-29,-2","w":102},"]":{"d":"12,31r51,0r-1,-260v-21,-2,-63,11,-50,-23r78,0v-5,47,1,279,0,300v0,7,-9,8,-16,8r-59,0v-7,0,-5,-21,-3,-25","w":122},"_":{"d":"11,31v-4,-37,8,-26,56,-26r141,-1v1,0,6,27,-3,27r-194,0","w":219},"`":{"d":"111,-207v-32,6,-68,-18,-78,-45v0,0,9,-18,28,-18v2,10,24,43,50,63","w":144},"a":{"d":"13,-43v0,-52,59,-67,98,-68v0,-31,-6,-51,-35,-51v-19,0,-37,15,-51,21v6,-22,35,-44,67,-44v79,2,54,65,57,130v0,14,0,40,18,40v9,0,12,-7,15,-4v0,0,-9,23,-40,23v-16,0,-29,-9,-32,-26v-16,40,-97,33,-97,-21xm54,-50v0,45,56,34,56,5v0,-14,1,-34,1,-52v-15,3,-57,9,-57,47","w":181,"k":{"Y":21,"U":2,"T":26,"V":13,"W":13,"v":2,"w":2,"y":2,"'":2,"\"":2,",":-8,".":-9}},"b":{"d":"27,-27v-1,-74,7,-191,-7,-246v42,-4,48,15,48,58v0,29,-5,59,-2,58v0,0,14,-28,58,-28v41,0,66,36,66,82v0,63,-34,108,-106,108v-30,0,-57,-10,-57,-32xm108,-162v-39,0,-43,48,-43,93v0,31,1,58,24,58v39,0,58,-43,58,-84v0,-33,-14,-67,-39,-67","w":205,"k":{"T":28,"V":12,"W":12,"Y":25,"X":8,"Z":3,"x":3,"z":2,"m":1,"n":1,"r":1,"p":1,"f":1,"h":1,"k":1,"j":1}},"c":{"d":"14,-84v0,-55,40,-101,98,-101v15,0,58,6,58,25v-1,7,-5,21,-14,24v0,0,-21,-32,-52,-32v-36,0,-48,39,-48,70v0,42,23,77,60,77v30,0,59,-29,60,-22v0,0,-15,48,-75,48v-48,0,-87,-39,-87,-89","w":187,"k":{"Y":13,"X":1,"T":37,"V":7,"W":7,"-":8}},"d":{"d":"141,-182v3,-27,-7,-91,-7,-92v24,0,47,5,47,27v0,35,-2,69,-2,112v0,32,1,64,2,96v-5,23,21,26,31,20v0,0,-9,23,-40,23v-17,0,-30,-9,-32,-27v0,0,-15,28,-56,28v-41,0,-68,-33,-68,-82v0,-68,47,-117,125,-105xm99,-18v55,0,39,-78,42,-136v0,-11,-11,-13,-24,-13v-38,0,-58,41,-58,81v0,25,7,68,40,68","w":214,"k":{"U":1,"v":1,"w":1,"y":1,",":-6,".":-7}},"e":{"d":"15,-85v0,-50,33,-100,86,-100v48,0,66,27,66,51v0,55,-83,53,-110,40v0,43,20,72,57,72v33,0,55,-25,58,-18v0,0,-13,45,-73,45v-48,0,-84,-37,-84,-90xm57,-112v13,12,67,16,67,-22v0,-17,-7,-35,-28,-35v-26,0,-39,43,-39,57","w":185,"k":{"Y":16,"X":1,"T":35,"V":10,"W":10}},"f":{"d":"76,11v1,49,-37,84,-71,67v22,-9,32,-23,32,-162v0,-73,0,-71,-25,-81r0,-15v15,0,24,-4,24,-22v0,-55,29,-79,72,-79v35,0,65,21,58,43v-28,-33,-97,-27,-90,41v0,5,-1,17,-1,17v16,6,54,-15,45,6v1,24,-24,17,-44,18r0,167","w":122,"k":{"!":-29,"}":-42,"]":-45,"Z":-41,"Y":-51,"X":-44,"U":-23,"T":-51,"S":-15,"J":-20,"?":-35,")":-38,"V":-52,"W":-52,"v":-4,"w":-4,"y":-4,"B":-21,"D":-21,"E":-21,"F":-21,"H":-21,"I":-21,"K":-21,"L":-21,"M":-21,"N":-21,"P":-21,"R":-21,"'":-37,"\"":-37,",":4,"-":4,".":4,"c":2,"d":2,"e":2,"o":2,"q":2}},"g":{"d":"14,34v0,-17,19,-16,31,-16v1,17,12,49,52,49v21,0,44,-9,44,-30v0,-31,-100,-10,-100,-63v0,-15,10,-26,17,-32v-76,-22,-46,-126,36,-126v14,0,27,2,37,6v19,-1,23,-17,25,-38v13,1,27,1,27,15v0,18,-19,28,-36,32v49,44,2,129,-76,113v-33,51,103,8,103,79v0,34,-36,60,-86,60v-49,0,-74,-29,-74,-49xm92,-71v20,0,35,-21,35,-45v0,-28,-11,-51,-38,-51v-20,0,-35,20,-35,44v0,28,11,52,38,52","w":185,"k":{"'":-7,"\"":-7}},"h":{"d":"50,4v-51,0,-13,14,-18,-104v-2,-49,3,-146,-8,-173v70,-14,43,72,46,119v8,-19,37,-31,63,-31v82,0,51,66,51,132v0,16,0,38,18,38v8,0,14,-7,15,-4v0,0,-9,23,-40,23v-16,0,-32,-8,-32,-30v0,-32,1,-54,1,-91v0,-24,-1,-46,-32,-46v-19,0,-43,17,-43,51v0,32,1,57,1,91v0,19,-9,25,-22,25","w":219,"k":{"T":27,"V":14,"W":14,"Y":22,"v":2,"w":2,"y":2,"U":3,"'":2,"\"":2,",":-6,".":-7,"f":1}},"i":{"d":"49,-214v-13,0,-24,-11,-24,-24v0,-13,11,-25,24,-25v13,0,25,12,25,25v0,13,-12,24,-25,24xm30,-26v0,-36,-4,-175,-8,-154v19,-9,49,-1,49,19v0,38,-2,81,-2,108v0,16,0,38,18,38v9,0,12,-7,15,-4v0,0,-9,23,-40,23v-16,0,-32,-8,-32,-30","w":105,"k":{"Y":1,"U":2,"v":1,"w":1,"y":1,",":-6,".":-6}},"j":{"d":"50,-214v-13,0,-24,-11,-24,-24v0,-13,11,-25,24,-25v13,0,25,12,25,25v0,13,-12,24,-25,24xm32,-84v0,-26,-4,-94,-9,-96v19,-9,48,-2,48,19r0,166v2,48,-35,76,-72,69v25,-20,33,-26,33,-158","w":99,"k":{"U":1,"J":1,"f":1,"t":1}},"k":{"d":"167,3v-52,-1,-81,-92,-96,-95v0,0,15,115,-47,92v15,-51,10,-226,1,-274v24,0,47,5,47,27v2,46,-6,100,0,142v40,-40,69,-66,65,-75v2,-2,41,-6,37,4v1,13,-40,36,-71,67v16,25,65,83,92,108v0,0,-8,4,-28,4","w":195,"k":{"Y":12,"U":3,"T":35,"V":7,"W":7,"C":1,"G":1,"O":1,"Q":1,"g":2,",":-5,"-":5,".":-6,"c":3,"d":3,"e":3,"o":3,"q":3}},"l":{"d":"29,-28v2,-63,4,-199,-6,-246v24,0,47,5,47,27v0,36,-2,74,-2,112v0,32,1,64,2,96v-5,23,21,26,31,20v0,0,-9,23,-40,23v-16,0,-32,-8,-32,-32","w":104,"k":{"Y":1,"U":2,"v":1,"w":1,"y":1,",":-5,".":-5,"f":1,"t":1}},"m":{"d":"126,-184v36,0,47,14,50,30v8,-18,34,-30,57,-30v83,0,51,66,51,131v0,16,0,38,18,38v9,0,13,-7,16,-4v0,0,-9,23,-40,23v-16,0,-33,-8,-33,-30v0,-31,1,-52,1,-89v0,-24,0,-47,-30,-47v-54,13,-36,74,-38,128v0,26,-8,32,-14,38v-13,-2,-26,-3,-26,-28v0,-31,1,-54,1,-91v0,-24,-1,-47,-32,-47v-15,0,-36,17,-36,50v0,32,2,57,2,91v0,31,-26,26,-49,21v3,-1,9,-24,9,-88v0,-22,-3,-94,-9,-92v23,-11,52,1,46,26v7,-18,33,-30,56,-30","w":319,"k":{"T":27,"V":14,"W":14,"Y":22,"v":2,"w":2,"y":2,"U":3,"'":2,"\"":2,",":-6,".":-7,"f":1}},"n":{"d":"33,-88v0,-22,-3,-94,-9,-92v23,-11,52,1,46,26v8,-19,37,-31,63,-31v82,0,51,67,51,132v0,16,0,38,18,38v8,0,14,-7,15,-4v0,0,-9,23,-40,23v-16,0,-32,-8,-32,-30v0,-31,1,-52,1,-89v0,-25,-1,-48,-32,-48v-19,0,-43,17,-43,51v0,32,2,57,2,91v0,31,-26,26,-49,21v3,-1,9,-24,9,-88","w":219,"k":{"T":27,"V":14,"W":14,"Y":22,"v":2,"w":2,"y":2,"U":3,"'":2,"\"":2,",":-6,".":-7,"f":1}},"o":{"d":"15,-86v0,-51,33,-99,95,-99v60,0,91,41,91,85v0,54,-33,105,-95,105v-60,0,-91,-44,-91,-91xm106,-169v-65,2,-62,160,4,158v61,-2,66,-159,-4,-158","w":216,"k":{"T":28,"V":12,"W":12,"Y":25,"X":8,"Z":3,"x":3,"z":2,"m":1,"n":1,"r":1,"p":1,"f":1,"h":1,"k":1,"j":1}},"p":{"d":"32,56v0,-44,8,-186,-8,-236v21,-10,51,0,48,23v0,0,14,-28,58,-28v41,0,67,36,67,82v0,67,-45,116,-124,105v-4,27,5,85,6,78v-24,5,-47,11,-47,-24xm114,-162v-53,0,-41,80,-42,138v0,9,11,11,24,11v39,0,57,-41,57,-82v0,-33,-14,-67,-39,-67","w":212,"k":{"T":28,"V":12,"W":12,"Y":25,"X":8,"Z":3,"x":3,"z":2,"m":1,"n":1,"r":1,"p":1,"f":1,"h":1,"k":1,"j":1}},"q":{"d":"16,-73v0,-65,35,-112,106,-112v30,0,58,9,58,30r0,174v0,41,6,60,6,60v-24,5,-48,11,-48,-24v0,-25,3,-53,1,-76v0,0,-16,26,-57,26v-42,0,-66,-36,-66,-78xm98,-18v35,0,43,-48,43,-96v0,-29,-1,-55,-24,-55v-38,0,-58,43,-58,83v0,32,15,68,39,68","w":207,"k":{"Z":1,"Y":27,"U":2,"T":38,"J":1,"V":14,"W":14,"B":1,"D":1,"E":1,"F":1,"H":1,"I":1,"K":1,"L":1,"M":1,"N":1,"P":1,"R":1,"f":1,"t":1}},"r":{"d":"53,4v-33,4,-21,-62,-21,-91v0,-73,-8,-92,-9,-93v26,-13,55,5,46,33v10,-23,35,-37,54,-37v26,0,20,27,12,41v-42,-26,-65,2,-65,59v0,95,30,82,-17,88","w":145,"k":{"Z":25,"Y":7,"X":12,"T":39,"A":8,"a":1,"v":-4,"w":-4,"y":-4,",":12,"-":8,".":12,"c":1,"d":1,"e":1,"o":1,"q":1}},"s":{"d":"76,5v-35,0,-82,-17,-53,-45v0,0,22,26,57,26v23,0,31,-12,31,-25v0,-37,-93,-32,-93,-93v0,-35,33,-53,66,-53v14,0,55,5,55,20v-1,8,-6,22,-15,26v0,0,-18,-31,-45,-31v-16,0,-28,12,-28,28v0,37,93,28,93,92v0,36,-35,55,-68,55","w":158,"k":{"Y":14,"T":29,"V":7,"W":7}},"t":{"d":"85,5v-66,0,-53,-79,-53,-134v0,-31,-3,-32,-17,-36r0,-15v15,0,50,-30,55,-42r8,3r-7,39v13,1,48,0,49,-4v6,32,-20,29,-49,28v0,0,-1,43,-1,70v0,36,3,65,31,65v21,1,36,-19,40,-15v0,0,-12,41,-56,41","w":139,"k":{"Y":10,"T":13,"V":4,"W":4,",":-9,".":-9}},"u":{"d":"98,-17v61,0,42,-124,35,-163v20,-9,50,-2,49,20v0,34,-3,67,-3,108v0,14,1,37,18,37v8,0,14,-7,15,-4v0,0,-9,23,-40,23v-18,0,-28,-13,-31,-30v0,0,-13,31,-57,31v-97,0,-35,-116,-64,-185v19,-8,48,-2,48,19v0,47,-22,144,30,144","w":215,"k":{"Y":21,"U":3,"T":26,"V":12,"W":12,"v":1,"w":1,"y":1,",":-5,".":-6,"f":1}},"v":{"d":"60,-26v-15,-45,-34,-121,-60,-154v16,-4,51,-7,56,12v8,31,31,98,47,138v51,-134,32,-157,63,-153v35,5,10,1,-3,38r-54,150v0,0,-40,-1,-49,-31","w":182,"k":{"A":4,"T":29,"Y":4,"a":1,"X":8,"Z":14,",":8,".":8,"c":1,"d":1,"e":1,"o":1,"q":1}},"w":{"d":"60,-26v-15,-45,-34,-121,-60,-154v17,-4,51,-6,56,14v8,31,30,99,48,137v39,-71,31,-106,10,-151v9,-5,50,-4,50,14v8,28,25,106,45,136v49,-139,30,-153,61,-153v36,0,12,-1,-2,37r-55,151v0,0,-38,-2,-48,-31v-5,-14,-8,-39,-20,-58v-7,26,-26,63,-38,89v0,0,-38,-1,-47,-31","w":286,"k":{"A":4,"T":29,"Y":4,"a":1,"X":8,"Z":14,",":8,".":8,"c":1,"d":1,"e":1,"o":1,"q":1}},"x":{"d":"107,-96v43,77,67,93,66,96v-49,10,-53,2,-91,-67v-41,64,-27,77,-76,67v12,-12,59,-72,66,-85v-12,-26,-42,-76,-61,-95v48,-10,58,7,86,66v13,-21,25,-41,31,-53v-1,-17,41,-21,46,-10v-15,8,-49,53,-67,81","w":182,"k":{"Y":7,"T":32,"V":2,"W":2,"g":2,"-":6,"c":3,"d":3,"e":3,"o":3,"q":3}},"y":{"d":"8,47v44,12,70,-7,84,-46v-12,-3,-27,-10,-32,-27v-15,-45,-34,-120,-59,-154v16,-3,49,-7,54,12v7,31,32,101,48,141v50,-143,31,-156,62,-156v37,0,11,0,-2,38r-53,150v-19,54,-49,78,-79,78v-25,0,-22,-14,-23,-36","w":182,"k":{"A":4,"T":29,"Y":4,"a":1,"X":8,"Z":14,",":8,".":8,"c":1,"d":1,"e":1,"o":1,"q":1}},"z":{"d":"13,0v7,-53,77,-114,90,-161v-29,0,-96,22,-90,-23v0,3,109,5,141,4v0,9,0,13,-6,23v-35,51,-67,104,-87,136v20,6,109,-25,101,24v-1,-2,-115,-3,-149,-3","w":171,"k":{"Y":12,"U":1,"T":36,"V":5,"W":5,"g":1,"-":5,"c":2,"d":2,"e":2,"o":2,"q":2}},"{":{"d":"118,76v-30,27,-79,6,-79,-39v0,-114,-13,-128,-27,-131r0,-8v14,0,27,-18,27,-99v0,-52,51,-73,79,-52v-26,3,-48,18,-47,56v0,97,-32,97,-31,103v0,0,31,2,31,115v0,31,8,60,46,53","w":127,"k":{"T":-2,"V":-3,"W":-3,"Y":-4}},"|":{"d":"59,21v-5,24,15,43,-10,40v-9,0,-16,-2,-16,-10v0,-56,2,-229,2,-264v0,-27,-16,-40,14,-40v9,0,12,2,12,10v0,56,-2,229,-2,264","w":94},"}":{"d":"57,-197v0,-35,-19,-53,-47,-56v29,-21,79,4,79,52v0,81,13,99,27,99r0,8v-14,3,-27,17,-27,131v0,47,-49,65,-79,39v1,-4,3,-1,10,-1v35,0,37,-26,37,-54v0,-117,32,-111,31,-117v0,0,-31,-8,-31,-101","w":127},"\u00a9":{"d":"18,-120v0,-81,56,-137,141,-137v73,0,125,55,125,126v0,81,-56,137,-141,137v-73,0,-125,-55,-125,-126xm46,-125v0,62,46,110,106,110v57,0,104,-47,104,-112v0,-62,-46,-109,-105,-109v-57,0,-105,46,-105,111xm185,-153v-4,-15,-19,-24,-29,-24v-24,0,-39,25,-39,46v0,57,59,63,87,31v-12,65,-118,52,-118,-22v0,-40,31,-73,72,-73v28,0,58,20,27,42","w":301},"\u00ae":{"d":"95,-105v-48,0,-82,-37,-82,-83v0,-53,37,-89,93,-89v47,0,80,35,80,82v0,53,-36,90,-91,90xm102,-120v36,0,67,-30,67,-72v0,-42,-29,-71,-69,-71v-38,0,-69,30,-69,73v0,40,31,70,71,70xm111,-192v11,13,31,46,34,44v-35,15,-33,-30,-59,-42v0,0,9,55,-21,43v4,-7,3,-80,0,-95v29,-2,65,1,65,25v0,11,-8,24,-19,25xm86,-198v14,3,27,1,27,-16v0,-11,-8,-20,-26,-19v0,11,-1,25,-1,35","w":199},"^":{"d":"141,-131v-9,0,-27,-60,-54,-90v-18,29,-31,62,-51,89v-8,0,-22,-12,-22,-12v12,-14,58,-103,61,-108v9,-8,25,-5,29,6v4,6,47,89,59,103v0,0,-13,12,-22,12","w":177},"~":{"d":"135,-80v-49,-4,-80,-32,-115,0v4,-26,21,-44,44,-44v48,2,78,37,114,-1v1,25,-21,46,-43,45","w":198},"#":{"d":"66,-12v2,-17,6,-31,6,-51r-54,1v-2,-7,-2,-31,12,-25r45,1r6,-52r-53,1v-2,-7,-2,-31,12,-25r44,1r5,-56v9,-1,30,1,23,14v-1,14,-4,27,-5,42r56,0r6,-56v9,-1,30,1,23,14v-1,14,-5,27,-6,42r56,-1v2,9,1,30,-12,25r-47,-1r-6,52r55,-1v2,8,2,30,-11,25r-46,-1r-7,66v-8,0,-30,-2,-23,-15r7,-51r-57,0r-6,66v-7,0,-31,-1,-23,-15xm98,-86r56,0r7,-52r-57,0","w":259},"!":{"d":"64,-65v-45,11,-28,-60,-28,-96v0,-51,-10,-90,-19,-106v23,-7,60,-1,61,19v3,57,-33,127,-14,183xm29,-18v0,-12,10,-23,22,-23v12,0,22,11,22,23v0,12,-10,22,-22,22v-12,0,-22,-10,-22,-22","w":100},"\"":{"d":"104,-191v-10,4,-35,3,-30,-11v0,-25,3,-49,-1,-72v8,-2,38,-4,31,11r0,72xm47,-191v-10,3,-35,4,-30,-11v0,-25,3,-49,-1,-72v8,-2,38,-4,31,11r0,72","w":121},"\u00a0":{"w":85}}});

$(document).ready(function(){

	Cufon.replace('#content h1', {
		textShadow: '1px 2px #eee'
	});

	Cufon.replace('#content h2', {
		textShadow: '1px 2px #eee'
	});

	Cufon.replace('#qs-title h3', {
		textShadow: '.5px .5px #ffffff'
	});

	Cufon.replace('#content .communities-nav h4', {
		textShadow: '.5px .5px #D1CBA7'
	});

	Cufon.replace('.blog-entry	h4', {
		textShadow: '.5px .5px #dddddd'
	});

	Cufon.replace('#tagline');
	Cufon.replace('#tagline em', {
		textShadow: '.5px .5px #9F9D81'
	});

	$("#sidebar .nav li:last-child").css({borderBottom:"none"});
    $("#sidebar .nav li:first-child").css({borderTop:"none"});

    $("#content .communities-nav ul").each(function() {
    	$(this).find('li:even').addClass("even");
    });

});

