(function($){var _2="2.65";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function log(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}$.fn.cycle=function(_3,_4){var o={s:this.selector,c:this.context};if(this.length==0&&_3!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(_3,_4);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){_3=handleArguments(this,_3,_4);if(_3===false){return;}if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var _6=$(this);var _7=_3.slideExpr?$(_3.slideExpr,this):_6.children();var _8=_7.get();if(_8.length<2){log("terminating; too few slides: "+_8.length);return;}var _9=buildOptions(_6,_7,_8,_3,o);if(_9===false){return;}if(_9.timeout||_9.continuous){this.cycleTimeout=setTimeout(function(){go(_8,_9,0,!_9.rev);},_9.continuous?10:_9.timeout+(_9.delay||0));}});};function handleArguments(_a,_b,_c){if(_a.cycleStop==undefined){_a.cycleStop=0;}if(_b===undefined||_b===null){_b={};}if(_b.constructor==String){switch(_b){case"stop":_a.cycleStop++;if(_a.cycleTimeout){clearTimeout(_a.cycleTimeout);}_a.cycleTimeout=0;$(_a).removeData("cycle.opts");return false;case"pause":_a.cyclePause=1;return false;case"resume":_a.cyclePause=0;if(_c===true){_b=$(_a).data("cycle.opts");if(!_b){log("options not found, can not resume");return false;}if(_a.cycleTimeout){clearTimeout(_a.cycleTimeout);_a.cycleTimeout=0;}go(_b.elements,_b,1,1);}return false;default:_b={fx:_b};}}else{if(_b.constructor==Number){var _d=_b;_b=$(_a).data("cycle.opts");if(!_b){log("options not found, can not advance slide");return false;}if(_d<0||_d>=_b.elements.length){log("invalid slide index: "+_d);return false;}_b.nextSlide=_d;if(_a.cycleTimeout){clearTimeout(_a.cycleTimeout);_a.cycleTimeout=0;}if(typeof _c=="string"){_b.oneTimeFx=_c;}go(_b.elements,_b,1,_d>=_b.currSlide);return false;}}return _b;}function removeFilter(el,_f){if(!$.support.opacity&&_f.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function buildOptions(_10,_11,els,_13,o){var _15=$.extend({},$.fn.cycle.defaults,_13||{},$.metadata?_10.metadata():$.meta?_10.data():{});if(_15.autostop){_15.countdown=_15.autostopCount||els.length;}var _16=_10[0];_10.data("cycle.opts",_15);_15.$cont=_10;_15.stopCount=_16.cycleStop;_15.elements=els;_15.before=_15.before?[_15.before]:[];_15.after=_15.after?[_15.after]:[];_15.after.unshift(function(){_15.busy=0;});if(!$.support.opacity&&_15.cleartype){_15.after.push(function(){removeFilter(this,_15);});}if(_15.continuous){_15.after.push(function(){go(els,_15,0,!_15.rev);});}saveOriginalOpts(_15);if(!$.support.opacity&&_15.cleartype&&!_15.cleartypeNoBg){clearTypeFix(_11);}if(_10.css("position")=="static"){_10.css("position","relative");}if(_15.width){_10.width(_15.width);}if(_15.height&&_15.height!="auto"){_10.height(_15.height);}if(_15.startingSlide){_15.startingSlide=parseInt(_15.startingSlide);}if(_15.random){_15.randomMap=[];for(var i=0;i<els.length;i++){_15.randomMap.push(i);}_15.randomMap.sort(function(a,b){return Math.random()-0.5;});_15.randomIndex=0;_15.startingSlide=_15.randomMap[0];}else{if(_15.startingSlide>=els.length){_15.startingSlide=0;}}_15.currSlide=_15.startingSlide=_15.startingSlide||0;var _1a=_15.startingSlide;_11.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z=_1a?i>=_1a?els.length-(i-_1a):_1a-i:els.length-i;$(this).css("z-index",z);});$(els[_1a]).css("opacity",1).show();removeFilter(els[_1a],_15);if(_15.fit&&_15.width){_11.width(_15.width);}if(_15.fit&&_15.height&&_15.height!="auto"){_11.height(_15.height);}var _1d=_15.containerResize&&!_10.innerHeight();if(_1d){var _1e=0,_1f=0;for(var i=0;i<els.length;i++){var $e=$(els[i]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth;}if(!h){h=e.offsetHeight;}_1e=w>_1e?w:_1e;_1f=h>_1f?h:_1f;}if(_1e>0&&_1f>0){_10.css({width:_1e+"px",height:_1f+"px"});}}if(_15.pause){_10.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(_15)===false){return false;}if(!_15.multiFx){var _24=$.fn.cycle.transitions[_15.fx];if($.isFunction(_24)){_24(_10,_11,_15);}else{if(_15.fx!="custom"&&!_15.multiFx){log("unknown transition: "+_15.fx,"; slideshow terminating");return false;}}}var _25=false;_13.requeueAttempts=_13.requeueAttempts||0;_11.each(function(){var $el=$(this);this.cycleH=(_15.fit&&_15.height)?_15.height:$el.height();this.cycleW=(_15.fit&&_15.width)?_15.width:$el.width();if($el.is("img")){var _27=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var _28=($.browser.opera&&this.cycleW==42&&this.cycleH==19&&!this.complete);var _29=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(_27||_28||_29){if(o.s&&_15.requeueOnImageNotLoaded&&++_13.requeueAttempts<100){log(_13.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(_13);},_15.requeueTimeout);_25=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(_25){return false;}_15.cssBefore=_15.cssBefore||{};_15.animIn=_15.animIn||{};_15.animOut=_15.animOut||{};_11.not(":eq("+_1a+")").css(_15.cssBefore);if(_15.cssFirst){$(_11[_1a]).css(_15.cssFirst);}if(_15.timeout){_15.timeout=parseInt(_15.timeout);if(_15.speed.constructor==String){_15.speed=$.fx.speeds[_15.speed]||parseInt(_15.speed);}if(!_15.sync){_15.speed=_15.speed/2;}while((_15.timeout-_15.speed)<250){_15.timeout+=_15.speed;}}if(_15.easing){_15.easeIn=_15.easeOut=_15.easing;}if(!_15.speedIn){_15.speedIn=_15.speed;}if(!_15.speedOut){_15.speedOut=_15.speed;}_15.slideCount=els.length;_15.currSlide=_15.lastSlide=_1a;if(_15.random){_15.nextSlide=_15.currSlide;if(++_15.randomIndex==els.length){_15.randomIndex=0;}_15.nextSlide=_15.randomMap[_15.randomIndex];}else{_15.nextSlide=_15.startingSlide>=(els.length-1)?0:_15.startingSlide+1;}var e0=_11[_1a];if(_15.before.length){_15.before[0].apply(e0,[e0,e0,_15,true]);}if(_15.after.length>1){_15.after[1].apply(e0,[e0,e0,_15,true]);}if(_15.next){$(_15.next).click(function(){return advance(_15,_15.rev?-1:1);});}if(_15.prev){$(_15.prev).click(function(){return advance(_15,_15.rev?1:-1);});}if(_15.pager){buildPager(els,_15);}exposeAddSlide(_15,els);return _15;}function saveOriginalOpts(_2b){_2b.original={before:[],after:[]};_2b.original.cssBefore=$.extend({},_2b.cssBefore);_2b.original.cssAfter=$.extend({},_2b.cssAfter);_2b.original.animIn=$.extend({},_2b.animIn);_2b.original.animOut=$.extend({},_2b.animOut);$.each(_2b.before,function(){_2b.original.before.push(this);});$.each(_2b.after,function(){_2b.original.after.push(this);});}function supportMultiTransitions(_2c){var txs=$.fn.cycle.transitions;if(_2c.fx.indexOf(",")>0){_2c.multiFx=true;_2c.fxs=_2c.fx.replace(/\s*/g,"").split(",");for(var i=0;i<_2c.fxs.length;i++){var fx=_2c.fxs[i];var tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);_2c.fxs.splice(i,1);i--;}}if(!_2c.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(_2c.fx=="all"){_2c.multiFx=true;_2c.fxs=[];for(p in txs){var tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){_2c.fxs.push(p);}}}}if(_2c.multiFx&&_2c.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(var i=0;i<r1;i++){var r2=Math.floor(Math.random()*_2c.fxs.length);_2c.fxs.push(_2c.fxs.splice(r2,1)[0]);}log("randomized fx sequence: ",_2c.fxs);}return true;}function exposeAddSlide(_33,els){_33.addSlide=function(_35,_36){var $s=$(_35),s=$s[0];if(!_33.autostopCount){_33.countdown++;}els[_36?"unshift":"push"](s);if(_33.els){_33.els[_36?"unshift":"push"](s);}_33.slideCount=els.length;$s.css("position","absolute");$s[_36?"prependTo":"appendTo"](_33.$cont);if(_36){_33.currSlide++;_33.nextSlide++;}if(!$.support.opacity&&_33.cleartype&&!_33.cleartypeNoBg){clearTypeFix($s);}if(_33.fit&&_33.width){$s.width(_33.width);}if(_33.fit&&_33.height&&_33.height!="auto"){$slides.height(_33.height);}s.cycleH=(_33.fit&&_33.height)?_33.height:$s.height();s.cycleW=(_33.fit&&_33.width)?_33.width:$s.width();$s.css(_33.cssBefore);if(_33.pager){$.fn.cycle.createPagerAnchor(els.length-1,s,$(_33.pager),els,_33);}if($.isFunction(_33.onAddSlide)){_33.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(_39,fx){fx=fx||_39.fx;_39.before=[];_39.after=[];_39.cssBefore=$.extend({},_39.original.cssBefore);_39.cssAfter=$.extend({},_39.original.cssAfter);_39.animIn=$.extend({},_39.original.animIn);_39.animOut=$.extend({},_39.original.animOut);_39.fxFn=null;$.each(_39.original.before,function(){_39.before.push(this);});$.each(_39.original.after,function(){_39.after.push(this);});var _3b=$.fn.cycle.transitions[fx];if($.isFunction(_3b)){_3b(_39.$cont,$(_39.elements),_39);}};function go(els,_3d,_3e,fwd){if(_3e&&_3d.busy&&_3d.manualTrump){$(els).stop(true,true);_3d.busy=false;}if(_3d.busy){return;}var p=_3d.$cont[0],_41=els[_3d.currSlide],_42=els[_3d.nextSlide];if(p.cycleStop!=_3d.stopCount||p.cycleTimeout===0&&!_3e){return;}if(!_3e&&!p.cyclePause&&((_3d.autostop&&(--_3d.countdown<=0))||(_3d.nowrap&&!_3d.random&&_3d.nextSlide<_3d.currSlide))){if(_3d.end){_3d.end(_3d);}return;}if(_3e||!p.cyclePause){var fx=_3d.fx;_41.cycleH=_41.cycleH||$(_41).height();_41.cycleW=_41.cycleW||$(_41).width();_42.cycleH=_42.cycleH||$(_42).height();_42.cycleW=_42.cycleW||$(_42).width();if(_3d.multiFx){if(_3d.lastFx==undefined||++_3d.lastFx>=_3d.fxs.length){_3d.lastFx=0;}fx=_3d.fxs[_3d.lastFx];_3d.currFx=fx;}if(_3d.oneTimeFx){fx=_3d.oneTimeFx;_3d.oneTimeFx=null;}$.fn.cycle.resetState(_3d,fx);if(_3d.before.length){$.each(_3d.before,function(i,o){if(p.cycleStop!=_3d.stopCount){return;}o.apply(_42,[_41,_42,_3d,fwd]);});}var _46=function(){$.each(_3d.after,function(i,o){if(p.cycleStop!=_3d.stopCount){return;}o.apply(_42,[_41,_42,_3d,fwd]);});};if(_3d.nextSlide!=_3d.currSlide){_3d.busy=1;if(_3d.fxFn){_3d.fxFn(_41,_42,_3d,_46,fwd);}else{if($.isFunction($.fn.cycle[_3d.fx])){$.fn.cycle[_3d.fx](_41,_42,_3d,_46);}else{$.fn.cycle.custom(_41,_42,_3d,_46,_3e&&_3d.fastOnEvent);}}}_3d.lastSlide=_3d.currSlide;if(_3d.random){_3d.currSlide=_3d.nextSlide;if(++_3d.randomIndex==els.length){_3d.randomIndex=0;}_3d.nextSlide=_3d.randomMap[_3d.randomIndex];}else{var _49=(_3d.nextSlide+1)==els.length;_3d.nextSlide=_49?0:_3d.nextSlide+1;_3d.currSlide=_49?els.length-1:_3d.nextSlide-1;}if(_3d.pager){$.fn.cycle.updateActivePagerLink(_3d.pager,_3d.currSlide);}}var ms=0;if(_3d.timeout&&!_3d.continuous){ms=getTimeout(_41,_42,_3d,fwd);}else{if(_3d.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,_3d,0,!_3d.rev);},ms);}}$.fn.cycle.updateActivePagerLink=function(_4b,_4c){$(_4b).find("a").removeClass("activeSlide").filter("a:eq("+_4c+")").addClass("activeSlide");};function getTimeout(_4d,_4e,_4f,fwd){if(_4f.timeoutFn){var t=_4f.timeoutFn(_4d,_4e,_4f,fwd);if(t!==false){return t;}}return _4f.timeout;}$.fn.cycle.next=function(_52){advance(_52,_52.rev?-1:1);};$.fn.cycle.prev=function(_53){advance(_53,_53.rev?1:-1);};function advance(_54,val){var els=_54.elements;var p=_54.$cont[0],_58=p.cycleTimeout;if(_58){clearTimeout(_58);p.cycleTimeout=0;}if(_54.random&&val<0){_54.randomIndex--;if(--_54.randomIndex==-2){_54.randomIndex=els.length-2;}else{if(_54.randomIndex==-1){_54.randomIndex=els.length-1;}}_54.nextSlide=_54.randomMap[_54.randomIndex];}else{if(_54.random){if(++_54.randomIndex==els.length){_54.randomIndex=0;}_54.nextSlide=_54.randomMap[_54.randomIndex];}else{_54.nextSlide=_54.currSlide+val;if(_54.nextSlide<0){if(_54.nowrap){return false;}_54.nextSlide=els.length-1;}else{if(_54.nextSlide>=els.length){if(_54.nowrap){return false;}_54.nextSlide=0;}}}}if($.isFunction(_54.prevNextClick)){_54.prevNextClick(val>0,_54.nextSlide,els[_54.nextSlide]);}go(els,_54,1,val>=0);return false;}function buildPager(els,_5a){var $p=$(_5a.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,_5a);});$.fn.cycle.updateActivePagerLink(_5a.pager,_5a.startingSlide);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,_62){var a=($.isFunction(_62.pagerAnchorBuilder))?_62.pagerAnchorBuilder(i,el):"<a href=\"#\">"+(i+1)+"</a>";if(!a){return;}var $a=$(a);if($a.parents("body").length==0){var arr=[];if($p.length>1){$p.each(function(){var _66=$a.clone(true);$(this).append(_66);arr.push(_66);});$a=$(arr);}else{$a.appendTo($p);}}$a.bind(_62.pagerEvent,function(){_62.nextSlide=i;var p=_62.$cont[0],_68=p.cycleTimeout;if(_68){clearTimeout(_68);p.cycleTimeout=0;}if($.isFunction(_62.pagerClick)){_62.pagerClick(_62.nextSlide,els[_62.nextSlide]);}go(els,_62,1,_62.currSlide<i);return false;});if(_62.pauseOnPagerHover){$a.hover(function(){_62.$cont[0].cyclePause++;},function(){_62.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(_69,fwd){var _6b,l=_69.lastSlide,c=_69.currSlide;if(fwd){_6b=c>l?c-l:_69.slideCount-l;}else{_6b=c<l?l-c:l+_69.slideCount-c;}return _6b;};function clearTypeFix(_6e){function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}_6e.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(_73,_74,_75,w,h,rev){$(_75.elements).not(_73).hide();_75.cssBefore.opacity=1;_75.cssBefore.display="block";if(w!==false&&_74.cycleW>0){_75.cssBefore.width=_74.cycleW;}if(h!==false&&_74.cycleH>0){_75.cssBefore.height=_74.cycleH;}_75.cssAfter=_75.cssAfter||{};_75.cssAfter.display="none";$(_73).css("zIndex",_75.slideCount+(rev===true?1:0));$(_74).css("zIndex",_75.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(_79,_7a,_7b,cb,_7d){var $l=$(_79),$n=$(_7a);var _80=_7b.speedIn,_81=_7b.speedOut,_82=_7b.easeIn,_83=_7b.easeOut;$n.css(_7b.cssBefore);if(_7d){if(typeof _7d=="number"){_80=_81=_7d;}else{_80=_81=1;}_82=_83=null;}var fn=function(){$n.animate(_7b.animIn,_80,_82,cb);};$l.animate(_7b.animOut,_81,_83,function(){if(_7b.cssAfter){$l.css(_7b.cssAfter);}if(!_7b.sync){fn();}});if(_7b.sync){fn();}};$.fn.cycle.transitions={fade:function(_85,_86,_87){_86.not(":eq("+_87.currSlide+")").css("opacity",0);_87.before.push(function(_88,_89,_8a){$.fn.cycle.commonReset(_88,_89,_8a);_8a.cssBefore.opacity=0;});_87.animIn={opacity:1};_87.animOut={opacity:0};_87.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return _2;};$.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,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:!$.support.opacity,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250};})(jQuery);(function($){$.fn.cycle.transitions.scrollUp=function(_8c,_8d,_8e){_8c.css("overflow","hidden");_8e.before.push($.fn.cycle.commonReset);var h=_8c.height();_8e.cssBefore={top:h,left:0};_8e.cssFirst={top:0};_8e.animIn={top:0};_8e.animOut={top:-h};};$.fn.cycle.transitions.scrollDown=function(_90,_91,_92){_90.css("overflow","hidden");_92.before.push($.fn.cycle.commonReset);var h=_90.height();_92.cssFirst={top:0};_92.cssBefore={top:-h,left:0};_92.animIn={top:0};_92.animOut={top:h};};$.fn.cycle.transitions.scrollLeft=function(_94,_95,_96){_94.css("overflow","hidden");_96.before.push($.fn.cycle.commonReset);var w=_94.width();_96.cssFirst={left:0};_96.cssBefore={left:w,top:0};_96.animIn={left:0};_96.animOut={left:0-w};};$.fn.cycle.transitions.scrollRight=function(_98,_99,_9a){_98.css("overflow","hidden");_9a.before.push($.fn.cycle.commonReset);var w=_98.width();_9a.cssFirst={left:0};_9a.cssBefore={left:-w,top:0};_9a.animIn={left:0};_9a.animOut={left:w};};$.fn.cycle.transitions.scrollHorz=function(_9c,_9d,_9e){_9c.css("overflow","hidden").width();_9e.before.push(function(_9f,_a0,_a1,fwd){$.fn.cycle.commonReset(_9f,_a0,_a1);_a1.cssBefore.left=fwd?(_a0.cycleW-1):(1-_a0.cycleW);_a1.animOut.left=fwd?-_9f.cycleW:_9f.cycleW;});_9e.cssFirst={left:0};_9e.cssBefore={top:0};_9e.animIn={left:0};_9e.animOut={top:0};};$.fn.cycle.transitions.scrollVert=function(_a3,_a4,_a5){_a3.css("overflow","hidden");_a5.before.push(function(_a6,_a7,_a8,fwd){$.fn.cycle.commonReset(_a6,_a7,_a8);_a8.cssBefore.top=fwd?(1-_a7.cycleH):(_a7.cycleH-1);_a8.animOut.top=fwd?_a6.cycleH:-_a6.cycleH;});_a5.cssFirst={top:0};_a5.cssBefore={left:0};_a5.animIn={top:0};_a5.animOut={left:0};};$.fn.cycle.transitions.slideX=function(_aa,_ab,_ac){_ac.before.push(function(_ad,_ae,_af){$(_af.elements).not(_ad).hide();$.fn.cycle.commonReset(_ad,_ae,_af,false,true);_af.animIn.width=_ae.cycleW;});_ac.cssBefore={left:0,top:0,width:0};_ac.animIn={width:"show"};_ac.animOut={width:0};};$.fn.cycle.transitions.slideY=function(_b0,_b1,_b2){_b2.before.push(function(_b3,_b4,_b5){$(_b5.elements).not(_b3).hide();$.fn.cycle.commonReset(_b3,_b4,_b5,true,false);_b5.animIn.height=_b4.cycleH;});_b2.cssBefore={left:0,top:0,height:0};_b2.animIn={height:"show"};_b2.animOut={height:0};};$.fn.cycle.transitions.shuffle=function(_b6,_b7,_b8){var w=_b6.css("overflow","visible").width();_b7.css({left:0,top:0});_b8.before.push(function(_ba,_bb,_bc){$.fn.cycle.commonReset(_ba,_bb,_bc,true,true,true);});_b8.speed=_b8.speed/2;_b8.random=0;_b8.shuffle=_b8.shuffle||{left:-w,top:15};_b8.els=[];for(var i=0;i<_b7.length;i++){_b8.els.push(_b7[i]);}for(var i=0;i<_b8.currSlide;i++){_b8.els.push(_b8.els.shift());}_b8.fxFn=function(_be,_bf,_c0,cb,fwd){var $el=fwd?$(_be):$(_bf);$(_bf).css(_c0.cssBefore);var _c4=_c0.slideCount;$el.animate(_c0.shuffle,_c0.speedIn,_c0.easeIn,function(){var _c5=$.fn.cycle.hopsFromLast(_c0,fwd);for(var k=0;k<_c5;k++){fwd?_c0.els.push(_c0.els.shift()):_c0.els.unshift(_c0.els.pop());}if(fwd){for(var i=0,len=_c0.els.length;i<len;i++){$(_c0.els[i]).css("z-index",len-i+_c4);}}else{var z=$(_be).css("z-index");$el.css("z-index",parseInt(z)+1+_c4);}$el.animate({left:0,top:0},_c0.speedOut,_c0.easeOut,function(){$(fwd?this:_be).hide();if(cb){cb();}});});};_b8.cssBefore={display:"block",opacity:1,top:0,left:0};};$.fn.cycle.transitions.turnUp=function(_ca,_cb,_cc){_cc.before.push(function(_cd,_ce,_cf){$.fn.cycle.commonReset(_cd,_ce,_cf,true,false);_cf.cssBefore.top=_ce.cycleH;_cf.animIn.height=_ce.cycleH;});_cc.cssFirst={top:0};_cc.cssBefore={left:0,height:0};_cc.animIn={top:0};_cc.animOut={height:0};};$.fn.cycle.transitions.turnDown=function(_d0,_d1,_d2){_d2.before.push(function(_d3,_d4,_d5){$.fn.cycle.commonReset(_d3,_d4,_d5,true,false);_d5.animIn.height=_d4.cycleH;_d5.animOut.top=_d3.cycleH;});_d2.cssFirst={top:0};_d2.cssBefore={left:0,top:0,height:0};_d2.animOut={height:0};};$.fn.cycle.transitions.turnLeft=function(_d6,_d7,_d8){_d8.before.push(function(_d9,_da,_db){$.fn.cycle.commonReset(_d9,_da,_db,false,true);_db.cssBefore.left=_da.cycleW;_db.animIn.width=_da.cycleW;});_d8.cssBefore={top:0,width:0};_d8.animIn={left:0};_d8.animOut={width:0};};$.fn.cycle.transitions.turnRight=function(_dc,_dd,_de){_de.before.push(function(_df,_e0,_e1){$.fn.cycle.commonReset(_df,_e0,_e1,false,true);_e1.animIn.width=_e0.cycleW;_e1.animOut.left=_df.cycleW;});_de.cssBefore={top:0,left:0,width:0};_de.animIn={left:0};_de.animOut={width:0};};$.fn.cycle.transitions.zoom=function(_e2,_e3,_e4){_e4.before.push(function(_e5,_e6,_e7){$.fn.cycle.commonReset(_e5,_e6,_e7,false,false,true);_e7.cssBefore.top=_e6.cycleH/2;_e7.cssBefore.left=_e6.cycleW/2;_e7.animIn={top:0,left:0,width:_e6.cycleW,height:_e6.cycleH};_e7.animOut={width:0,height:0,top:_e5.cycleH/2,left:_e5.cycleW/2};});_e4.cssFirst={top:0,left:0};_e4.cssBefore={width:0,height:0};};$.fn.cycle.transitions.fadeZoom=function(_e8,_e9,_ea){_ea.before.push(function(_eb,_ec,_ed){$.fn.cycle.commonReset(_eb,_ec,_ed,false,false);_ed.cssBefore.left=_ec.cycleW/2;_ed.cssBefore.top=_ec.cycleH/2;_ed.animIn={top:0,left:0,width:_ec.cycleW,height:_ec.cycleH};});_ea.cssBefore={width:0,height:0};_ea.animOut={opacity:0};};$.fn.cycle.transitions.blindX=function(_ee,_ef,_f0){var w=_ee.css("overflow","hidden").width();_f0.before.push(function(_f2,_f3,_f4){$.fn.cycle.commonReset(_f2,_f3,_f4);_f4.animIn.width=_f3.cycleW;_f4.animOut.left=_f2.cycleW;});_f0.cssBefore={left:w,top:0};_f0.animIn={left:0};_f0.animOut={left:w};};$.fn.cycle.transitions.blindY=function(_f5,_f6,_f7){var h=_f5.css("overflow","hidden").height();_f7.before.push(function(_f9,_fa,_fb){$.fn.cycle.commonReset(_f9,_fa,_fb);_fb.animIn.height=_fa.cycleH;_fb.animOut.top=_f9.cycleH;});_f7.cssBefore={top:h,left:0};_f7.animIn={top:0};_f7.animOut={top:h};};$.fn.cycle.transitions.blindZ=function(_fc,_fd,_fe){var h=_fc.css("overflow","hidden").height();var w=_fc.width();_fe.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});_fe.cssBefore={top:h,left:w};_fe.animIn={top:0,left:0};_fe.animOut={top:h,left:w};};$.fn.cycle.transitions.growX=function(_104,_105,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:0};});opts.cssBefore={width:0,top:0};};$.fn.cycle.transitions.growY=function(_10a,_10b,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn={top:0,height:this.cycleH};opts.animOut={top:0};});opts.cssBefore={height:0,left:0};};$.fn.cycle.transitions.curtainX=function(_110,_111,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:curr.cycleW/2,width:0};});opts.cssBefore={top:0,width:0};};$.fn.cycle.transitions.curtainY=function(_116,_117,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,height:next.cycleH};opts.animOut={top:curr.cycleH/2,height:0};});opts.cssBefore={left:0,height:0};};$.fn.cycle.transitions.cover=function(_11c,_11d,opts){var d=opts.direction||"left";var w=_11c.css("overflow","hidden").width();var h=_11c.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.uncover=function(_125,_126,opts){var d=opts.direction||"left";var w=_125.css("overflow","hidden").width();var h=_125.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.toss=function(_12e,_12f,opts){var w=_12e.css("overflow","visible").width();var h=_12e.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){opts.animOut={left:w*2,top:-h/2,opacity:0};}else{opts.animOut.opacity=0;}});opts.cssBefore={left:0,top:0};opts.animIn={left:0};};$.fn.cycle.transitions.wipe=function(_136,_137,opts){var w=_136.css("overflow","hidden").width();var h=_136.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var t=parseInt(h/2);var l=parseInt(w/2);clip="rect("+t+"px "+l+"px "+t+"px "+l+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);opts.before.push(function(curr,next,opts){if(curr==next){return;}var _144=$(curr),_145=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,_147=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/_147)):0;var ll=l?l-parseInt(step*(l/_147)):0;var bb=b<h?b+parseInt(step*((h-b)/_147||1)):h;var rr=r<w?r+parseInt(step*((w-r)/_147||1)):w;_145.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=_147)?setTimeout(f,13):_144.css("display","none");})();});opts.cssBefore={display:"block",opacity:1,top:0,left:0};opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);