(function(G){var J="2.71";if(G.support==undefined){G.support={opacity:!(G.browser.msie)}}G.fn.cycle=function(O,N){var P={s:this.selector,c:this.context};if(this.length===0&&O!="stop"){if(!G.isReady&&P.s){G(function(){G(P.s,P.c).cycle(O,N)});return this}return this}return this.each(function(){var S=K(this,O,N);if(S===false){return }if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var T=G(this);var U=S.slideExpr?G(S.slideExpr,this):T.children();var R=U.get();if(R.length<2){return }var Q=I(T,U,R,S,P);if(Q===false){return }if(Q.timeout||Q.continuous){this.cycleTimeout=setTimeout(function(){D(R,Q,0,!Q.rev)},Q.continuous?10:Q.timeout+(Q.delay||0))}})};function K(N,Q,O){if(N.cycleStop==undefined){N.cycleStop=0}if(Q===undefined||Q===null){Q={}}if(Q.constructor==String){switch(Q){case"stop":N.cycleStop++;if(N.cycleTimeout){clearTimeout(N.cycleTimeout)}N.cycleTimeout=0;G(N).removeData("cycle.opts");return false;case"pause":N.cyclePause=1;return false;case"resume":N.cyclePause=0;if(O===true){Q=G(N).data("cycle.opts");if(!Q){return false}if(N.cycleTimeout){clearTimeout(N.cycleTimeout);N.cycleTimeout=0}D(Q.elements,Q,1,1)}return false;case"prev":case"next":var R=G(N).data("cycle.opts");if(!R){return false}G.fn.cycle[Q](R);return false;default:Q={fx:Q}}return Q}else{if(Q.constructor==Number){var P=Q;Q=G(N).data("cycle.opts");if(!Q){return false}if(P<0||P>=Q.elements.length){return false}Q.nextSlide=P;if(N.cycleTimeout){clearTimeout(N.cycleTimeout);N.cycleTimeout=0}if(typeof O=="string"){Q.oneTimeFx=O}D(Q.elements,Q,1,P>=Q.currSlide);return false}}return Q}function A(N,O){if(!G.support.opacity&&O.cleartype&&N.style.filter){try{N.style.removeAttribute("filter")}catch(P){}}}function I(U,g,R,Q,a){var Y=G.extend({},G.fn.cycle.defaults,Q||{},G.metadata?U.metadata():G.meta?U.data():{});if(Y.autostop){Y.countdown=Y.autostopCount||R.length}var O=U[0];U.data("cycle.opts",Y);Y.$cont=U;Y.stopCount=O.cycleStop;Y.elements=R;Y.before=Y.before?[Y.before]:[];Y.after=Y.after?[Y.after]:[];Y.after.unshift(function(){Y.busy=0});if(!G.support.opacity&&Y.cleartype){Y.after.push(function(){A(this,Y)})}if(Y.continuous){Y.after.push(function(){D(R,Y,0,!Y.rev)})}L(Y);if(!G.support.opacity&&Y.cleartype&&!Y.cleartypeNoBg){E(g)}if(U.css("position")=="static"){U.css("position","relative")}if(Y.width){U.width(Y.width)}if(Y.height&&Y.height!="auto"){U.height(Y.height)}if(Y.startingSlide){Y.startingSlide=parseInt(Y.startingSlide)}if(Y.random){Y.randomMap=[];for(var d=0;d<R.length;d++){Y.randomMap.push(d)}Y.randomMap.sort(function(h,e){return Math.random()-0.5});Y.randomIndex=0;Y.startingSlide=Y.randomMap[0]}else{if(Y.startingSlide>=R.length){Y.startingSlide=0}}Y.currSlide=Y.startingSlide=Y.startingSlide||0;var T=Y.startingSlide;g.css({position:"absolute",top:0,left:0}).hide().each(function(e){var h=T?e>=T?R.length-(e-T):T-e:R.length-e;G(this).css("z-index",h)});G(R[T]).css("opacity",1).show();A(R[T],Y);if(Y.fit&&Y.width){g.width(Y.width)}if(Y.fit&&Y.height&&Y.height!="auto"){g.height(Y.height)}var Z=Y.containerResize&&!U.innerHeight();if(Z){var S=0,X=0;for(var b=0;b<R.length;b++){var N=G(R[b]),k=N[0],W=N.outerWidth(),f=N.outerHeight();if(!W){W=k.offsetWidth}if(!f){f=k.offsetHeight}S=W>S?W:S;X=f>X?f:X}if(S>0&&X>0){U.css({width:S+"px",height:X+"px"})}}if(Y.pause){U.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(B(Y)===false){return false}if(!Y.multiFx){var c=G.fn.cycle.transitions[Y.fx];if(G.isFunction(c)){c(U,g,Y)}else{if(Y.fx!="custom"&&!Y.multiFx){return false}}}var P=false;Q.requeueAttempts=Q.requeueAttempts||0;g.each(function(){var j=G(this);this.cycleH=(Y.fit&&Y.height)?Y.height:j.height();this.cycleW=(Y.fit&&Y.width)?Y.width:j.width();if(j.is("img")){var h=(G.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var l=(G.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var i=(G.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||l||i||e){if(a.s&&Y.requeueOnImageNotLoaded&&++Q.requeueAttempts<100){setTimeout(function(){G(a.s,a.c).cycle(Q)},Y.requeueTimeout);P=true;return false}else{}}}return true});if(P){return false}Y.cssBefore=Y.cssBefore||{};Y.animIn=Y.animIn||{};Y.animOut=Y.animOut||{};g.not(":eq("+T+")").css(Y.cssBefore);if(Y.cssFirst){G(g[T]).css(Y.cssFirst)}if(Y.timeout){Y.timeout=parseInt(Y.timeout);if(Y.speed.constructor==String){Y.speed=G.fx.speeds[Y.speed]||parseInt(Y.speed)}if(!Y.sync){Y.speed=Y.speed/2}while((Y.timeout-Y.speed)<250){Y.timeout+=Y.speed}}if(Y.easing){Y.easeIn=Y.easeOut=Y.easing}if(!Y.speedIn){Y.speedIn=Y.speed}if(!Y.speedOut){Y.speedOut=Y.speed}Y.slideCount=R.length;Y.currSlide=Y.lastSlide=T;if(Y.random){Y.nextSlide=Y.currSlide;if(++Y.randomIndex==R.length){Y.randomIndex=0}Y.nextSlide=Y.randomMap[Y.randomIndex]}else{Y.nextSlide=Y.startingSlide>=(R.length-1)?0:Y.startingSlide+1}var V=g[T];if(Y.before.length){Y.before[0].apply(V,[V,V,Y,true])}if(Y.after.length>1){Y.after[1].apply(V,[V,V,Y,true])}if(Y.next){G(Y.next).bind(Y.prevNextEvent,function(){return M(Y,Y.rev?-1:1)})}if(Y.prev){G(Y.prev).bind(Y.prevNextEvent,function(){return M(Y,Y.rev?1:-1)})}if(Y.pager){C(R,Y)}H(Y,R);return Y}function L(N){N.original={before:[],after:[]};N.original.cssBefore=G.extend({},N.cssBefore);N.original.cssAfter=G.extend({},N.cssAfter);N.original.animIn=G.extend({},N.animIn);N.original.animOut=G.extend({},N.animOut);G.each(N.before,function(){N.original.before.push(this)});G.each(N.after,function(){N.original.after.push(this)})}function B(T){var R,P,O=G.fn.cycle.transitions;if(T.fx.indexOf(",")>0){T.multiFx=true;T.fxs=T.fx.replace(/\s*/g,"").split(",");for(R=0;R<T.fxs.length;R++){var S=T.fxs[R];P=O[S];if(!P||!O.hasOwnProperty(S)||!G.isFunction(P)){T.fxs.splice(R,1);R--}}if(!T.fxs.length){return false}}else{if(T.fx=="all"){T.multiFx=true;T.fxs=[];for(p in O){P=O[p];if(O.hasOwnProperty(p)&&G.isFunction(P)){T.fxs.push(p)}}}}if(T.multiFx&&T.randomizeEffects){var Q=Math.floor(Math.random()*20)+30;for(R=0;R<Q;R++){var N=Math.floor(Math.random()*T.fxs.length);T.fxs.push(T.fxs.splice(N,1)[0])}}return true}function H(O,N){O.addSlide=function(Q,R){var P=G(Q),S=P[0];if(!O.autostopCount){O.countdown++}N[R?"unshift":"push"](S);if(O.els){O.els[R?"unshift":"push"](S)}O.slideCount=N.length;P.css("position","absolute");P[R?"prependTo":"appendTo"](O.$cont);if(R){O.currSlide++;O.nextSlide++}if(!G.support.opacity&&O.cleartype&&!O.cleartypeNoBg){E(P)}if(O.fit&&O.width){P.width(O.width)}if(O.fit&&O.height&&O.height!="auto"){$slides.height(O.height)}S.cycleH=(O.fit&&O.height)?O.height:P.height();S.cycleW=(O.fit&&O.width)?O.width:P.width();P.css(O.cssBefore);if(O.pager){G.fn.cycle.createPagerAnchor(N.length-1,S,G(O.pager),N,O)}if(G.isFunction(O.onAddSlide)){O.onAddSlide(P)}else{P.hide()}}}G.fn.cycle.resetState=function(O,N){N=N||O.fx;O.before=[];O.after=[];O.cssBefore=G.extend({},O.original.cssBefore);O.cssAfter=G.extend({},O.original.cssAfter);O.animIn=G.extend({},O.original.animIn);O.animOut=G.extend({},O.original.animOut);O.fxFn=null;G.each(O.original.before,function(){O.before.push(this)});G.each(O.original.after,function(){O.after.push(this)});var P=G.fn.cycle.transitions[N];if(G.isFunction(P)){P(O.$cont,G(O.elements),O)}};function D(U,N,T,V){if(T&&N.busy&&N.manualTrump){G(U).stop(true,true);N.busy=false}if(N.busy){return }var R=N.$cont[0],X=U[N.currSlide],W=U[N.nextSlide];if(R.cycleStop!=N.stopCount||R.cycleTimeout===0&&!T){return }if(!T&&!R.cyclePause&&((N.autostop&&(--N.countdown<=0))||(N.nowrap&&!N.random&&N.nextSlide<N.currSlide))){if(N.end){N.end(N)}return }if(T||!R.cyclePause){var S=N.fx;X.cycleH=X.cycleH||G(X).height();X.cycleW=X.cycleW||G(X).width();W.cycleH=W.cycleH||G(W).height();W.cycleW=W.cycleW||G(W).width();if(N.multiFx){if(N.lastFx==undefined||++N.lastFx>=N.fxs.length){N.lastFx=0}S=N.fxs[N.lastFx];N.currFx=S}if(N.oneTimeFx){S=N.oneTimeFx;N.oneTimeFx=null}G.fn.cycle.resetState(N,S);if(N.before.length){G.each(N.before,function(Y,Z){if(R.cycleStop!=N.stopCount){return }Z.apply(W,[X,W,N,V])})}var P=function(){G.each(N.after,function(Y,Z){if(R.cycleStop!=N.stopCount){return }Z.apply(W,[X,W,N,V])})};if(N.nextSlide!=N.currSlide){N.busy=1;if(N.fxFn){N.fxFn(X,W,N,P,V)}else{if(G.isFunction(G.fn.cycle[N.fx])){G.fn.cycle[N.fx](X,W,N,P)}else{G.fn.cycle.custom(X,W,N,P,T&&N.fastOnEvent)}}}N.lastSlide=N.currSlide;if(N.random){N.currSlide=N.nextSlide;if(++N.randomIndex==U.length){N.randomIndex=0}N.nextSlide=N.randomMap[N.randomIndex]}else{var Q=(N.nextSlide+1)==U.length;N.nextSlide=Q?0:N.nextSlide+1;N.currSlide=Q?U.length-1:N.nextSlide-1}if(N.pager){G.fn.cycle.updateActivePagerLink(N.pager,N.currSlide)}}var O=0;if(N.timeout&&!N.continuous){O=F(X,W,N,V)}else{if(N.continuous&&R.cyclePause){O=10}}if(O>0){R.cycleTimeout=setTimeout(function(){D(U,N,0,!N.rev)},O)}}G.fn.cycle.updateActivePagerLink=function(N,O){G(N).find("a").removeClass("activeSlide").filter("a:eq("+O+")").addClass("activeSlide")};function F(R,P,Q,O){if(Q.timeoutFn){var N=Q.timeoutFn(R,P,Q,O);if(N!==false){return N}}return Q.timeout}G.fn.cycle.next=function(N){M(N,N.rev?-1:1)};G.fn.cycle.prev=function(N){M(N,N.rev?1:-1)};function M(O,R){var N=O.elements;var Q=O.$cont[0],P=Q.cycleTimeout;if(P){clearTimeout(P);Q.cycleTimeout=0}if(O.random&&R<0){O.randomIndex--;if(--O.randomIndex==-2){O.randomIndex=N.length-2}else{if(O.randomIndex==-1){O.randomIndex=N.length-1}}O.nextSlide=O.randomMap[O.randomIndex]}else{if(O.random){if(++O.randomIndex==N.length){O.randomIndex=0}O.nextSlide=O.randomMap[O.randomIndex]}else{O.nextSlide=O.currSlide+R;if(O.nextSlide<0){if(O.nowrap){return false}O.nextSlide=N.length-1}else{if(O.nextSlide>=N.length){if(O.nowrap){return false}O.nextSlide=0}}}}if(G.isFunction(O.prevNextClick)){O.prevNextClick(R>0,O.nextSlide,N[O.nextSlide])}D(N,O,1,R>=0);return false}function C(O,P){var N=G(P.pager);G.each(O,function(Q,R){G.fn.cycle.createPagerAnchor(Q,R,N,O,P)});G.fn.cycle.updateActivePagerLink(P.pager,P.startingSlide)}G.fn.cycle.createPagerAnchor=function(R,S,P,Q,T){var O;if(G.isFunction(T.pagerAnchorBuilder)){O=T.pagerAnchorBuilder(R,S)}else{O='<a href="#">'+(R+1)+"</a>"}if(!O){return }var U=G(O);if(U.parents("body").length===0){var N=[];if(P.length>1){P.each(function(){var V=U.clone(true);G(this).append(V);N.push(V)});U=G(N)}else{U.appendTo(P)}}U.bind(T.pagerEvent,function(X){X.preventDefault();T.nextSlide=R;var W=T.$cont[0],V=W.cycleTimeout;if(V){clearTimeout(V);W.cycleTimeout=0}if(G.isFunction(T.pagerClick)){T.pagerClick(T.nextSlide,Q[T.nextSlide])}D(Q,T,1,T.currSlide<R);return false});if(T.pagerEvent!="click"){U.click(function(){return false})}if(T.pauseOnPagerHover){U.hover(function(){T.$cont[0].cyclePause++},function(){T.$cont[0].cyclePause--})}};G.fn.cycle.hopsFromLast=function(Q,P){var O,N=Q.lastSlide,R=Q.currSlide;if(P){O=R>N?R-N:Q.slideCount-N}else{O=R<N?N-R:N+Q.slideCount-R}return O};function E(P){function O(Q){Q=parseInt(Q).toString(16);return Q.length<2?"0"+Q:Q}function N(S){for(;S&&S.nodeName.toLowerCase()!="html";S=S.parentNode){var Q=G.css(S,"background-color");if(Q.indexOf("rgb")>=0){var R=Q.match(/\d+/g);return"#"+O(R[0])+O(R[1])+O(R[2])}if(Q&&Q!="transparent"){return Q}}return"#ffffff"}P.each(function(){G(this).css("background-color",N(this))})}G.fn.cycle.commonReset=function(S,Q,R,O,P,N){G(R.elements).not(S).hide();R.cssBefore.opacity=1;R.cssBefore.display="block";if(O!==false&&Q.cycleW>0){R.cssBefore.width=Q.cycleW}if(P!==false&&Q.cycleH>0){R.cssBefore.height=Q.cycleH}R.cssAfter=R.cssAfter||{};R.cssAfter.display="none";G(S).css("zIndex",R.slideCount+(N===true?1:0));G(Q).css("zIndex",R.slideCount+(N===true?0:1))};G.fn.cycle.custom=function(Y,S,N,P,O){var X=G(Y),T=G(S);var Q=N.speedIn,W=N.speedOut,R=N.easeIn,V=N.easeOut;T.css(N.cssBefore);if(O){if(typeof O=="number"){Q=W=O}else{Q=W=1}R=V=null}var U=function(){T.animate(N.animIn,Q,R,P)};X.animate(N.animOut,W,V,function(){if(N.cssAfter){X.css(N.cssAfter)}if(!N.sync){U()}});if(N.sync){U()}};G.fn.cycle.transitions={fade:function(O,P,N){P.not(":eq("+N.currSlide+")").css("opacity",0);N.before.push(function(S,Q,R){G.fn.cycle.commonReset(S,Q,R);R.cssBefore.opacity=0});N.animIn={opacity:1};N.animOut={opacity:0};N.cssBefore={top:0,left:0}}};G.fn.cycle.ver=function(){return J};G.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:!G.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250}})(jQuery);(function(A){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)});D.speed=D.speed/2;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 E;if(C.clip){if(/l2r/.test(C.clip)){E="rect(0px 0px "+G+"px 0px)"}else{if(/r2l/.test(C.clip)){E="rect(0px "+L+"px "+G+"px "+L+"px)"}else{if(/t2b/.test(C.clip)){E="rect(0px "+L+"px 0px 0px)"}else{if(/b2t/.test(C.clip)){E="rect("+G+"px "+L+"px "+G+"px 0px)"}else{if(/zoom/.test(C.clip)){var K=parseInt(G/2);var D=parseInt(L/2);E="rect("+K+"px "+D+"px "+K+"px "+D+"px)"}}}}}}C.cssBefore.clip=C.cssBefore.clip||E||"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)
