// jCarousel 
(function(i){i.fn.jcarousel=function(a){if(typeof a=="string"){var c=i(this).data("jcarousel"),b=Array.prototype.slice.call(arguments,1);return c[a].apply(c,b)}else return this.each(function(){i(this).data("jcarousel",new h(this,a))})};var p={vertical:false,rtl:false,start:1,offset:1,size:null,scroll:3,visible:null,animation:"normal",easing:"swing",auto:0,wrap:null,initCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null, itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,buttonNextHTML:"<div></div>",buttonPrevHTML:"<div></div>",buttonNextEvent:"click",buttonPrevEvent:"click",buttonNextCallback:null,buttonPrevCallback:null,itemFallbackDimension:null},q=false;i(window).bind("load.jcarousel",function(){q=true});i.jcarousel=function(a,c){this.options=i.extend({},p,c||{});this.locked=false;this.buttonPrev=this.buttonNext=this.list=this.clip=this.container=null;if(!c||c.rtl===undefined)this.options.rtl= (i(a).attr("dir")||i("html").attr("dir")||"").toLowerCase()=="rtl";this.wh=!this.options.vertical?"width":"height";this.lt=!this.options.vertical?this.options.rtl?"right":"left":"top";for(var b="",d=a.className.split(" "),e=0;e<d.length;e++)if(d[e].indexOf("jcarousel-skin")!=-1){i(a).removeClass(d[e]);b=d[e];break}if(a.nodeName.toUpperCase()=="UL"||a.nodeName.toUpperCase()=="OL"){this.list=i(a);this.container=this.list.parent();if(this.container.hasClass("jcarousel-clip")){if(!this.container.parent().hasClass("jcarousel-container"))this.container= this.container.wrap("<div></div>");this.container=this.container.parent()}else if(!this.container.hasClass("jcarousel-container"))this.container=this.list.wrap("<div></div>").parent()}else{this.container=i(a);this.list=this.container.find("ul,ol").eq(0)}b!=""&&this.container.parent()[0].className.indexOf("jcarousel-skin")==-1&&this.container.wrap('<div class=" '+b+'"></div>');this.clip=this.list.parent();if(!this.clip.length||!this.clip.hasClass("jcarousel-clip"))this.clip=this.list.wrap("<div></div>").parent(); this.buttonNext=i(".jcarousel-next",this.container);if(this.buttonNext.size()==0&&this.options.buttonNextHTML!=null)this.buttonNext=this.clip.after(this.options.buttonNextHTML).next();this.buttonNext.addClass(this.className("jcarousel-next"));this.buttonPrev=i(".jcarousel-prev",this.container);if(this.buttonPrev.size()==0&&this.options.buttonPrevHTML!=null)this.buttonPrev=this.clip.after(this.options.buttonPrevHTML).next();this.buttonPrev.addClass(this.className("jcarousel-prev"));this.clip.addClass(this.className("jcarousel-clip")).css({overflow:"hidden", position:"relative"});this.list.addClass(this.className("jcarousel-list")).css({overflow:"hidden",position:"relative",top:0,margin:0,padding:0}).css(this.options.rtl?"right":"left",0);this.container.addClass(this.className("jcarousel-container")).css({position:"relative"});!this.options.vertical&&this.options.rtl&&this.container.addClass("jcarousel-direction-rtl").attr("dir","rtl");var f=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null;b=this.list.children("li");var g= this;if(b.size()>0){var j=0;e=this.options.offset;b.each(function(){g.format(this,e++);j+=g.dimension(this,f)});this.list.css(this.wh,j+100+"px");if(!c||c.size===undefined)this.options.size=b.size()}this.container.css("display","block");this.buttonNext.css("display","block");this.buttonPrev.css("display","block");this.funcNext=function(){g.next()};this.funcPrev=function(){g.prev()};this.funcResize=function(){g.reload()};this.options.initCallback!=null&&this.options.initCallback(this,"init");if(!q&& i.browser.safari){this.buttons(false,false);i(window).bind("load.jcarousel",function(){g.setup()})}else this.setup()};var h=i.jcarousel;h.fn=h.prototype={jcarousel:"0.2.5"};h.fn.extend=h.extend=i.extend;h.fn.extend({setup:function(){this.prevLast=this.prevFirst=this.last=this.first=null;this.animating=false;this.tail=this.timer=null;this.inTail=false;if(!this.locked){this.list.css(this.lt,this.pos(this.options.offset)+"px");var a=this.pos(this.options.start);this.prevFirst=this.prevLast=null;this.animate(a, false);i(window).unbind("resize.jcarousel",this.funcResize).bind("resize.jcarousel",this.funcResize)}},reset:function(){this.list.empty();this.list.css(this.lt,"0px");this.list.css(this.wh,"10px");this.options.initCallback!=null&&this.options.initCallback(this,"reset");this.setup()},reload:function(){this.tail!=null&&this.inTail&&this.list.css(this.lt,h.intval(this.list.css(this.lt))+this.tail);this.tail=null;this.inTail=false;this.options.reloadCallback!=null&&this.options.reloadCallback(this);if(this.options.visible!= null){var a=this,c=Math.ceil(this.clipping()/this.options.visible),b=0,d=0;this.list.children("li").each(function(e){b+=a.dimension(this,c);if(e+1<a.first)d=b});this.list.css(this.wh,b+"px");this.list.css(this.lt,-d+"px")}this.scroll(this.first,false)},lock:function(){this.locked=true;this.buttons()},unlock:function(){this.locked=false;this.buttons()},size:function(a){if(a!=undefined){this.options.size=a;this.locked||this.buttons()}return this.options.size},has:function(a,c){if(c==undefined||!c)c= a;if(this.options.size!==null&&c>this.options.size)c=this.options.size;for(var b=a;b<=c;b++){var d=this.get(b);if(!d.length||d.hasClass("jcarousel-item-placeholder"))return false}return true},get:function(a){return i(".jcarousel-item-"+a,this.list)},add:function(a,c){var b=this.get(a),d=0,e=i(c);if(b.length==0){var f;b=this.create(a);for(var g=h.intval(a);f=this.get(--g);)if(g<=0||f.length){g<=0?this.list.prepend(b):f.after(b);break}}else d=this.dimension(b);if(e.get(0).nodeName.toUpperCase()=="LI"){b.replaceWith(e); b=e}else b.empty().append(c);this.format(b.removeClass(this.className("jcarousel-item-placeholder")),a);e=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null;d=this.dimension(b,e)-d;a>0&&a<this.first&&this.list.css(this.lt,h.intval(this.list.css(this.lt))-d+"px");this.list.css(this.wh,h.intval(this.list.css(this.wh))+d+"px");return b},remove:function(a){var c=this.get(a);if(!(!c.length||a>=this.first&&a<=this.last)){var b=this.dimension(c);a<this.first&&this.list.css(this.lt, h.intval(this.list.css(this.lt))+b+"px");c.remove();this.list.css(this.wh,h.intval(this.list.css(this.wh))-b+"px")}},next:function(){this.stopAuto();this.tail!=null&&!this.inTail?this.scrollTail(false):this.scroll((this.options.wrap=="both"||this.options.wrap=="last")&&this.options.size!=null&&this.last==this.options.size?1:this.first+this.options.scroll)},prev:function(){this.stopAuto();this.tail!=null&&this.inTail?this.scrollTail(true):this.scroll((this.options.wrap=="both"||this.options.wrap== "first")&&this.options.size!=null&&this.first==1?this.options.size:this.first-this.options.scroll)},scrollTail:function(a){if(!(this.locked||this.animating||!this.tail)){var c=h.intval(this.list.css(this.lt));!a?c-=this.tail:c+=this.tail;this.inTail=!a;this.prevFirst=this.first;this.prevLast=this.last;this.animate(c)}},scroll:function(a,c){this.locked||this.animating||this.animate(this.pos(a),c)},pos:function(a){var c=h.intval(this.list.css(this.lt));if(this.locked||this.animating)return c;if(this.options.wrap!= "circular")a=a<1?1:this.options.size&&a>this.options.size?this.options.size:a;for(var b=this.first>a,d=this.options.wrap!="circular"&&this.first<=1?1:this.first,e=b?this.get(d):this.get(this.last),f=b?d:d-1,g=null,j=0,l=false,k=0;b?--f>=a:++f<a;){g=this.get(f);l=!g.length;if(g.length==0){g=this.create(f).addClass(this.className("jcarousel-item-placeholder"));e[b?"before":"after"](g);if(this.first!=null&&this.options.wrap=="circular"&&this.options.size!==null&&(f<=0||f>this.options.size)){e=this.get(this.index(f)); if(e.length)g=this.add(f,e.clone(true))}}e=g;k=this.dimension(g);if(l)j+=k;if(this.first!=null&&(this.options.wrap=="circular"||f>=1&&(this.options.size==null||f<=this.options.size)))c=b?c+k:c-k}d=this.clipping();var o=[],n=0;f=a;var m=0;for(e=this.get(a-1);++n;){g=this.get(f);l=!g.length;if(g.length==0){g=this.create(f).addClass(this.className("jcarousel-item-placeholder"));e.length==0?this.list.prepend(g):e[b?"before":"after"](g);if(this.first!=null&&this.options.wrap=="circular"&&this.options.size!== null&&(f<=0||f>this.options.size)){e=this.get(this.index(f));if(e.length)g=this.add(f,e.clone(true))}}e=g;k=this.dimension(g);if(k==0)throw Error("jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...");if(this.options.wrap!="circular"&&this.options.size!==null&&f>this.options.size)o.push(g);else if(l)j+=k;m+=k;if(m>=d)break;f++}for(g=0;g<o.length;g++)o[g].remove();if(j>0){this.list.css(this.wh,this.dimension(this.list)+j+"px");if(b){c-=j;this.list.css(this.lt,h.intval(this.list.css(this.lt))- j+"px")}}j=a+n-1;if(this.options.wrap!="circular"&&this.options.size&&j>this.options.size)j=this.options.size;if(f>j){n=0;f=j;for(m=0;++n;){g=this.get(f--);if(!g.length)break;m+=this.dimension(g);if(m>=d)break}}f=j-n+1;if(this.options.wrap!="circular"&&f<1)f=1;if(this.inTail&&b){c+=this.tail;this.inTail=false}this.tail=null;if(this.options.wrap!="circular"&&j==this.options.size&&j-n+1>=1){b=h.margin(this.get(j),!this.options.vertical?"marginRight":"marginBottom");if(m-b>d)this.tail=m-d-b}for(;a-- > f;)c+=this.dimension(this.get(a));this.prevFirst=this.first;this.prevLast=this.last;this.first=f;this.last=j;return c},animate:function(a,c){if(!(this.locked||this.animating)){this.animating=true;var b=this,d=function(){b.animating=false;a==0&&b.list.css(b.lt,0);if(b.options.wrap=="circular"||b.options.wrap=="both"||b.options.wrap=="last"||b.options.size==null||b.last<b.options.size)b.startAuto();b.buttons();b.notify("onAfterAnimation");if(b.options.wrap=="circular"&&b.options.size!==null)for(var e= b.prevFirst;e<=b.prevLast;e++)if(e!==null&&!(e>=b.first&&e<=b.last)&&(e<1||e>b.options.size))b.remove(e)};this.notify("onBeforeAnimation");if(!this.options.animation||c==false){this.list.css(this.lt,a+"px");d()}else this.list.animate(!this.options.vertical?this.options.rtl?{right:a}:{left:a}:{top:a},this.options.animation,this.options.easing,d)}},startAuto:function(a){if(a!=undefined)this.options.auto=a;if(this.options.auto==0)return this.stopAuto();if(this.timer==null){var c=this;this.timer=setTimeout(function(){c.next()}, this.options.auto*1E3)}},stopAuto:function(){if(this.timer!=null){clearTimeout(this.timer);this.timer=null}},buttons:function(a,c){if(a==undefined||a==null){a=!this.locked&&this.options.size!==0&&(this.options.wrap&&this.options.wrap!="first"||this.options.size==null||this.last<this.options.size);if(!this.locked&&(!this.options.wrap||this.options.wrap=="first")&&this.options.size!=null&&this.last>=this.options.size)a=this.tail!=null&&!this.inTail}if(c==undefined||c==null){c=!this.locked&&this.options.size!== 0&&(this.options.wrap&&this.options.wrap!="last"||this.first>1);if(!this.locked&&(!this.options.wrap||this.options.wrap=="last")&&this.options.size!=null&&this.first==1)c=this.tail!=null&&this.inTail}var b=this;this.buttonNext[a?"bind":"unbind"](this.options.buttonNextEvent+".jcarousel",this.funcNext)[a?"removeClass":"addClass"](this.className("jcarousel-next-disabled")).attr("disabled",a?false:true);this.buttonPrev[c?"bind":"unbind"](this.options.buttonPrevEvent+".jcarousel",this.funcPrev)[c?"removeClass": "addClass"](this.className("jcarousel-prev-disabled")).attr("disabled",c?false:true);this.options.buttonNextCallback!=null&&this.buttonNext.data("jcarouselstate")!=a&&this.buttonNext.each(function(){b.options.buttonNextCallback(b,this,a)}).data("jcarouselstate",a);this.options.buttonPrevCallback!=null&&this.buttonPrev.data("jcarouselstate")!=c&&this.buttonPrev.each(function(){b.options.buttonPrevCallback(b,this,c)}).data("jcarouselstate",c)},notify:function(a){var c=this.prevFirst==null?"init":this.prevFirst< this.first?"next":"prev";this.callback("itemLoadCallback",a,c);if(this.prevFirst!==this.first){this.callback("itemFirstInCallback",a,c,this.first);this.callback("itemFirstOutCallback",a,c,this.prevFirst)}if(this.prevLast!==this.last){this.callback("itemLastInCallback",a,c,this.last);this.callback("itemLastOutCallback",a,c,this.prevLast)}this.callback("itemVisibleInCallback",a,c,this.first,this.last,this.prevFirst,this.prevLast);this.callback("itemVisibleOutCallback",a,c,this.prevFirst,this.prevLast, this.first,this.last)},callback:function(a,c,b,d,e,f,g){if(!(this.options[a]==undefined||typeof this.options[a]!="object"&&c!="onAfterAnimation")){var j=typeof this.options[a]=="object"?this.options[a][c]:this.options[a];if(i.isFunction(j)){var l=this;if(d===undefined)j(l,b,c);else if(e===undefined)this.get(d).each(function(){j(l,this,d,b,c)});else for(var k=d;k<=e;k++)k!==null&&!(k>=f&&k<=g)&&this.get(k).each(function(){j(l,this,k,b,c)})}}},create:function(a){return this.format("<li></li>",a)},format:function(a, c){a=i(a);for(var b=a.get(0).className.split(" "),d=0;d<b.length;d++)b[d].indexOf("jcarousel-")!=-1&&a.removeClass(b[d]);a.addClass(this.className("jcarousel-item")).addClass(this.className("jcarousel-item-"+c)).css({"float":this.options.rtl?"right":"left","list-style":"none"}).attr("jcarouselindex",c);return a},className:function(a){return a+" "+a+(!this.options.vertical?"-horizontal":"-vertical")},dimension:function(a,c){var b=a.jquery!=undefined?a[0]:a,d=!this.options.vertical?(b.offsetWidth|| h.intval(this.options.itemFallbackDimension))+h.margin(b,"marginLeft")+h.margin(b,"marginRight"):(b.offsetHeight||h.intval(this.options.itemFallbackDimension))+h.margin(b,"marginTop")+h.margin(b,"marginBottom");if(c==undefined||d==c)return d;d=!this.options.vertical?c-h.margin(b,"marginLeft")-h.margin(b,"marginRight"):c-h.margin(b,"marginTop")-h.margin(b,"marginBottom");i(b).css(this.wh,d+"px");return this.dimension(b)},clipping:function(){return!this.options.vertical?this.clip[0].offsetWidth-h.intval(this.clip.css("borderLeftWidth"))- h.intval(this.clip.css("borderRightWidth")):this.clip[0].offsetHeight-h.intval(this.clip.css("borderTopWidth"))-h.intval(this.clip.css("borderBottomWidth"))},index:function(a,c){if(c==undefined)c=this.options.size;return Math.round(((a-1)/c-Math.floor((a-1)/c))*c)+1}});h.extend({defaults:function(a){return i.extend(p,a||{})},margin:function(a,c){if(!a)return 0;var b=a.jquery!=undefined?a[0]:a;if(c=="marginRight"&&i.browser.safari){var d={display:"block","float":"none",width:"auto"},e,f;i.swap(b,d, function(){e=b.offsetWidth});d.marginRight=0;i.swap(b,d,function(){f=b.offsetWidth});return f-e}return h.intval(i.css(b,c))},intval:function(a){a=parseInt(a);return isNaN(a)?0:a}})})(jQuery);
// ColorBox
(function(b,gb){var v="none",t="click",N="LoadedContent",d=false,x="resize.",o="y",u="auto",f=true,M="nofollow",q="on",n="x";function e(a,c){a=a?' id="'+k+a+'"':"";c=c?' style="'+c+'"':"";return b("<div"+a+c+"/>")}function p(a,b){b=b===n?m.width():m.height();return typeof a==="string"?Math.round(a.match(/%/)?b/100*parseInt(a,10):parseInt(a,10)):a}function Q(c){c=b.isFunction(c)?c.call(h):c;return a.photo||c.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function cb(){for(var c in a)if(b.isFunction(a[c])&&c.substring(0,2)!==q)a[c]=a[c].call(h);a.rel=a.rel||h.rel||M;a.href=a.href||b(h).attr("href");a.title=a.title||h.title}function db(d){h=d;a=b.extend({},b(h).data(r));cb();if(a.rel!==M){i=b("."+H).filter(function(){return (b(this).data(r).rel||this.rel)===a.rel});g=i.index(h);if(g===-1){i=i.add(h);g=i.length-1}}else{i=b(h);g=0}if(!w){w=F=f;R=h;try{R.blur()}catch(e){}b.event.trigger(hb);a.onOpen&&a.onOpen.call(h);y.css({opacity:+a.opacity,cursor:a.overlayClose?"pointer":u}).show();a.w=p(a.initialWidth,n);a.h=p(a.initialHeight,o);c.position(0);S&&m.bind(x+O+" scroll."+O,function(){y.css({width:m.width(),height:m.height(),top:m.scrollTop(),left:m.scrollLeft()})}).trigger("scroll."+O)}T.add(I).add(J).add(z).add(U).hide();V.html(a.close).show();c.slideshow();c.load()}var eb={transition:"elastic",speed:300,width:d,initialWidth:"600",innerWidth:d,maxWidth:d,height:d,initialHeight:"450",innerHeight:d,maxHeight:d,scalePhotos:f,scrolling:f,inline:d,html:d,iframe:d,photo:d,href:d,title:d,rel:d,opacity:.9,preloading:f,current:"Foto {current} van {total}",previous:"Vorige",next:"Volgende",close:"Sluiten",open:d,loop:f,slideshow:d,slideshowAuto:f,slideshowSpeed:2500,slideshowStart:"Start slideshow",slideshowStop:"Stop slideshow",onOpen:d,onLoad:d,onComplete:d,onCleanup:d,onClosed:d,overlayClose:f,escKey:f,arrowKey:f},r="colorbox",k="cbox",hb=k+"_open",P=k+"_load",W=k+"_complete",X=k+"_cleanup",fb=k+"_closed",G=b.browser.msie&&!b.support.opacity,S=G&&b.browser.version<7,O=k+"_IE6",y,j,E,s,Y,Z,ab,bb,i,m,l,K,L,U,T,z,J,I,V,C,D,A,B,h,R,g,a,w,F,c,H=k+"Element";c=b.fn[r]=b[r]=function(c,d){var a=this;if(!a[0]&&a.selector)return a;c=c||{};if(d)c.onComplete=d;if(!a[0]||a.selector===undefined){a=b("<a/>");c.open=f}a.each(function(){b(this).data(r,b.extend({},b(this).data(r)||eb,c)).addClass(H)});c.open&&db(a[0]);return a};c.init=function(){var h="hover";m=b(gb);j=e().attr({id:r,"class":G?k+"IE":""});y=e("Overlay",S?"position:absolute":"").hide();E=e("Wrapper");s=e("Content").append(l=e(N,"width:0; height:0"),L=e("LoadingOverlay").add(e("LoadingGraphic")),U=e("Title"),T=e("Current"),J=e("Next"),I=e("Previous"),z=e("Slideshow"),V=e("Close"));E.append(e().append(e("TopLeft"),Y=e("TopCenter"),e("TopRight")),e().append(Z=e("MiddleLeft"),s,ab=e("MiddleRight")),e().append(e("BottomLeft"),bb=e("BottomCenter"),e("BottomRight"))).children().children().css({"float":"left"});K=e(d,"position:absolute; width:9999px; visibility:hidden; display:none");b("body").prepend(y,j.append(E,K));s.children().hover(function(){b(this).addClass(h)},function(){b(this).removeClass(h)}).addClass(h);C=Y.height()+bb.height()+s.outerHeight(f)-s.height();D=Z.width()+ab.width()+s.outerWidth(f)-s.width();A=l.outerHeight(f);B=l.outerWidth(f);j.css({"padding-bottom":C,"padding-right":D}).hide();J.click(c.next);I.click(c.prev);V.click(c.close);s.children().removeClass(h);b("."+H).live(t,function(a){if(a.button!==0&&typeof a.button!=="undefined"||a.ctrlKey||a.shiftKey||a.altKey)return f;else{db(this);return d}});y.click(function(){a.overlayClose&&c.close()});b(document).bind("keydown",function(b){if(w&&a.escKey&&b.keyCode===27){b.preventDefault();c.close()}if(w&&a.arrowKey&&!F&&i[1])if(b.keyCode===37&&(g||a.loop)){b.preventDefault();I.click()}else if(b.keyCode===39&&(g<i.length-1||a.loop)){b.preventDefault();J.click()}})};c.remove=function(){j.add(y).remove();b("."+H).die(t).removeData(r).removeClass(H)};c.position=function(f,b){function c(a){Y[0].style.width=bb[0].style.width=s[0].style.width=a.style.width;L[0].style.height=L[1].style.height=s[0].style.height=Z[0].style.height=ab[0].style.height=a.style.height}var e,h=Math.max(m.height()-a.h-A-C,0)/2+m.scrollTop(),g=Math.max(m.width()-a.w-B-D,0)/2+m.scrollLeft();e=j.width()===a.w+B&&j.height()===a.h+A?0:f;E[0].style.width=E[0].style.height="9999px";j.dequeue().animate({width:a.w+B,height:a.h+A,top:h,left:g},{duration:e,complete:function(){c(this);F=d;E[0].style.width=a.w+B+D+"px";E[0].style.height=a.h+A+C+"px";b&&b()},step:function(){c(this)}})};c.resize=function(b){if(w){b=b||{};if(b.width)a.w=p(b.width,n)-B-D;if(b.innerWidth)a.w=p(b.innerWidth,n);l.css({width:a.w});if(b.height)a.h=p(b.height,o)-A-C;if(b.innerHeight)a.h=p(b.innerHeight,o);if(!b.innerHeight&&!b.height){b=l.wrapInner("<div style='overflow:auto'></div>").children();a.h=b.height();b.replaceWith(b.children())}l.css({height:a.h});c.position(a.transition===v?0:a.speed)}};c.prep=function(o){var d="hidden";function n(t){var o,q,s,n,d=i.length,e=a.loop;c.position(t,function(){function t(){G&&j[0].style.removeAttribute("filter")}if(w){G&&p&&l.fadeIn(100);a.iframe&&b("<iframe frameborder=0"+(a.scrolling?"":" scrolling='no'")+(G?" allowtransparency='true'":"")+"/>").attr({src:a.href,name:(new Date).getTime()}).appendTo(l);l.show();U.show().html(a.title);if(d>1){T.html(a.current.replace(/\{current\}/,g+1).replace(/\{total\}/,d)).show();J[e||g<d-1?"show":"hide"]().html(a.next);I[e||g?"show":"hide"]().html(a.previous);o=g?i[g-1]:i[d-1];s=g<d-1?i[g+1]:i[0];if(a.slideshow){z.show();g===d-1&&!e&&j.is("."+k+"Slideshow_on")&&z.click()}if(a.preloading){n=b(s).data(r).href||s.href;q=b(o).data(r).href||o.href;if(Q(n))b("<img/>")[0].src=n;if(Q(q))b("<img/>")[0].src=q}}L.hide();a.transition==="fade"?j.fadeTo(f,1,function(){t()}):t();m.bind(x+k,function(){c.position(0)});b.event.trigger(W);a.onComplete&&a.onComplete.call(h)}})}if(w){var p,f=a.transition===v?0:a.speed;m.unbind(x+k);l.remove();l=e(N).html(o);l.hide().appendTo(K.show()).css({width:function(){a.w=a.w||l.width();a.w=a.mw&&a.mw<a.w?a.mw:a.w;return a.w}(),overflow:a.scrolling?u:d}).css({height:function(){a.h=a.h||l.height();a.h=a.mh&&a.mh<a.h?a.mh:a.h;return a.h}()}).prependTo(s);K.hide();b("#"+k+"Photo").css({cssFloat:v});S&&b("select").not(j.find("select")).filter(function(){return this.style.visibility!==d}).css({visibility:d}).one(X,function(){this.style.visibility="inherit"});a.transition==="fade"?j.fadeTo(f,0,function(){n(0)}):n(f)}};c.load=function(){var j,d,q,m=c.prep;F=f;h=i[g];a=b.extend({},b(h).data(r));cb();b.event.trigger(P);a.onLoad&&a.onLoad.call(h);a.h=a.height?p(a.height,o)-A-C:a.innerHeight&&p(a.innerHeight,o);a.w=a.width?p(a.width,n)-B-D:a.innerWidth&&p(a.innerWidth,n);a.mw=a.w;a.mh=a.h;if(a.maxWidth){a.mw=p(a.maxWidth,n)-B-D;a.mw=a.w&&a.w<a.mw?a.w:a.mw}if(a.maxHeight){a.mh=p(a.maxHeight,o)-A-C;a.mh=a.h&&a.h<a.mh?a.h:a.mh}j=a.href;L.show();if(a.inline){e("InlineTemp").hide().insertBefore(b(j)[0]).bind(P+" "+X,function(){b(this).replaceWith(l.children())});m(b(j))}else if(a.iframe)m(" ");else if(a.html)m(a.html);else if(Q(j)){d=new Image;d.onload=function(){var e;d.onload=null;d.id=k+"Photo";b(d).css({margin:u,border:v,display:"block",cssFloat:"left"});if(a.scalePhotos){q=function(){d.height-=d.height*e;d.width-=d.width*e};if(a.mw&&d.width>a.mw){e=(d.width-a.mw)/d.width;q()}if(a.mh&&d.height>a.mh){e=(d.height-a.mh)/d.height;q()}}if(a.h)d.style.marginTop=Math.max(a.h-d.height,0)/2+"px";setTimeout(function(){m(d)},1);i[1]&&(g<i.length-1||a.loop)&&b(d).css({cursor:"pointer"}).click(c.next);if(G)d.style.msInterpolationMode="bicubic"};d.src=j}else e().appendTo(K).load(j,function(c,a,b){m(a==="error"?"Request unsuccessful: "+b.statusText:this)})};c.next=function(){if(!F){g=g<i.length-1?g+1:0;c.load()}};c.prev=function(){if(!F){g=g?g-1:i.length-1;c.load()}};c.slideshow=function(){function f(){z.text(a.slideshowStop).bind(W,function(){d=setTimeout(c.next,a.slideshowSpeed)}).bind(P,function(){clearTimeout(d)}).one(t,function(){e()});j.removeClass(b+"off").addClass(b+q)}var e,d,b=k+"Slideshow_";z.bind(fb,function(){z.unbind();clearTimeout(d);j.removeClass(b+"off "+b+q)});e=function(){clearTimeout(d);z.text(a.slideshowStart).unbind(W+" "+P).one(t,function(){f();d=setTimeout(c.next,a.slideshowSpeed)});j.removeClass(b+q).addClass(b+"off")};if(a.slideshow&&i[1])a.slideshowAuto?f():e()};c.close=function(){if(w){w=d;b.event.trigger(X);a.onCleanup&&a.onCleanup.call(h);m.unbind("."+k+" ."+O);y.fadeTo("fast",0);j.stop().fadeTo("fast",0,function(){j.find("iframe").attr("src","about:blank");l.remove();j.add(y).css({opacity:1,cursor:u}).hide();try{R.focus()}catch(c){}setTimeout(function(){b.event.trigger(fb);a.onClosed&&a.onClosed.call(h)},1)})}};c.element=function(){return b(h)};c.settings=eb;b(c.init)})(jQuery,this)
/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09i
 */
var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());
// #### Created By: http://www.cufonfonts.com ####
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Copyright (c) 2005, Mark Simonson. All rights reserved.
 * 
 * Trademark:
 * Anonymous is a trademark of the Mark Simonson.
 */
