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