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