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