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