Cufon.registerFont({"w":734,"face":{"font-family":"AnonymousRegular","font-weight":400,"font-stretch":"normal","units-per-em":"1100","panose-1":"2 0 4 9 0 0 0 0 0 0","ascent":"880","descent":"-220","x-height":"17","bbox":"-41 -1100 734 244.502","underline-thickness":"0","underline-position":"1","unicode-range":"U+0020-U+20AC"},"glyphs":{" ":{},"!":{"d":"368,-852r-34,611r-53,0r-34,-611r121,0xm365,0r-120,0r0,-119r120,0r0,119"},"\"":{"d":"491,-855r-28,305r-65,0r-28,-305r121,0xm245,-855r-28,305r-65,0r-28,-305r121,0"},"#":{"d":"612,-392r-148,0r0,148r-73,0r0,-148r-170,0r0,148r-73,0r0,-148r-148,0r0,-73r148,0r0,-170r-148,0r0,-72r148,0r0,-148r73,0r0,148r170,0r0,-148r73,0r0,148r148,0r0,72r-148,0r0,170r148,0r0,73xm391,-465r0,-170r-170,0r0,170r170,0"},"$":{"d":"353,-476v138,50,232,103,237,253v4,129,-112,227,-237,235r0,111r-92,0r0,-112v-137,-17,-238,-107,-262,-235r86,-22v22,100,81,159,176,176r0,-344v-138,-51,-233,-92,-233,-238v0,-125,108,-210,233,-217r0,-109r92,0r0,112v122,17,218,109,231,229r-93,16v-12,-90,-58,-144,-138,-163r0,308xm261,-789v-111,3,-192,145,-99,223v21,19,54,37,99,55r0,-278xm353,-67v81,-9,139,-63,139,-148v0,-70,-46,-125,-139,-164r0,312"},"%":{"d":"151,-871v89,0,165,77,165,166v0,88,-77,165,-165,165v-89,0,-166,-76,-166,-165v0,-90,76,-166,166,-166xm612,-835r-549,854r-61,-40r549,-855xm464,-315v89,0,166,76,166,165v0,90,-76,166,-166,166v-90,0,-166,-76,-166,-166v0,-89,77,-165,166,-165xm151,-606v53,0,98,-46,98,-99v0,-53,-45,-99,-98,-99v-53,0,-99,46,-99,99v0,53,46,99,99,99xm464,-51v53,0,99,-46,99,-99v0,-53,-46,-99,-99,-99v-53,0,-99,46,-99,99v0,53,46,99,99,99"},"&":{"d":"229,-872v122,0,212,75,212,191v0,60,-24,111,-71,153v-12,11,-61,43,-147,97v37,39,115,113,236,224v40,-57,68,-119,83,-186r86,22v-15,75,-50,149,-106,222r106,97r-62,71r-104,-101v-71,65,-150,97,-235,97v-129,0,-244,-108,-244,-234v0,-93,39,-169,117,-228v-58,-71,-87,-140,-87,-206v-2,-132,86,-219,216,-219xm229,-792v-75,0,-124,65,-123,139v0,53,21,107,62,160v68,-41,109,-67,124,-80v37,-32,56,-69,56,-110v0,-65,-51,-109,-119,-109xm81,-219v0,82,63,146,146,146v63,0,121,-23,173,-69r-244,-240v-50,45,-75,99,-75,163"},"'":{"d":"369,-856r-27,305r-66,0r-28,-305r121,0"},"(":{"d":"200,-372v0,244,115,438,263,557r-48,59v-164,-132,-292,-345,-292,-616v0,-268,129,-484,292,-615r48,59v-148,119,-263,312,-263,556"},")":{"d":"198,-986v165,131,292,345,292,615v0,269,-128,485,-292,615r-48,-59v148,-119,264,-312,264,-556v0,-242,-116,-438,-264,-556"},"*":{"d":"589,-671r-225,121r225,122r-37,63r-217,-134r7,255r-73,0r8,-255r-218,134r-36,-63r224,-122r-224,-121r36,-63r218,134r-8,-255r73,0r-7,255r217,-134"},"+":{"d":"611,-391r-269,0r0,269r-73,0r0,-269r-269,0r0,-73r269,0r0,-269r73,0r0,269r269,0r0,73"},",":{"d":"401,-242r-180,367r-64,0r123,-367r121,0"},"-":{"d":"489,-392r-367,0r0,-73r367,0r0,73"},".":{"d":"365,4r-120,0r0,-120r120,0r0,120"},"\/":{"d":"655,-855r-503,1013r-65,-33r503,-1013"},"0":{"d":"307,-871v225,0,329,194,329,444v0,98,-15,182,-46,251r53,57r0,105r-90,-96v-59,84,-141,126,-246,126v-224,0,-328,-194,-328,-443v0,-96,14,-178,43,-247r-50,-54r-1,-105r87,92v59,-87,142,-130,249,-130xm544,-427v1,-198,-63,-364,-237,-364v-82,0,-144,39,-186,117r400,425v15,-54,23,-113,23,-178xm70,-427v-1,197,64,363,237,363v81,0,142,-37,184,-112r-399,-424v-15,52,-22,110,-22,173"},"1":{"d":"488,0r-367,0r0,-79r138,0r0,-605v-25,49,-71,74,-138,74r0,-93v92,0,138,-51,138,-152r91,0r0,776r138,0r0,79"},"2":{"d":"298,-871v148,0,286,95,279,237v-7,141,-57,171,-156,275r-82,85r-197,195r352,0r0,-160r80,0r0,239r-551,0r0,-79r333,-339v74,-76,121,-116,128,-217v6,-92,-90,-156,-186,-156v-133,0,-209,93,-208,229r-86,0v-1,-189,105,-309,294,-309"},"3":{"d":"419,-453v92,-2,185,119,185,217v0,143,-130,254,-279,252v-176,-3,-294,-101,-308,-264r87,-14v10,118,95,196,221,198v96,2,190,-79,186,-171v-6,-137,-78,-166,-247,-162r0,-92v131,-1,226,-36,231,-146v4,-94,-73,-156,-170,-156v-128,0,-209,77,-208,205r-87,0v-2,-176,118,-285,295,-285v150,0,260,92,263,237v2,96,-78,182,-169,181"},"4":{"d":"611,0r-367,0r0,-79r137,0r0,-170r-381,0r0,-80r357,-526r116,0r0,526r138,0r0,80r-138,0r0,170r138,0r0,79xm381,-329r0,-418r-285,418r285,0"},"5":{"d":"314,-587v184,-2,309,117,309,301v0,165,-147,308,-314,305v-172,-3,-286,-109,-299,-271r87,-14v10,117,90,204,212,206v121,2,221,-103,221,-225v0,-131,-84,-227,-216,-227v-85,0,-151,28,-198,83r-80,0r0,-426r539,0r0,79r-459,0r0,264v52,-50,118,-75,198,-75"},"6":{"d":"314,-602v179,0,306,132,306,311v0,185,-133,312,-322,307v-222,-5,-313,-193,-313,-443v0,-249,117,-444,344,-444v85,0,156,29,213,88r-63,56v-85,-96,-256,-79,-330,21v-46,63,-72,148,-72,259v21,-77,137,-155,237,-155xm298,-64v141,0,231,-88,231,-227v0,-134,-84,-232,-215,-232v-130,0,-223,93,-223,223v0,134,77,236,207,236"},"7":{"d":"260,0v1,-356,80,-595,257,-776r-399,0r0,166r-80,0r0,-245r566,0r0,79v-186,195,-248,395,-250,776r-94,0"},"8":{"d":"433,-453v93,-2,188,114,185,212v-5,167,-141,258,-321,258v-179,0,-299,-88,-303,-258v-3,-99,91,-213,185,-212v-78,3,-154,-102,-154,-182v0,-147,127,-236,281,-236v154,0,281,89,281,236v0,81,-76,185,-154,182xm306,-792v-108,0,-188,55,-188,156v0,89,62,145,188,145v126,0,188,-56,188,-145v0,-101,-80,-156,-188,-156xm297,-62v122,0,227,-67,228,-178v1,-118,-92,-172,-219,-172v-127,0,-220,54,-219,172v1,114,89,178,210,178"},"9":{"d":"314,-871v224,5,314,193,314,444v0,248,-117,443,-344,443v-85,0,-157,-29,-214,-88r64,-56v85,96,256,79,330,-21v46,-63,72,-148,72,-259v-21,77,-137,155,-237,155v-181,0,-306,-132,-306,-311v0,-185,132,-311,321,-307xm299,-332v130,0,223,-93,223,-223v0,-134,-77,-236,-208,-236v-141,0,-230,88,-230,227v0,134,84,232,215,232"},":":{"d":"365,-489r-120,0r0,-119r120,0r0,119xm365,4r-120,0r0,-120r120,0r0,120"},";":{"d":"365,-489r-120,0r0,-119r120,0r0,119xm401,-241r-180,367r-64,0r123,-367r121,0"},"<":{"d":"518,-144r-52,52r-335,-335r335,-336r52,52r-284,284"},"=":{"d":"611,-539r-611,0r0,-72r611,0r0,72xm611,-245r-611,0r0,-73r611,0r0,73"},">":{"d":"481,-427r-336,335r-51,-52r284,-283r-284,-284r51,-52"},"?":{"d":"358,-871v142,-2,238,78,239,213v1,187,-252,236,-255,419r-96,0v0,-59,21,-117,67,-170v59,-69,191,-150,191,-251v0,-87,-49,-131,-146,-131v-101,1,-158,76,-161,180r-87,-22v16,-144,97,-236,248,-238xm365,0r-120,0r0,-119r120,0r0,119"},"@":{"d":"306,-871v226,0,329,194,329,443v0,84,-13,148,-39,193v-22,37,-49,55,-81,55v-60,0,-89,-62,-80,-136v-30,83,-82,125,-155,125v-112,1,-170,-101,-170,-223v0,-134,80,-247,210,-244v37,0,75,16,115,47r0,-36r67,0r0,375v0,20,9,30,26,30v15,0,28,-13,39,-39v13,-33,20,-82,20,-147v1,-225,-79,-404,-281,-404v-201,0,-281,180,-281,404v0,224,80,403,281,403v72,0,131,-24,178,-71r35,25v-57,57,-128,86,-213,86v-226,0,-329,-195,-329,-443v0,-249,103,-443,329,-443xm280,-254v134,0,166,-138,155,-290v-39,-41,-77,-61,-115,-61v-94,-2,-143,89,-143,191v0,84,30,160,103,160"},"A":{"d":"653,0r-97,0r-80,-245r-339,0r-79,245r-98,0r286,-855r122,0xm450,-324r-143,-440r-144,440r287,0"},"B":{"d":"266,-856v195,-3,314,53,314,223v0,89,-44,150,-132,182v108,34,162,103,162,206v0,163,-110,245,-329,245r-249,0r0,-856r234,0xm266,-489v135,2,218,-30,222,-144v5,-161,-194,-146,-364,-144r0,288r142,0xm518,-245v0,-110,-79,-165,-237,-165r-157,0r0,330r157,0v158,0,237,-55,237,-165"},"C":{"d":"79,-428v0,198,65,364,237,364v109,0,181,-65,216,-194r85,33v-42,138,-137,240,-301,240v-226,0,-328,-195,-328,-443v0,-249,102,-443,328,-443v105,0,177,38,214,115r0,-100r80,0r0,282r-80,0v4,-124,-94,-220,-214,-218v-172,3,-237,167,-237,364"},"D":{"d":"311,-856v223,4,329,183,329,428v0,245,-106,428,-329,428r-279,0r0,-856r279,0xm311,-80v169,-5,237,-155,237,-348v0,-194,-67,-349,-237,-349r-188,0r0,697r188,0"},"E":{"d":"580,0r-550,0r0,-856r550,0r0,79r-459,0r0,300r338,0r0,80r-338,0r0,317r459,0r0,80"},"F":{"d":"580,-777r-459,0r0,300r338,0r0,80r-338,0r0,397r-91,0r0,-856r550,0r0,79"},"G":{"d":"79,-428v0,198,65,364,237,364v158,0,222,-138,234,-304r-190,0r0,-79r285,0v7,261,-97,462,-329,462v-226,0,-328,-195,-328,-443v0,-249,102,-443,328,-443v105,0,177,38,214,115r0,-100r80,0r0,282r-80,0v4,-124,-94,-220,-214,-218v-172,3,-237,167,-237,364"},"H":{"d":"580,0r-92,0r0,-397r-367,0r0,397r-91,0r0,-856r91,0r0,379r367,0r0,-379r92,0r0,856"},"I":{"d":"489,0r-367,0r0,-80r138,0r0,-697r-138,0r0,-79r367,0r0,79r-138,0r0,697r138,0r0,80"},"J":{"d":"298,-64v159,0,190,-116,191,-299r0,-493r92,0r0,493v0,252,-94,378,-283,378v-162,0,-260,-103,-301,-240r86,-33v35,129,107,194,215,194"},"K":{"d":"608,-1r-111,0r-285,-419r-91,101r0,318r-91,0r0,-856r91,0r0,416r368,-416r119,0r-337,373"},"L":{"d":"580,0r-550,0r0,-856r91,0r0,776r459,0r0,80"},"M":{"d":"580,0r-92,0r0,-715r-151,443r-64,0r-152,-443r0,715r-91,0r0,-856r119,0r156,447r156,-447r119,0r0,856"},"N":{"d":"580,0r-113,0r-346,-724r0,724r-91,0r0,-856r128,0r330,691r0,-691r92,0r0,856"},"O":{"d":"306,-871v226,0,329,194,329,443v0,250,-103,443,-329,443v-226,0,-329,-195,-329,-443v0,-249,103,-443,329,-443xm306,-64v172,0,237,-166,237,-364v0,-198,-63,-364,-237,-364v-172,0,-237,167,-237,364v0,199,65,364,237,364"},"P":{"d":"604,-611v0,163,-109,244,-328,244r-158,0r0,367r-92,0r0,-856r250,0v219,0,328,82,328,245xm512,-611v0,-111,-79,-166,-236,-166r-158,0r0,331r158,0v157,0,236,-55,236,-165"},"Q":{"d":"306,-871v226,0,329,195,329,443v0,234,-92,411,-285,440v12,128,114,163,261,151r0,78v-207,21,-346,-52,-362,-231v-184,-35,-272,-208,-272,-438v0,-249,103,-443,329,-443xm306,-65v172,0,237,-166,237,-363v0,-198,-64,-364,-237,-364v-172,0,-237,167,-237,364v0,198,64,363,237,363","w":733},"R":{"d":"618,0r-118,0r-250,-367r-132,0r0,367r-92,0r0,-856r250,0v219,0,328,82,328,245v0,143,-82,223,-245,240xm512,-611v0,-111,-79,-166,-236,-166r-158,0r0,331r158,0v157,0,236,-55,236,-165"},"S":{"d":"292,-792v-92,0,-170,58,-171,139v0,55,40,101,122,135r226,94v81,47,121,114,121,201v0,137,-125,238,-269,238v-100,0,-213,-62,-225,-139r0,124r-79,0r0,-259r79,0v0,108,108,195,225,195v101,0,171,-55,171,-151v0,-66,-38,-123,-120,-156r-223,-91v-81,-44,-121,-107,-121,-190v0,-133,121,-219,264,-219v85,0,196,64,198,137r0,-122r80,0r0,244r-80,0v3,-97,-98,-180,-198,-180"},"T":{"d":"612,-567r-80,0r0,-210r-180,0r0,697r137,0r0,80r-367,0r0,-80r138,0r0,-697r-181,0r0,210r-79,0r0,-289r612,0r0,289"},"U":{"d":"306,-64v159,0,190,-116,191,-299r0,-493r92,0r0,493v0,252,-94,378,-283,378v-188,0,-282,-126,-282,-378r0,-493r91,0r0,493v1,184,32,299,191,299"},"V":{"d":"653,-855r-286,855r-122,0r-285,-855r97,0r249,764r249,-764r98,0"},"W":{"d":"656,-855r-155,855r-105,0r-88,-418r-89,418r-105,0r-155,-855r97,0r121,703r86,-454r89,0r86,454r121,-703r97,0"},"X":{"d":"628,0r-244,0r0,-80r57,0r-133,-266r-133,266r57,0r0,80r-244,0r0,-80r85,0r183,-350r-181,-347r-71,0r0,-79r244,0r0,79r-71,0r131,263r132,-263r-71,0r0,-79r244,0r0,79r-72,0r-181,347r183,350r85,0r0,80"},"Y":{"d":"627,-777r-70,0r-203,407r0,290r137,0r0,79r-367,0r0,-79r138,0r0,-290r-203,-407r-71,0r0,-80r244,0r0,80r-73,0r148,310r2,0r147,-310r-72,0r0,-80r243,0r0,80"},"Z":{"d":"585,0r-551,0r0,-80r428,-697r-348,0r0,210r-80,0r0,-289r535,0r0,79r-427,697r363,0r0,-210r80,0r0,290"},"[":{"d":"489,244r-244,0r0,-1223r244,0r0,73r-172,0r0,1077r172,0r0,73"},"\\":{"d":"655,125r-65,33r-503,-1013r65,-33"},"]":{"d":"367,244r-245,0r0,-73r172,0r0,-1077r-172,0r0,-73r245,0r0,1223"},"^":{"d":"491,-366r-64,0r-120,-326r-120,326r-64,0r123,-490r121,0"},"_":{"d":"734,0r-734,0r0,-73r734,0r0,73"},"`":{"d":"454,-788r-26,43r-283,-160r43,-71"},"a":{"d":"1,-290v0,-189,125,-337,310,-337v65,0,125,22,180,65r0,-50r92,0r0,612r-92,0r0,-252v-17,118,-116,269,-235,269v-165,0,-255,-134,-255,-307xm256,-69v144,-1,252,-222,235,-400v-53,-56,-113,-84,-180,-84v-138,-2,-218,118,-218,263v0,121,52,222,163,221"},"b":{"d":"305,-627v187,0,310,135,310,322v0,187,-123,322,-310,322v-65,0,-125,-22,-180,-65r0,48r-92,0r0,-856r92,0r0,294v55,-43,115,-65,180,-65xm305,-57v139,0,218,-106,218,-248v0,-142,-79,-248,-218,-248v-67,0,-127,28,-180,84r0,328v53,56,113,84,180,84"},"c":{"d":"323,-57v90,0,172,-44,203,-102r63,44v-55,88,-144,132,-266,132v-188,0,-322,-135,-322,-322v0,-188,122,-322,310,-322v83,0,177,53,192,115r0,-100r80,0r0,244r-80,0v5,-97,-96,-185,-192,-185v-140,0,-219,105,-219,248v0,140,91,248,231,248"},"d":{"d":"-1,-305v0,-188,122,-322,310,-322v65,0,125,22,180,65r0,-215r-120,0r0,-79r212,0r0,856r-92,0r0,-48v-55,43,-115,65,-180,65v-188,0,-310,-134,-310,-322xm90,-305v0,143,79,248,219,248v67,0,127,-28,180,-84r0,-328v-53,-56,-113,-84,-180,-84v-140,0,-219,105,-219,248"},"e":{"d":"-2,-305v0,-187,123,-322,310,-322v203,0,312,142,310,353r-526,0v11,124,96,217,228,217v90,0,172,-44,203,-102r63,44v-55,88,-144,132,-266,132v-187,0,-322,-136,-322,-322xm522,-354v-19,-133,-91,-199,-214,-199v-125,-1,-200,83,-215,199r429,0"},"f":{"d":"611,-532r-258,0r0,452r138,0r0,80r-367,0r0,-80r138,0r0,-452r-138,0r0,-80r138,0v-8,-198,143,-277,349,-244r0,74v-150,-20,-265,17,-258,170r258,0r0,80"},"g":{"d":"2,-305v0,-188,122,-322,309,-322v65,0,125,22,181,65r0,-50r91,0r0,593v-1,163,-119,261,-291,261v-122,0,-211,-44,-266,-132r63,-43v31,58,113,101,203,101v139,0,212,-83,200,-232v-55,43,-116,65,-181,65v-189,0,-309,-119,-309,-306xm93,-305v0,141,79,234,218,233v67,0,128,-28,181,-85r0,-312v-53,-56,-114,-84,-181,-84v-139,0,-218,106,-218,248"},"h":{"d":"354,-540v-140,0,-235,121,-235,266r0,274r-91,0r0,-856r91,0r0,398v43,-113,121,-169,235,-169v150,0,225,83,225,250r0,377r-92,0r0,-377v0,-109,-44,-163,-133,-163"},"i":{"d":"366,-734r-121,0r0,-122r121,0r0,122xm489,0r-367,0r0,-80r138,0r0,-452r-138,0r0,-80r229,0r0,532r138,0r0,80"},"j":{"d":"489,-734r-121,0r0,-122r121,0r0,122xm228,168v115,0,154,-64,154,-187r0,-513r-137,0r0,-80r229,0r0,593v1,161,-88,262,-246,261v-107,0,-182,-45,-225,-134r68,-41v32,67,84,101,157,101"},"k":{"d":"610,0r-128,0r-249,-274r-110,101r0,173r-91,0r0,-856r91,0r0,574r347,-330r129,0r-306,282"},"l":{"d":"490,0r-367,0r0,-80r137,0r0,-697r-137,0r0,-79r229,0r0,776r138,0r0,80"},"m":{"d":"461,-627v117,0,150,77,150,207r0,420r-91,0r0,-420v0,-80,-23,-120,-70,-120v-67,0,-100,65,-100,194r0,346r-91,0r0,-420v0,-80,-24,-120,-71,-120v-89,0,-95,85,-95,194r0,346r-91,0r0,-612r91,0r0,89v25,-136,207,-137,241,-13v30,-61,72,-91,127,-91"},"n":{"d":"359,-540v-140,0,-234,122,-234,266r0,274r-92,0r0,-612r92,0r0,154v43,-113,121,-169,234,-169v151,0,226,83,226,250r0,377r-92,0r0,-377v0,-109,-45,-163,-134,-163"},"o":{"d":"307,-626v189,0,322,135,322,322v0,186,-134,321,-322,321v-187,0,-322,-136,-322,-321v0,-186,134,-322,322,-322xm307,-56v140,0,231,-108,231,-248v0,-141,-91,-248,-231,-248v-139,0,-230,107,-230,248v0,140,91,248,230,248"},"p":{"d":"301,-626v188,0,310,133,310,321v0,189,-121,322,-310,322v-65,0,-125,-22,-180,-65r0,292r-92,0r0,-855r92,0r0,49v55,-43,115,-64,180,-64xm301,-57v140,2,219,-104,219,-248v0,-143,-79,-248,-219,-248v-67,0,-127,28,-180,84r0,328v53,56,113,84,180,84","w":733},"q":{"d":"2,-305v0,-188,122,-321,309,-321v65,0,125,21,180,64r0,-49r92,0r0,855r-92,0r0,-292v-55,43,-115,65,-180,65v-188,0,-309,-133,-309,-322xm93,-305v0,144,79,250,218,248v67,0,127,-28,180,-84r0,-328v-53,-56,-113,-84,-180,-84v-139,0,-218,106,-218,248","w":733},"r":{"d":"466,-545v-140,0,-234,126,-234,271r0,195r138,0r0,79r-367,0r0,-79r137,0r0,-453r-137,0r0,-80r229,0r0,154v42,-113,120,-169,234,-169v62,0,111,7,146,22r-31,84v-33,-16,-72,-24,-115,-24"},"s":{"d":"302,-552v-94,-1,-194,27,-194,104v0,43,42,72,126,85v114,17,194,27,235,40v85,25,126,78,126,153v0,187,-283,220,-467,160v-55,-18,-101,-37,-136,-62r41,-78v87,63,177,94,269,94v135,0,202,-37,202,-111v0,-43,-42,-73,-127,-85v-122,-18,-200,-29,-234,-40v-85,-27,-127,-79,-127,-156v0,-210,402,-220,546,-106r-36,70v-55,-45,-129,-68,-224,-68"},"t":{"d":"382,-64v88,0,146,-66,149,-152r90,21v-12,122,-105,211,-239,211v-141,0,-242,-101,-242,-241r0,-307r-137,0r0,-79r137,0r0,-245r92,0r0,245r258,0r0,79r-258,0r0,307v-1,91,60,161,150,161"},"u":{"d":"258,-71v141,0,234,-123,234,-267r0,-274r92,0r0,612r-92,0r0,-154v-43,113,-121,169,-234,169v-151,0,-226,-83,-226,-250r0,-377r92,0r0,377v0,109,45,164,134,164"},"v":{"d":"611,-611r-240,611r-121,0r-250,-611r107,0r204,536r193,-536r107,0"},"w":{"d":"612,-612r-111,611r-105,0r-88,-448r-89,448r-105,0r-111,-611r95,0r79,490r86,-485r89,0r86,485r79,-490r95,0"},"x":{"d":"627,0r-252,0r0,-79r53,0r-120,-184r-120,184r50,0r0,79r-251,0r0,-79r96,0r168,-231r-161,-222r-88,0r0,-79r252,0r0,79r-58,0r112,174r113,-174r-61,0r0,-79r251,0r0,79r-84,0r-162,222r168,231r94,0r0,79"},"y":{"d":"606,-611r-292,750v-39,96,-185,132,-308,83r20,-92v88,24,161,41,190,-29r35,-84r-256,-628r107,0r206,528r191,-528r107,0"},"z":{"d":"580,0r-551,0r0,-79r413,-453r-333,0r0,164r-80,0r0,-243r536,0r0,79r-413,453r348,0r0,-163r80,0r0,242"},"{":{"d":"205,-367v58,9,113,79,113,147r0,280v-4,98,69,119,172,111r0,73r-61,0v-106,2,-183,-78,-183,-184r0,-280v0,-73,-41,-110,-122,-110r0,-74v81,0,122,-37,122,-111r0,-280v-1,-104,76,-186,183,-183r61,0r0,73v-101,-7,-172,12,-172,110r0,280v1,69,-54,137,-113,148"},"|":{"d":"353,123r-92,0r0,-1101r92,0r0,1101"},"}":{"d":"183,-978v107,-3,184,79,184,183r0,280v0,74,41,111,122,111r0,74v-81,0,-122,37,-122,110r0,280v1,106,-78,186,-184,184r-61,0r0,-73v102,7,172,-12,172,-111r0,-280v-1,-66,54,-138,114,-147v-60,-12,-114,-80,-114,-148r0,-280v4,-97,-70,-118,-172,-110r0,-73r61,0"},"~":{"d":"555,-900v-57,108,-182,138,-273,57v-61,-55,-139,-31,-178,42r-53,-31v57,-107,183,-137,273,-56v62,56,138,30,179,-43"},"\u20ac":{"d":"109,-561v24,-169,96,-311,261,-311v142,0,214,110,247,240r-77,33v-29,-129,-86,-193,-170,-193v-97,0,-157,77,-180,231r177,0r0,72r-184,0r0,123r184,0r0,73r-176,0v23,152,82,228,179,228v84,0,141,-64,170,-193r77,33v-33,131,-105,240,-247,240v-162,0,-238,-143,-261,-308r-109,0r0,-73r102,0v-3,-40,-3,-83,0,-123r-102,0r0,-72r109,0"},"\u00a4":{"d":"109,-561v24,-169,96,-311,261,-311v142,0,214,110,247,240r-77,33v-29,-129,-86,-193,-170,-193v-97,0,-157,77,-180,231r177,0r0,72r-184,0r0,123r184,0r0,73r-176,0v23,152,82,228,179,228v84,0,141,-64,170,-193r77,33v-33,131,-105,240,-247,240v-162,0,-238,-143,-261,-308r-109,0r0,-73r102,0v-3,-40,-3,-83,0,-123r-102,0r0,-72r109,0"},"\u00c7":{"d":"79,-429v0,198,64,364,237,364v109,0,181,-65,216,-194r85,33v-43,139,-126,218,-250,237v7,138,-73,234,-208,233r0,-76v94,1,136,-53,132,-155v-206,-18,-303,-201,-303,-442v0,-250,103,-443,328,-443v105,0,177,38,214,115r0,-100r80,0r0,282r-80,0v4,-121,-94,-220,-214,-217v-172,4,-237,166,-237,363"},"\u00d6":{"d":"306,-871v226,0,329,194,329,443v0,250,-103,443,-329,443v-226,0,-329,-195,-329,-443v0,-249,103,-443,329,-443xm306,-64v172,0,237,-166,237,-364v0,-198,-63,-364,-237,-364v-172,0,-237,167,-237,364v0,199,65,364,237,364xm489,-977r-122,0r0,-123r122,0r0,123xm245,-977r-123,0r0,-123r123,0r0,123"},"\u00dc":{"d":"306,-64v159,0,190,-116,191,-299r0,-493r92,0r0,493v0,252,-94,378,-283,378v-188,0,-282,-126,-282,-378r0,-493r91,0r0,493v1,184,32,299,191,299xm489,-977r-122,0r0,-123r122,0r0,123xm245,-977r-123,0r0,-123r123,0r0,123"},"\u00e7":{"d":"327,-57v91,0,172,-43,204,-102r63,44v-49,77,-125,121,-227,130v6,135,-74,230,-208,229r0,-76v93,1,136,-53,132,-153v-166,-11,-285,-143,-285,-320v0,-188,122,-322,310,-322v82,0,175,53,192,115r0,-100r79,0r0,244r-79,0v5,-96,-96,-185,-192,-185v-140,0,-219,105,-219,248v0,140,91,248,230,248"},"\u00f6":{"d":"307,-626v189,0,322,135,322,322v0,186,-134,321,-322,321v-187,0,-322,-136,-322,-321v0,-186,134,-322,322,-322xm307,-56v140,0,231,-108,231,-248v0,-141,-91,-248,-231,-248v-139,0,-230,107,-230,248v0,140,91,248,230,248xm489,-733r-122,0r0,-122r122,0r0,122xm245,-733r-123,0r0,-122r123,0r0,122"},"\u00fc":{"d":"258,-71v141,0,234,-123,234,-267r0,-274r92,0r0,612r-92,0r0,-154v-43,113,-121,169,-234,169v-151,0,-226,-83,-226,-250r0,-377r92,0r0,377v0,109,45,164,134,164xm489,-733r-122,0r0,-122r122,0r0,122xm245,-733r-123,0r0,-122r123,0r0,122"},"\u00a0":{}}});
//notifyBar
jQuery.notifyBar = function(settings) {
  
  (function($) {
    
    var bar = notifyBarNS = {};
    notifyBarNS.shown = false;
     
    if( !settings) {
    settings = {};
    }
    // HTML inside bar
    notifyBarNS.html = settings.html || "Your message here";
     
    //How long bar will be delayed, doesn't count animation time.
    notifyBarNS.delay = settings.delay || 2000;
     
    //How long notifyBarNS bar will be slided up and down
    notifyBarNS.animationSpeed = settings.animationSpeed || 200;
     
    //Use own jquery object usually DIV, or use default
    notifyBarNS.jqObject = settings.jqObject;
     
    //Set up own class
    notifyBarNS.cls = settings.cls || "";
    
    //close button
    notifyBarNS.close = settings.close || false;
    
    if( notifyBarNS.jqObject) {
      bar = notifyBarNS.jqObject;
      notifyBarNS.html = bar.html();
    } else {
      bar = jQuery("<div></div>")
      .addClass("jquery-notify-bar")
      .addClass(notifyBarNS.cls)
      .attr("id", "__notifyBar");
    }
         
    bar.html(notifyBarNS.html).hide();
    var id = bar.attr("id");
    switch (notifyBarNS.animationSpeed) {
      case "slow":
      asTime = 600;
      break;
      case "normal":
      asTime = 400;
      break;
      case "fast":
      asTime = 200;
      break;
      default:
      asTime = notifyBarNS.animationSpeed;
    }
    if( bar != 'object'); {
      jQuery("body").prepend(bar);
    }
    
    // Style close button in CSS file
    if( notifyBarNS.close) {
      bar.append(jQuery("<a href='#' class='notify-bar-close'>Close [X]</a>"));
      jQuery(".notify-bar-close").click(function() {
        if( bar.attr("id") == "__notifyBar") {
          jQuery("#" + id).slideUp(asTime, function() { jQuery("#" + id).remove() });
        } else {
          jQuery("#" + id).slideUp(asTime);
        }
        return false;
      });
    }
    
    bar.slideDown(asTime);
     
    // If taken from DOM dot not remove just hide
    if( bar.attr("id") == "__notifyBar") {
      setTimeout("jQuery('#" + id + "').slideUp(" + asTime +", function() {jQuery('#" + id + "').remove()});", notifyBarNS.delay + asTime);
    } else {
      setTimeout("jQuery('#" + id + "').slideUp(" + asTime +", function() {jQuery('#" + id + "')});", notifyBarNS.delay + asTime);
    }

})(jQuery) };
function mycarousel_initCallback(carousel){
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {carousel.startAuto(0);});
    carousel.buttonPrev.bind('click', function() {carousel.startAuto(0);});
    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};
