/*

 http://www.protofunc.com/scripts/jquery/backgroundPosition/
 MIT http://jquery.com/dev/svn/trunk/jquery/MIT-LICENSE.txt
 @author Alexander Farkas
 v. 1.02
*/
(function(a){a.extend(a.fx.step,{backgroundPosition:function(c){function g(e){e=e.replace(/left|top/g,"0px");e=e.replace(/right|bottom/g,"100%");e=e.replace(/([0-9\.]+)(\s|\)|$)/g,"$1px$2");e=e.match(/(-?[0-9\.]+)(px|\%|em|pt)\s(-?[0-9\.]+)(px|\%|em|pt)/);return[parseFloat(e[1],10),e[2],parseFloat(e[3],10),e[4]]}if(c.state===0&&typeof c.end=="string"){var b=a.curCSS(c.elem,"backgroundPosition");b=g(b);c.start=[b[0],b[2]];b=g(c.end);c.end=[b[0],b[2]];c.unit=[b[1],b[3]]}b=[];b[0]=(c.end[0]-c.start[0])*
c.pos+c.start[0]+c.unit[0];b[1]=(c.end[1]-c.start[1])*c.pos+c.start[1]+c.unit[1];c.elem.style.backgroundPosition=b[0]+" "+b[1]}})})(jQuery);/*
 
 hoverIntent by Brian Cherne 
 <http://cherne.net/brian/resources/jquery.hoverIntent.html>

 hoverIntent is currently available for use in all personal or commercial 
 projects under both MIT and GPL licenses. This means that you can choose 
 the license that best suits your project, and use it accordingly.
*/
(function(a){a.fn.hoverIntent=function(c,g){var b={sensitivity:7,interval:100,timeout:0};b=a.extend(b,g?{over:c,out:g}:c);var e,h,j,r,o=function(w){e=w.pageX;h=w.pageY},t=function(w,A){A.hoverIntent_t=clearTimeout(A.hoverIntent_t);if(Math.abs(j-e)+Math.abs(r-h)<b.sensitivity){a(A).unbind("mousemove",o);A.hoverIntent_s=1;return b.over.apply(A,[w])}else{j=e;r=h;A.hoverIntent_t=setTimeout(function(){t(w,A)},b.interval)}},s=function(w,A){A.hoverIntent_t=clearTimeout(A.hoverIntent_t);A.hoverIntent_s=0;
return b.out.apply(A,[w])},u=function(w){for(var A=(w.type=="mouseover"?w.fromElement:w.toElement)||w.relatedTarget;A&&A!=this;)try{A=A.parentNode}catch(H){A=this}if(A==this)return false;var d=jQuery.extend({},w),f=this;if(f.hoverIntent_t)f.hoverIntent_t=clearTimeout(f.hoverIntent_t);if(w.type=="mouseover"){j=d.pageX;r=d.pageY;a(f).bind("mousemove",o);if(f.hoverIntent_s!=1)f.hoverIntent_t=setTimeout(function(){t(d,f)},b.interval)}else{a(f).unbind("mousemove",o);if(f.hoverIntent_s==1)f.hoverIntent_t=
setTimeout(function(){s(d,f)},b.timeout)}};return this.mouseover(u).mouseout(u)}})(jQuery);/*

 ColorBox v1.3.6 - a full featured, light-weight, customizable lightbox based on jQuery 1.3 
 http://colorpowered.com/colorbox/
 MIT license
*/
(function(a){function c(q,v){v=v==="x"?C.width():C.height();return typeof q==="string"?Math.round(q.match(/%/)?v/100*parseInt(q,10):parseInt(q,10)):q}function g(q){q=a.isFunction(q)?q.call(F):q;return l.photo||q.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function b(){for(var q in l)if(a.isFunction(l[q])&&q.substring(0,2)!=="on")l[q]=l[q].call(F);l.rel=l.rel||F.rel;l.href=l.href||F.href;l.title=l.title||F.title}function e(q){F=q;l=a.extend({},a(F).data(h));b();if(l.rel&&l.rel!=="nofollow"){z=
a(".cboxElement").filter(function(){return(a(this).data(h).rel||this.rel)===l.rel});I=z.index(F);if(I<0){z=z.add(F);I=z.length-1}}else{z=a(F);I=0}if(!V){W=V=r;$=F;$.blur();a(document).bind("keydown.cbox_close",function(v){if(v.keyCode===27){v.preventDefault();o.close()}}).bind("keydown.cbox_arrows",function(v){if(z.length>1)if(v.keyCode===37){v.preventDefault();X.click()}else if(v.keyCode===39){v.preventDefault();O.click()}});l.overlayClose&&d.css({cursor:"pointer"}).one("click",o.close);a.event.trigger(u);
l.onOpen&&l.onOpen.call(F);d.css({opacity:l.opacity}).show();l.w=c(l.initialWidth,"x");l.h=c(l.initialHeight,"y");o.position(0);s&&C.bind("resize.cboxie6 scroll.cboxie6",function(){d.css({width:C.width(),height:C.height(),top:C.scrollTop(),left:C.scrollLeft()})}).trigger("scroll.cboxie6")}G.add(X).add(O).add(K).add(R).hide();aa.html(l.close).show();o.slideshow();o.load()}var h="colorbox",j="hover",r=true,o,t=a.browser.msie&&!a.support.opacity,s=t&&a.browser.version<7,u="cbox_open",w="cbox_load",A=
"cbox_complete",H="resize.cbox_resize",d,f,k,m,n,i,x,y,z,C,B,L,M,N,R,G,K,O,X,aa,S,T,P,Q,F,$,I,l,V,W,ba={transition:"elastic",speed:350,width:false,height:false,innerWidth:false,innerHeight:false,initialWidth:"400",initialHeight:"400",maxWidth:false,maxHeight:false,scalePhotos:r,scrolling:r,inline:false,html:false,iframe:false,photo:false,href:false,title:false,rel:false,opacity:0.9,preloading:r,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:false,overlayClose:r,
slideshow:false,slideshowAuto:r,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:false,onLoad:false,onComplete:false,onCleanup:false,onClosed:false};o=a.fn.colorbox=function(q,v){var E=this;if(!E.length)if(E.selector===""){E=a("<a/>");q.open=r}else return this;E.each(function(){var D=a.extend({},a(this).data(h)?a(this).data(h):ba,q);a(this).data(h,D).addClass("cboxElement");if(v)a(this).data(h).onComplete=v});q&&q.open&&e(E);return this};o.init=function(){function q(v){return a('<div id="cbox'+
v+'"/>')}C=a(window);f=a('<div id="colorbox"/>');d=q("Overlay").hide();k=q("Wrapper");m=q("Content").append(B=q("LoadedContent").css({width:0,height:0}),M=q("LoadingOverlay"),N=q("LoadingGraphic"),R=q("Title"),G=q("Current"),K=q("Slideshow"),O=q("Next"),X=q("Previous"),aa=q("Close"));k.append(a("<div/>").append(q("TopLeft"),n=q("TopCenter"),q("TopRight")),a("<div/>").append(i=q("MiddleLeft"),m,x=q("MiddleRight")),a("<div/>").append(q("BottomLeft"),y=q("BottomCenter"),q("BottomRight"))).children().children().css({"float":"left"});
L=a("<div style='position:absolute; top:0; left:0; width:9999px; height:0;'/>");a("body").prepend(d,f.append(k,L));if(t){f.addClass("cboxIE");s&&d.css("position","absolute")}m.children().bind("mouseover mouseout",function(){a(this).toggleClass(j)}).addClass(j);S=n.height()+y.height()+m.outerHeight(r)-m.height();T=i.width()+x.width()+m.outerWidth(r)-m.width();P=B.outerHeight(r);Q=B.outerWidth(r);f.css({"padding-bottom":S,"padding-right":T}).hide();O.click(o.next);X.click(o.prev);aa.click(o.close);
m.children().removeClass(j);a(".cboxElement").live("click",function(v){if(v.button!==0&&typeof v.button!=="undefined")return r;else{e(this);return false}})};o.position=function(q,v){function E(U){n[0].style.width=y[0].style.width=m[0].style.width=U.style.width;N[0].style.height=M[0].style.height=m[0].style.height=i[0].style.height=x[0].style.height=U.style.height}var D=C.height();D=Math.max(D-l.h-P-S,0)/2+C.scrollTop();var J=Math.max(document.documentElement.clientWidth-l.w-Q-T,0)/2+C.scrollLeft();
q=f.width()===l.w+Q&&f.height()===l.h+P?0:q;k[0].style.width=k[0].style.height="9999px";f.dequeue().animate({width:l.w+Q,height:l.h+P,top:D,left:J},{duration:q,complete:function(){E(this);W=false;k[0].style.width=l.w+Q+T+"px";k[0].style.height=l.h+P+S+"px";v&&v()},step:function(){E(this)}})};o.resize=function(q){function v(){l.w=l.w||B.width();l.w=l.mw&&l.mw<l.w?l.mw:l.w;return l.w}function E(){l.h=l.h||B.height();l.h=l.mh&&l.mh<l.h?l.mh:l.h;return l.h}function D(Y){o.position(Y,function(){if(V){if(t){U&&
B.fadeIn(100);f[0].style.removeAttribute("filter")}if(l.iframe)B.append("<iframe id='cboxIframe'"+(l.scrolling?" ":"scrolling='no'")+" name='iframe_"+(new Date).getTime()+"' frameborder=0 src='"+l.href+"' "+(t?"allowtransparency='true'":"")+" />");B.show();R.show().html(l.title);if(z.length>1){G.html(l.current.replace(/\{current\}/,I+1).replace(/\{total\}/,z.length)).show();O.html(l.next).show();X.html(l.previous).show();l.slideshow&&K.show()}M.hide();N.hide();a.event.trigger(A);l.onComplete&&l.onComplete.call(F);
l.transition==="fade"&&f.fadeTo(Z,1,function(){t&&f[0].style.removeAttribute("filter")});C.bind(H,function(){o.position(0)})}})}if(V){var J,U,Z=l.transition==="none"?0:l.speed;C.unbind(H);if(q){B.remove();B=a('<div id="cboxLoadedContent"/>').html(q);B.hide().appendTo(L).css({width:v(),overflow:l.scrolling?"auto":"hidden"}).css({height:E()}).prependTo(m);a("#cboxPhoto").css({cssFloat:"none"});s&&a("select:not(#colorbox select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("cbox_cleanup",
function(){this.style.visibility="inherit"});l.transition==="fade"&&f.fadeTo(Z,0,function(){D(0)})||D(Z);if(l.preloading&&z.length>1){q=I>0?z[I-1]:z[z.length-1];J=I<z.length-1?z[I+1]:z[0];J=a(J).data(h).href||J.href;q=a(q).data(h).href||q.href;g(J)&&a("<img />").attr("src",J);g(q)&&a("<img />").attr("src",q)}}else setTimeout(function(){var Y=B.wrapInner("<div style='overflow:auto'></div>").children();l.h=Y.height();B.css({height:l.h});Y.replaceWith(Y.children());o.position(Z)},1)}};o.load=function(){var q,
v,E,D=o.resize;W=r;F=z[I];l=a.extend({},a(F).data(h));b();a.event.trigger(w);l.onLoad&&l.onLoad.call(F);l.h=l.height?c(l.height,"y")-P-S:l.innerHeight?c(l.innerHeight,"y"):false;l.w=l.width?c(l.width,"x")-Q-T:l.innerWidth?c(l.innerWidth,"x"):false;l.mw=l.w;l.mh=l.h;if(l.maxWidth){l.mw=c(l.maxWidth,"x")-Q-T;l.mw=l.w&&l.w<l.mw?l.w:l.mw}if(l.maxHeight){l.mh=c(l.maxHeight,"y")-P-S;l.mh=l.h&&l.h<l.mh?l.h:l.mh}q=l.href;M.show();N.show();if(l.inline){a('<div id="cboxInlineTemp" />').hide().insertBefore(a(q)[0]).bind(w+
" cbox_cleanup",function(){a(this).replaceWith(B.children())});D(a(q))}else if(l.iframe)D(" ");else if(l.html)D(l.html);else if(g(q)){v=new Image;v.onload=function(){var J;v.onload=null;v.id="cboxPhoto";a(v).css({margin:"auto",border:"none",display:"block",cssFloat:"left"});if(l.scalePhotos){E=function(){v.height-=v.height*J;v.width-=v.width*J};if(l.mw&&v.width>l.mw){J=(v.width-l.mw)/v.width;E()}if(l.mh&&v.height>l.mh){J=(v.height-l.mh)/v.height;E()}}if(l.h)v.style.marginTop=Math.max(l.h-v.height,
0)/2+"px";D(v);z.length>1&&a(v).css({cursor:"pointer"}).click(o.next);if(t)v.style.msInterpolationMode="bicubic"};v.src=q}else a("<div />").appendTo(L).load(q,function(J,U){U==="success"?D(this):D(a("<p>Request unsuccessful.</p>"))})};o.next=function(){if(!W){I=I<z.length-1?I+1:0;o.load()}};o.prev=function(){if(!W){I=I>0?I-1:z.length-1;o.load()}};o.slideshow=function(){function q(){K.text(l.slideshowStop).bind(A,function(){E=setTimeout(o.next,l.slideshowSpeed)}).bind(w,function(){clearTimeout(E)}).one("click",
function(){v();a(this).removeClass(j)});f.removeClass(D+"off").addClass(D+"on")}var v,E,D="cboxSlideshow_";K.bind("cbox_closed",function(){K.unbind();clearTimeout(E);f.removeClass(D+"off "+D+"on")});v=function(){clearTimeout(E);K.text(l.slideshowStart).unbind(A+" "+w).one("click",function(){q();E=setTimeout(o.next,l.slideshowSpeed);a(this).removeClass(j)});f.removeClass(D+"on").addClass(D+"off")};if(l.slideshow&&z.length>1)l.slideshowAuto?q():v()};o.close=function(){a.event.trigger("cbox_cleanup");
l.onCleanup&&l.onCleanup.call(F);V=false;a(document).unbind("keydown.cbox_close keydown.cbox_arrows");C.unbind(H+" resize.cboxie6 scroll.cboxie6");d.css({cursor:"auto"}).fadeOut("fast");f.stop(r,false).fadeOut("fast",function(){a("#colorbox iframe").attr("src","about:blank");B.remove();f.css({opacity:1});try{$.focus()}catch(q){}a.event.trigger("cbox_closed");l.onClosed&&l.onClosed.call(F)})};o.element=function(){return a(F)};o.settings=ba;a(o.init)})(jQuery);/*

 jQuery Cycle Plugin (with Transition Definitions)
 Examples and documentation at: http://jquery.malsup.com/cycle/
 Copyright (c) 2007-2010 M. Alsup
 Version: 2.84 (30-MAR-2010)
 Dual licensed under the MIT and GPL licenses:
 http://www.opensource.org/licenses/mit-license.php
 http://www.gnu.org/licenses/gpl.html
 Requires: jQuery v1.2.6 or later
*/
(function(a){function c(d){a.fn.cycle.debug&&g(d)}function g(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function b(d,f,k){if(d.cycleStop==undefined)d.cycleStop=0;if(f===undefined||f===null)f={};if(f.constructor==String){switch(f){case "destroy":case "stop":k=a(d).data("cycle.opts");if(!k)return false;d.cycleStop++;d.cycleTimeout&&clearTimeout(d.cycleTimeout);d.cycleTimeout=0;a(d).removeData("cycle.opts");f=="destroy"&&h(k);return false;
case "toggle":d.cyclePause=d.cyclePause===1?0:1;return false;case "pause":d.cyclePause=1;return false;case "resume":d.cyclePause=0;if(k===true){f=a(d).data("cycle.opts");if(!f){g("options not found, can not resume");return false}if(d.cycleTimeout){clearTimeout(d.cycleTimeout);d.cycleTimeout=0}s(f.elements,f,1,1)}return false;case "prev":case "next":k=a(d).data("cycle.opts");if(!k){g('options not found, "prev/next" ignored');return false}a.fn.cycle[f](k);return false;default:f={fx:f}}return f}else if(f.constructor==
Number){var m=f;f=a(d).data("cycle.opts");if(!f){g("options not found, can not advance slide");return false}if(m<0||m>=f.elements.length){g("invalid slide index: "+m);return false}f.nextSlide=m;if(d.cycleTimeout){clearTimeout(d.cycleTimeout);d.cycleTimeout=0}if(typeof k=="string")f.oneTimeFx=k;s(f.elements,f,1,m>=f.currSlide);return false}return f}function e(d,f){if(!a.support.opacity&&f.cleartype&&d.style.filter)try{d.style.removeAttribute("filter")}catch(k){}}function h(d){d.next&&a(d.next).unbind(d.prevNextEvent);
d.prev&&a(d.prev).unbind(d.prevNextEvent);if(d.pager||d.pagerAnchorBuilder)a.each(d.pagerAnchors||[],function(){this.unbind().remove()});d.pagerAnchors=null;d.destroy&&d.destroy(d)}function j(d,f,k,m,n){var i=a.extend({},a.fn.cycle.defaults,m||{},a.metadata?d.metadata():a.meta?d.data():{});if(i.autostop)i.countdown=i.autostopCount||k.length;var x=d[0];d.data("cycle.opts",i);i.$cont=d;i.stopCount=x.cycleStop;i.elements=k;i.before=i.before?[i.before]:[];i.after=i.after?[i.after]:[];i.after.unshift(function(){i.busy=
0});!a.support.opacity&&i.cleartype&&i.after.push(function(){e(this,i)});i.continuous&&i.after.push(function(){s(k,i,0,!i.rev)});r(i);!a.support.opacity&&i.cleartype&&!i.cleartypeNoBg&&H(f);d.css("position")=="static"&&d.css("position","relative");i.width&&d.width(i.width);i.height&&i.height!="auto"&&d.height(i.height);if(i.startingSlide)i.startingSlide=parseInt(i.startingSlide);if(i.random){i.randomMap=[];for(x=0;x<k.length;x++)i.randomMap.push(x);i.randomMap.sort(function(){return Math.random()-
0.5});i.randomIndex=1;i.startingSlide=i.randomMap[1]}else if(i.startingSlide>=k.length)i.startingSlide=0;i.currSlide=i.startingSlide||0;var y=i.startingSlide;f.css({position:"absolute",top:0,left:0}).hide().each(function(G){G=y?G>=y?k.length-(G-y):y-G:k.length-G;a(this).css("z-index",G)});a(k[y]).css("opacity",1).show();e(k[y],i);i.fit&&i.width&&f.width(i.width);i.fit&&i.height&&i.height!="auto"&&f.height(i.height);if(i.containerResize&&!d.innerHeight()){for(var z=x=0,C=0;C<k.length;C++){var B=a(k[C]),
L=B[0],M=B.outerWidth(),N=B.outerHeight();M||(M=L.offsetWidth||L.width||B.attr("width"));N||(N=L.offsetHeight||L.height||B.attr("height"));x=M>x?M:x;z=N>z?N:z}x>0&&z>0&&d.css({width:x+"px",height:z+"px"})}i.pause&&d.hover(function(){this.cyclePause++},function(){this.cyclePause--});if(o(i)===false)return false;var R=false;m.requeueAttempts=m.requeueAttempts||0;f.each(function(){var G=a(this);this.cycleH=i.fit&&i.height?i.height:G.height()||this.offsetHeight||this.height||G.attr("height")||0;this.cycleW=
i.fit&&i.width?i.width:G.width()||this.offsetWidth||this.width||G.attr("width")||0;if(G.is("img")){G=a.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete;var K=a.browser.opera&&(this.cycleW==42&&this.cycleH==19||this.cycleW==37&&this.cycleH==17)&&!this.complete,O=this.cycleH==0&&this.cycleW==0&&!this.complete;if(a.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete||G||K||O)if(n.s&&i.requeueOnImageNotLoaded&&++m.requeueAttempts<100){g(m.requeueAttempts," - img slide not loaded, requeuing slideshow: ",
this.src,this.cycleW,this.cycleH);setTimeout(function(){a(n.s,n.c).cycle(m)},i.requeueTimeout);R=true;return false}else g("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}return true});if(R)return false;i.cssBefore=i.cssBefore||{};i.animIn=i.animIn||{};i.animOut=i.animOut||{};f.not(":eq("+y+")").css(i.cssBefore);i.cssFirst&&a(f[y]).css(i.cssFirst);if(i.timeout){i.timeout=parseInt(i.timeout);if(i.speed.constructor==String)i.speed=a.fx.speeds[i.speed]||parseInt(i.speed);i.sync||
(i.speed/=2);for(x=i.fx=="shuffle"?500:250;i.timeout-i.speed<x;)i.timeout+=i.speed}if(i.easing)i.easeIn=i.easeOut=i.easing;if(!i.speedIn)i.speedIn=i.speed;if(!i.speedOut)i.speedOut=i.speed;i.slideCount=k.length;i.currSlide=i.lastSlide=y;if(i.random){if(++i.randomIndex==k.length)i.randomIndex=0;i.nextSlide=i.randomMap[i.randomIndex]}else i.nextSlide=i.startingSlide>=k.length-1?0:i.startingSlide+1;if(!i.multiFx){x=a.fn.cycle.transitions[i.fx];if(a.isFunction(x))x(d,f,i);else if(i.fx!="custom"&&!i.multiFx){g("unknown transition: "+
i.fx,"; slideshow terminating");return false}}d=f[y];i.before.length&&i.before[0].apply(d,[d,d,i,true]);i.after.length>1&&i.after[1].apply(d,[d,d,i,true]);i.next&&a(i.next).bind(i.prevNextEvent,function(){return w(i,i.rev?-1:1)});i.prev&&a(i.prev).bind(i.prevNextEvent,function(){return w(i,i.rev?1:-1)});if(i.pager||i.pagerAnchorBuilder)A(k,i);t(i,k);return i}function r(d){d.original={before:[],after:[]};d.original.cssBefore=a.extend({},d.cssBefore);d.original.cssAfter=a.extend({},d.cssAfter);d.original.animIn=
a.extend({},d.animIn);d.original.animOut=a.extend({},d.animOut);a.each(d.before,function(){d.original.before.push(this)});a.each(d.after,function(){d.original.after.push(this)})}function o(d){var f,k,m=a.fn.cycle.transitions;if(d.fx.indexOf(",")>0){d.multiFx=true;d.fxs=d.fx.replace(/\s*/g,"").split(",");for(f=0;f<d.fxs.length;f++){var n=d.fxs[f];k=m[n];if(!k||!m.hasOwnProperty(n)||!a.isFunction(k)){g("discarding unknown transition: ",n);d.fxs.splice(f,1);f--}}if(!d.fxs.length){g("No valid transitions named; slideshow terminating.");
return false}}else if(d.fx=="all"){d.multiFx=true;d.fxs=[];for(p in m){k=m[p];m.hasOwnProperty(p)&&a.isFunction(k)&&d.fxs.push(p)}}if(d.multiFx&&d.randomizeEffects){k=Math.floor(Math.random()*20)+30;for(f=0;f<k;f++)d.fxs.push(d.fxs.splice(Math.floor(Math.random()*d.fxs.length),1)[0]);c("randomized fx sequence: ",d.fxs)}return true}function t(d,f){d.addSlide=function(k,m){var n=a(k),i=n[0];d.autostopCount||d.countdown++;f[m?"unshift":"push"](i);if(d.els)d.els[m?"unshift":"push"](i);d.slideCount=f.length;
n.css("position","absolute");n[m?"prependTo":"appendTo"](d.$cont);if(m){d.currSlide++;d.nextSlide++}!a.support.opacity&&d.cleartype&&!d.cleartypeNoBg&&H(n);d.fit&&d.width&&n.width(d.width);d.fit&&d.height&&d.height!="auto"&&$slides.height(d.height);i.cycleH=d.fit&&d.height?d.height:n.height();i.cycleW=d.fit&&d.width?d.width:n.width();n.css(d.cssBefore);if(d.pager||d.pagerAnchorBuilder)a.fn.cycle.createPagerAnchor(f.length-1,i,a(d.pager),f,d);a.isFunction(d.onAddSlide)?d.onAddSlide(n):n.hide()}}function s(d,
f,k,m){if(k&&f.busy&&f.manualTrump){c("manualTrump in go(), stopping active transition");a(d).stop(true,true);f.busy=false}if(f.busy)c("transition active, ignoring new tx request");else{var n=f.$cont[0],i=d[f.currSlide],x=d[f.nextSlide];if(!(n.cycleStop!=f.stopCount||n.cycleTimeout===0&&!k))if(!k&&!n.cyclePause&&(f.autostop&&--f.countdown<=0||f.nowrap&&!f.random&&f.nextSlide<f.currSlide))f.end&&f.end(f);else{var y=false;if((k||!n.cyclePause)&&f.nextSlide!=f.currSlide){y=true;var z=f.fx;i.cycleH=i.cycleH||
a(i).height();i.cycleW=i.cycleW||a(i).width();x.cycleH=x.cycleH||a(x).height();x.cycleW=x.cycleW||a(x).width();if(f.multiFx){if(f.lastFx==undefined||++f.lastFx>=f.fxs.length)f.lastFx=0;z=f.fxs[f.lastFx];f.currFx=z}if(f.oneTimeFx){z=f.oneTimeFx;f.oneTimeFx=null}a.fn.cycle.resetState(f,z);f.before.length&&a.each(f.before,function(C,B){n.cycleStop==f.stopCount&&B.apply(x,[i,x,f,m])});z=function(){a.each(f.after,function(C,B){n.cycleStop==f.stopCount&&B.apply(x,[i,x,f,m])})};c("tx firing; currSlide: "+
f.currSlide+"; nextSlide: "+f.nextSlide);f.busy=1;if(f.fxFn)f.fxFn(i,x,f,z,m,k&&f.fastOnEvent);else a.isFunction(a.fn.cycle[f.fx])?a.fn.cycle[f.fx](i,x,f,z,m,k&&f.fastOnEvent):a.fn.cycle.custom(i,x,f,z,m,k&&f.fastOnEvent)}if(!n.cyclePause){f.lastSlide=f.currSlide;if(f.random){f.currSlide=f.nextSlide;if(++f.randomIndex==d.length)f.randomIndex=0;f.nextSlide=f.randomMap[f.randomIndex];if(f.nextSlide==f.currSlide)f.nextSlide=f.currSlide==f.slideCount-1?0:f.currSlide+1}else{k=f.nextSlide+1==d.length;f.nextSlide=
k?0:f.nextSlide+1;f.currSlide=k?d.length-1:f.nextSlide-1}}y&&f.pager&&f.updateActivePagerLink(f.pager,f.currSlide,f.activePagerClass);y=0;if(f.timeout&&!f.continuous)y=u(i,x,f,m);else if(f.continuous&&n.cyclePause)y=10;if(y>0)n.cycleTimeout=setTimeout(function(){s(d,f,0,!f.rev)},y)}}}function u(d,f,k,m){if(k.timeoutFn){for(d=k.timeoutFn(d,f,k,m);d-k.speed<250;)d+=k.speed;c("calculated timeout: "+d+"; speed: "+k.speed);if(d!==false)return d}return k.timeout}function w(d,f){var k=d.elements,m=d.$cont[0],
n=m.cycleTimeout;if(n){clearTimeout(n);m.cycleTimeout=0}if(d.random&&f<0){d.randomIndex--;if(--d.randomIndex==-2)d.randomIndex=k.length-2;else if(d.randomIndex==-1)d.randomIndex=k.length-1;d.nextSlide=d.randomMap[d.randomIndex]}else if(d.random)d.nextSlide=d.randomMap[d.randomIndex];else{d.nextSlide=d.currSlide+f;if(d.nextSlide<0){if(d.nowrap)return false;d.nextSlide=k.length-1}else if(d.nextSlide>=k.length){if(d.nowrap)return false;d.nextSlide=0}}m=d.onPrevNextEvent||d.prevNextClick;a.isFunction(m)&&
m(f>0,d.nextSlide,k[d.nextSlide]);s(k,d,1,f>=0);return false}function A(d,f){var k=a(f.pager);a.each(d,function(m,n){a.fn.cycle.createPagerAnchor(m,n,k,d,f)});f.updateActivePagerLink(f.pager,f.startingSlide,f.activePagerClass)}function H(d){function f(m){m=parseInt(m).toString(16);return m.length<2?"0"+m:m}function k(m){for(;m&&m.nodeName.toLowerCase()!="html";m=m.parentNode){var n=a.css(m,"background-color");if(n.indexOf("rgb")>=0){m=n.match(/\d+/g);return"#"+f(m[0])+f(m[1])+f(m[2])}if(n&&n!="transparent")return n}return"#ffffff"}
c("applying clearType background-color hack");d.each(function(){a(this).css("background-color",k(this))})}if(a.support==undefined)a.support={opacity:!a.browser.msie};a.fn.cycle=function(d,f){var k={s:this.selector,c:this.context};if(this.length===0&&d!="stop"){if(!a.isReady&&k.s){g("DOM not ready, queuing slideshow");a(function(){a(k.s,k.c).cycle(d,f)});return this}g("terminating; zero elements found by selector"+(a.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var m=b(this,
d,f);if(m!==false){m.updateActivePagerLink=m.updateActivePagerLink||a.fn.cycle.updateActivePagerLink;this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cycleTimeout=this.cyclePause=0;var n=a(this),i=m.slideExpr?a(m.slideExpr,this):n.children(),x=i.get();if(x.length<2)g("terminating; too few slides: "+x.length);else{var y=j(n,i,x,m,k);if(y!==false)if(m=y.continuous?10:u(y.currSlide,y.nextSlide,y,!y.rev)){m+=y.delay||0;if(m<10)m=10;c("first timeout: "+m);this.cycleTimeout=setTimeout(function(){s(x,
y,0,!y.rev)},m)}}}})};a.fn.cycle.resetState=function(d,f){f=f||d.fx;d.before=[];d.after=[];d.cssBefore=a.extend({},d.original.cssBefore);d.cssAfter=a.extend({},d.original.cssAfter);d.animIn=a.extend({},d.original.animIn);d.animOut=a.extend({},d.original.animOut);d.fxFn=null;a.each(d.original.before,function(){d.before.push(this)});a.each(d.original.after,function(){d.after.push(this)});var k=a.fn.cycle.transitions[f];a.isFunction(k)&&k(d.$cont,a(d.elements),d)};a.fn.cycle.updateActivePagerLink=function(d,
f,k){a(d).each(function(){a(this).children().removeClass(k).eq(f).addClass(k)})};a.fn.cycle.next=function(d){w(d,d.rev?-1:1)};a.fn.cycle.prev=function(d){w(d,d.rev?1:-1)};a.fn.cycle.createPagerAnchor=function(d,f,k,m,n){if(a.isFunction(n.pagerAnchorBuilder)){f=n.pagerAnchorBuilder(d,f);c("pagerAnchorBuilder("+d+", el) returned: "+f)}else f='<a href="#">'+(d+1)+"</a>";if(f){var i=a(f);if(i.parents("body").length===0){var x=[];if(k.length>1){k.each(function(){var y=i.clone(true);a(this).append(y);x.push(y[0])});
i=a(x)}else i.appendTo(k)}n.pagerAnchors=n.pagerAnchors||[];n.pagerAnchors.push(i);i.bind(n.pagerEvent,function(y){y.preventDefault();n.nextSlide=d;y=n.$cont[0];var z=y.cycleTimeout;if(z){clearTimeout(z);y.cycleTimeout=0}y=n.onPagerEvent||n.pagerClick;a.isFunction(y)&&y(n.nextSlide,m[n.nextSlide]);s(m,n,1,n.currSlide<d)});!/^click/.test(n.pagerEvent)&&!n.allowPagerClickBubble&&i.bind("click.cycle",function(){return false});n.pauseOnPagerHover&&i.hover(function(){n.$cont[0].cyclePause++},function(){n.$cont[0].cyclePause--})}};
a.fn.cycle.hopsFromLast=function(d,f){var k=d.lastSlide,m=d.currSlide;return f?m>k?m-k:d.slideCount-k:m<k?k-m:k+d.slideCount-m};a.fn.cycle.commonReset=function(d,f,k,m,n,i){a(k.elements).not(d).hide();k.cssBefore.opacity=1;k.cssBefore.display="block";if(m!==false&&f.cycleW>0)k.cssBefore.width=f.cycleW;if(n!==false&&f.cycleH>0)k.cssBefore.height=f.cycleH;k.cssAfter=k.cssAfter||{};k.cssAfter.display="none";a(d).css("zIndex",k.slideCount+(i===true?1:0));a(f).css("zIndex",k.slideCount+(i===true?0:1))};
a.fn.cycle.custom=function(d,f,k,m,n,i){var x=a(d),y=a(f),z=k.speedIn;d=k.speedOut;var C=k.easeIn;f=k.easeOut;y.css(k.cssBefore);if(i){z=typeof i=="number"?(d=i):(d=1);C=f=null}var B=function(){y.animate(k.animIn,z,C,m)};x.animate(k.animOut,d,f,function(){k.cssAfter&&x.css(k.cssAfter);k.sync||B()});k.sync&&B()};a.fn.cycle.transitions={fade:function(d,f,k){f.not(":eq("+k.currSlide+")").css("opacity",0);k.before.push(function(m,n,i){a.fn.cycle.commonReset(m,n,i);i.cssBefore.opacity=0});k.animIn={opacity:1};
k.animOut={opacity:0};k.cssBefore={top:0,left:0}}};a.fn.cycle.ver=function(){return"2.84"};a.fn.cycle.defaults={fx:"fade",timeout:4E3,timeoutFn:null,continuous:0,speed:1E3,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,
fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!a.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null}})(jQuery);
(function(a){a.fn.cycle.transitions.none=function(c,g,b){b.fxFn=function(e,h,j,r){a(h).show();a(e).hide();r()}};a.fn.cycle.transitions.scrollUp=function(c,g,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);c=c.height();b.cssBefore={top:c,left:0};b.cssFirst={top:0};b.animIn={top:0};b.animOut={top:-c}};a.fn.cycle.transitions.scrollDown=function(c,g,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);c=c.height();b.cssFirst={top:0};b.cssBefore={top:-c,left:0};b.animIn=
{top:0};b.animOut={top:c}};a.fn.cycle.transitions.scrollLeft=function(c,g,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);c=c.width();b.cssFirst={left:0};b.cssBefore={left:c,top:0};b.animIn={left:0};b.animOut={left:0-c}};a.fn.cycle.transitions.scrollRight=function(c,g,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);c=c.width();b.cssFirst={left:0};b.cssBefore={left:-c,top:0};b.animIn={left:0};b.animOut={left:c}};a.fn.cycle.transitions.scrollHorz=function(c,g,
b){c.css("overflow","hidden").width();b.before.push(function(e,h,j,r){a.fn.cycle.commonReset(e,h,j);j.cssBefore.left=r?h.cycleW-1:1-h.cycleW;j.animOut.left=r?-e.cycleW:e.cycleW});b.cssFirst={left:0};b.cssBefore={top:0};b.animIn={left:0};b.animOut={top:0}};a.fn.cycle.transitions.scrollVert=function(c,g,b){c.css("overflow","hidden");b.before.push(function(e,h,j,r){a.fn.cycle.commonReset(e,h,j);j.cssBefore.top=r?1-h.cycleH:h.cycleH-1;j.animOut.top=r?e.cycleH:-e.cycleH});b.cssFirst={top:0};b.cssBefore=
{left:0};b.animIn={top:0};b.animOut={left:0}};a.fn.cycle.transitions.slideX=function(c,g,b){b.before.push(function(e,h,j){a(j.elements).not(e).hide();a.fn.cycle.commonReset(e,h,j,false,true);j.animIn.width=h.cycleW});b.cssBefore={left:0,top:0,width:0};b.animIn={width:"show"};b.animOut={width:0}};a.fn.cycle.transitions.slideY=function(c,g,b){b.before.push(function(e,h,j){a(j.elements).not(e).hide();a.fn.cycle.commonReset(e,h,j,true,false);j.animIn.height=h.cycleH});b.cssBefore={left:0,top:0,height:0};
b.animIn={height:"show"};b.animOut={height:0}};a.fn.cycle.transitions.shuffle=function(c,g,b){c=c.css("overflow","visible").width();g.css({left:0,top:0});b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,h,j,true,true,true)});if(!b.speedAdjusted){b.speed/=2;b.speedAdjusted=true}b.random=0;b.shuffle=b.shuffle||{left:-c,top:15};b.els=[];for(c=0;c<g.length;c++)b.els.push(g[c]);for(c=0;c<b.currSlide;c++)b.els.push(b.els.shift());b.fxFn=function(e,h,j,r,o){var t=o?a(e):a(h);a(h).css(j.cssBefore);
var s=j.slideCount;t.animate(j.shuffle,j.speedIn,j.easeIn,function(){for(var u=a.fn.cycle.hopsFromLast(j,o),w=0;w<u;w++)o?j.els.push(j.els.shift()):j.els.unshift(j.els.pop());if(o){u=0;for(w=j.els.length;u<w;u++)a(j.els[u]).css("z-index",w-u+s)}else{u=a(e).css("z-index");t.css("z-index",parseInt(u)+1+s)}t.animate({left:0,top:0},j.speedOut,j.easeOut,function(){a(o?this:e).hide();r&&r()})})};b.cssBefore={display:"block",opacity:1,top:0,left:0}};a.fn.cycle.transitions.turnUp=function(c,g,b){b.before.push(function(e,
h,j){a.fn.cycle.commonReset(e,h,j,true,false);j.cssBefore.top=h.cycleH;j.animIn.height=h.cycleH});b.cssFirst={top:0};b.cssBefore={left:0,height:0};b.animIn={top:0};b.animOut={height:0}};a.fn.cycle.transitions.turnDown=function(c,g,b){b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,h,j,true,false);j.animIn.height=h.cycleH;j.animOut.top=e.cycleH});b.cssFirst={top:0};b.cssBefore={left:0,top:0,height:0};b.animOut={height:0}};a.fn.cycle.transitions.turnLeft=function(c,g,b){b.before.push(function(e,
h,j){a.fn.cycle.commonReset(e,h,j,false,true);j.cssBefore.left=h.cycleW;j.animIn.width=h.cycleW});b.cssBefore={top:0,width:0};b.animIn={left:0};b.animOut={width:0}};a.fn.cycle.transitions.turnRight=function(c,g,b){b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,h,j,false,true);j.animIn.width=h.cycleW;j.animOut.left=e.cycleW});b.cssBefore={top:0,left:0,width:0};b.animIn={left:0};b.animOut={width:0}};a.fn.cycle.transitions.zoom=function(c,g,b){b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,
h,j,false,false,true);j.cssBefore.top=h.cycleH/2;j.cssBefore.left=h.cycleW/2;j.animIn={top:0,left:0,width:h.cycleW,height:h.cycleH};j.animOut={width:0,height:0,top:e.cycleH/2,left:e.cycleW/2}});b.cssFirst={top:0,left:0};b.cssBefore={width:0,height:0}};a.fn.cycle.transitions.fadeZoom=function(c,g,b){b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,h,j,false,false);j.cssBefore.left=h.cycleW/2;j.cssBefore.top=h.cycleH/2;j.animIn={top:0,left:0,width:h.cycleW,height:h.cycleH}});b.cssBefore={width:0,
height:0};b.animOut={opacity:0}};a.fn.cycle.transitions.blindX=function(c,g,b){c=c.css("overflow","hidden").width();b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,h,j);j.animIn.width=h.cycleW;j.animOut.left=e.cycleW});b.cssBefore={left:c,top:0};b.animIn={left:0};b.animOut={left:c}};a.fn.cycle.transitions.blindY=function(c,g,b){c=c.css("overflow","hidden").height();b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,h,j);j.animIn.height=h.cycleH;j.animOut.top=e.cycleH});b.cssBefore={top:c,
left:0};b.animIn={top:0};b.animOut={top:c}};a.fn.cycle.transitions.blindZ=function(c,g,b){g=c.css("overflow","hidden").height();c=c.width();b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,h,j);j.animIn.height=h.cycleH;j.animOut.top=e.cycleH});b.cssBefore={top:g,left:c};b.animIn={top:0,left:0};b.animOut={top:g,left:c}};a.fn.cycle.transitions.growX=function(c,g,b){b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,h,j,false,true);j.cssBefore.left=this.cycleW/2;j.animIn={left:0,width:this.cycleW};
j.animOut={left:0}});b.cssBefore={width:0,top:0}};a.fn.cycle.transitions.growY=function(c,g,b){b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,h,j,true,false);j.cssBefore.top=this.cycleH/2;j.animIn={top:0,height:this.cycleH};j.animOut={top:0}});b.cssBefore={height:0,left:0}};a.fn.cycle.transitions.curtainX=function(c,g,b){b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,h,j,false,true,true);j.cssBefore.left=h.cycleW/2;j.animIn={left:0,width:this.cycleW};j.animOut={left:e.cycleW/2,width:0}});
b.cssBefore={top:0,width:0}};a.fn.cycle.transitions.curtainY=function(c,g,b){b.before.push(function(e,h,j){a.fn.cycle.commonReset(e,h,j,true,false,true);j.cssBefore.top=h.cycleH/2;j.animIn={top:0,height:h.cycleH};j.animOut={top:e.cycleH/2,height:0}});b.cssBefore={left:0,height:0}};a.fn.cycle.transitions.cover=function(c,g,b){var e=b.direction||"left",h=c.css("overflow","hidden").width(),j=c.height();b.before.push(function(r,o,t){a.fn.cycle.commonReset(r,o,t);if(e=="right")t.cssBefore.left=-h;else if(e==
"up")t.cssBefore.top=j;else if(e=="down")t.cssBefore.top=-j;else t.cssBefore.left=h});b.animIn={left:0,top:0};b.animOut={opacity:1};b.cssBefore={top:0,left:0}};a.fn.cycle.transitions.uncover=function(c,g,b){var e=b.direction||"left",h=c.css("overflow","hidden").width(),j=c.height();b.before.push(function(r,o,t){a.fn.cycle.commonReset(r,o,t,true,true,true);if(e=="right")t.animOut.left=h;else if(e=="up")t.animOut.top=-j;else if(e=="down")t.animOut.top=j;else t.animOut.left=-h});b.animIn={left:0,top:0};
b.animOut={opacity:1};b.cssBefore={top:0,left:0}};a.fn.cycle.transitions.toss=function(c,g,b){var e=c.css("overflow","visible").width(),h=c.height();b.before.push(function(j,r,o){a.fn.cycle.commonReset(j,r,o,true,true,true);if(!o.animOut.left&&!o.animOut.top)o.animOut={left:e*2,top:-h/2,opacity:0};else o.animOut.opacity=0});b.cssBefore={left:0,top:0};b.animIn={left:0}};a.fn.cycle.transitions.wipe=function(c,g,b){var e=c.css("overflow","hidden").width(),h=c.height();b.cssBefore=b.cssBefore||{};var j;
if(b.clip)if(/l2r/.test(b.clip))j="rect(0px 0px "+h+"px 0px)";else if(/r2l/.test(b.clip))j="rect(0px "+e+"px "+h+"px "+e+"px)";else if(/t2b/.test(b.clip))j="rect(0px "+e+"px 0px 0px)";else if(/b2t/.test(b.clip))j="rect("+h+"px "+e+"px "+h+"px 0px)";else if(/zoom/.test(b.clip)){c=parseInt(h/2);g=parseInt(e/2);j="rect("+c+"px "+g+"px "+c+"px "+g+"px)"}b.cssBefore.clip=b.cssBefore.clip||j||"rect(0px 0px 0px 0px)";c=b.cssBefore.clip.match(/(\d+)/g);var r=parseInt(c[0]),o=parseInt(c[1]),t=parseInt(c[2]),
s=parseInt(c[3]);b.before.push(function(u,w,A){if(u!=w){var H=a(u),d=a(w);a.fn.cycle.commonReset(u,w,A,true,true,false);A.cssAfter.display="block";var f=1,k=parseInt(A.speedIn/13)-1;(function m(){var n=r?r-parseInt(f*(r/k)):0,i=s?s-parseInt(f*(s/k)):0,x=t<h?t+parseInt(f*((h-t)/k||1)):h,y=o<e?o+parseInt(f*((e-o)/k||1)):e;d.css({clip:"rect("+n+"px "+y+"px "+x+"px "+i+"px)"});f++<=k?setTimeout(m,13):H.css("display","none")})()}});b.cssBefore={display:"block",opacity:1,top:0,left:0};b.animIn={left:0};
b.animOut={left:0}}})(jQuery);jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(a,c,g,b,e){return jQuery.easing[jQuery.easing.def](a,c,g,b,e)},easeInQuad:function(a,c,g,b,e){return b*(c/=e)*c+g},easeOutQuad:function(a,c,g,b,e){return-b*(c/=e)*(c-2)+g},easeInOutQuad:function(a,c,g,b,e){if((c/=e/2)<1)return b/2*c*c+g;return-b/2*(--c*(c-2)-1)+g},easeInCubic:function(a,c,g,b,e){return b*(c/=e)*c*c+g},easeOutCubic:function(a,c,g,b,e){return b*((c=c/e-1)*c*c+1)+g},easeInOutCubic:function(a,c,g,b,e){if((c/=e/2)<1)return b/
2*c*c*c+g;return b/2*((c-=2)*c*c+2)+g},easeInQuart:function(a,c,g,b,e){return b*(c/=e)*c*c*c+g},easeOutQuart:function(a,c,g,b,e){return-b*((c=c/e-1)*c*c*c-1)+g},easeInOutQuart:function(a,c,g,b,e){if((c/=e/2)<1)return b/2*c*c*c*c+g;return-b/2*((c-=2)*c*c*c-2)+g},easeInQuint:function(a,c,g,b,e){return b*(c/=e)*c*c*c*c+g},easeOutQuint:function(a,c,g,b,e){return b*((c=c/e-1)*c*c*c*c+1)+g},easeInOutQuint:function(a,c,g,b,e){if((c/=e/2)<1)return b/2*c*c*c*c*c+g;return b/2*((c-=2)*c*c*c*c+2)+g},easeInSine:function(a,
c,g,b,e){return-b*Math.cos(c/e*(Math.PI/2))+b+g},easeOutSine:function(a,c,g,b,e){return b*Math.sin(c/e*(Math.PI/2))+g},easeInOutSine:function(a,c,g,b,e){return-b/2*(Math.cos(Math.PI*c/e)-1)+g},easeInExpo:function(a,c,g,b,e){return c==0?g:b*Math.pow(2,10*(c/e-1))+g},easeOutExpo:function(a,c,g,b,e){return c==e?g+b:b*(-Math.pow(2,-10*c/e)+1)+g},easeInOutExpo:function(a,c,g,b,e){if(c==0)return g;if(c==e)return g+b;if((c/=e/2)<1)return b/2*Math.pow(2,10*(c-1))+g;return b/2*(-Math.pow(2,-10*--c)+2)+g},
easeInCirc:function(a,c,g,b,e){return-b*(Math.sqrt(1-(c/=e)*c)-1)+g},easeOutCirc:function(a,c,g,b,e){return b*Math.sqrt(1-(c=c/e-1)*c)+g},easeInOutCirc:function(a,c,g,b,e){if((c/=e/2)<1)return-b/2*(Math.sqrt(1-c*c)-1)+g;return b/2*(Math.sqrt(1-(c-=2)*c)+1)+g},easeInElastic:function(a,c,g,b,e){a=1.70158;var h=0,j=b;if(c==0)return g;if((c/=e)==1)return g+b;h||(h=e*0.3);if(j<Math.abs(b)){j=b;a=h/4}else a=h/(2*Math.PI)*Math.asin(b/j);return-(j*Math.pow(2,10*(c-=1))*Math.sin((c*e-a)*2*Math.PI/h))+g},easeOutElastic:function(a,
c,g,b,e){a=1.70158;var h=0,j=b;if(c==0)return g;if((c/=e)==1)return g+b;h||(h=e*0.3);if(j<Math.abs(b)){j=b;a=h/4}else a=h/(2*Math.PI)*Math.asin(b/j);return j*Math.pow(2,-10*c)*Math.sin((c*e-a)*2*Math.PI/h)+b+g},easeInOutElastic:function(a,c,g,b,e){a=1.70158;var h=0,j=b;if(c==0)return g;if((c/=e/2)==2)return g+b;h||(h=e*0.3*1.5);if(j<Math.abs(b)){j=b;a=h/4}else a=h/(2*Math.PI)*Math.asin(b/j);if(c<1)return-0.5*j*Math.pow(2,10*(c-=1))*Math.sin((c*e-a)*2*Math.PI/h)+g;return j*Math.pow(2,-10*(c-=1))*Math.sin((c*
e-a)*2*Math.PI/h)*0.5+b+g},easeInBack:function(a,c,g,b,e,h){if(h==undefined)h=1.70158;return b*(c/=e)*c*((h+1)*c-h)+g},easeOutBack:function(a,c,g,b,e,h){if(h==undefined)h=1.70158;return b*((c=c/e-1)*c*((h+1)*c+h)+1)+g},easeInOutBack:function(a,c,g,b,e,h){if(h==undefined)h=1.70158;if((c/=e/2)<1)return b/2*c*c*(((h*=1.525)+1)*c-h)+g;return b/2*((c-=2)*c*(((h*=1.525)+1)*c+h)+2)+g},easeInBounce:function(a,c,g,b,e){return b-jQuery.easing.easeOutBounce(a,e-c,0,b,e)+g},easeOutBounce:function(a,c,g,b,e){return(c/=
e)<1/2.75?b*7.5625*c*c+g:c<2/2.75?b*(7.5625*(c-=1.5/2.75)*c+0.75)+g:c<2.5/2.75?b*(7.5625*(c-=2.25/2.75)*c+0.9375)+g:b*(7.5625*(c-=2.625/2.75)*c+0.984375)+g},easeInOutBounce:function(a,c,g,b,e){if(c<e/2)return jQuery.easing.easeInBounce(a,c*2,0,b,e)*0.5+g;return jQuery.easing.easeOutBounce(a,c*2-e,0,b,e)*0.5+b*0.5+g}});(function(a){a.fn.extend({elastic:function(){var c=["paddingTop","paddingRight","paddingBottom","paddingLeft","fontSize","lineHeight","fontFamily","width","fontWeight"];return this.each(function(){function g(s,u){curratedHeight=Math.floor(parseInt(s,10));e.height()!=curratedHeight&&e.css({height:curratedHeight+"px",overflow:u})}function b(){var s=e.val().replace(/&/g,"&amp;").replace(/  /g,"&nbsp;").replace(/<|>/g,"&gt;").replace(/\n/g,"<br />"),u=h.html();if(s+"&nbsp;"!=u){h.html(s+"&nbsp;");if(Math.abs(h.height()+
j-e.height())>3){s=h.height()+j;if(s>=o)g(o,"auto");else s<=r?g(r,"hidden"):g(s,"hidden")}}}if(this.type!="textarea")return false;var e=a(this),h=a("<div />").css({position:"absolute",display:"none","word-wrap":"break-word"}),j=parseInt(e.css("line-height"),10)||parseInt(e.css("font-size"),"10"),r=parseInt(e.css("height"),10)||j*3,o=parseInt(e.css("max-height"),10)||Number.MAX_VALUE,t=0;if(o<0)o=Number.MAX_VALUE;h.appendTo(e.parent());for(t=c.length;t--;)h.css(c[t].toString(),e.css(c[t].toString()));
e.css({overflow:"hidden"});e.keyup(function(){b()});e.live("input paste",function(){setTimeout(b,250)});b()})}})})(jQuery);/*

 over label effect from http://scott.sauyet.com/thoughts/archives/2007/03/31/overlabel-with-jquery/#comment-24381
*/
(function(a){a.fn.overlabel=function(){this.filter("label[for]").each(function(){var c=a(this),g=a('input[id="'+a(this).attr("for")+'"]');if(g.html()==null)g=a('textarea[id="'+a(this).attr("for")+'"]');if(g){var b=function(){if(g.val()==c.html()||g.val()==""){g.val(c.html());g.addClass("overlabel_shown")}};c.hide();g.focus(function(){if(g.val()==c.html()||g.val()==""){g.val("");g.removeClass("overlabel_shown")}}).blur(b).each(b)}})}})(jQuery);/*

 Superfish v1.4.8 - jQuery menu widget
 Copyright (c) 2008 Joel Birch

 Dual licensed under the MIT and GPL licenses:
 http://www.opensource.org/licenses/mit-license.php
 http://www.gnu.org/licenses/gpl.html

 CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
*/
(function(a){a.fn.superfish=function(g){var b=a.fn.superfish,e=b.c,h=a(['<span class="',e.arrowClass,'"> &#187;</span>'].join("")),j=function(){var s=a(this),u=o(s);clearTimeout(u.sfTimer);s.showSuperfishUl().siblings().hideSuperfishUl()},r=function(){var s=a(this),u=o(s),w=b.op;clearTimeout(u.sfTimer);u.sfTimer=setTimeout(function(){w.retainPath=a.inArray(s[0],w.$path)>-1;s.hideSuperfishUl();w.$path.length&&s.parents(["li.",w.hoverClass].join("")).length<1&&j.call(w.$path)},w.delay)},o=function(s){s=
s.parents(["ul.",e.menuClass,":first"].join(""))[0];b.op=b.o[s.serial];return s},t=function(s){s.addClass(e.anchorClass).append(h.clone())};return this.each(function(){var s=this.serial=b.o.length,u=a.extend({},b.defaults,g);u.$path=a("li."+u.pathClass,this).slice(0,u.pathLevels).each(function(){a(this).addClass([u.hoverClass,e.bcClass].join(" ")).filter("li:has(ul)").removeClass(u.pathClass)});b.o[s]=b.op=u;a("li:has(ul)",this)[a.fn.hoverIntent&&!u.disableHI?"hoverIntent":"hover"](j,r).each(function(){u.autoArrows&&
t(a(">a:first-child",this))}).not("."+e.bcClass).hideSuperfishUl();var w=a("a",this);w.each(function(A){var H=w.eq(A).parents("li");w.eq(A).focus(function(){j.call(H)}).blur(function(){r.call(H)})});u.onInit.call(this)}).each(function(){var s=[e.menuClass];b.op.dropShadows&&!(a.browser.msie&&a.browser.version<7)&&s.push(e.shadowClass);a(this).addClass(s.join(" "))})};var c=a.fn.superfish;c.o=[];c.op={};c.IE7fix=function(){var g=c.op;a.browser.msie&&a.browser.version>6&&g.dropShadows&&g.animation.opacity!=
undefined&&this.toggleClass(c.c.shadowClass+"-off")};c.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};c.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};a.fn.extend({hideSuperfishUl:function(){var g=c.op,
b=g.retainPath===true?g.$path:"";g.retainPath=false;b=a(["li.",g.hoverClass].join(""),this).add(this).not(b).removeClass(g.hoverClass).find(">ul").hide().css("visibility","hidden");g.onHide.call(b);return this},showSuperfishUl:function(){var g=c.op,b=this.addClass(g.hoverClass).find(">ul:hidden").css("visibility","visible");c.IE7fix.call(b);g.onBeforeShow.call(b);b.animate(g.animation,g.speed,function(){c.IE7fix.call(b);g.onShow.call(b)});return this}})})(jQuery);/*

 Supersubs v0.2b - jQuery plugin
 Copyright (c) 2008 Joel Birch

 Dual licensed under the MIT and GPL licenses:
 http://www.opensource.org/licenses/mit-license.php
 http://www.gnu.org/licenses/gpl.html


 This plugin automatically adjusts submenu widths of suckerfish-style menus to that of
 their longest list item children. If you use this, please expect bugs and report them
 to the jQuery Google Group with the word 'Superfish' in the subject line.

*/
(function(a){a.fn.supersubs=function(c){var g=a.extend({},a.fn.supersubs.defaults,c);return this.each(function(){var b=a(this),e=a.meta?a.extend({},g,b.data()):g,h=a('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(b).width();a("#menu-fontsize").remove();$ULs=b.find("ul");$ULs.each(function(j){j=$ULs.eq(j);var r=j.children(),o=r.children("a"),t=r.css("white-space","nowrap").css("float"),s=j.add(r).add(o).css({"float":"none",width:"auto"}).end().end()[0].clientWidth/
h;s+=e.extraWidth;if(s>e.maxWidth)s=e.maxWidth;else if(s<e.minWidth)s=e.minWidth;s+="em";j.css("width",s);r.css({"float":t,width:"100%","white-space":"normal"}).each(function(){var u=a(">ul",this),w=u.css("left")!==undefined?"left":"right";u.css(w,s)})})})};a.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery);/*

 jQuery.ScrollTo - Easy element scrolling using jQuery.
 Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 Dual licensed under MIT and GPL.
 Date: 5/25/2009
 @author Ariel Flesler
 @version 1.4.2

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

 jQuery Nivo Slider v1.9
 http://nivo.dev7studios.com

 Copyright 2010, Gilbert Pellegrom
 Free to use and abuse under the MIT license.
 http://www.opensource.org/licenses/mit-license.php

 April 2010 - controlNavThumbs option added by Jamie Thompson (http://jamiethompson.co.uk)
 March 2010 - manualAdvance option added by HelloPablo (http://hellopablo.co.uk)
*/
eval(function(a,c,g,b,e,h){e=function(j){return(j<c?"":e(parseInt(j/c)))+((j%=c)>35?String.fromCharCode(j+29):j.toString(36))};if(!"".replace(/^/,String)){for(;g--;)h[e(g)]=b[g]||e(g);b=[function(j){return h[j]}];e=function(){return"\\w+"};g=1}for(;g--;)if(b[g])a=a.replace(new RegExp("\\b"+e(g)+"\\b","g"),b[g]);return a}("(9($){$.1h.1i=9(1T){b 4=$.2b({},$.1h.1i.21,1T);K g.F(9(){b 3={e:0,n:'',T:0,u:'',H:l,1f:l,1O:l};b 5=$(g);5.1Q('7:3',3);5.f('2h','2i');5.w('1X');5.x('1X');5.1c('1i');b d=5.2f();d.F(9(){b o=$(g);6(!o.J('D')){6(o.J('a')){o.1c('7-2e')}o=o.1n('D:1m')}b 13=o.w();6(13==0)13=o.t('w');b 18=o.x();6(18==0)18=o.t('x');6(13>5.w()){5.w(13)}6(18>5.x()){5.x(18)}o.f('S','1z');3.T++});6(4.16>0){6(4.16>=3.T)4.16=3.T-1;3.e=4.16}6($(d[3.e]).J('D')){3.n=$(d[3.e])}k{3.n=$(d[3.e]).1n('D:1m')}6($(d[3.e]).J('a')){$(d[3.e]).f('S','1v')}5.f('Y','W('+3.n.t('M')+') Q-R');23(b i=0;i<4.h;i++){b E=1d.2a(5.w()/4.h);6(i==4.h-1){5.P($('<A B=\"7-c\"></A>').f({29:(E*i)+'12',w:(5.w()-(E*i))+'12'}))}k{5.P($('<A B=\"7-c\"></A>').f({29:(E*i)+'12',w:E+'12'}))}}5.P($('<A B=\"7-L\"><p></p></A>').f({S:'1z',y:4.20}));6(3.n.t('1a')!=''){$('.7-L p',5).1B(3.n.t('1a'));$('.7-L',5).1y(4.q)}b j=0;6(!4.1g){j=1o(9(){C(5,d,4,l)},4.1j)}6(4.V){5.P('<A B=\"7-V\"><a B=\"7-25\">2d</a><a B=\"7-27\">2k</a></A>');6(4.1N){$('.7-V',5).24();5.1W(9(){$('.7-V',5).2c()},9(){$('.7-V',5).24()})}$('a.7-25',5).1s('1u',9(){6(3.H)K l;X(j);j='';3.e-=2;C(5,d,4,'1r')});$('a.7-27',5).1s('1u',9(){6(3.H)K l;X(j);j='';C(5,d,4,'1q')})}6(4.G){b 1l=$('<A B=\"7-G\"></A>');5.P(1l);23(b i=0;i<d.22;i++){6(4.1L){b o=d.1w(i);6(!o.J('D')){o=o.1n('D:1m')}1l.P('<a B=\"7-1t\" 1x=\"'+i+'\"><D M=\"'+o.t('M').2g(4.1R,4.1S)+'\"></a>')}k{1l.P('<a B=\"7-1t\" 1x=\"'+i+'\">'+i+'</a>')}}$('.7-G a:1w('+3.e+')',5).1c('1b');$('.7-G a',5).1s('1u',9(){6(3.H)K l;6($(g).2j('1b'))K l;X(j);j='';5.f('Y','W('+3.n.t('M')+') Q-R');3.e=$(g).t('1x')-1;C(5,d,4,'1t')})}6(4.1Z){$(2m).2z(9(1A){6(1A.1V=='2w'){6(3.H)K l;X(j);j='';3.e-=2;C(5,d,4,'1r')}6(1A.1V=='2y'){6(3.H)K l;X(j);j='';C(5,d,4,'1q')}})}6(4.1U){5.1W(9(){3.1f=N;X(j);j=''},9(){3.1f=l;6(j==''&&!4.1g){j=1o(9(){C(5,d,4,l)},4.1j)}})}5.2A('7:U',9(){3.H=l;$(d).F(9(){6($(g).J('a')){$(g).f('S','1z')}});6($(d[3.e]).J('a')){$(d[3.e]).f('S','1v')}6(j==''&&!3.1f&&!4.1g){j=1o(9(){C(5,d,4,l)},4.1j)}4.1M.1p(g)})});9 C(5,d,4,14){b 3=5.1Q('7:3');6((!3||3.1O)&&!14)K l;4.1K.1p(g);6(!14){5.f('Y','W('+3.n.t('M')+') Q-R')}k{6(14=='1r'){5.f('Y','W('+3.n.t('M')+') Q-R')}6(14=='1q'){5.f('Y','W('+3.n.t('M')+') Q-R')}}3.e++;6(3.e==3.T){3.e=0;4.1P.1p(g)}6(3.e<0)3.e=(3.T-1);6($(d[3.e]).J('D')){3.n=$(d[3.e])}k{3.n=$(d[3.e]).1n('D:1m')}6(4.G){$('.7-G a',5).2B('1b');$('.7-G a:1w('+3.e+')',5).1c('1b')}6(3.n.t('1a')!=''){6($('.7-L',5).f('S')=='1v'){$('.7-L p',5).28(4.q,9(){$(g).1B(3.n.t('1a'));$(g).1y(4.q)})}k{$('.7-L p',5).1B(3.n.t('1a'))}$('.7-L',5).1y(4.q)}k{$('.7-L',5).28(4.q)}b i=0;$('.7-c',5).F(9(){b E=1d.2a(5.w()/4.h);$(g).f({x:'O',y:'0',Y:'W('+3.n.t('M')+') Q-R -'+((E+(i*E))-E)+'12 0%'});i++});6(4.m=='1G'){b 1J=2x 2u(\"1H\",\"10\",\"1I\",\"19\",\"1C\",\"Z\",\"1D\",\"1k\");3.u=1J[1d.2l(1d.1G()*(1J.22+1))];6(3.u==2n)3.u='1k'}3.H=N;6(4.m=='2v'||4.m=='1H'||3.u=='1H'||4.m=='10'||3.u=='10'){b r=0;b i=0;b h=$('.7-c',5);6(4.m=='10'||3.u=='10')h=$('.7-c',5).17();h.F(9(){b c=$(g);c.f('1E','O');6(i==4.h-1){I(9(){c.z({x:'s%',y:'1.0'},4.q,'',9(){5.11('7:U')})},(s+r))}k{I(9(){c.z({x:'s%',y:'1.0'},4.q)},(s+r))}r+=1e;i++})}k 6(4.m=='2p'||4.m=='1I'||3.u=='1I'||4.m=='19'||3.u=='19'){b r=0;b i=0;b h=$('.7-c',5);6(4.m=='19'||3.u=='19')h=$('.7-c',5).17();h.F(9(){b c=$(g);c.f('26','O');6(i==4.h-1){I(9(){c.z({x:'s%',y:'1.0'},4.q,'',9(){5.11('7:U')})},(s+r))}k{I(9(){c.z({x:'s%',y:'1.0'},4.q)},(s+r))}r+=1e;i++})}k 6(4.m=='1C'||4.m=='2q'||3.u=='1C'||4.m=='Z'||3.u=='Z'){b r=0;b i=0;b v=0;b h=$('.7-c',5);6(4.m=='Z'||3.u=='Z')h=$('.7-c',5).17();h.F(9(){b c=$(g);6(i==0){c.f('1E','O');i++}k{c.f('26','O');i=0}6(v==4.h-1){I(9(){c.z({x:'s%',y:'1.0'},4.q,'',9(){5.11('7:U')})},(s+r))}k{I(9(){c.z({x:'s%',y:'1.0'},4.q)},(s+r))}r+=1e;v++})}k 6(4.m=='1D'||3.u=='1D'){b r=0;b i=0;$('.7-c',5).F(9(){b c=$(g);b 1F=c.w();c.f({1E:'O',x:'s%',w:'O'});6(i==4.h-1){I(9(){c.z({w:1F,y:'1.0'},4.q,'',9(){5.11('7:U')})},(s+r))}k{I(9(){c.z({w:1F,y:'1.0'},4.q)},(s+r))}r+=1e;i++})}k 6(4.m=='1k'||3.u=='1k'){b i=0;$('.7-c',5).F(9(){$(g).f('x','s%');6(i==4.h-1){$(g).z({y:'1.0'},(4.q*2),'',9(){5.11('7:U')})}k{$(g).z({y:'1.0'},(4.q*2))}i++})}}};$.1h.1i.21={m:'1G',h:15,q:2t,1j:2s,16:0,V:N,1N:N,G:N,1L:l,1R:'.1Y',1S:'2r.1Y',1Z:N,1U:N,1g:l,20:0.8,1K:9(){},1M:9(){},1P:9(){}};$.1h.17=[].17})(2o);",
62,162,"|||vars|settings|slider|if|nivo||function||var|slice|kids|currentSlide|css|this|slices||timer|else|false|effect|currentImage|child||animSpeed|timeBuff|100|attr|randAnim||width|height|opacity|animate|div|class|nivoRun|img|sliceWidth|each|controlNav|running|setTimeout|is|return|caption|src|true|0px|append|no|repeat|display|totalSlides|animFinished|directionNav|url|clearInterval|background|sliceUpDownLeft|sliceDownLeft|trigger|px|childWidth|nudge||startSlide|reverse|childHeight|sliceUpLeft|title|active|addClass|Math|50|paused|manualAdvance|fn|nivoSlider|pauseTime|fade|nivoControl|first|find|setInterval|call|next|prev|live|control|click|block|eq|rel|fadeIn|none|event|html|sliceUpDown|fold|top|origWidth|random|sliceDownRight|sliceUpRight|anims|beforeChange|controlNavThumbs|afterChange|directionNavHide|stop|slideshowEnd|data|controlNavThumbsSearch|controlNavThumbsReplace|options|pauseOnHover|keyCode|hover|1px|jpg|keyboardNav|captionOpacity|defaults|length|for|hide|prevNav|bottom|nextNav|fadeOut|left|round|extend|show|Prev|imageLink|children|replace|position|relative|hasClass|Next|floor|window|undefined|jQuery|sliceUp|sliceUpDownRight|_thumb|3000|500|Array|sliceDown|37|new|39|keypress|bind|removeClass".split("|"),
0,{}));/*

 jQuery 'onImagesLoaded' plugin v1.1.1 (Updated January 27, 2010)
 Fires callback functions when images have loaded within a particular selector.

 Copyright (c) Cirkuit Networks, Inc. (http://www.cirkuit.net), 2008-2010.
 Dual licensed under the MIT and GPL licenses:
 http://www.opensource.org/licenses/mit-license.php
 http://www.gnu.org/licenses/gpl.html

 For documentation and usage, visit "http://includes.cirkuit.net/includes/js/jquery/plugins/onImagesLoad/1.1.1/documentation/"
*/
(function(a){a.fn.onImagesLoad=function(c){var g=this;g.opts=a.extend({},a.fn.onImagesLoad.defaults,c);g.bindEvents=function(e,h,j){if(e.length===0)g.opts.callbackIfNoImagesExist&&j&&j(h);else{var r=[];e.jquery||(e=a(e));e.each(function(o){var t=this.src;if(!a.browser.msie)this.src="";a(this).bind("load",function(){if(jQuery.inArray(o,r)<0){r.push(o);r.length==e.length&&j&&j.call(h,h)}});if(a.browser.msie){if(this.complete||this.complete===undefined)this.src=t}else this.src=t})}};var b=[];g.each(function(){if(g.opts.itemCallback){var e;
e=this.tagName=="IMG"?this:a("img",this);g.bindEvents(e,this,g.opts.itemCallback)}if(g.opts.selectorCallback)this.tagName=="IMG"?b.push(this):a("img",this).each(function(){b.push(this)})});g.opts.selectorCallback&&g.bindEvents(b,this,g.opts.selectorCallback);return g.each(function(){})};a.fn.onImagesLoad.defaults={selectorCallback:null,itemCallback:null,callbackIfNoImagesExist:false}})(jQuery);