(function(d){var e="2.65";if(d.support==undefined){d.support={opacity:!(d.browser.msie)};}function a(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}d.fn.cycle=function(r,q){var s={s:this.selector,c:this.context};if(this.length==0&&r!="stop"){if(!d.isReady&&s.s){a("DOM not ready, queuing slideshow");d(function(){d(s.s,s.c).cycle(r,q);});return this;}a("terminating; zero elements found by selector"+(d.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){r=l(this,r,q);if(r===false){return;}if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var t=d(this);var u=r.slideExpr?d(r.slideExpr,this):t.children();var v=u.get();if(v.length<2){a("terminating; too few slides: "+v.length);return;}var o=b(t,u,v,r,s);if(o===false){return;}if(o.timeout||o.continuous){this.cycleTimeout=setTimeout(function(){m(v,o,0,!o.rev);},o.continuous?10:o.timeout+(o.delay||0));}});};function l(q,r,o){if(q.cycleStop==undefined){q.cycleStop=0;}if(r===undefined||r===null){r={};}if(r.constructor==String){switch(r){case"stop":q.cycleStop++;if(q.cycleTimeout){clearTimeout(q.cycleTimeout);}q.cycleTimeout=0;d(q).removeData("cycle.opts");return false;case"pause":q.cyclePause=1;return false;case"resume":q.cyclePause=0;if(o===true){r=d(q).data("cycle.opts");if(!r){a("options not found, can not resume");return false;}if(q.cycleTimeout){clearTimeout(q.cycleTimeout);q.cycleTimeout=0;}m(r.elements,r,1,1);}return false;default:r={fx:r};}}else{if(r.constructor==Number){var s=r;r=d(q).data("cycle.opts");if(!r){a("options not found, can not advance slide");return false;}if(s<0||s>=r.elements.length){a("invalid slide index: "+s);return false;}r.nextSlide=s;if(q.cycleTimeout){clearTimeout(q.cycleTimeout);q.cycleTimeout=0;}if(typeof o=="string"){r.oneTimeFx=o;}m(r.elements,r,1,s>=r.currSlide);return false;}}return r;}function n(q,o){if(!d.support.opacity&&o.cleartype&&q.style.filter){try{q.style.removeAttribute("filter");}catch(r){}}}function b(C,q,u,z,A){var B=d.extend({},d.fn.cycle.defaults,z||{},d.metadata?C.metadata():d.meta?C.data():{});if(B.autostop){B.countdown=B.autostopCount||u.length;}var r=C[0];C.data("cycle.opts",B);B.$cont=C;B.stopCount=r.cycleStop;B.elements=u;B.before=B.before?[B.before]:[];B.after=B.after?[B.after]:[];B.after.unshift(function(){B.busy=0;});if(!d.support.opacity&&B.cleartype){B.after.push(function(){n(this,B);});}if(B.continuous){B.after.push(function(){m(u,B,0,!B.rev);});}h(B);if(!d.support.opacity&&B.cleartype&&!B.cleartypeNoBg){j(q);}if(C.css("position")=="static"){C.css("position","relative");}if(B.width){C.width(B.width);}if(B.height&&B.height!="auto"){C.height(B.height);}if(B.startingSlide){B.startingSlide=parseInt(B.startingSlide);}if(B.random){B.randomMap=[];for(var y=0;y<u.length;y++){B.randomMap.push(y);}B.randomMap.sort(function(o,w){return Math.random()-0.5;});B.randomIndex=0;B.startingSlide=B.randomMap[0];}else{if(B.startingSlide>=u.length){B.startingSlide=0;}}B.currSlide=B.startingSlide=B.startingSlide||0;var t=B.startingSlide;q.css({position:"absolute",top:0,left:0}).hide().each(function(w){var o=t?w>=t?u.length-(w-t):t-w:u.length-w;d(this).css("z-index",o);});d(u[t]).css("opacity",1).show();n(u[t],B);if(B.fit&&B.width){q.width(B.width);}if(B.fit&&B.height&&B.height!="auto"){q.height(B.height);}var F=B.containerResize&&!C.innerHeight();if(F){var s=0,I=0;for(var y=0;y<u.length;y++){var E=d(u[y]),D=E[0],v=E.outerWidth(),x=E.outerHeight();if(!v){v=D.offsetWidth;}if(!x){x=D.offsetHeight;}s=v>s?v:s;I=x>I?x:I;}if(s>0&&I>0){C.css({width:s+"px",height:I+"px"});}}if(B.pause){C.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(f(B)===false){return false;}if(!B.multiFx){var H=d.fn.cycle.transitions[B.fx];if(d.isFunction(H)){H(C,q,B);}else{if(B.fx!="custom"&&!B.multiFx){a("unknown transition: "+B.fx,"; slideshow terminating");return false;}}}var J=false;z.requeueAttempts=z.requeueAttempts||0;q.each(function(){var w=d(this);this.cycleH=(B.fit&&B.height)?B.height:w.height();this.cycleW=(B.fit&&B.width)?B.width:w.width();if(w.is("img")){var L=(d.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var o=(d.browser.opera&&this.cycleW==42&&this.cycleH==19&&!this.complete);var K=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(L||o||K){if(A.s&&B.requeueOnImageNotLoaded&&++z.requeueAttempts<100){a(z.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){d(A.s,A.c).cycle(z);},B.requeueTimeout);J=true;return false;}else{a("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(J){return false;}B.cssBefore=B.cssBefore||{};B.animIn=B.animIn||{};B.animOut=B.animOut||{};q.not(":eq("+t+")").css(B.cssBefore);if(B.cssFirst){d(q[t]).css(B.cssFirst);}if(B.timeout){B.timeout=parseInt(B.timeout);if(B.speed.constructor==String){B.speed=d.fx.speeds[B.speed]||parseInt(B.speed);}if(!B.sync){B.speed=B.speed/2;}while((B.timeout-B.speed)<250){B.timeout+=B.speed;}}if(B.easing){B.easeIn=B.easeOut=B.easing;}if(!B.speedIn){B.speedIn=B.speed;}if(!B.speedOut){B.speedOut=B.speed;}B.slideCount=u.length;B.currSlide=B.lastSlide=t;if(B.random){B.nextSlide=B.currSlide;if(++B.randomIndex==u.length){B.randomIndex=0;}B.nextSlide=B.randomMap[B.randomIndex];}else{B.nextSlide=B.startingSlide>=(u.length-1)?0:B.startingSlide+1;}var G=q[t];if(B.before.length){B.before[0].apply(G,[G,G,B,true]);}if(B.after.length>1){B.after[1].apply(G,[G,G,B,true]);}if(B.next){d(B.next).click(function(){return c(B,B.rev?-1:1);});}if(B.prev){d(B.prev).click(function(){return c(B,B.rev?1:-1);});}if(B.pager){i(u,B);}k(B,u);return B;}function h(o){o.original={before:[],after:[]};o.original.cssBefore=d.extend({},o.cssBefore);o.original.cssAfter=d.extend({},o.cssAfter);o.original.animIn=d.extend({},o.animIn);o.original.animOut=d.extend({},o.animOut);d.each(o.before,function(){o.original.before.push(this);});d.each(o.after,function(){o.original.after.push(this);});}function f(o){var q=d.fn.cycle.transitions;if(o.fx.indexOf(",")>0){o.multiFx=true;o.fxs=o.fx.replace(/\s*/g,"").split(",");for(var t=0;t<o.fxs.length;t++){var v=o.fxs[t];var r=q[v];if(!r||!q.hasOwnProperty(v)||!d.isFunction(r)){a("discarding unknown transition: ",v);o.fxs.splice(t,1);t--;}}if(!o.fxs.length){a("No valid transitions named; slideshow terminating.");return false;}}else{if(o.fx=="all"){o.multiFx=true;o.fxs=[];for(p in q){var r=q[p];if(q.hasOwnProperty(p)&&d.isFunction(r)){o.fxs.push(p);}}}}if(o.multiFx&&o.randomizeEffects){var s=Math.floor(Math.random()*20)+30;for(var t=0;t<s;t++){var u=Math.floor(Math.random()*o.fxs.length);o.fxs.push(o.fxs.splice(u,1)[0]);}a("randomized fx sequence: ",o.fxs);}return true;}function k(o,q){o.addSlide=function(v,u){var t=d(v),r=t[0];if(!o.autostopCount){o.countdown++;}q[u?"unshift":"push"](r);if(o.els){o.els[u?"unshift":"push"](r);}o.slideCount=q.length;t.css("position","absolute");t[u?"prependTo":"appendTo"](o.$cont);if(u){o.currSlide++;o.nextSlide++;}if(!d.support.opacity&&o.cleartype&&!o.cleartypeNoBg){j(t);}if(o.fit&&o.width){t.width(o.width);}if(o.fit&&o.height&&o.height!="auto"){$slides.height(o.height);}r.cycleH=(o.fit&&o.height)?o.height:t.height();r.cycleW=(o.fit&&o.width)?o.width:t.width();t.css(o.cssBefore);if(o.pager){d.fn.cycle.createPagerAnchor(q.length-1,r,d(o.pager),q,o);}if(d.isFunction(o.onAddSlide)){o.onAddSlide(t);}else{t.hide();}};}d.fn.cycle.resetState=function(o,r){r=r||o.fx;o.before=[];o.after=[];o.cssBefore=d.extend({},o.original.cssBefore);o.cssAfter=d.extend({},o.original.cssAfter);o.animIn=d.extend({},o.original.animIn);o.animOut=d.extend({},o.original.animOut);o.fxFn=null;d.each(o.original.before,function(){o.before.push(this);});d.each(o.original.after,function(){o.after.push(this);});var q=d.fn.cycle.transitions[r];if(d.isFunction(q)){q(o.$cont,d(o.elements),o);}};function m(r,z,y,u){if(y&&z.busy&&z.manualTrump){d(r).stop(true,true);z.busy=false;}if(z.busy){return;}var w=z.$cont[0],x=r[z.currSlide],o=r[z.nextSlide];if(w.cycleStop!=z.stopCount||w.cycleTimeout===0&&!y){return;}if(!y&&!w.cyclePause&&((z.autostop&&(--z.countdown<=0))||(z.nowrap&&!z.random&&z.nextSlide<z.currSlide))){if(z.end){z.end(z);}return;}if(y||!w.cyclePause){var s=z.fx;x.cycleH=x.cycleH||d(x).height();x.cycleW=x.cycleW||d(x).width();o.cycleH=o.cycleH||d(o).height();o.cycleW=o.cycleW||d(o).width();if(z.multiFx){if(z.lastFx==undefined||++z.lastFx>=z.fxs.length){z.lastFx=0;}s=z.fxs[z.lastFx];z.currFx=s;}if(z.oneTimeFx){s=z.oneTimeFx;z.oneTimeFx=null;}d.fn.cycle.resetState(z,s);if(z.before.length){d.each(z.before,function(B,A){if(w.cycleStop!=z.stopCount){return;}A.apply(o,[x,o,z,u]);});}var q=function(){d.each(z.after,function(B,A){if(w.cycleStop!=z.stopCount){return;}A.apply(o,[x,o,z,u]);});};if(z.nextSlide!=z.currSlide){z.busy=1;if(z.fxFn){z.fxFn(x,o,z,q,u);}else{if(d.isFunction(d.fn.cycle[z.fx])){d.fn.cycle[z.fx](x,o,z,q);}else{d.fn.cycle.custom(x,o,z,q,y&&z.fastOnEvent);}}}z.lastSlide=z.currSlide;if(z.random){z.currSlide=z.nextSlide;if(++z.randomIndex==r.length){z.randomIndex=0;}z.nextSlide=z.randomMap[z.randomIndex];}else{var t=(z.nextSlide+1)==r.length;z.nextSlide=t?0:z.nextSlide+1;z.currSlide=t?r.length-1:z.nextSlide-1;}if(z.pager){d.fn.cycle.updateActivePagerLink(z.pager,z.currSlide);}}var v=0;if(z.timeout&&!z.continuous){v=g(x,o,z,u);}else{if(z.continuous&&w.cyclePause){v=10;}}if(v>0){w.cycleTimeout=setTimeout(function(){m(r,z,0,!z.rev);},v);}}d.fn.cycle.updateActivePagerLink=function(q,o){d(q).find("a").removeClass("activeSlide").filter("a:eq("+o+")").addClass("activeSlide");};function g(r,s,o,u){if(o.timeoutFn){var q=o.timeoutFn(r,s,o,u);if(q!==false){return q;}}return o.timeout;}d.fn.cycle.next=function(o){c(o,o.rev?-1:1);};d.fn.cycle.prev=function(o){c(o,o.rev?1:-1);};function c(o,s){var t=o.elements;var q=o.$cont[0],r=q.cycleTimeout;if(r){clearTimeout(r);q.cycleTimeout=0;}if(o.random&&s<0){o.randomIndex--;if(--o.randomIndex==-2){o.randomIndex=t.length-2;}else{if(o.randomIndex==-1){o.randomIndex=t.length-1;}}o.nextSlide=o.randomMap[o.randomIndex];}else{if(o.random){if(++o.randomIndex==t.length){o.randomIndex=0;}o.nextSlide=o.randomMap[o.randomIndex];}else{o.nextSlide=o.currSlide+s;if(o.nextSlide<0){if(o.nowrap){return false;}o.nextSlide=t.length-1;}else{if(o.nextSlide>=t.length){if(o.nowrap){return false;}o.nextSlide=0;}}}}if(d.isFunction(o.prevNextClick)){o.prevNextClick(s>0,o.nextSlide,t[o.nextSlide]);}m(t,o,1,s>=0);return false;}function i(r,o){var q=d(o.pager);d.each(r,function(t,s){d.fn.cycle.createPagerAnchor(t,s,q,r,o);});d.fn.cycle.updateActivePagerLink(o.pager,o.startingSlide);}d.fn.cycle.createPagerAnchor=function(o,t,u,r,w){var s=(d.isFunction(w.pagerAnchorBuilder))?w.pagerAnchorBuilder(o,t):'<a href="#">'+(o+1)+"</a>";if(!s){return;}var q=d(s);if(q.parents("body").length==0){var v=[];if(u.length>1){u.each(function(){var x=q.clone(true);d(this).append(x);v.push(x);});q=d(v);}else{q.appendTo(u);}}q.bind(w.pagerEvent,function(){w.nextSlide=o;var y=w.$cont[0],x=y.cycleTimeout;if(x){clearTimeout(x);y.cycleTimeout=0;}if(d.isFunction(w.pagerClick)){w.pagerClick(w.nextSlide,r[w.nextSlide]);}m(r,w,1,w.currSlide<o);return false;});if(w.pauseOnPagerHover){q.hover(function(){w.$cont[0].cyclePause++;},function(){w.$cont[0].cyclePause--;});}};d.fn.cycle.hopsFromLast=function(o,t){var s,r=o.lastSlide,q=o.currSlide;if(t){s=q>r?q-r:o.slideCount-r;}else{s=q<r?r-q:r+o.slideCount-q;}return s;};function j(o){function q(t){t=parseInt(t).toString(16);return t.length<2?"0"+t:t;}function r(u){for(;u&&u.nodeName.toLowerCase()!="html";u=u.parentNode){var s=d.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";}o.each(function(){d(this).css("background-color",r(this));});}d.fn.cycle.commonReset=function(q,u,o,r,s,t){d(o.elements).not(q).hide();o.cssBefore.opacity=1;o.cssBefore.display="block";if(r!==false&&u.cycleW>0){o.cssBefore.width=u.cycleW;}if(s!==false&&u.cycleH>0){o.cssBefore.height=u.cycleH;}o.cssAfter=o.cssAfter||{};o.cssAfter.display="none";d(q).css("zIndex",o.slideCount+(t===true?1:0));d(u).css("zIndex",o.slideCount+(t===true?0:1));};d.fn.cycle.custom=function(v,o,u,w,r){var x=d(v),A=d(o);var q=u.speedIn,t=u.speedOut,z=u.easeIn,y=u.easeOut;A.css(u.cssBefore);if(r){if(typeof r=="number"){q=t=r;}else{q=t=1;}z=y=null;}var s=function(){A.animate(u.animIn,q,z,w);};x.animate(u.animOut,t,y,function(){if(u.cssAfter){x.css(u.cssAfter);}if(!u.sync){s();}});if(u.sync){s();}};d.fn.cycle.transitions={fade:function(q,r,o){r.not(":eq("+o.currSlide+")").css("opacity",0);o.before.push(function(t,u,s){d.fn.cycle.commonReset(t,u,s);s.cssBefore.opacity=0;});o.animIn={opacity:1};o.animOut={opacity:0};o.cssBefore={top:0,left:0};}};d.fn.cycle.ver=function(){return e;};d.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:!d.support.opacity,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250};})(jQuery);(function(a){a.fn.cycle.transitions.scrollUp=function(c,d,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);var e=c.height();b.cssBefore={top:e,left:0};b.cssFirst={top:0};b.animIn={top:0};b.animOut={top:-e};};a.fn.cycle.transitions.scrollDown=function(c,d,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);var e=c.height();b.cssFirst={top:0};b.cssBefore={top:-e,left:0};b.animIn={top:0};b.animOut={top:e};};a.fn.cycle.transitions.scrollLeft=function(c,d,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);var e=c.width();b.cssFirst={left:0};b.cssBefore={left:e,top:0};b.animIn={left:0};b.animOut={left:0-e};};a.fn.cycle.transitions.scrollRight=function(c,d,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);var e=c.width();b.cssFirst={left:0};b.cssBefore={left:-e,top:0};b.animIn={left:0};b.animOut={left:e};};a.fn.cycle.transitions.scrollHorz=function(c,d,b){c.css("overflow","hidden").width();b.before.push(function(f,g,e,h){a.fn.cycle.commonReset(f,g,e);e.cssBefore.left=h?(g.cycleW-1):(1-g.cycleW);e.animOut.left=h?-f.cycleW:f.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(f,g,e,h){a.fn.cycle.commonReset(f,g,e);e.cssBefore.top=h?(1-g.cycleH):(g.cycleH-1);e.animOut.top=h?f.cycleH:-f.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(f,g,e){a(e.elements).not(f).hide();a.fn.cycle.commonReset(f,g,e,false,true);e.animIn.width=g.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(f,g,e){a(e.elements).not(f).hide();a.fn.cycle.commonReset(f,g,e,true,false);e.animIn.height=g.cycleH;});b.cssBefore={left:0,top:0,height:0};b.animIn={height:"show"};b.animOut={height:0};};a.fn.cycle.transitions.shuffle=function(c,d,b){var e=c.css("overflow","visible").width();d.css({left:0,top:0});b.before.push(function(h,i,g){a.fn.cycle.commonReset(h,i,g,true,true,true);});b.speed=b.speed/2;b.random=0;b.shuffle=b.shuffle||{left:-e,top:15};b.els=[];for(var f=0;f<d.length;f++){b.els.push(d[f]);}for(var f=0;f<b.currSlide;f++){b.els.push(b.els.shift());}b.fxFn=function(i,l,g,k,m){var h=m?a(i):a(l);a(l).css(g.cssBefore);var j=g.slideCount;h.animate(g.shuffle,g.speedIn,g.easeIn,function(){var r=a.fn.cycle.hopsFromLast(g,m);for(var s=0;s<r;s++){m?g.els.push(g.els.shift()):g.els.unshift(g.els.pop());}if(m){for(var q=0,n=g.els.length;q<n;q++){a(g.els[q]).css("z-index",n-q+j);}}else{var o=a(i).css("z-index");h.css("z-index",parseInt(o)+1+j);}h.animate({left:0,top:0},g.speedOut,g.easeOut,function(){a(m?this:i).hide();if(k){k();}});});};b.cssBefore={display:"block",opacity:1,top:0,left:0};};a.fn.cycle.transitions.turnUp=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,true,false);e.cssBefore.top=g.cycleH;e.animIn.height=g.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(f,g,e){a.fn.cycle.commonReset(f,g,e,true,false);e.animIn.height=g.cycleH;e.animOut.top=f.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(f,g,e){a.fn.cycle.commonReset(f,g,e,false,true);e.cssBefore.left=g.cycleW;e.animIn.width=g.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(f,g,e){a.fn.cycle.commonReset(f,g,e,false,true);e.animIn.width=g.cycleW;e.animOut.left=f.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(f,g,e){a.fn.cycle.commonReset(f,g,e,false,false,true);e.cssBefore.top=g.cycleH/2;e.cssBefore.left=g.cycleW/2;e.animIn={top:0,left:0,width:g.cycleW,height:g.cycleH};e.animOut={width:0,height:0,top:f.cycleH/2,left:f.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(f,g,e){a.fn.cycle.commonReset(f,g,e,false,false);e.cssBefore.left=g.cycleW/2;e.cssBefore.top=g.cycleH/2;e.animIn={top:0,left:0,width:g.cycleW,height:g.cycleH};});b.cssBefore={width:0,height:0};b.animOut={opacity:0};};a.fn.cycle.transitions.blindX=function(c,d,b){var e=c.css("overflow","hidden").width();b.before.push(function(g,h,f){a.fn.cycle.commonReset(g,h,f);f.animIn.width=h.cycleW;f.animOut.left=g.cycleW;});b.cssBefore={left:e,top:0};b.animIn={left:0};b.animOut={left:e};};a.fn.cycle.transitions.blindY=function(c,d,b){var e=c.css("overflow","hidden").height();b.before.push(function(g,h,f){a.fn.cycle.commonReset(g,h,f);f.animIn.height=h.cycleH;f.animOut.top=g.cycleH;});b.cssBefore={top:e,left:0};b.animIn={top:0};b.animOut={top:e};};a.fn.cycle.transitions.blindZ=function(c,d,b){var f=c.css("overflow","hidden").height();var e=c.width();b.before.push(function(h,i,g){a.fn.cycle.commonReset(h,i,g);g.animIn.height=i.cycleH;g.animOut.top=h.cycleH;});b.cssBefore={top:f,left:e};b.animIn={top:0,left:0};b.animOut={top:f,left:e};};a.fn.cycle.transitions.growX=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,false,true);e.cssBefore.left=this.cycleW/2;e.animIn={left:0,width:this.cycleW};e.animOut={left:0};});b.cssBefore={width:0,top:0};};a.fn.cycle.transitions.growY=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,true,false);e.cssBefore.top=this.cycleH/2;e.animIn={top:0,height:this.cycleH};e.animOut={top:0};});b.cssBefore={height:0,left:0};};a.fn.cycle.transitions.curtainX=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,false,true,true);e.cssBefore.left=g.cycleW/2;e.animIn={left:0,width:this.cycleW};e.animOut={left:f.cycleW/2,width:0};});b.cssBefore={top:0,width:0};};a.fn.cycle.transitions.curtainY=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,true,false,true);e.cssBefore.top=g.cycleH/2;e.animIn={top:0,height:g.cycleH};e.animOut={top:f.cycleH/2,height:0};});b.cssBefore={left:0,height:0};};a.fn.cycle.transitions.cover=function(c,e,b){var i=b.direction||"left";var f=c.css("overflow","hidden").width();var g=c.height();b.before.push(function(h,j,d){a.fn.cycle.commonReset(h,j,d);if(i=="right"){d.cssBefore.left=-f;}else{if(i=="up"){d.cssBefore.top=g;}else{if(i=="down"){d.cssBefore.top=-g;}else{d.cssBefore.left=f;}}}});b.animIn={left:0,top:0};b.animOut={opacity:1};b.cssBefore={top:0,left:0};};a.fn.cycle.transitions.uncover=function(c,e,b){var i=b.direction||"left";var f=c.css("overflow","hidden").width();var g=c.height();b.before.push(function(h,j,d){a.fn.cycle.commonReset(h,j,d,true,true,true);if(i=="right"){d.animOut.left=f;}else{if(i=="up"){d.animOut.top=-g;}else{if(i=="down"){d.animOut.top=g;}else{d.animOut.left=-f;}}}});b.animIn={left:0,top:0};b.animOut={opacity:1};b.cssBefore={top:0,left:0};};a.fn.cycle.transitions.toss=function(c,d,b){var e=c.css("overflow","visible").width();var f=c.height();b.before.push(function(h,i,g){a.fn.cycle.commonReset(h,i,g,true,true,true);if(!g.animOut.left&&!g.animOut.top){g.animOut={left:e*2,top:-f/2,opacity:0};}else{g.animOut.opacity=0;}});b.cssBefore={left:0,top:0};b.animIn={left:0};};a.fn.cycle.transitions.wipe=function(c,f,j){var o=c.css("overflow","hidden").width();var q=c.height();j.cssBefore=j.cssBefore||{};var e;if(j.clip){if(/l2r/.test(j.clip)){e="rect(0px 0px "+q+"px 0px)";}else{if(/r2l/.test(j.clip)){e="rect(0px "+o+"px "+q+"px "+o+"px)";}else{if(/t2b/.test(j.clip)){e="rect(0px "+o+"px 0px 0px)";}else{if(/b2t/.test(j.clip)){e="rect("+q+"px "+o+"px "+q+"px 0px)";}else{if(/zoom/.test(j.clip)){var m=parseInt(q/2);var n=parseInt(o/2);e="rect("+m+"px "+n+"px "+m+"px "+n+"px)";}}}}}}j.cssBefore.clip=j.cssBefore.clip||e||"rect(0px 0px 0px 0px)";var i=j.cssBefore.clip.match(/(\d+)/g);var m=parseInt(i[0]),k=parseInt(i[1]),g=parseInt(i[2]),n=parseInt(i[3]);j.before.push(function(l,b,u){if(l==b){return;}var r=a(l),d=a(b);a.fn.cycle.commonReset(l,b,u,true,true,false);u.cssAfter.display="block";var s=1,t=parseInt((u.speedIn/13))-1;(function h(){var v=m?m-parseInt(s*(m/t)):0;var x=n?n-parseInt(s*(n/t)):0;var y=g<q?g+parseInt(s*((q-g)/t||1)):q;var w=k<o?k+parseInt(s*((o-k)/t||1)):o;d.css({clip:"rect("+v+"px "+w+"px "+y+"px "+x+"px)"});(s++<=t)?setTimeout(h,13):r.css("display","none");})();});j.cssBefore={display:"block",opacity:1,top:0,left:0};j.animIn={left:0};j.animOut={left:0};};})(jQuery);