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