this.screenshotPreview = function(){
	xOffset = 10;
	yOffset = 20;
	$("a.screenshot").hover(function(e){
		this.t = this.title;
		this.title = "";
		var c = (this.t != "") ? "" + this.t : "";
		$("body").append("<div id='screenshot'><img src='"+ this.rel +"' alt='Loading...'/><div>"+ c +"</div></div>");
		$("#screenshot")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");
    },
	function(){
		this.title = this.t;
		$("#screenshot").remove();
    });	
	$("a.screenshot").mousemove(function(e){
		$("#screenshot")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});
};
this.tooltip = function(){
	xOffset = 10;
	yOffset = 20;
	$("a.tooltip").hover(function(e){
		this.t = this.title;
		this.title = ""; 
		$("body").append("<p id='tooltip'>"+ this.t +"</p>");
		$("#tooltip")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");
    },
	function(){
		this.title = this.t;
		$("#tooltip").remove();
    });	
	$("a.tooltip").mousemove(function(e){
		$("#tooltip")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};
$(document).ready(function(){
	screenshotPreview();
	tooltip();
	$('#mycarousel').jcarousel({auto: 2,wrap: 'last',initCallback: mycarousel_initCallback});
	$("a[rel='img1']").colorbox({width:"75%",height:"75%"});
	$("a[rel='trailer']").colorbox({width:"875px",height:"675px", iframe:true});
	$("a[rel='basket']").colorbox({width:"875px",height:"675px", iframe:true});
	
	Cufon.replace('h1', { fontFamily: 'AnonymousRegular', hover: true }); 

/**
	$(document).click(function(event){
		var target = $(event.target);
		if (target.parents("#nicemenu").length == 0) {
			$("#nicemenu div.sub_menu").hide();
		}
	});
	
	$("li.menu").mouseover(function(){
	//	alert(\'#id_menu_\'+this.id);
		if(document.willhide) clearTimeout(document.willhide);
		$(".sub_menu").hide();
		$("#id_menu_"+this.id).show();
	});
	$("li.menu").mouseout(function(){
		document.willhide = setTimeout(function() {

			$("div.sub_menu").hide();
		},450);
	});
	
	$("div.krums div.sub_menu").mouseover(function(){
		if(document.willhide) clearTimeout(document.willhide);
	});
	
	$("div.krums div.sub_menu").mouseout(function(){
		document.willhide = setTimeout(function() {
			$("div.sub_menu").hide();
		},450);
	});
 **/	
});
