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