// This code was compressed by yuicompressor
/*
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2009 M. Alsup
 * Version: 2.74 (03-FEB-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(I){var L="2.74";if(I.support==undefined){I.support={opacity:!(I.browser.msie)}}function B(P){if(I.fn.cycle.debug){H(P)}}function H(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}}I.fn.cycle=function(Q,P){var R={s:this.selector,c:this.context};if(this.length===0&&Q!="stop"){if(!I.isReady&&R.s){H("DOM not ready, queuing slideshow");I(function(){I(R.s,R.c).cycle(Q,P)});return this}H("terminating; zero elements found by selector"+(I.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var V=A(this,Q,P);if(V===false){return }if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var W=I(this);var X=V.slideExpr?I(V.slideExpr,this):W.children();var U=X.get();if(U.length<2){H("terminating; too few slides: "+U.length);return }var S=M(W,X,U,V,R);if(S===false){return }var T=S.continuous?10:F(S.currSlide,S.nextSlide,S,!S.rev);if(T){T+=(S.delay||0);if(T<10){T=10}B("first timeout: "+T);this.cycleTimeout=setTimeout(function(){G(U,S,0,!S.rev)},T)}})};function A(P,S,Q){if(P.cycleStop==undefined){P.cycleStop=0}if(S===undefined||S===null){S={}}if(S.constructor==String){switch(S){case"stop":P.cycleStop++;if(P.cycleTimeout){clearTimeout(P.cycleTimeout)}P.cycleTimeout=0;I(P).removeData("cycle.opts");return false;case"toggle":P.cyclePause=(P.cyclePause===1)?0:1;return false;case"pause":P.cyclePause=1;return false;case"resume":P.cyclePause=0;if(Q===true){S=I(P).data("cycle.opts");if(!S){H("options not found, can not resume");return false}if(P.cycleTimeout){clearTimeout(P.cycleTimeout);P.cycleTimeout=0}G(S.elements,S,1,1)}return false;case"prev":case"next":var T=I(P).data("cycle.opts");if(!T){H('options not found, "prev/next" ignored');return false}I.fn.cycle[S](T);return false;default:S={fx:S}}return S}else{if(S.constructor==Number){var R=S;S=I(P).data("cycle.opts");if(!S){H("options not found, can not advance slide");return false}if(R<0||R>=S.elements.length){H("invalid slide index: "+R);return false}S.nextSlide=R;if(P.cycleTimeout){clearTimeout(P.cycleTimeout);P.cycleTimeout=0}if(typeof Q=="string"){S.oneTimeFx=Q}G(S.elements,S,1,R>=S.currSlide);return false}}return S}function K(P,Q){if(!I.support.opacity&&Q.cleartype&&P.style.filter){try{P.style.removeAttribute("filter")}catch(R){}}}function M(V,l,S,X,c){var Z=I.extend({},I.fn.cycle.defaults,X||{},I.metadata?V.metadata():I.meta?V.data():{});if(Z.autostop){Z.countdown=Z.autostopCount||S.length}var Q=V[0];V.data("cycle.opts",Z);Z.$cont=V;Z.stopCount=Q.cycleStop;Z.elements=S;Z.before=Z.before?[Z.before]:[];Z.after=Z.after?[Z.after]:[];Z.after.unshift(function(){Z.busy=0});if(!I.support.opacity&&Z.cleartype){Z.after.push(function(){K(this,Z)})}if(Z.continuous){Z.after.push(function(){G(S,Z,0,!Z.rev)})}N(Z);if(!I.support.opacity&&Z.cleartype&&!Z.cleartypeNoBg){E(l)}if(V.css("position")=="static"){V.css("position","relative")}if(Z.width){V.width(Z.width)}if(Z.height&&Z.height!="auto"){V.height(Z.height)}if(Z.startingSlide){Z.startingSlide=parseInt(Z.startingSlide)}if(Z.random){Z.randomMap=[];for(var g=0;g<S.length;g++){Z.randomMap.push(g)}Z.randomMap.sort(function(h,e){return Math.random()-0.5});Z.randomIndex=0;Z.startingSlide=Z.randomMap[0]}else{if(Z.startingSlide>=S.length){Z.startingSlide=0}}Z.currSlide=Z.startingSlide=Z.startingSlide||0;var U=Z.startingSlide;l.css({position:"absolute",top:0,left:0}).hide().each(function(e){var h=U?e>=U?S.length-(e-U):U-e:S.length-e;I(this).css("z-index",h)});I(S[U]).css("opacity",1).show();K(S[U],Z);if(Z.fit&&Z.width){l.width(Z.width)}if(Z.fit&&Z.height&&Z.height!="auto"){l.height(Z.height)}var b=Z.containerResize&&!V.innerHeight();if(b){var T=0,a=0;for(var d=0;d<S.length;d++){var P=I(S[d]),m=P[0],Y=P.outerWidth(),k=P.outerHeight();if(!Y){Y=m.offsetWidth}if(!k){k=m.offsetHeight}T=Y>T?Y:T;a=k>a?k:a}if(T>0&&a>0){V.css({width:T+"px",height:a+"px"})}}if(Z.pause){V.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(C(Z)===false){return false}var R=false;X.requeueAttempts=X.requeueAttempts||0;l.each(function(){var j=I(this);this.cycleH=(Z.fit&&Z.height)?Z.height:j.height();this.cycleW=(Z.fit&&Z.width)?Z.width:j.width();if(j.is("img")){var h=(I.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var n=(I.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var i=(I.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var e=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(h||n||i||e){if(c.s&&Z.requeueOnImageNotLoaded&&++X.requeueAttempts<100){H(X.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){I(c.s,c.c).cycle(X)},Z.requeueTimeout);R=true;return false}else{H("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(R){return false}Z.cssBefore=Z.cssBefore||{};Z.animIn=Z.animIn||{};Z.animOut=Z.animOut||{};l.not(":eq("+U+")").css(Z.cssBefore);if(Z.cssFirst){I(l[U]).css(Z.cssFirst)}if(Z.timeout){Z.timeout=parseInt(Z.timeout);if(Z.speed.constructor==String){Z.speed=I.fx.speeds[Z.speed]||parseInt(Z.speed)}if(!Z.sync){Z.speed=Z.speed/2}while((Z.timeout-Z.speed)<250){Z.timeout+=Z.speed}}if(Z.easing){Z.easeIn=Z.easeOut=Z.easing}if(!Z.speedIn){Z.speedIn=Z.speed}if(!Z.speedOut){Z.speedOut=Z.speed}Z.slideCount=S.length;Z.currSlide=Z.lastSlide=U;if(Z.random){Z.nextSlide=Z.currSlide;if(++Z.randomIndex==S.length){Z.randomIndex=0}Z.nextSlide=Z.randomMap[Z.randomIndex]}else{Z.nextSlide=Z.startingSlide>=(S.length-1)?0:Z.startingSlide+1}if(!Z.multiFx){var f=I.fn.cycle.transitions[Z.fx];if(I.isFunction(f)){f(V,l,Z)}else{if(Z.fx!="custom"&&!Z.multiFx){H("unknown transition: "+Z.fx,"; slideshow terminating");return false}}}var W=l[U];if(Z.before.length){Z.before[0].apply(W,[W,W,Z,true])}if(Z.after.length>1){Z.after[1].apply(W,[W,W,Z,true])}if(Z.next){I(Z.next).bind(Z.prevNextEvent,function(){return O(Z,Z.rev?-1:1)})}if(Z.prev){I(Z.prev).bind(Z.prevNextEvent,function(){return O(Z,Z.rev?1:-1)})}if(Z.pager){J(S,Z)}D(Z,S);return Z}function N(P){P.original={before:[],after:[]};P.original.cssBefore=I.extend({},P.cssBefore);P.original.cssAfter=I.extend({},P.cssAfter);P.original.animIn=I.extend({},P.animIn);P.original.animOut=I.extend({},P.animOut);I.each(P.before,function(){P.original.before.push(this)});I.each(P.after,function(){P.original.after.push(this)})}function C(V){var T,R,Q=I.fn.cycle.transitions;if(V.fx.indexOf(",")>0){V.multiFx=true;V.fxs=V.fx.replace(/\s*/g,"").split(",");for(T=0;T<V.fxs.length;T++){var U=V.fxs[T];R=Q[U];if(!R||!Q.hasOwnProperty(U)||!I.isFunction(R)){H("discarding unknown transition: ",U);V.fxs.splice(T,1);T--}}if(!V.fxs.length){H("No valid transitions named; slideshow terminating.");return false}}else{if(V.fx=="all"){V.multiFx=true;V.fxs=[];for(p in Q){R=Q[p];if(Q.hasOwnProperty(p)&&I.isFunction(R)){V.fxs.push(p)}}}}if(V.multiFx&&V.randomizeEffects){var S=Math.floor(Math.random()*20)+30;for(T=0;T<S;T++){var P=Math.floor(Math.random()*V.fxs.length);V.fxs.push(V.fxs.splice(P,1)[0])}B("randomized fx sequence: ",V.fxs)}return true}function D(Q,P){Q.addSlide=function(S,U){var R=I(S),T=R[0];if(!Q.autostopCount){Q.countdown++}P[U?"unshift":"push"](T);if(Q.els){Q.els[U?"unshift":"push"](T)}Q.slideCount=P.length;R.css("position","absolute");R[U?"prependTo":"appendTo"](Q.$cont);if(U){Q.currSlide++;Q.nextSlide++}if(!I.support.opacity&&Q.cleartype&&!Q.cleartypeNoBg){E(R)}if(Q.fit&&Q.width){R.width(Q.width)}if(Q.fit&&Q.height&&Q.height!="auto"){$slides.height(Q.height)}T.cycleH=(Q.fit&&Q.height)?Q.height:R.height();T.cycleW=(Q.fit&&Q.width)?Q.width:R.width();R.css(Q.cssBefore);if(Q.pager){I.fn.cycle.createPagerAnchor(P.length-1,T,I(Q.pager),P,Q)}if(I.isFunction(Q.onAddSlide)){Q.onAddSlide(R)}else{R.hide()}}}I.fn.cycle.resetState=function(Q,P){P=P||Q.fx;Q.before=[];Q.after=[];Q.cssBefore=I.extend({},Q.original.cssBefore);Q.cssAfter=I.extend({},Q.original.cssAfter);Q.animIn=I.extend({},Q.original.animIn);Q.animOut=I.extend({},Q.original.animOut);Q.fxFn=null;I.each(Q.original.before,function(){Q.before.push(this)});I.each(Q.original.after,function(){Q.after.push(this)});var R=I.fn.cycle.transitions[P];if(I.isFunction(R)){R(Q.$cont,I(Q.elements),Q)}};function G(V,P,W,X){if(W&&P.busy&&P.manualTrump){I(V).stop(true,true);P.busy=false}if(P.busy){return }var T=P.$cont[0],Z=V[P.currSlide],Y=V[P.nextSlide];if(T.cycleStop!=P.stopCount||T.cycleTimeout===0&&!W){return }if(!W&&!T.cyclePause&&((P.autostop&&(--P.countdown<=0))||(P.nowrap&&!P.random&&P.nextSlide<P.currSlide))){if(P.end){P.end(P)}return }if(W||!T.cyclePause){var U=P.fx;Z.cycleH=Z.cycleH||I(Z).height();Z.cycleW=Z.cycleW||I(Z).width();Y.cycleH=Y.cycleH||I(Y).height();Y.cycleW=Y.cycleW||I(Y).width();if(P.multiFx){if(P.lastFx==undefined||++P.lastFx>=P.fxs.length){P.lastFx=0}U=P.fxs[P.lastFx];P.currFx=U}if(P.oneTimeFx){U=P.oneTimeFx;P.oneTimeFx=null}I.fn.cycle.resetState(P,U);if(P.before.length){I.each(P.before,function(a,b){if(T.cycleStop!=P.stopCount){return }b.apply(Y,[Z,Y,P,X])})}var R=function(){I.each(P.after,function(a,b){if(T.cycleStop!=P.stopCount){return }b.apply(Y,[Z,Y,P,X])})};if(P.nextSlide!=P.currSlide){P.busy=1;if(P.fxFn){P.fxFn(Z,Y,P,R,X)}else{if(I.isFunction(I.fn.cycle[P.fx])){I.fn.cycle[P.fx](Z,Y,P,R)}else{I.fn.cycle.custom(Z,Y,P,R,W&&P.fastOnEvent)}}}P.lastSlide=P.currSlide;if(P.random){P.currSlide=P.nextSlide;if(++P.randomIndex==V.length){P.randomIndex=0}P.nextSlide=P.randomMap[P.randomIndex]}else{var S=(P.nextSlide+1)==V.length;P.nextSlide=S?0:P.nextSlide+1;P.currSlide=S?V.length-1:P.nextSlide-1}if(P.pager){I.fn.cycle.updateActivePagerLink(P.pager,P.currSlide)}}var Q=0;if(P.timeout&&!P.continuous){Q=F(Z,Y,P,X)}else{if(P.continuous&&T.cyclePause){Q=10}}if(Q>0){T.cycleTimeout=setTimeout(function(){G(V,P,0,!P.rev)},Q)}}I.fn.cycle.updateActivePagerLink=function(P,Q){I(P).each(function(){I(this).find("a").removeClass("activeSlide").filter("a:eq("+Q+")").addClass("activeSlide")})};function F(T,R,S,Q){if(S.timeoutFn){var P=S.timeoutFn(T,R,S,Q);while((P-S.speed)<250){P+=S.speed}B("calculated timeout: "+P+"; speed: "+S.speed);if(P!==false){return P}}return S.timeout}I.fn.cycle.next=function(P){O(P,P.rev?-1:1)};I.fn.cycle.prev=function(P){O(P,P.rev?1:-1)};function O(R,T){var Q=R.elements;var S=R.$cont[0],P=S.cycleTimeout;if(P){clearTimeout(P);S.cycleTimeout=0}if(R.random&&T<0){R.randomIndex--;if(--R.randomIndex==-2){R.randomIndex=Q.length-2}else{if(R.randomIndex==-1){R.randomIndex=Q.length-1}}R.nextSlide=R.randomMap[R.randomIndex]}else{if(R.random){if(++R.randomIndex==Q.length){R.randomIndex=0}R.nextSlide=R.randomMap[R.randomIndex]}else{R.nextSlide=R.currSlide+T;if(R.nextSlide<0){if(R.nowrap){return false}R.nextSlide=Q.length-1}else{if(R.nextSlide>=Q.length){if(R.nowrap){return false}R.nextSlide=0}}}}if(I.isFunction(R.prevNextClick)){R.prevNextClick(T>0,R.nextSlide,Q[R.nextSlide])}G(Q,R,1,T>=0);return false}function J(Q,R){var P=I(R.pager);I.each(Q,function(S,T){I.fn.cycle.createPagerAnchor(S,T,P,Q,R)});I.fn.cycle.updateActivePagerLink(R.pager,R.startingSlide)}I.fn.cycle.createPagerAnchor=function(T,U,R,S,V){var Q;if(I.isFunction(V.pagerAnchorBuilder)){Q=V.pagerAnchorBuilder(T,U)}else{Q='<a href="#">'+(T+1)+"</a>"}if(!Q){return }var W=I(Q);if(W.parents("body").length===0){var P=[];if(R.length>1){R.each(function(){var X=W.clone(true);I(this).append(X);P.push(X[0])});W=I(P)}else{W.appendTo(R)}}W.bind(V.pagerEvent,function(Z){Z.preventDefault();V.nextSlide=T;var Y=V.$cont[0],X=Y.cycleTimeout;if(X){clearTimeout(X);Y.cycleTimeout=0}if(I.isFunction(V.pagerClick)){V.pagerClick(V.nextSlide,S[V.nextSlide])}G(S,V,1,V.currSlide<T);return false});if(V.pagerEvent!="click"){W.click(function(){return false})}if(V.pauseOnPagerHover){W.hover(function(){V.$cont[0].cyclePause++},function(){V.$cont[0].cyclePause--})}};I.fn.cycle.hopsFromLast=function(S,R){var Q,P=S.lastSlide,T=S.currSlide;if(R){Q=T>P?T-P:S.slideCount-P}else{Q=T<P?P-T:P+S.slideCount-T}return Q};function E(R){function Q(S){S=parseInt(S).toString(16);return S.length<2?"0"+S:S}function P(U){for(;U&&U.nodeName.toLowerCase()!="html";U=U.parentNode){var S=I.css(U,"background-color");if(S.indexOf("rgb")>=0){var T=S.match(/\d+/g);return"#"+Q(T[0])+Q(T[1])+Q(T[2])}if(S&&S!="transparent"){return S}}return"#ffffff"}R.each(function(){I(this).css("background-color",P(this))})}I.fn.cycle.commonReset=function(U,S,T,Q,R,P){I(T.elements).not(U).hide();T.cssBefore.opacity=1;T.cssBefore.display="block";if(Q!==false&&S.cycleW>0){T.cssBefore.width=S.cycleW}if(R!==false&&S.cycleH>0){T.cssBefore.height=S.cycleH}T.cssAfter=T.cssAfter||{};T.cssAfter.display="none";I(U).css("zIndex",T.slideCount+(P===true?1:0));I(S).css("zIndex",T.slideCount+(P===true?0:1))};I.fn.cycle.custom=function(a,T,P,Q,U){var X=I(a),V=I(T);var S=P.speedIn,Y=P.speedOut,R=P.easeIn,Z=P.easeOut;V.css(P.cssBefore);if(U){if(typeof U=="number"){S=Y=U}else{S=Y=1}R=Z=null}var W=function(){V.animate(P.animIn,S,R,Q)};X.animate(P.animOut,Y,Z,function(){if(P.cssAfter){X.css(P.cssAfter)}if(!P.sync){W()}});if(P.sync){W()}};I.fn.cycle.transitions={fade:function(Q,R,P){R.not(":eq("+P.currSlide+")").css("opacity",0);P.before.push(function(U,S,T){I.fn.cycle.commonReset(U,S,T);T.cssBefore.opacity=0});P.animIn={opacity:1};P.animOut={opacity:0};P.cssBefore={top:0,left:0}}};I.fn.cycle.ver=function(){return L};I.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,prevNextEvent:"click",pager:null,pagerClick:null,pagerEvent:"click",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:!I.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250}})(jQuery);
