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

