/*
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2009 M. Alsup
 * Version: 2.63 (17-MAR-2009)
 * 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
 *
 * Originally based on the work of:
 *	1) Matt Oakes
 *	2) Torsten Baldes (http://medienfreunde.com/lab/innerfade/)
 *	3) Benjamin Sterling (http://www.benjaminsterling.com/experiments/jqShuffle/)
 */
(function(H){var K="2.63";if(H.support==undefined){H.support={opacity:!(H.browser.msie)}}function E(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}}H.fn.cycle=function(P,O){var Q={s:this.selector,c:this.context};if(this.length==0&&P!="stop"){if(!H.isReady&&Q.s){E("DOM not ready, queuing slideshow");H(function(){H(Q.s,Q.c).cycle(P,O)});return this}E("terminating; zero elements found by selector"+(H.isReady?"":" (DOM not ready)"));return this}return this.each(function(){P=L(this,P,O);if(P===false){return }if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var T=H(this);var U=P.slideExpr?H(P.slideExpr,this):T.children();var R=U.get();if(R.length<2){E("terminating; too few slides: "+R.length);return }var S=J(T,U,R,P,Q);if(S===false){return }if(S.timeout||S.continuous){this.cycleTimeout=setTimeout(function(){D(R,S,0,!S.rev)},S.continuous?10:S.timeout+(S.delay||0))}})};function L(O,R,P){if(O.cycleStop==undefined){O.cycleStop=0}if(R===undefined||R===null){R={}}if(R.constructor==String){switch(R){case"stop":O.cycleStop++;if(O.cycleTimeout){clearTimeout(O.cycleTimeout)}O.cycleTimeout=0;H(O).removeData("cycle.opts");return false;case"pause":O.cyclePause=1;return false;case"resume":O.cyclePause=0;if(P===true){R=H(O).data("cycle.opts");if(!R){E("options not found, can not resume");return false}if(O.cycleTimeout){clearTimeout(O.cycleTimeout);O.cycleTimeout=0}D(R.elements,R,1,1)}return false;default:R={fx:R}}}else{if(R.constructor==Number){var Q=R;R=H(O).data("cycle.opts");if(!R){E("options not found, can not advance slide");return false}if(Q<0||Q>=R.elements.length){E("invalid slide index: "+Q);return false}R.nextSlide=Q;if(O.cycleTimeout){clearTimeout(this.cycleTimeout);O.cycleTimeout=0}if(typeof P=="string"){R.oneTimeFx=P}D(R.elements,R,1,Q>=R.currSlide);return false}}return R}function A(O,P){if(!H.support.opacity&&P.cleartype&&O.style.filter){try{O.style.removeAttribute("filter")}catch(Q){}}}function J(V,g,S,R,b){var Z=H.extend({},H.fn.cycle.defaults,R||{},H.metadata?V.metadata():H.meta?V.data():{});if(Z.autostop){Z.countdown=Z.autostopCount||S.length}var P=V[0];V.data("cycle.opts",Z);Z.$cont=V;Z.stopCount=P.cycleStop;Z.elements=S;Z.before=Z.before?[Z.before]:[];Z.after=Z.after?[Z.after]:[];Z.after.unshift(function(){Z.busy=0});if(!H.support.opacity&&Z.cleartype){Z.after.push(function(){A(this,Z)})}if(Z.continuous){Z.after.push(function(){D(S,Z,0,!Z.rev)})}M(Z);if(!H.support.opacity&&Z.cleartype&&!Z.cleartypeNoBg){F(g)}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 d=0;d<S.length;d++){Z.randomMap.push(d)}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;g.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;H(this).css("z-index",h)});H(S[U]).css("opacity",1).show();A(S[U],Z);if(Z.fit&&Z.width){g.width(Z.width)}if(Z.fit&&Z.height&&Z.height!="auto"){g.height(Z.height)}var a=Z.containerResize&&!V.innerHeight();if(a){var T=0,Y=0;for(var d=0;d<S.length;d++){var O=H(S[d]),j=O[0],X=O.outerWidth(),f=O.outerHeight();if(!X){X=j.offsetWidth}if(!f){f=j.offsetHeight}T=X>T?X:T;Y=f>Y?f:Y}if(T>0&&Y>0){V.css({width:T+"px",height:Y+"px"})}}if(Z.pause){V.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(B(Z)===false){return false}if(!Z.multiFx){var c=H.fn.cycle.transitions[Z.fx];if(H.isFunction(c)){c(V,g,Z)}else{if(Z.fx!="custom"&&!Z.multiFx){E("unknown transition: "+Z.fx,"; slideshow terminating");return false}}}var Q=false;R.requeueAttempts=R.requeueAttempts||0;g.each(function(){var k=H(this);this.cycleH=(Z.fit&&Z.height)?Z.height:k.height();this.cycleW=(Z.fit&&Z.width)?Z.width:k.width();if(k.is("img")){var h=(H.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var i=(H.browser.opera&&this.cycleW==42&&this.cycleH==19&&!this.complete);var e=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(h||i||e){if(b.s&&Z.requeueOnImageNotLoaded&&++R.requeueAttempts<100){E(R.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){H(b.s,b.c).cycle(R)},Z.requeueTimeout);Q=true;return false}else{E("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(Q){return false}Z.cssBefore=Z.cssBefore||{};Z.animIn=Z.animIn||{};Z.animOut=Z.animOut||{};g.not(":eq("+U+")").css(Z.cssBefore);if(Z.cssFirst){H(g[U]).css(Z.cssFirst)}if(Z.timeout){Z.timeout=parseInt(Z.timeout);if(Z.speed.constructor==String){Z.speed=H.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}var W=g[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){H(Z.next).click(function(){return N(Z,Z.rev?-1:1)})}if(Z.prev){H(Z.prev).click(function(){return N(Z,Z.rev?1:-1)})}if(Z.pager){C(S,Z)}I(Z,S);return Z}function M(O){O.original={before:[],after:[]};O.original.cssBefore=H.extend({},O.cssBefore);O.original.cssAfter=H.extend({},O.cssAfter);O.original.animIn=H.extend({},O.animIn);O.original.animOut=H.extend({},O.animOut);H.each(O.before,function(){O.original.before.push(this)});H.each(O.after,function(){O.original.after.push(this)})}function B(U){var Q=H.fn.cycle.transitions;if(U.fx.indexOf(",")>0){U.multiFx=true;U.fxs=U.fx.replace(/\s*/g,"").split(",");for(var S=0;S<U.fxs.length;S++){var T=U.fxs[S];var P=Q[T];if(!P||!Q.hasOwnProperty(T)||!H.isFunction(P)){E("discarding unknown transition: ",T);U.fxs.splice(S,1);S--}}if(!U.fxs.length){E("No valid transitions named; slideshow terminating.");return false}}else{if(U.fx=="all"){U.multiFx=true;U.fxs=[];for(p in Q){var P=Q[p];if(Q.hasOwnProperty(p)&&H.isFunction(P)){U.fxs.push(p)}}}}if(U.multiFx&&U.randomizeEffects){var R=Math.floor(Math.random()*20)+30;for(var S=0;S<R;S++){var O=Math.floor(Math.random()*U.fxs.length);U.fxs.push(U.fxs.splice(O,1)[0])}E("randomized fx sequence: ",U.fxs)}return true}function I(P,O){P.addSlide=function(R,S){var Q=H(R),T=Q[0];if(!P.autostopCount){P.countdown++}O[S?"unshift":"push"](T);if(P.els){P.els[S?"unshift":"push"](T)}P.slideCount=O.length;Q.css("position","absolute");Q[S?"prependTo":"appendTo"](P.$cont);if(S){P.currSlide++;P.nextSlide++}if(!H.support.opacity&&P.cleartype&&!P.cleartypeNoBg){F(Q)}if(P.fit&&P.width){Q.width(P.width)}if(P.fit&&P.height&&P.height!="auto"){$slides.height(P.height)}T.cycleH=(P.fit&&P.height)?P.height:Q.height();T.cycleW=(P.fit&&P.width)?P.width:Q.width();Q.css(P.cssBefore);if(P.pager){H.fn.cycle.createPagerAnchor(O.length-1,T,H(P.pager),O,P)}if(H.isFunction(P.onAddSlide)){P.onAddSlide(Q)}else{Q.hide()}}}H.fn.cycle.resetState=function(P,O){O=O||P.fx;P.before=[];P.after=[];P.cssBefore=H.extend({},P.original.cssBefore);P.cssAfter=H.extend({},P.original.cssAfter);P.animIn=H.extend({},P.original.animIn);P.animOut=H.extend({},P.original.animOut);P.fxFn=null;H.each(P.original.before,function(){P.before.push(this)});H.each(P.original.after,function(){P.after.push(this)});var Q=H.fn.cycle.transitions[O];if(H.isFunction(Q)){Q(P.$cont,H(P.elements),P)}};function D(V,O,U,W){if(U&&O.busy&&O.manualTrump){H(V).stop(true,true);O.busy=false}if(O.busy){return }var S=O.$cont[0],Y=V[O.currSlide],X=V[O.nextSlide];if(S.cycleStop!=O.stopCount||S.cycleTimeout===0&&!U){return }if(!U&&!S.cyclePause&&((O.autostop&&(--O.countdown<=0))||(O.nowrap&&!O.random&&O.nextSlide<O.currSlide))){if(O.end){O.end(O)}return }if(U||!S.cyclePause){var T=O.fx;Y.cycleH=Y.cycleH||H(Y).height();Y.cycleW=Y.cycleW||H(Y).width();X.cycleH=X.cycleH||H(X).height();X.cycleW=X.cycleW||H(X).width();if(O.multiFx){if(O.lastFx==undefined||++O.lastFx>=O.fxs.length){O.lastFx=0}T=O.fxs[O.lastFx];O.currFx=T}if(O.oneTimeFx){T=O.oneTimeFx;O.oneTimeFx=null}H.fn.cycle.resetState(O,T);if(O.before.length){H.each(O.before,function(Z,a){if(S.cycleStop!=O.stopCount){return }a.apply(X,[Y,X,O,W])})}var Q=function(){H.each(O.after,function(Z,a){if(S.cycleStop!=O.stopCount){return }a.apply(X,[Y,X,O,W])})};if(O.nextSlide!=O.currSlide){O.busy=1;if(O.fxFn){O.fxFn(Y,X,O,Q,W)}else{if(H.isFunction(H.fn.cycle[O.fx])){H.fn.cycle[O.fx](Y,X,O,Q)}else{H.fn.cycle.custom(Y,X,O,Q,U&&O.fastOnEvent)}}}O.lastSlide=O.currSlide;if(O.random){O.currSlide=O.nextSlide;if(++O.randomIndex==V.length){O.randomIndex=0}O.nextSlide=O.randomMap[O.randomIndex]}else{var R=(O.nextSlide+1)==V.length;O.nextSlide=R?0:O.nextSlide+1;O.currSlide=R?V.length-1:O.nextSlide-1}if(O.pager){H.fn.cycle.updateActivePagerLink(O.pager,O.currSlide)}}var P=0;if(O.timeout&&!O.continuous){P=G(Y,X,O,W)}else{if(O.continuous&&S.cyclePause){P=10}}if(P>0){S.cycleTimeout=setTimeout(function(){D(V,O,0,!O.rev)},P)}}H.fn.cycle.updateActivePagerLink=function(O,P){H(O).find("a").removeClass("activeSlide").filter("a:eq("+P+")").addClass("activeSlide")};function G(S,Q,R,P){if(R.timeoutFn){var O=R.timeoutFn(S,Q,R,P);if(O!==false){return O}}return R.timeout}H.fn.cycle.next=function(O){N(O,O.rev?-1:1)};H.fn.cycle.prev=function(O){N(O,O.rev?1:-1)};function N(P,S){var O=P.elements;var R=P.$cont[0],Q=R.cycleTimeout;if(Q){clearTimeout(Q);R.cycleTimeout=0}if(P.random&&S<0){P.randomIndex--;if(--P.randomIndex==-2){P.randomIndex=O.length-2}else{if(P.randomIndex==-1){P.randomIndex=O.length-1}}P.nextSlide=P.randomMap[P.randomIndex]}else{if(P.random){if(++P.randomIndex==O.length){P.randomIndex=0}P.nextSlide=P.randomMap[P.randomIndex]}else{P.nextSlide=P.currSlide+S;if(P.nextSlide<0){if(P.nowrap){return false}P.nextSlide=O.length-1}else{if(P.nextSlide>=O.length){if(P.nowrap){return false}P.nextSlide=0}}}}if(H.isFunction(P.prevNextClick)){P.prevNextClick(S>0,P.nextSlide,O[P.nextSlide])}D(O,P,1,S>=0);return false}function C(P,Q){var O=H(Q.pager);H.each(P,function(R,S){H.fn.cycle.createPagerAnchor(R,S,O,P,Q)});H.fn.cycle.updateActivePagerLink(Q.pager,Q.startingSlide)}H.fn.cycle.createPagerAnchor=function(R,S,P,Q,T){var O=(H.isFunction(T.pagerAnchorBuilder))?T.pagerAnchorBuilder(R,S):'<a href="#">'+(R+1)+"</a>";if(!O){return }var U=H(O);if(U.parents("body").length==0){U.appendTo(P)}U.bind(T.pagerEvent,function(){T.nextSlide=R;var W=T.$cont[0],V=W.cycleTimeout;if(V){clearTimeout(V);W.cycleTimeout=0}if(H.isFunction(T.pagerClick)){T.pagerClick(T.nextSlide,Q[T.nextSlide])}D(Q,T,1,T.currSlide<R);return false});if(T.pauseOnPagerHover){U.hover(function(){T.$cont[0].cyclePause++},function(){T.$cont[0].cyclePause--})}};H.fn.cycle.hopsFromLast=function(R,Q){var P,O=R.lastSlide,S=R.currSlide;if(Q){P=S>O?S-O:R.slideCount-O}else{P=S<O?O-S:O+R.slideCount-S}return P};function F(Q){function P(R){R=parseInt(R).toString(16);return R.length<2?"0"+R:R}function O(T){for(;T&&T.nodeName.toLowerCase()!="html";T=T.parentNode){var R=H.css(T,"background-color");if(R.indexOf("rgb")>=0){var S=R.match(/\d+/g);return"#"+P(S[0])+P(S[1])+P(S[2])}if(R&&R!="transparent"){return R}}return"#ffffff"}Q.each(function(){H(this).css("background-color",O(this))})}H.fn.cycle.commonReset=function(T,R,S,P,Q,O){H(S.elements).not(T).hide();S.cssBefore.opacity=1;S.cssBefore.display="block";if(P!==false&&R.cycleW>0){S.cssBefore.width=R.cycleW}if(Q!==false&&R.cycleH>0){S.cssBefore.height=R.cycleH}S.cssAfter=S.cssAfter||{};S.cssAfter.display="none";H(T).css("zIndex",S.slideCount+(O===true?1:0));H(R).css("zIndex",S.slideCount+(O===true?0:1))};H.fn.cycle.custom=function(Z,T,O,Q,P){var Y=H(Z),U=H(T);var R=O.speedIn,X=O.speedOut,S=O.easeIn,W=O.easeOut;U.css(O.cssBefore);if(P){if(typeof P=="number"){R=X=P}else{R=X=1}S=W=null}var V=function(){U.animate(O.animIn,R,S,Q)};Y.animate(O.animOut,X,W,function(){if(O.cssAfter){Y.css(O.cssAfter)}if(!O.sync){V()}});if(O.sync){V()}};H.fn.cycle.transitions={fade:function(P,Q,O){Q.not(":eq("+O.currSlide+")").css("opacity",0);O.before.push(function(T,R,S){H.fn.cycle.commonReset(T,R,S);S.cssBefore.opacity=0});O.animIn={opacity:1};O.animOut={opacity:0};O.cssBefore={top:0,left:0}}};H.fn.cycle.ver=function(){return K};H.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,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:!H.support.opacity,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.52
 * 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.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 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(var C=0;C<F.length;C++){D.els.push(F[C])}for(var 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(K,H,C){var J=K.css("overflow","hidden").width();var F=K.height();C.cssBefore=C.cssBefore||{};var D;if(C.clip){if(/l2r/.test(C.clip)){D="rect(0px 0px "+F+"px 0px)"}else{if(/r2l/.test(C.clip)){D="rect(0px "+J+"px "+F+"px "+J+"px)"}else{if(/t2b/.test(C.clip)){D="rect(0px "+J+"px 0px 0px)"}else{if(/b2t/.test(C.clip)){D="rect("+F+"px "+J+"px "+F+"px 0px)"}else{if(/zoom/.test(C.clip)){var L=parseInt(F/2);var E=parseInt(J/2);D="rect("+L+"px "+E+"px "+L+"px "+E+"px)"}}}}}}C.cssBefore.clip=C.cssBefore.clip||D||"rect(0px 0px 0px 0px)";var G=C.cssBefore.clip.match(/(\d+)/g);var L=parseInt(G[0]),B=parseInt(G[1]),I=parseInt(G[2]),E=parseInt(G[3]);C.before.push(function(T,O,R){if(T==O){return }var N=A(T),M=A(O);A.fn.cycle.commonReset(T,O,R,true,true,false);R.cssAfter.display="block";var Q=1,P=parseInt((R.speedIn/13))-1;(function S(){var V=L?L-parseInt(Q*(L/P)):0;var W=E?E-parseInt(Q*(E/P)):0;var X=I<F?I+parseInt(Q*((F-I)/P||1)):F;var U=B<J?B+parseInt(Q*((J-B)/P||1)):J;M.css({clip:"rect("+V+"px "+U+"px "+X+"px "+W+"px)"});(Q++<=P)?setTimeout(S,13):N.css("display","none")})()});C.cssBefore={display:"block",opacity:1,top:0,left:0};C.animIn={left:0};C.animOut={left:0}}})(jQuery);