/*
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2008 M. Alsup
 * Version:	 2.72
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
(function(A){A.fn.cycle.transitions.none=function(C,D,B){B.fxFn=function(G,E,F,H){A(E).show();A(G).hide();H()}};A.fn.cycle.transitions.scrollUp=function(D,E,C){D.css("overflow","hidden");C.before.push(A.fn.cycle.commonReset);var B=D.height();C.cssBefore={top:B,left:0};C.cssFirst={top:0};C.animIn={top:0};C.animOut={top:-B}};A.fn.cycle.transitions.scrollDown=function(D,E,C){D.css("overflow","hidden");C.before.push(A.fn.cycle.commonReset);var B=D.height();C.cssFirst={top:0};C.cssBefore={top:-B,left:0};C.animIn={top:0};C.animOut={top:B}};A.fn.cycle.transitions.scrollLeft=function(D,E,C){D.css("overflow","hidden");C.before.push(A.fn.cycle.commonReset);var B=D.width();C.cssFirst={left:0};C.cssBefore={left:B,top:0};C.animIn={left:0};C.animOut={left:0-B}};A.fn.cycle.transitions.scrollRight=function(D,E,C){D.css("overflow","hidden");C.before.push(A.fn.cycle.commonReset);var B=D.width();C.cssFirst={left:0};C.cssBefore={left:-B,top:0};C.animIn={left:0};C.animOut={left:B}};A.fn.cycle.transitions.scrollHorz=function(C,D,B){C.css("overflow","hidden").width();B.before.push(function(H,F,G,E){A.fn.cycle.commonReset(H,F,G);G.cssBefore.left=E?(F.cycleW-1):(1-F.cycleW);G.animOut.left=E?-H.cycleW:H.cycleW});B.cssFirst={left:0};B.cssBefore={top:0};B.animIn={left:0};B.animOut={top:0}};A.fn.cycle.transitions.scrollVert=function(C,D,B){C.css("overflow","hidden");B.before.push(function(H,F,G,E){A.fn.cycle.commonReset(H,F,G);G.cssBefore.top=E?(1-F.cycleH):(F.cycleH-1);G.animOut.top=E?H.cycleH:-H.cycleH});B.cssFirst={top:0};B.cssBefore={left:0};B.animIn={top:0};B.animOut={left:0}};A.fn.cycle.transitions.slideX=function(C,D,B){B.before.push(function(G,E,F){A(F.elements).not(G).hide();A.fn.cycle.commonReset(G,E,F,false,true);F.animIn.width=E.cycleW});B.cssBefore={left:0,top:0,width:0};B.animIn={width:"show"};B.animOut={width:0}};A.fn.cycle.transitions.slideY=function(C,D,B){B.before.push(function(G,E,F){A(F.elements).not(G).hide();A.fn.cycle.commonReset(G,E,F,true,false);F.animIn.height=E.cycleH});B.cssBefore={left:0,top:0,height:0};B.animIn={height:"show"};B.animOut={height:0}};A.fn.cycle.transitions.shuffle=function(E,F,D){var C,B=E.css("overflow","visible").width();F.css({left:0,top:0});D.before.push(function(I,G,H){A.fn.cycle.commonReset(I,G,H,true,true,true)});if(!D.speedAdjusted){D.speed=D.speed/2;D.speedAdjusted=true}D.random=0;D.shuffle=D.shuffle||{left:-B,top:15};D.els=[];for(C=0;C<F.length;C++){D.els.push(F[C])}for(C=0;C<D.currSlide;C++){D.els.push(D.els.shift())}D.fxFn=function(M,J,L,G,I){var H=I?A(M):A(J);A(J).css(L.cssBefore);var K=L.slideCount;H.animate(L.shuffle,L.speedIn,L.easeIn,function(){var O=A.fn.cycle.hopsFromLast(L,I);for(var P=0;P<O;P++){I?L.els.push(L.els.shift()):L.els.unshift(L.els.pop())}if(I){for(var Q=0,N=L.els.length;Q<N;Q++){A(L.els[Q]).css("z-index",N-Q+K)}}else{var R=A(M).css("z-index");H.css("z-index",parseInt(R)+1+K)}H.animate({left:0,top:0},L.speedOut,L.easeOut,function(){A(I?this:M).hide();if(G){G()}})})};D.cssBefore={display:"block",opacity:1,top:0,left:0}};A.fn.cycle.transitions.turnUp=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,true,false);F.cssBefore.top=E.cycleH;F.animIn.height=E.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,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,true,false);F.animIn.height=E.cycleH;F.animOut.top=G.cycleH});B.cssFirst={top:0};B.cssBefore={left:0,top:0,height:0};B.animOut={height:0}};A.fn.cycle.transitions.turnLeft=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,true);F.cssBefore.left=E.cycleW;F.animIn.width=E.cycleW});B.cssBefore={top:0,width:0};B.animIn={left:0};B.animOut={width:0}};A.fn.cycle.transitions.turnRight=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,true);F.animIn.width=E.cycleW;F.animOut.left=G.cycleW});B.cssBefore={top:0,left:0,width:0};B.animIn={left:0};B.animOut={width:0}};A.fn.cycle.transitions.zoom=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,false,true);F.cssBefore.top=E.cycleH/2;F.cssBefore.left=E.cycleW/2;F.animIn={top:0,left:0,width:E.cycleW,height:E.cycleH};F.animOut={width:0,height:0,top:G.cycleH/2,left:G.cycleW/2}});B.cssFirst={top:0,left:0};B.cssBefore={width:0,height:0}};A.fn.cycle.transitions.fadeZoom=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,false);F.cssBefore.left=E.cycleW/2;F.cssBefore.top=E.cycleH/2;F.animIn={top:0,left:0,width:E.cycleW,height:E.cycleH}});B.cssBefore={width:0,height:0};B.animOut={opacity:0}};A.fn.cycle.transitions.blindX=function(D,E,C){var B=D.css("overflow","hidden").width();C.before.push(function(H,F,G){A.fn.cycle.commonReset(H,F,G);G.animIn.width=F.cycleW;G.animOut.left=H.cycleW});C.cssBefore={left:B,top:0};C.animIn={left:0};C.animOut={left:B}};A.fn.cycle.transitions.blindY=function(D,E,C){var B=D.css("overflow","hidden").height();C.before.push(function(H,F,G){A.fn.cycle.commonReset(H,F,G);G.animIn.height=F.cycleH;G.animOut.top=H.cycleH});C.cssBefore={top:B,left:0};C.animIn={top:0};C.animOut={top:B}};A.fn.cycle.transitions.blindZ=function(E,F,D){var C=E.css("overflow","hidden").height();var B=E.width();D.before.push(function(I,G,H){A.fn.cycle.commonReset(I,G,H);H.animIn.height=G.cycleH;H.animOut.top=I.cycleH});D.cssBefore={top:C,left:B};D.animIn={top:0,left:0};D.animOut={top:C,left:B}};A.fn.cycle.transitions.growX=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,true);F.cssBefore.left=this.cycleW/2;F.animIn={left:0,width:this.cycleW};F.animOut={left:0}});B.cssBefore={width:0,top:0}};A.fn.cycle.transitions.growY=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,true,false);F.cssBefore.top=this.cycleH/2;F.animIn={top:0,height:this.cycleH};F.animOut={top:0}});B.cssBefore={height:0,left:0}};A.fn.cycle.transitions.curtainX=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,true,true);F.cssBefore.left=E.cycleW/2;F.animIn={left:0,width:this.cycleW};F.animOut={left:G.cycleW/2,width:0}});B.cssBefore={top:0,width:0}};A.fn.cycle.transitions.curtainY=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,true,false,true);F.cssBefore.top=E.cycleH/2;F.animIn={top:0,height:E.cycleH};F.animOut={top:G.cycleH/2,height:0}});B.cssBefore={left:0,height:0}};A.fn.cycle.transitions.cover=function(E,F,D){var G=D.direction||"left";var B=E.css("overflow","hidden").width();var C=E.height();D.before.push(function(J,H,I){A.fn.cycle.commonReset(J,H,I);if(G=="right"){I.cssBefore.left=-B}else{if(G=="up"){I.cssBefore.top=C}else{if(G=="down"){I.cssBefore.top=-C}else{I.cssBefore.left=B}}}});D.animIn={left:0,top:0};D.animOut={opacity:1};D.cssBefore={top:0,left:0}};A.fn.cycle.transitions.uncover=function(E,F,D){var G=D.direction||"left";var B=E.css("overflow","hidden").width();var C=E.height();D.before.push(function(J,H,I){A.fn.cycle.commonReset(J,H,I,true,true,true);if(G=="right"){I.animOut.left=B}else{if(G=="up"){I.animOut.top=-C}else{if(G=="down"){I.animOut.top=C}else{I.animOut.left=-B}}}});D.animIn={left:0,top:0};D.animOut={opacity:1};D.cssBefore={top:0,left:0}};A.fn.cycle.transitions.toss=function(E,F,D){var B=E.css("overflow","visible").width();var C=E.height();D.before.push(function(I,G,H){A.fn.cycle.commonReset(I,G,H,true,true,true);if(!H.animOut.left&&!H.animOut.top){H.animOut={left:B*2,top:-C/2,opacity:0}}else{H.animOut.opacity=0}});D.cssBefore={left:0,top:0};D.animIn={left:0}};A.fn.cycle.transitions.wipe=function(M,I,C){var L=M.css("overflow","hidden").width();var G=M.height();C.cssBefore=C.cssBefore||{};var D;if(C.clip){if(/l2r/.test(C.clip)){D="rect(0px 0px "+G+"px 0px)"}else{if(/r2l/.test(C.clip)){D="rect(0px "+L+"px "+G+"px "+L+"px)"}else{if(/t2b/.test(C.clip)){D="rect(0px "+L+"px 0px 0px)"}else{if(/b2t/.test(C.clip)){D="rect("+G+"px "+L+"px "+G+"px 0px)"}else{if(/zoom/.test(C.clip)){var K=parseInt(G/2);var E=parseInt(L/2);D="rect("+K+"px "+E+"px "+K+"px "+E+"px)"}}}}}}C.cssBefore.clip=C.cssBefore.clip||D||"rect(0px 0px 0px 0px)";var H=C.cssBefore.clip.match(/(\d+)/g);var N=parseInt(H[0]),B=parseInt(H[1]),J=parseInt(H[2]),F=parseInt(H[3]);C.before.push(function(V,Q,T){if(V==Q){return }var P=A(V),O=A(Q);A.fn.cycle.commonReset(V,Q,T,true,true,false);T.cssAfter.display="block";var S=1,R=parseInt((T.speedIn/13))-1;(function U(){var X=N?N-parseInt(S*(N/R)):0;var Y=F?F-parseInt(S*(F/R)):0;var Z=J<G?J+parseInt(S*((G-J)/R||1)):G;var W=B<L?B+parseInt(S*((L-B)/R||1)):L;O.css({clip:"rect("+X+"px "+W+"px "+Z+"px "+Y+"px)"});(S++<=R)?setTimeout(U,13):P.css("display","none")})()});C.cssBefore={display:"block",opacity:1,top:0,left:0};C.animIn={left:0};C.animOut={left:0}}})(jQuery);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(B,C,A,E,D){return jQuery.easing[jQuery.easing.def](B,C,A,E,D)},easeInQuad:function(B,C,A,E,D){return E*(C/=D)*C+A},easeOutQuad:function(B,C,A,E,D){return -E*(C/=D)*(C-2)+A},easeInOutQuad:function(B,C,A,E,D){if((C/=D/2)<1){return E/2*C*C+A}return -E/2*((--C)*(C-2)-1)+A},easeInCubic:function(B,C,A,E,D){return E*(C/=D)*C*C+A},easeOutCubic:function(B,C,A,E,D){return E*((C=C/D-1)*C*C+1)+A},easeInOutCubic:function(B,C,A,E,D){if((C/=D/2)<1){return E/2*C*C*C+A}return E/2*((C-=2)*C*C+2)+A},easeInQuart:function(B,C,A,E,D){return E*(C/=D)*C*C*C+A},easeOutQuart:function(B,C,A,E,D){return -E*((C=C/D-1)*C*C*C-1)+A},easeInOutQuart:function(B,C,A,E,D){if((C/=D/2)<1){return E/2*C*C*C*C+A}return -E/2*((C-=2)*C*C*C-2)+A},easeInQuint:function(B,C,A,E,D){return E*(C/=D)*C*C*C*C+A},easeOutQuint:function(B,C,A,E,D){return E*((C=C/D-1)*C*C*C*C+1)+A},easeInOutQuint:function(B,C,A,E,D){if((C/=D/2)<1){return E/2*C*C*C*C*C+A}return E/2*((C-=2)*C*C*C*C+2)+A},easeInSine:function(B,C,A,E,D){return -E*Math.cos(C/D*(Math.PI/2))+E+A},easeOutSine:function(B,C,A,E,D){return E*Math.sin(C/D*(Math.PI/2))+A},easeInOutSine:function(B,C,A,E,D){return -E/2*(Math.cos(Math.PI*C/D)-1)+A},easeInExpo:function(B,C,A,E,D){return(C==0)?A:E*Math.pow(2,10*(C/D-1))+A},easeOutExpo:function(B,C,A,E,D){return(C==D)?A+E:E*(-Math.pow(2,-10*C/D)+1)+A},easeInOutExpo:function(B,C,A,E,D){if(C==0){return A}if(C==D){return A+E}if((C/=D/2)<1){return E/2*Math.pow(2,10*(C-1))+A}return E/2*(-Math.pow(2,-10*--C)+2)+A},easeInCirc:function(B,C,A,E,D){return -E*(Math.sqrt(1-(C/=D)*C)-1)+A},easeOutCirc:function(B,C,A,E,D){return E*Math.sqrt(1-(C=C/D-1)*C)+A},easeInOutCirc:function(B,C,A,E,D){if((C/=D/2)<1){return -E/2*(Math.sqrt(1-C*C)-1)+A}return E/2*(Math.sqrt(1-(C-=2)*C)+1)+A},easeInElastic:function(B,D,A,H,G){var E=1.70158;var F=0;var C=H;if(D==0){return A}if((D/=G)==1){return A+H}if(!F){F=G*0.3}if(C<Math.abs(H)){C=H;var E=F/4}else{var E=F/(2*Math.PI)*Math.asin(H/C)}return -(C*Math.pow(2,10*(D-=1))*Math.sin((D*G-E)*(2*Math.PI)/F))+A},easeOutElastic:function(B,D,A,H,G){var E=1.70158;var F=0;var C=H;if(D==0){return A}if((D/=G)==1){return A+H}if(!F){F=G*0.3}if(C<Math.abs(H)){C=H;var E=F/4}else{var E=F/(2*Math.PI)*Math.asin(H/C)}return C*Math.pow(2,-10*D)*Math.sin((D*G-E)*(2*Math.PI)/F)+H+A},easeInOutElastic:function(B,D,A,H,G){var E=1.70158;var F=0;var C=H;if(D==0){return A}if((D/=G/2)==2){return A+H}if(!F){F=G*(0.3*1.5)}if(C<Math.abs(H)){C=H;var E=F/4}else{var E=F/(2*Math.PI)*Math.asin(H/C)}if(D<1){return -0.5*(C*Math.pow(2,10*(D-=1))*Math.sin((D*G-E)*(2*Math.PI)/F))+A}return C*Math.pow(2,-10*(D-=1))*Math.sin((D*G-E)*(2*Math.PI)/F)*0.5+H+A},easeInBack:function(B,C,A,F,E,D){if(D==undefined){D=1.70158}return F*(C/=E)*C*((D+1)*C-D)+A},easeOutBack:function(B,C,A,F,E,D){if(D==undefined){D=1.70158}return F*((C=C/E-1)*C*((D+1)*C+D)+1)+A},easeInOutBack:function(B,C,A,F,E,D){if(D==undefined){D=1.70158}if((C/=E/2)<1){return F/2*(C*C*(((D*=(1.525))+1)*C-D))+A}return F/2*((C-=2)*C*(((D*=(1.525))+1)*C+D)+2)+A},easeInBounce:function(B,C,A,E,D){return E-jQuery.easing.easeOutBounce(B,D-C,0,E,D)+A},easeOutBounce:function(B,C,A,E,D){if((C/=D)<(1/2.75)){return E*(7.5625*C*C)+A}else{if(C<(2/2.75)){return E*(7.5625*(C-=(1.5/2.75))*C+0.75)+A}else{if(C<(2.5/2.75)){return E*(7.5625*(C-=(2.25/2.75))*C+0.9375)+A}else{return E*(7.5625*(C-=(2.625/2.75))*C+0.984375)+A}}}},easeInOutBounce:function(B,C,A,E,D){if(C<D/2){return jQuery.easing.easeInBounce(B,C*2,0,E,D)*0.5+A}return jQuery.easing.easeOutBounce(B,C*2-D,0,E,D)*0.5+E*0.5+A}});$(document).ready(function(){$("#carousel-holder").before('<div id="nav">').cycle({fx:"scrollLeft",speed:5000,speedIn:1000,speedOut:1000,easeIn:"easeOutCubic",easeOut:"easeOutCubic",pause:1,pager:"#nav",startingSlide:"0"});$("#carousel-navigation a#playToggle").data("state","pause");$("#carousel-navigation a#playToggle").click(function(A){A.preventDefault();if($(this).data("state")=="pause"){$(this).text("resume");$(this).data("state","resume");$(this).removeClass("pause").addClass("resume");$("#carousel-holder").cycle("pause")}else{if($(this).data("state")=="resume"){$(this).text("pause");$(this).data("state","pause");$(this).removeClass("resume").addClass("pause");$("#carousel-holder").cycle("resume")}}})});