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