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

