/*!
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2009 M. Alsup
 * Version: 2.73 (04-NOV-2009)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 * Requires: jQuery v1.2.6 or later
 *
 * Originally based on the work of:
 *	1) Matt Oakes
 *	2) Torsten Baldes (http://medienfreunde.com/lab/innerfade/)
 *	3) Benjamin Sterling (http://www.benjaminsterling.com/experiments/jqShuffle/)
 */
(function(n){function u(i){n.fn.cycle.debug&&t(i)}function t(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function l(r,u,f){var o,e;r.cycleStop==undefined&&(r.cycleStop=0),(u===undefined||u===null)&&(u={});if(u.constructor==String){switch(u){case"stop":return r.cycleStop++,r.cycleTimeout&&clearTimeout(r.cycleTimeout),r.cycleTimeout=0,n(r).removeData("cycle.opts"),!1;case"pause":return r.cyclePause=1,!1;case"resume":r.cyclePause=0;if(f===!0){u=n(r).data("cycle.opts");if(!u)return t("options not found, can not resume"),!1;r.cycleTimeout&&(clearTimeout(r.cycleTimeout),r.cycleTimeout=0),i(u.elements,u,1,1)}return!1;case"prev":case"next":return o=n(r).data("cycle.opts"),o?(n.fn.cycle[u](o),!1):(t('options not found, "prev/next" ignored'),!1);default:u={fx:u}}return u}return u.constructor==Number?(e=u,u=n(r).data("cycle.opts"),u?e<0||e>=u.elements.length?(t("invalid slide index: "+e),!1):(u.nextSlide=e,r.cycleTimeout&&(clearTimeout(r.cycleTimeout),r.cycleTimeout=0),typeof f=="string"&&(u.oneTimeFx=f),i(u.elements,u,1,e>=u.currSlide),!1):(t("options not found, can not advance slide"),!1)):u}function o(t,i){if(!n.support.opacity&&i.cleartype&&t.style.filter)try{t.style.removeAttribute("filter")}catch(r){}}function y(u,e,s,l,y){var p=n.extend({},n.fn.cycle.defaults,l||{},n.metadata?u.metadata():n.meta?u.data():{}),ot,it,w,et,k,d,tt,ut,rt,b;p.autostop&&(p.countdown=p.autostopCount||s.length),ot=u[0],u.data("cycle.opts",p),p.$cont=u,p.stopCount=ot.cycleStop,p.elements=s,p.before=p.before?[p.before]:[],p.after=p.after?[p.after]:[],p.after.unshift(function(){p.busy=0}),!n.support.opacity&&p.cleartype&&p.after.push(function(){o(this,p)}),p.continuous&&p.after.push(function(){i(s,p,0,!p.rev)}),c(p),n.support.opacity||!p.cleartype||p.cleartypeNoBg||f(e),u.css("position")=="static"&&u.css("position","relative"),p.width&&u.width(p.width),p.height&&p.height!="auto"&&u.height(p.height),p.startingSlide&&(p.startingSlide=parseInt(p.startingSlide));if(p.random){for(p.randomMap=[],it=0;it<s.length;it++)p.randomMap.push(it);p.randomMap.sort(function(){return Math.random()-.5}),p.randomIndex=0,p.startingSlide=p.randomMap[0]}else p.startingSlide<s.length||(p.startingSlide=0);p.currSlide=p.startingSlide=p.startingSlide||0,w=p.startingSlide,e.css({position:"absolute",top:0,left:0}).hide().each(function(t){var i=w?t>=w?s.length-(t-w):w-t:s.length-t;n(this).css("z-index",i)}),n(s[w]).css("opacity",1).show(),o(s[w],p),p.fit&&p.width&&e.width(p.width),p.fit&&p.height&&p.height!="auto"&&e.height(p.height),et=p.containerResize&&!u.innerHeight();if(et){for(k=0,d=0,tt=0;tt<s.length;tt++){var ft=n(s[tt]),st=ft[0],nt=ft.outerWidth(),g=ft.outerHeight();nt||(nt=st.offsetWidth),g||(g=st.offsetHeight),k=nt>k?nt:k,d=g>d?g:d}k>0&&d>0&&u.css({width:k+"px",height:d+"px"})}p.pause&&u.hover(function(){this.cyclePause++},function(){this.cyclePause--});if(a(p)===!1)return!1;ut=!1,l.requeueAttempts=l.requeueAttempts||0,e.each(function(){var i=n(this);this.cycleH=p.fit&&p.height?p.height:i.height(),this.cycleW=p.fit&&p.width?p.width:i.width();if(i.is("img")){var f=n.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete,e=n.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete,r=n.browser.opera&&(this.cycleW==42&&this.cycleH==19||this.cycleW==37&&this.cycleH==17)&&!this.complete,u=this.cycleH==0&&this.cycleW==0&&!this.complete;if(f||e||r||u){if(y.s&&p.requeueOnImageNotLoaded&&++l.requeueAttempts<100)return t(l.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH),setTimeout(function(){n(y.s,y.c).cycle(l)},p.requeueTimeout),ut=!0,!1;t("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}return!0});if(ut)return!1;p.cssBefore=p.cssBefore||{},p.animIn=p.animIn||{},p.animOut=p.animOut||{},e.not(":eq("+w+")").css(p.cssBefore),p.cssFirst&&n(e[w]).css(p.cssFirst);if(p.timeout){p.timeout=parseInt(p.timeout),p.speed.constructor==String&&(p.speed=n.fx.speeds[p.speed]||parseInt(p.speed)),p.sync||(p.speed=p.speed/2);while(p.timeout-p.speed<250)p.timeout+=p.speed}p.easing&&(p.easeIn=p.easeOut=p.easing),p.speedIn||(p.speedIn=p.speed),p.speedOut||(p.speedOut=p.speed),p.slideCount=s.length,p.currSlide=p.lastSlide=w,p.random?(p.nextSlide=p.currSlide,++p.randomIndex==s.length&&(p.randomIndex=0),p.nextSlide=p.randomMap[p.randomIndex]):p.nextSlide=p.startingSlide>=s.length-1?0:p.startingSlide+1;if(!p.multiFx){rt=n.fn.cycle.transitions[p.fx];if(n.isFunction(rt))rt(u,e,p);else if(p.fx!="custom"&&!p.multiFx)return t("unknown transition: "+p.fx,"; slideshow terminating"),!1}return b=e[w],p.before.length&&p.before[0].apply(b,[b,b,p,!0]),p.after.length>1&&p.after[1].apply(b,[b,b,p,!0]),p.next&&n(p.next).bind(p.prevNextEvent,function(){return r(p,p.rev?-1:1)}),p.prev&&n(p.prev).bind(p.prevNextEvent,function(){return r(p,p.rev?1:-1)}),p.pager&&h(s,p),v(p,s),p}function c(t){t.original={before:[],after:[]},t.original.cssBefore=n.extend({},t.cssBefore),t.original.cssAfter=n.extend({},t.cssAfter),t.original.animIn=n.extend({},t.animIn),t.original.animOut=n.extend({},t.animOut),n.each(t.before,function(){t.original.before.push(this)}),n.each(t.after,function(){t.original.after.push(this)})}function a(i){var r,e,f=n.fn.cycle.transitions,o,h,s;if(i.fx.indexOf(",")>0){for(i.multiFx=!0,i.fxs=i.fx.replace(/\s*/g,"").split(","),r=0;r<i.fxs.length;r++)o=i.fxs[r],e=f[o],e&&f.hasOwnProperty(o)&&n.isFunction(e)||(t("discarding unknown transition: ",o),i.fxs.splice(r,1),r--);if(!i.fxs.length)return t("No valid transitions named; slideshow terminating."),!1}else if(i.fx=="all"){i.multiFx=!0,i.fxs=[];for(p in f)e=f[p],f.hasOwnProperty(p)&&n.isFunction(e)&&i.fxs.push(p)}if(i.multiFx&&i.randomizeEffects){for(h=Math.floor(Math.random()*20)+30,r=0;r<h;r++)s=Math.floor(Math.random()*i.fxs.length),i.fxs.push(i.fxs.splice(s,1)[0]);u("randomized fx sequence: ",i.fxs)}return!0}function v(t,i){t.addSlide=function(r,u){var e=n(r),o=e[0];t.autostopCount||t.countdown++,i[u?"unshift":"push"](o),t.els&&t.els[u?"unshift":"push"](o),t.slideCount=i.length,e.css("position","absolute"),e[u?"prependTo":"appendTo"](t.$cont),u&&(t.currSlide++,t.nextSlide++),n.support.opacity||!t.cleartype||t.cleartypeNoBg||f(e),t.fit&&t.width&&e.width(t.width),t.fit&&t.height&&t.height!="auto"&&$slides.height(t.height),o.cycleH=t.fit&&t.height?t.height:e.height(),o.cycleW=t.fit&&t.width?t.width:e.width(),e.css(t.cssBefore),t.pager&&n.fn.cycle.createPagerAnchor(i.length-1,o,n(t.pager),i,t);if(n.isFunction(t.onAddSlide))t.onAddSlide(e);else e.hide()}}function i(t,r,u,f){var l,a,v,c;u&&r.busy&&r.manualTrump&&(n(t).stop(!0,!0),r.busy=!1);if(r.busy)return;var h=r.$cont[0],s=t[r.currSlide],o=t[r.nextSlide];if(h.cycleStop!=r.stopCount||h.cycleTimeout===0&&!u)return;if(!u&&!h.cyclePause&&(r.autostop&&--r.countdown<=0||r.nowrap&&!r.random&&r.nextSlide<r.currSlide)){r.end&&r.end(r);return}(u||!h.cyclePause)&&(l=r.fx,s.cycleH=s.cycleH||n(s).height(),s.cycleW=s.cycleW||n(s).width(),o.cycleH=o.cycleH||n(o).height(),o.cycleW=o.cycleW||n(o).width(),r.multiFx&&(r.lastFx!=undefined&&++r.lastFx<r.fxs.length||(r.lastFx=0),l=r.fxs[r.lastFx],r.currFx=l),r.oneTimeFx&&(l=r.oneTimeFx,r.oneTimeFx=null),n.fn.cycle.resetState(r,l),r.before.length&&n.each(r.before,function(n,t){if(h.cycleStop!=r.stopCount)return;t.apply(o,[s,o,r,f])}),a=function(){n.each(r.after,function(n,t){if(h.cycleStop!=r.stopCount)return;t.apply(o,[s,o,r,f])})},r.nextSlide!=r.currSlide&&(r.busy=1,r.fxFn?r.fxFn(s,o,r,a,f):n.isFunction(n.fn.cycle[r.fx])?n.fn.cycle[r.fx](s,o,r,a):n.fn.cycle.custom(s,o,r,a,u&&r.fastOnEvent)),r.lastSlide=r.currSlide,r.random?(r.currSlide=r.nextSlide,++r.randomIndex==t.length&&(r.randomIndex=0),r.nextSlide=r.randomMap[r.randomIndex]):(v=r.nextSlide+1==t.length,r.nextSlide=v?0:r.nextSlide+1,r.currSlide=v?t.length-1:r.nextSlide-1),r.pager&&n.fn.cycle.updateActivePagerLink(r.pager,r.currSlide)),c=0,r.timeout&&!r.continuous?c=e(s,o,r,f):r.continuous&&h.cyclePause&&(c=10),c>0&&(h.cycleTimeout=setTimeout(function(){i(t,r,0,!r.rev)},c))}function e(n,t,i,r){if(i.timeoutFn){var f=i.timeoutFn(n,t,i,r);while(f-i.speed<250)f+=i.speed;u("calculated timeout: "+f+"; speed: "+i.speed);if(f!==!1)return f}return i.timeout}function r(t,r){var u=t.elements,e=t.$cont[0],f=e.cycleTimeout;f&&(clearTimeout(f),e.cycleTimeout=0);if(t.random&&r<0)t.randomIndex--,--t.randomIndex==-2?t.randomIndex=u.length-2:t.randomIndex==-1&&(t.randomIndex=u.length-1),t.nextSlide=t.randomMap[t.randomIndex];else if(t.random)++t.randomIndex==u.length&&(t.randomIndex=0),t.nextSlide=t.randomMap[t.randomIndex];else{t.nextSlide=t.currSlide+r;if(t.nextSlide<0){if(t.nowrap)return!1;t.nextSlide=u.length-1}else if(t.nextSlide>=u.length){if(t.nowrap)return!1;t.nextSlide=0}}return n.isFunction(t.prevNextClick)&&t.prevNextClick(r>0,t.nextSlide,u[t.nextSlide]),i(u,t,1,r>=0),!1}function h(t,i){var r=n(i.pager);n.each(t,function(u,f){n.fn.cycle.createPagerAnchor(u,f,r,t,i)}),n.fn.cycle.updateActivePagerLink(i.pager,i.startingSlide)}function f(t){function i(n){return n=parseInt(n).toString(16),n.length<2?"0"+n:n}function r(t){for(var r,u;t&&t.nodeName.toLowerCase()!="html";t=t.parentNode){r=n.css(t,"background-color");if(r.indexOf("rgb")>=0)return u=r.match(/\d+/g),"#"+i(u[0])+i(u[1])+i(u[2]);if(r&&r!="transparent")return r}return"#ffffff"}t.each(function(){n(this).css("background-color",r(this))})}var s="2.73";n.support==undefined&&(n.support={opacity:!n.browser.msie}),n.fn.cycle=function(r,f){var o={s:this.selector,c:this.context};return this.length===0&&r!="stop"?!n.isReady&&o.s?(t("DOM not ready, queuing slideshow"),n(function(){n(o.s,o.c).cycle(r,f)}),this):(t("terminating; zero elements found by selector"+(n.isReady?"":" (DOM not ready)")),this):this.each(function(){var a=l(this,r,f),s,h;if(a===!1)return;this.cycleTimeout&&clearTimeout(this.cycleTimeout),this.cycleTimeout=this.cyclePause=0;var p=n(this),v=a.slideExpr?n(a.slideExpr,this):p.children(),c=v.get();if(c.length<2){t("terminating; too few slides: "+c.length);return}s=y(p,v,c,a,o);if(s===!1)return;h=s.continuous?10:e(s.currSlide,s.nextSlide,s,!s.rev),h&&(h+=s.delay||0,h<10&&(h=10),u("first timeout: "+h),this.cycleTimeout=setTimeout(function(){i(c,s,0,!s.rev)},h))})},n.fn.cycle.resetState=function(t,i){i=i||t.fx,t.before=[],t.after=[],t.cssBefore=n.extend({},t.original.cssBefore),t.cssAfter=n.extend({},t.original.cssAfter),t.animIn=n.extend({},t.original.animIn),t.animOut=n.extend({},t.original.animOut),t.fxFn=null,n.each(t.original.before,function(){t.before.push(this)}),n.each(t.original.after,function(){t.after.push(this)});var r=n.fn.cycle.transitions[i];n.isFunction(r)&&r(t.$cont,n(t.elements),t)},n.fn.cycle.updateActivePagerLink=function(t,i){n(t).each(function(){n(this).find("a").removeClass("activeSlide").filter("a:eq("+i+")").addClass("activeSlide")})},n.fn.cycle.next=function(n){r(n,n.rev?-1:1)},n.fn.cycle.prev=function(n){r(n,n.rev?1:-1)},n.fn.cycle.createPagerAnchor=function(t,r,u,f,e){var s,o,h;s=n.isFunction(e.pagerAnchorBuilder)?e.pagerAnchorBuilder(t,r):'<a href="#">'+(t+1)+"</a>";if(!s)return;o=n(s),o.parents("body").length===0&&(h=[],u.length>1?(u.each(function(){var t=o.clone(!0);n(this).append(t),h.push(t[0])}),o=n(h)):o.appendTo(u)),o.bind(e.pagerEvent,function(r){r.preventDefault(),e.nextSlide=t;var o=e.$cont[0],u=o.cycleTimeout;return u&&(clearTimeout(u),o.cycleTimeout=0),n.isFunction(e.pagerClick)&&e.pagerClick(e.nextSlide,f[e.nextSlide]),i(f,e,1,e.currSlide<t),!1}),e.pagerEvent!="click"&&o.click(function(){return!1}),e.pauseOnPagerHover&&o.hover(function(){e.$cont[0].cyclePause++},function(){e.$cont[0].cyclePause--})},n.fn.cycle.hopsFromLast=function(n,t){var u,i=n.lastSlide,r=n.currSlide;return u=t?r>i?r-i:n.slideCount-i:r<i?i-r:i+n.slideCount-r},n.fn.cycle.commonReset=function(t,i,r,u,f,e){n(r.elements).not(t).hide(),r.cssBefore.opacity=1,r.cssBefore.display="block",u!==!1&&i.cycleW>0&&(r.cssBefore.width=i.cycleW),f!==!1&&i.cycleH>0&&(r.cssBefore.height=i.cycleH),r.cssAfter=r.cssAfter||{},r.cssAfter.display="none",n(t).css("zIndex",r.slideCount+(e===!0?1:0)),n(i).css("zIndex",r.slideCount+(e===!0?0:1))},n.fn.cycle.custom=function(t,i,r,u,f){var c=n(t),l=n(i),e=r.speedIn,o=r.speedOut,a=r.easeIn,h=r.easeOut,s;l.css(r.cssBefore),f&&(e=typeof f=="number"?o=f:o=1,a=h=null),s=function(){l.animate(r.animIn,e,a,u)},c.animate(r.animOut,o,h,function(){r.cssAfter&&c.css(r.cssAfter),r.sync||s()}),r.sync&&s()},n.fn.cycle.transitions={fade:function(t,i,r){i.not(":eq("+r.currSlide+")").css("opacity",0),r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.cssBefore.opacity=0}),r.animIn={opacity:1},r.animOut={opacity:0},r.cssBefore={top:0,left:0}}},n.fn.cycle.ver=function(){return s},n.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:!n.support.opacity,cleartypeNoBg:!1,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:!0,requeueOnImageNotLoaded:!0,requeueTimeout:250}})(jQuery);
/*!
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2008 M. Alsup
 * Version:	 2.72
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
(function(n){n.fn.cycle.transitions.none=function(t,i,r){r.fxFn=function(t,i,r,u){n(i).show(),n(t).hide(),u()}},n.fn.cycle.transitions.scrollUp=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.height();r.cssBefore={top:u,left:0},r.cssFirst={top:0},r.animIn={top:0},r.animOut={top:-u}},n.fn.cycle.transitions.scrollDown=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.height();r.cssFirst={top:0},r.cssBefore={top:-u,left:0},r.animIn={top:0},r.animOut={top:u}},n.fn.cycle.transitions.scrollLeft=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.width();r.cssFirst={left:0},r.cssBefore={left:u,top:0},r.animIn={left:0},r.animOut={left:0-u}},n.fn.cycle.transitions.scrollRight=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.width();r.cssFirst={left:0},r.cssBefore={left:-u,top:0},r.animIn={left:0},r.animOut={left:u}},n.fn.cycle.transitions.scrollHorz=function(t,i,r){t.css("overflow","hidden").width(),r.before.push(function(t,i,r,u){n.fn.cycle.commonReset(t,i,r),r.cssBefore.left=u?i.cycleW-1:1-i.cycleW,r.animOut.left=u?-t.cycleW:t.cycleW}),r.cssFirst={left:0},r.cssBefore={top:0},r.animIn={left:0},r.animOut={top:0}},n.fn.cycle.transitions.scrollVert=function(t,i,r){t.css("overflow","hidden"),r.before.push(function(t,i,r,u){n.fn.cycle.commonReset(t,i,r),r.cssBefore.top=u?1-i.cycleH:i.cycleH-1,r.animOut.top=u?t.cycleH:-t.cycleH}),r.cssFirst={top:0},r.cssBefore={left:0},r.animIn={top:0},r.animOut={left:0}},n.fn.cycle.transitions.slideX=function(t,i,r){r.before.push(function(t,i,r){n(r.elements).not(t).hide(),n.fn.cycle.commonReset(t,i,r,!1,!0),r.animIn.width=i.cycleW}),r.cssBefore={left:0,top:0,width:0},r.animIn={width:"show"},r.animOut={width:0}},n.fn.cycle.transitions.slideY=function(t,i,r){r.before.push(function(t,i,r){n(r.elements).not(t).hide(),n.fn.cycle.commonReset(t,i,r,!0,!1),r.animIn.height=i.cycleH}),r.cssBefore={left:0,top:0,height:0},r.animIn={height:"show"},r.animOut={height:0}},n.fn.cycle.transitions.shuffle=function(t,i,r){var u,f=t.css("overflow","visible").width();for(i.css({left:0,top:0}),r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!0,!0)}),r.speedAdjusted||(r.speed=r.speed/2,r.speedAdjusted=!0),r.random=0,r.shuffle=r.shuffle||{left:-f,top:15},r.els=[],u=0;u<i.length;u++)r.els.push(i[u]);for(u=0;u<r.currSlide;u++)r.els.push(r.els.shift());r.fxFn=function(t,i,r,u,f){var o=f?n(t):n(i),e;n(i).css(r.cssBefore),e=r.slideCount,o.animate(r.shuffle,r.speedIn,r.easeIn,function(){for(var l=n.fn.cycle.hopsFromLast(r,f),i,s,c,h=0;h<l;h++)f?r.els.push(r.els.shift()):r.els.unshift(r.els.pop());if(f)for(i=0,s=r.els.length;i<s;i++)n(r.els[i]).css("z-index",s-i+e);else c=n(t).css("z-index"),o.css("z-index",parseInt(c)+1+e);o.animate({left:0,top:0},r.speedOut,r.easeOut,function(){n(f?this:t).hide(),u&&u()})})},r.cssBefore={display:"block",opacity:1,top:0,left:0}},n.fn.cycle.transitions.turnUp=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1),r.cssBefore.top=i.cycleH,r.animIn.height=i.cycleH}),r.cssFirst={top:0},r.cssBefore={left:0,height:0},r.animIn={top:0},r.animOut={height:0}},n.fn.cycle.transitions.turnDown=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1),r.animIn.height=i.cycleH,r.animOut.top=t.cycleH}),r.cssFirst={top:0},r.cssBefore={left:0,top:0,height:0},r.animOut={height:0}},n.fn.cycle.transitions.turnLeft=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0),r.cssBefore.left=i.cycleW,r.animIn.width=i.cycleW}),r.cssBefore={top:0,width:0},r.animIn={left:0},r.animOut={width:0}},n.fn.cycle.transitions.turnRight=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0),r.animIn.width=i.cycleW,r.animOut.left=t.cycleW}),r.cssBefore={top:0,left:0,width:0},r.animIn={left:0},r.animOut={width:0}},n.fn.cycle.transitions.zoom=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!1,!0),r.cssBefore.top=i.cycleH/2,r.cssBefore.left=i.cycleW/2,r.animIn={top:0,left:0,width:i.cycleW,height:i.cycleH},r.animOut={width:0,height:0,top:t.cycleH/2,left:t.cycleW/2}}),r.cssFirst={top:0,left:0},r.cssBefore={width:0,height:0}},n.fn.cycle.transitions.fadeZoom=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!1),r.cssBefore.left=i.cycleW/2,r.cssBefore.top=i.cycleH/2,r.animIn={top:0,left:0,width:i.cycleW,height:i.cycleH}}),r.cssBefore={width:0,height:0},r.animOut={opacity:0}},n.fn.cycle.transitions.blindX=function(t,i,r){var u=t.css("overflow","hidden").width();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.animIn.width=i.cycleW,r.animOut.left=t.cycleW}),r.cssBefore={left:u,top:0},r.animIn={left:0},r.animOut={left:u}},n.fn.cycle.transitions.blindY=function(t,i,r){var u=t.css("overflow","hidden").height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.animIn.height=i.cycleH,r.animOut.top=t.cycleH}),r.cssBefore={top:u,left:0},r.animIn={top:0},r.animOut={top:u}},n.fn.cycle.transitions.blindZ=function(t,i,r){var f=t.css("overflow","hidden").height(),u=t.width();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.animIn.height=i.cycleH,r.animOut.top=t.cycleH}),r.cssBefore={top:f,left:u},r.animIn={top:0,left:0},r.animOut={top:f,left:u}},n.fn.cycle.transitions.growX=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0),r.cssBefore.left=this.cycleW/2,r.animIn={left:0,width:this.cycleW},r.animOut={left:0}}),r.cssBefore={width:0,top:0}},n.fn.cycle.transitions.growY=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1),r.cssBefore.top=this.cycleH/2,r.animIn={top:0,height:this.cycleH},r.animOut={top:0}}),r.cssBefore={height:0,left:0}},n.fn.cycle.transitions.curtainX=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0,!0),r.cssBefore.left=i.cycleW/2,r.animIn={left:0,width:this.cycleW},r.animOut={left:t.cycleW/2,width:0}}),r.cssBefore={top:0,width:0}},n.fn.cycle.transitions.curtainY=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1,!0),r.cssBefore.top=i.cycleH/2,r.animIn={top:0,height:i.cycleH},r.animOut={top:t.cycleH/2,height:0}}),r.cssBefore={left:0,height:0}},n.fn.cycle.transitions.cover=function(t,i,r){var u=r.direction||"left",e=t.css("overflow","hidden").width(),f=t.height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),u=="right"?r.cssBefore.left=-e:u=="up"?r.cssBefore.top=f:u=="down"?r.cssBefore.top=-f:r.cssBefore.left=e}),r.animIn={left:0,top:0},r.animOut={opacity:1},r.cssBefore={top:0,left:0}},n.fn.cycle.transitions.uncover=function(t,i,r){var u=r.direction||"left",e=t.css("overflow","hidden").width(),f=t.height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!0,!0),u=="right"?r.animOut.left=e:u=="up"?r.animOut.top=-f:u=="down"?r.animOut.top=f:r.animOut.left=-e}),r.animIn={left:0,top:0},r.animOut={opacity:1},r.cssBefore={top:0,left:0}},n.fn.cycle.transitions.toss=function(t,i,r){var f=t.css("overflow","visible").width(),u=t.height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!0,!0),r.animOut.left||r.animOut.top?r.animOut.opacity=0:r.animOut={left:f*2,top:-u/2,opacity:0}}),r.cssBefore={left:0,top:0},r.animIn={left:0}},n.fn.cycle.transitions.wipe=function(t,i,r){var f=t.css("overflow","hidden").width(),u=t.height(),e,l,a;r.cssBefore=r.cssBefore||{},r.clip&&(/l2r/.test(r.clip)?e="rect(0px 0px "+u+"px 0px)":/r2l/.test(r.clip)?e="rect(0px "+f+"px "+u+"px "+f+"px)":/t2b/.test(r.clip)?e="rect(0px "+f+"px 0px 0px)":/b2t/.test(r.clip)?e="rect("+u+"px "+f+"px "+u+"px 0px)":/zoom/.test(r.clip)&&(l=parseInt(u/2),a=parseInt(f/2),e="rect("+l+"px "+a+"px "+l+"px "+a+"px)")),r.cssBefore.clip=r.cssBefore.clip||e||"rect(0px 0px 0px 0px)";var o=r.cssBefore.clip.match(/(\d+)/g),v=parseInt(o[0]),s=parseInt(o[1]),c=parseInt(o[2]),h=parseInt(o[3]);r.before.push(function(t,i,r){var l,a,e,o;if(t==i)return;l=n(t),a=n(i),n.fn.cycle.commonReset(t,i,r,!0,!0,!1),r.cssAfter.display="block",e=1,o=parseInt(r.speedIn/13)-1,(function y(){var i=v?v-parseInt(e*(v/o)):0,r=h?h-parseInt(e*(h/o)):0,n=c<u?c+parseInt(e*((u-c)/o||1)):u,t=s<f?s+parseInt(e*((f-s)/o||1)):f;a.css({clip:"rect("+i+"px "+t+"px "+n+"px "+r+"px)"}),e++<=o?setTimeout(y,13):l.css("display","none")})()}),r.cssBefore={display:"block",opacity:1,top:0,left:0},r.animIn={left:0},r.animOut={left:0}}})(jQuery),typeof Sys!="undefined"&&Sys.Application.notifyScriptLoaded();
