/*!
 * jQuery Cycle Plugin (with Transition Definitions)
 * Requires: jQuery v1.3.2 or later
 */
;(function($){var B='2.9996';if($.support==undefined){$.support={opacity:!($.browser.msie)}
}
function debug(s){$.fn.cycle.debug&&log(s)}
function log(){window.console&&console.log&&console.log('[cycle] '+Array.prototype.join.call(arguments,' '))}
$.expr[':'].paused=function(a){return a.cyclePause}
$.fn.cycle=function(g,h){var o={s:this.selector,c:this.context}
;if(this.length===0&&g!='stop'){if(!$.isReady&&o.s){log('DOM not ready, queuing slideshow');$(function(){$(o.s,o.c).cycle(g,h)}
);return this}
log('terminating; zero elements found by selector'+($.isReady?'':' (DOM not ready)'));return this}
return this.each(function(){var a=handleArguments(this,g,h);if(a===false){return}
a.updateActivePagerLink=a.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}
this.cycleTimeout=this.cyclePause=0;var b=$(this);var c=a.slideExpr?$(a.slideExpr,this):b.children();var d=c.get();var e=buildOptions(b,c,d,a,o);if(e===false){return}
if(d.length<2){log('terminating; too few slides: '+d.length);return}
var f=e.continuous?10:getTimeout(d[e.currSlide],d[e.nextSlide],e,!e.backwards);if(f){f+=(e.delay||0);if(f<10){f=10}
debug('first timeout: '+f);this.cycleTimeout=setTimeout(function(){go(d,e,0,!a.backwards)}
,f)}
}
)}
;function triggerPause(a,b,c){var d=$(a).data('cycle.opts');var e=!!a.cyclePause;if(e&&d.paused){d.paused(a,d,b,c)}
else if(!e&&d.resumed){d.resumed(a,d,b,c)}
}
function handleArguments(e,f,g){if(e.cycleStop==undefined){e.cycleStop=0}
if(f===undefined||f===null){f={}
}
if(f.constructor==String){switch(f){case'destroy':case'stop':var h=$(e).data('cycle.opts');if(!h){return false}
e.cycleStop++;if(e.cycleTimeout){clearTimeout(e.cycleTimeout)}
e.cycleTimeout=0;h.elements&&$(h.elements).stop();$(e).removeData('cycle.opts');if(f=='destroy'){destroy(h)}
return false;case'toggle':e.cyclePause=(e.cyclePause===1)?0:1;checkInstantResume(e.cyclePause,g,e);triggerPause(e);return false;case'pause':e.cyclePause=1;triggerPause(e);return false;case'resume':e.cyclePause=0;checkInstantResume(false,g,e);triggerPause(e);return false;case'prev':case'next':var h=$(e).data('cycle.opts');if(!h){log('options not found, "prev/next" ignored');return false}
$.fn.cycle[f](h);return false;default:f={fx:f}
}
;return f}
else if(f.constructor==Number){var i=f;f=$(e).data('cycle.opts');if(!f){log('options not found, can not advance slide');return false}
if(i<0||i>=f.elements.length){log('invalid slide index: '+i);return false}
f.nextSlide=i;if(e.cycleTimeout){clearTimeout(e.cycleTimeout);e.cycleTimeout=0}
if(typeof g=='string'){f.oneTimeFx=g}
go(f.elements,f,1,i>=f.currSlide);return false}
return f;function checkInstantResume(a,b,c){if(!a&&b===true){var d=$(c).data('cycle.opts');if(!d){log('options not found, can not resume');return false}
if(c.cycleTimeout){clearTimeout(c.cycleTimeout);c.cycleTimeout=0}
go(d.elements,d,1,!d.backwards)}
}
}
;function removeFilter(a,b){if(!$.support.opacity&&b.cleartype&&a.style.filter){try{a.style.removeAttribute('filter')}
catch(smother){}
}
}
;function destroy(a){if(a.next){$(a.next).unbind(a.prevNextEvent)}
if(a.prev){$(a.prev).unbind(a.prevNextEvent)}
if(a.pager||a.pagerAnchorBuilder){$.each(a.pagerAnchors||[],function(){this.unbind().remove()}
)}
a.pagerAnchors=null;if(a.destroy){a.destroy(a)}
}
;function buildOptions(f,g,k,l,o){var m=$.extend({}
,$.fn.cycle.defaults,l||{}
,$.metadata?f.metadata():$.meta?f.data():{}
);var n=$.isFunction(f.data)?f.data(m.metaAttr):null;if(n){m=$.extend(m,n)}
if(m.autostop){m.countdown=m.autostopCount||k.length}
var p=f[0];f.data('cycle.opts',m);m.$cont=f;m.stopCount=p.cycleStop;m.elements=k;m.before=m.before?[m.before]:[];m.after=m.after?[m.after]:[];if(!$.support.opacity&&m.cleartype){m.after.push(function(){removeFilter(this,m)}
)}
if(m.continuous){m.after.push(function(){go(k,m,0,!m.backwards)}
)}
saveOriginalOpts(m);if(!$.support.opacity&&m.cleartype&&!m.cleartypeNoBg){clearTypeFix(g)}
if(f.css('position')=='static'){f.css('position','relative')}
if(m.width){f.width(m.width)}
if(m.height&&m.height!='auto'){f.height(m.height)}
if(m.startingSlide){m.startingSlide=parseInt(m.startingSlide,10)}
else if(m.backwards){m.startingSlide=k.length-1}
if(m.random){m.randomMap=[];for(var i=0;i<k.length;i++){m.randomMap.push(i)}
m.randomMap.sort(function(a,b){return Math.random()-0.5}
);m.randomIndex=1;m.startingSlide=m.randomMap[1]}
else if(m.startingSlide>=k.length){m.startingSlide=0}
m.currSlide=m.startingSlide||0;var q=m.startingSlide;g.css({position:'absolute',top:0,left:0}
).hide().each(function(i){var z;if(m.backwards){z=q?i<=q?k.length+(i-q):q-i:k.length-i}
else{z=q?i>=q?k.length-(i-q):q-i:k.length-i}
$(this).css('z-index',z)}
);$(k[q]).css('opacity',1).show();removeFilter(k[q],m);if(m.fit){if(!m.aspect){if(m.width){g.width(m.width)}
if(m.height&&m.height!='auto'){g.height(m.height)}
}
else{g.each(function(){var a=$(this);var b=(m.aspect===true)?a.width()/a.height():m.aspect;if(m.width&&a.width()!=m.width){a.width(m.width);a.height(m.width/b)}
if(m.height&&a.height()<m.height){a.height(m.height);a.width(m.height*b)}
}
)}
}
if(m.center&&((!m.fit)||m.aspect)){g.each(function(){var a=$(this);a.css({"margin-left":m.width?((m.width-a.width())/2)+"px":0,"margin-top":m.height?((m.height-a.height())/2)+"px":0}
)}
)}
if(m.center&&!m.fit&&!m.slideResize){g.each(function(){var a=$(this);a.css({"margin-left":m.width?((m.width-a.width())/2)+"px":0,"margin-top":m.height?((m.height-a.height())/2)+"px":0}
)}
)}
var r=m.containerResize&&!f.innerHeight();if(r){var s=0,maxh=0;for(var j=0;j<k.length;j++){var t=$(k[j]),e=t[0],w=t.outerWidth(),h=t.outerHeight();if(!w){w=e.offsetWidth||e.width||t.attr('width')}
if(!h){h=e.offsetHeight||e.height||t.attr('height')}
s=w>s?w:s;maxh=h>maxh?h:maxh}
if(s>0&&maxh>0){f.css({width:s+'px',height:maxh+'px'}
)}
}
var u=false;if(m.pause){f.hover(function(){u=true;this.cyclePause++;triggerPause(p,true)}
,function(){u&&this.cyclePause--;triggerPause(p,true)}
)}
if(supportMultiTransitions(m)===false){return false}
var v=false;l.requeueAttempts=l.requeueAttempts||0;g.each(function(){var a=$(this);this.cycleH=(m.fit&&m.height)?m.height:(a.height()||this.offsetHeight||this.height||a.attr('height')||0);this.cycleW=(m.fit&&m.width)?m.width:(a.width()||this.offsetWidth||this.width||a.attr('width')||0);if(a.is('img')){var b=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var c=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var d=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var e=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(b||c||d||e){if(o.s&&m.requeueOnImageNotLoaded&&++l.requeueAttempts<100){log(l.requeueAttempts,' - img slide not loaded, requeuing slideshow: ',this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(l)}
,m.requeueTimeout);v=true;return false}
else{log('could not determine size of image: '+this.src,this.cycleW,this.cycleH)}
}
}
return true}
);if(v){return false}
m.cssBefore=m.cssBefore||{}
;m.cssAfter=m.cssAfter||{}
;m.cssFirst=m.cssFirst||{}
;m.animIn=m.animIn||{}
;m.animOut=m.animOut||{}
;g.not(':eq('+q+')').css(m.cssBefore);$(g[q]).css(m.cssFirst);if(m.timeout){m.timeout=parseInt(m.timeout,10);if(m.speed.constructor==String){m.speed=$.fx.speeds[m.speed]||parseInt(m.speed,10)}
if(!m.sync){m.speed=m.speed/2}
var x=m.fx=='none'?0:m.fx=='shuffle'?500:250;while((m.timeout-m.speed)<x){m.timeout+=m.speed}
}
if(m.easing){m.easeIn=m.easeOut=m.easing}
if(!m.speedIn){m.speedIn=m.speed}
if(!m.speedOut){m.speedOut=m.speed}
m.slideCount=k.length;m.currSlide=m.lastSlide=q;if(m.random){if(++m.randomIndex==k.length){m.randomIndex=0}
m.nextSlide=m.randomMap[m.randomIndex]}
else if(m.backwards){m.nextSlide=m.startingSlide==0?(k.length-1):m.startingSlide-1}
else{m.nextSlide=m.startingSlide>=(k.length-1)?0:m.startingSlide+1}
if(!m.multiFx){var y=$.fn.cycle.transitions[m.fx];if($.isFunction(y)){y(f,g,m)}
else if(m.fx!='custom'&&!m.multiFx){log('unknown transition: '+m.fx,'; slideshow terminating');return false}
}
var A=g[q];if(!m.skipInitializationCallbacks){if(m.before.length){m.before[0].apply(A,[A,A,m,true])}
if(m.after.length){m.after[0].apply(A,[A,A,m,true])}
}
if(m.next){$(m.next).bind(m.prevNextEvent,function(){return advance(m,1)}
)}
if(m.prev){$(m.prev).bind(m.prevNextEvent,function(){return advance(m,0)}
)}
if(m.pager||m.pagerAnchorBuilder){buildPager(k,m)}
exposeAddSlide(m,k);return m}
;function saveOriginalOpts(a){a.original={before:[],after:[]}
;a.original.cssBefore=$.extend({}
,a.cssBefore);a.original.cssAfter=$.extend({}
,a.cssAfter);a.original.animIn=$.extend({}
,a.animIn);a.original.animOut=$.extend({}
,a.animOut);$.each(a.before,function(){a.original.before.push(this)}
);$.each(a.after,function(){a.original.after.push(this)}
)}
;function supportMultiTransitions(a){var i,tx,txs=$.fn.cycle.transitions;if(a.fx.indexOf(',')>0){a.multiFx=true;a.fxs=a.fx.replace(/\s*/g,'').split(',');for(i=0;i<a.fxs.length;i++){var b=a.fxs[i];tx=txs[b];if(!tx||!txs.hasOwnProperty(b)||!$.isFunction(tx)){log('discarding unknown transition: ',b);a.fxs.splice(i,1);i--}
}
if(!a.fxs.length){log('No valid transitions named; slideshow terminating.');return false}
}
else if(a.fx=='all'){a.multiFx=true;a.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){a.fxs.push(p)}
}
}
if(a.multiFx&&a.randomizeEffects){var c=Math.floor(Math.random()*20)+30;for(i=0;i<c;i++){var d=Math.floor(Math.random()*a.fxs.length);a.fxs.push(a.fxs.splice(d,1)[0])}
debug('randomized fx sequence: ',a.fxs)}
return true}
;function exposeAddSlide(d,e){d.addSlide=function(a,b){var c=$(a),s=c[0];if(!d.autostopCount){d.countdown++}
e[b?'unshift':'push'](s);if(d.els){d.els[b?'unshift':'push'](s)}
d.slideCount=e.length;c.css('position','absolute');c[b?'prependTo':'appendTo'](d.$cont);if(b){d.currSlide++;d.nextSlide++}
if(!$.support.opacity&&d.cleartype&&!d.cleartypeNoBg){clearTypeFix(c)}
if(d.fit&&d.width){c.width(d.width)}
if(d.fit&&d.height&&d.height!='auto'){c.height(d.height)}
s.cycleH=(d.fit&&d.height)?d.height:c.height();s.cycleW=(d.fit&&d.width)?d.width:c.width();c.css(d.cssBefore);if(d.pager||d.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(e.length-1,s,$(d.pager),e,d)}
if($.isFunction(d.onAddSlide)){d.onAddSlide(c)}
else{c.hide()}
}
}
$.fn.cycle.resetState=function(a,b){b=b||a.fx;a.before=[];a.after=[];a.cssBefore=$.extend({}
,a.original.cssBefore);a.cssAfter=$.extend({}
,a.original.cssAfter);a.animIn=$.extend({}
,a.original.animIn);a.animOut=$.extend({}
,a.original.animOut);a.fxFn=null;$.each(a.original.before,function(){a.before.push(this)}
);$.each(a.original.after,function(){a.after.push(this)}
);var c=$.fn.cycle.transitions[b];if($.isFunction(c)){c(a.$cont,$(a.elements),a)}
}
;function go(b,c,d,e){if(d&&c.busy&&c.manualTrump){debug('manualTrump in go(), stopping active transition');$(b).stop(true,true);c.busy=0}
if(c.busy){debug('transition active, ignoring new tx request');return}
var p=c.$cont[0],curr=b[c.currSlide],next=b[c.nextSlide];if(p.cycleStop!=c.stopCount||p.cycleTimeout===0&&!d){return}
if(!d&&!p.cyclePause&&!c.bounce&&((c.autostop&&(--c.countdown<=0))||(c.nowrap&&!c.random&&c.nextSlide<c.currSlide))){if(c.end)c.end(c);return}
var f=false;if((d||!p.cyclePause)&&(c.nextSlide!=c.currSlide)){f=true;var g=c.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(c.multiFx){if(e&&(c.lastFx==undefined||++c.lastFx>=c.fxs.length)){c.lastFx=0}
else if(!e&&(c.lastFx==undefined||--c.lastFx<0)){c.lastFx=c.fxs.length-1}
g=c.fxs[c.lastFx]}
if(c.oneTimeFx){g=c.oneTimeFx;c.oneTimeFx=null}
$.fn.cycle.resetState(c,g);if(c.before.length){$.each(c.before,function(i,o){if(p.cycleStop!=c.stopCount)return;o.apply(next,[curr,next,c,e])}
)}
var h=function(){c.busy=0;$.each(c.after,function(i,o){if(p.cycleStop!=c.stopCount){return}
o.apply(next,[curr,next,c,e])}
);if(!p.cycleStop){queueNext()}
}
;debug('tx firing('+g+'); currSlide: '+c.currSlide+'; nextSlide: '+c.nextSlide);c.busy=1;if(c.fxFn){c.fxFn(curr,next,c,h,e,d&&c.fastOnEvent)}
else if($.isFunction($.fn.cycle[c.fx])){$.fn.cycle[c.fx](curr,next,c,h,e,d&&c.fastOnEvent)}
else{$.fn.cycle.custom(curr,next,c,h,e,d&&c.fastOnEvent)}
}
if(f||c.nextSlide==c.currSlide){c.lastSlide=c.currSlide;if(c.random){c.currSlide=c.nextSlide;if(++c.randomIndex==b.length){c.randomIndex=0}
c.nextSlide=c.randomMap[c.randomIndex];if(c.nextSlide==c.currSlide){c.nextSlide=(c.currSlide==c.slideCount-1)?0:c.currSlide+1}
}
else if(c.backwards){var j=(c.nextSlide-1)<0;if(j&&c.bounce){c.backwards=!c.backwards;c.nextSlide=1;c.currSlide=0}
else{c.nextSlide=j?(b.length-1):c.nextSlide-1;c.currSlide=j?0:c.nextSlide+1}
}
else{var j=(c.nextSlide+1)==b.length;if(j&&c.bounce){c.backwards=!c.backwards;c.nextSlide=b.length-2;c.currSlide=b.length-1}
else{c.nextSlide=j?0:c.nextSlide+1;c.currSlide=j?b.length-1:c.nextSlide-1}
}
}
if(f&&c.pager){c.updateActivePagerLink(c.pager,c.currSlide,c.activePagerClass)}
function queueNext(){var a=0,timeout=c.timeout;if(c.timeout&&!c.continuous){a=getTimeout(b[c.currSlide],b[c.nextSlide],c,e);if(c.fx=='shuffle'){a-=c.speedOut}
}
else if(c.continuous&&p.cyclePause){a=10}
if(a>0){p.cycleTimeout=setTimeout(function(){go(b,c,0,!c.backwards)}
,a)}
}
}
;$.fn.cycle.updateActivePagerLink=function(a,b,c){$(a).each(function(){$(this).children().removeClass(c).eq(b).addClass(c)}
)}
;function getTimeout(a,b,c,d){if(c.timeoutFn){var t=c.timeoutFn.call(a,a,b,c,d);while(c.fx!='none'&&(t-c.speed)<250){t+=c.speed}
debug('calculated timeout: '+t+'; speed: '+c.speed);if(t!==false){return t}
}
return c.timeout}
;$.fn.cycle.next=function(a){advance(a,1)}
;$.fn.cycle.prev=function(a){advance(a,0)}
;function advance(a,b){var c=b?1:-1;var d=a.elements;var p=a.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0}
if(a.random&&c<0){a.randomIndex--;if(--a.randomIndex==-2){a.randomIndex=d.length-2}
else if(a.randomIndex==-1){a.randomIndex=d.length-1}
a.nextSlide=a.randomMap[a.randomIndex]}
else if(a.random){a.nextSlide=a.randomMap[a.randomIndex]}
else{a.nextSlide=a.currSlide+c;if(a.nextSlide<0){if(a.nowrap){return false}
a.nextSlide=d.length-1}
else if(a.nextSlide>=d.length){if(a.nowrap){return false}
a.nextSlide=0}
}
var e=a.onPrevNextEvent||a.prevNextClick;if($.isFunction(e)){e(c>0,a.nextSlide,d[a.nextSlide])}
go(d,a,1,b);return false}
;function buildPager(a,b){var c=$(b.pager);$.each(a,function(i,o){$.fn.cycle.createPagerAnchor(i,o,c,a,b)}
);b.updateActivePagerLink(b.pager,b.startingSlide,b.activePagerClass)}
;$.fn.cycle.createPagerAnchor=function(i,b,c,d,f){var a;if($.isFunction(f.pagerAnchorBuilder)){a=f.pagerAnchorBuilder(i,b);debug('pagerAnchorBuilder('+i+', el) returned: '+a)}
else a='<a href="#">'+(i+1)+'</a>';if(!a){return}
var g=$(a);if(g.parents('body').length===0){var h=[];if(c.length>1){c.each(function(){var a=g.clone(true);$(this).append(a);h.push(a[0])}
);g=$(h)}
else{g.appendTo(c)}
}
f.pagerAnchors=f.pagerAnchors||[];f.pagerAnchors.push(g);var j=function(e){e.preventDefault();f.nextSlide=i;var p=f.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0}
var a=f.onPagerEvent||f.pagerClick;if($.isFunction(a)){a(f.nextSlide,d[f.nextSlide])}
go(d,f,1,f.currSlide<i)}
if(/mouseenter|mouseover/i.test(f.pagerEvent)){g.hover(j,function(){}
)}
else{g.bind(f.pagerEvent,j)}
if(!/^click/.test(f.pagerEvent)&&!f.allowPagerClickBubble){g.bind('click.cycle',function(){return false}
)}
var k=f.$cont[0];var l=false;if(f.pauseOnPagerHover){g.hover(function(){l=true;k.cyclePause++;triggerPause(k,true,true)}
,function(){l&&k.cyclePause--;triggerPause(k,true,true)}
)}
}
;$.fn.cycle.hopsFromLast=function(a,b){var d,l=a.lastSlide,c=a.currSlide;if(b){d=c>l?c-l:a.slideCount-l}
else{d=c<l?l-c:l+a.slideCount-c}
return d}
;function clearTypeFix(b){debug('applying clearType background-color hack');function hex(s){s=parseInt(s,10).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&&v.indexOf('rgb')>=0){var a=v.match(/\d+/g);return'#'+hex(a[0])+hex(a[1])+hex(a[2])}
if(v&&v!='transparent'){return v}
}
return'#ffffff'}
;b.each(function(){$(this).css('background-color',getBg(this))}
)}
;$.fn.cycle.commonReset=function(a,b,c,w,h,d){$(c.elements).not(a).hide();if(typeof c.cssBefore.opacity=='undefined'){c.cssBefore.opacity=1}
c.cssBefore.display='block';if(c.slideResize&&w!==false&&b.cycleW>0){c.cssBefore.width=b.cycleW}
if(c.slideResize&&h!==false&&b.cycleH>0){c.cssBefore.height=b.cycleH}
c.cssAfter=c.cssAfter||{}
;c.cssAfter.display='none';$(a).css('zIndex',c.slideCount+(d===true?1:0));$(b).css('zIndex',c.slideCount+(d===true?0:1))}
;$.fn.cycle.custom=function(a,b,c,d,e,f){var g=$(a),$n=$(b);var h=c.speedIn,speedOut=c.speedOut,easeIn=c.easeIn,easeOut=c.easeOut;$n.css(c.cssBefore);if(f){if(typeof f=='number'){h=speedOut=f}
else h=speedOut=1;easeIn=easeOut=null}
var i=function(){$n.animate(c.animIn,h,easeIn,function(){d()}
)}
;g.animate(c.animOut,speedOut,easeOut,function(){g.css(c.cssAfter);if(!c.sync){i()}
}
);if(c.sync){i()}
}
;$.fn.cycle.transitions={fade:function(d,e,f){e.not(':eq('+f.currSlide+')').css('opacity',0);f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c);c.cssBefore.opacity=0}
);f.animIn={opacity:1}
;f.animOut={opacity:0}
;f.cssBefore={top:0,left:0}
}
}
;$.fn.cycle.ver=function(){return B}
;$.fn.cycle.defaults={activePagerClass:'activeSlide',after:null,allowPagerClickBubble:false,animIn:null,animOut:null,aspect:false,autostop:0,autostopCount:0,backwards:false,before:null,center:null,cleartype:!$.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:'fade',fxFn:null,height:'auto',manualTrump:true,metaAttr:'cycle',next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:'click.cycle',pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:'click.cycle',random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,skipInitializationCallbacks:false,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null,width:null}
}
)(jQuery);(function($){$.fn.cycle.transitions.none=function(e,f,g){g.fxFn=function(a,b,c,d){$(b).show();$(a).hide();d()}
}
;$.fn.cycle.transitions.fadeout=function(e,f,g){f.not(':eq('+g.currSlide+')').css({display:'block','opacity':1}
);g.before.push(function(a,b,c,w,h,d){$(a).css('zIndex',c.slideCount+(!d===true?1:0));$(b).css('zIndex',c.slideCount+(!d===true?0:1))}
);g.animIn.opacity=1;g.animOut.opacity=0;g.cssBefore.opacity=1;g.cssBefore.display='block';g.cssAfter.zIndex=0}
;$.fn.cycle.transitions.scrollUp=function(a,b,c){a.css('overflow','hidden');c.before.push($.fn.cycle.commonReset);var h=a.height();c.cssBefore.top=h;c.cssBefore.left=0;c.cssFirst.top=0;c.animIn.top=0;c.animOut.top=-h}
;$.fn.cycle.transitions.scrollDown=function(a,b,c){a.css('overflow','hidden');c.before.push($.fn.cycle.commonReset);var h=a.height();c.cssFirst.top=0;c.cssBefore.top=-h;c.cssBefore.left=0;c.animIn.top=0;c.animOut.top=h}
;$.fn.cycle.transitions.scrollLeft=function(a,b,c){a.css('overflow','hidden');c.before.push($.fn.cycle.commonReset);var w=a.width();c.cssFirst.left=0;c.cssBefore.left=w;c.cssBefore.top=0;c.animIn.left=0;c.animOut.left=0-w}
;$.fn.cycle.transitions.scrollRight=function(a,b,c){a.css('overflow','hidden');c.before.push($.fn.cycle.commonReset);var w=a.width();c.cssFirst.left=0;c.cssBefore.left=-w;c.cssBefore.top=0;c.animIn.left=0;c.animOut.left=w}
;$.fn.cycle.transitions.scrollHorz=function(e,f,g){e.css('overflow','hidden').width();g.before.push(function(a,b,c,d){if(c.rev){d=!d}
$.fn.cycle.commonReset(a,b,c);c.cssBefore.left=d?(b.cycleW-1):(1-b.cycleW);c.animOut.left=d?-a.cycleW:a.cycleW}
);g.cssFirst.left=0;g.cssBefore.top=0;g.animIn.left=0;g.animOut.top=0}
;$.fn.cycle.transitions.scrollVert=function(e,f,g){e.css('overflow','hidden');g.before.push(function(a,b,c,d){if(c.rev){d=!d}
$.fn.cycle.commonReset(a,b,c);c.cssBefore.top=d?(1-b.cycleH):(b.cycleH-1);c.animOut.top=d?a.cycleH:-a.cycleH}
);g.cssFirst.top=0;g.cssBefore.left=0;g.animIn.top=0;g.animOut.left=0}
;$.fn.cycle.transitions.slideX=function(d,e,f){f.before.push(function(a,b,c){$(c.elements).not(a).hide();$.fn.cycle.commonReset(a,b,c,false,true);c.animIn.width=b.cycleW}
);f.cssBefore.left=0;f.cssBefore.top=0;f.cssBefore.width=0;f.animIn.width='show';f.animOut.width=0}
;$.fn.cycle.transitions.slideY=function(d,e,f){f.before.push(function(a,b,c){$(c.elements).not(a).hide();$.fn.cycle.commonReset(a,b,c,true,false);c.animIn.height=b.cycleH}
);f.cssBefore.left=0;f.cssBefore.top=0;f.cssBefore.height=0;f.animIn.height='show';f.animOut.height=0}
;$.fn.cycle.transitions.shuffle=function(j,l,m){var i,w=j.css('overflow','visible').width();l.css({left:0,top:0}
);m.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,true,true,true)}
);if(!m.speedAdjusted){m.speed=m.speed/2;m.speedAdjusted=true}
m.random=0;m.shuffle=m.shuffle||{left:-w,top:15}
;m.els=[];for(i=0;i<l.length;i++){m.els.push(l[i])}
for(i=0;i<m.currSlide;i++){m.els.push(m.els.shift())}
m.fxFn=function(b,c,d,e,f){if(d.rev){f=!f}
var g=f?$(b):$(c);$(c).css(d.cssBefore);var h=d.slideCount;g.animate(d.shuffle,d.speedIn,d.easeIn,function(){var a=$.fn.cycle.hopsFromLast(d,f);for(var k=0;k<a;k++){f?d.els.push(d.els.shift()):d.els.unshift(d.els.pop())}
if(f){for(var i=0,len=d.els.length;i<len;i++){$(d.els[i]).css('z-index',len-i+h)}
}
else{var z=$(b).css('z-index');g.css('z-index',parseInt(z,10)+1+h)}
g.animate({left:0,top:0}
,d.speedOut,d.easeOut,function(){$(f?this:b).hide();if(e){e()}
}
)}
)}
;$.extend(m.cssBefore,{display:'block',opacity:1,top:0,left:0}
)}
;$.fn.cycle.transitions.turnUp=function(d,e,f){f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,true,false);c.cssBefore.top=b.cycleH;c.animIn.height=b.cycleH;c.animOut.width=b.cycleW}
);f.cssFirst.top=0;f.cssBefore.left=0;f.cssBefore.height=0;f.animIn.top=0;f.animOut.height=0}
;$.fn.cycle.transitions.turnDown=function(d,e,f){f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,true,false);c.animIn.height=b.cycleH;c.animOut.top=a.cycleH}
);f.cssFirst.top=0;f.cssBefore.left=0;f.cssBefore.top=0;f.cssBefore.height=0;f.animOut.height=0}
;$.fn.cycle.transitions.turnLeft=function(d,e,f){f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,false,true);c.cssBefore.left=b.cycleW;c.animIn.width=b.cycleW}
);f.cssBefore.top=0;f.cssBefore.width=0;f.animIn.left=0;f.animOut.width=0}
;$.fn.cycle.transitions.turnRight=function(d,e,f){f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,false,true);c.animIn.width=b.cycleW;c.animOut.left=a.cycleW}
);$.extend(f.cssBefore,{top:0,left:0,width:0}
);f.animIn.left=0;f.animOut.width=0}
;$.fn.cycle.transitions.zoom=function(d,e,f){f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,false,false,true);c.cssBefore.top=b.cycleH/2;c.cssBefore.left=b.cycleW/2;$.extend(c.animIn,{top:0,left:0,width:b.cycleW,height:b.cycleH}
);$.extend(c.animOut,{width:0,height:0,top:a.cycleH/2,left:a.cycleW/2}
)}
);f.cssFirst.top=0;f.cssFirst.left=0;f.cssBefore.width=0;f.cssBefore.height=0}
;$.fn.cycle.transitions.fadeZoom=function(d,e,f){f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,false,false);c.cssBefore.left=b.cycleW/2;c.cssBefore.top=b.cycleH/2;$.extend(c.animIn,{top:0,left:0,width:b.cycleW,height:b.cycleH}
)}
);f.cssBefore.width=0;f.cssBefore.height=0;f.animOut.opacity=0}
;$.fn.cycle.transitions.blindX=function(d,e,f){var w=d.css('overflow','hidden').width();f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c);c.animIn.width=b.cycleW;c.animOut.left=a.cycleW}
);f.cssBefore.left=w;f.cssBefore.top=0;f.animIn.left=0;f.animOut.left=w}
;$.fn.cycle.transitions.blindY=function(d,e,f){var h=d.css('overflow','hidden').height();f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c);c.animIn.height=b.cycleH;c.animOut.top=a.cycleH}
);f.cssBefore.top=h;f.cssBefore.left=0;f.animIn.top=0;f.animOut.top=h}
;$.fn.cycle.transitions.blindZ=function(d,e,f){var h=d.css('overflow','hidden').height();var w=d.width();f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c);c.animIn.height=b.cycleH;c.animOut.top=a.cycleH}
);f.cssBefore.top=h;f.cssBefore.left=w;f.animIn.top=0;f.animIn.left=0;f.animOut.top=h;f.animOut.left=w}
;$.fn.cycle.transitions.growX=function(d,e,f){f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,false,true);c.cssBefore.left=this.cycleW/2;c.animIn.left=0;c.animIn.width=this.cycleW;c.animOut.left=0}
);f.cssBefore.top=0;f.cssBefore.width=0}
;$.fn.cycle.transitions.growY=function(d,e,f){f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,true,false);c.cssBefore.top=this.cycleH/2;c.animIn.top=0;c.animIn.height=this.cycleH;c.animOut.top=0}
);f.cssBefore.height=0;f.cssBefore.left=0}
;$.fn.cycle.transitions.curtainX=function(d,e,f){f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,false,true,true);c.cssBefore.left=b.cycleW/2;c.animIn.left=0;c.animIn.width=this.cycleW;c.animOut.left=a.cycleW/2;c.animOut.width=0}
);f.cssBefore.top=0;f.cssBefore.width=0}
;$.fn.cycle.transitions.curtainY=function(d,e,f){f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,true,false,true);c.cssBefore.top=b.cycleH/2;c.animIn.top=0;c.animIn.height=b.cycleH;c.animOut.top=a.cycleH/2;c.animOut.height=0}
);f.cssBefore.height=0;f.cssBefore.left=0}
;$.fn.cycle.transitions.cover=function(e,f,g){var d=g.direction||'left';var w=e.css('overflow','hidden').width();var h=e.height();g.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c);if(d=='right'){c.cssBefore.left=-w}
else if(d=='up'){c.cssBefore.top=h}
else if(d=='down'){c.cssBefore.top=-h}
else{c.cssBefore.left=w}
}
);g.animIn.left=0;g.animIn.top=0;g.cssBefore.top=0;g.cssBefore.left=0}
;$.fn.cycle.transitions.uncover=function(e,f,g){var d=g.direction||'left';var w=e.css('overflow','hidden').width();var h=e.height();g.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,true,true,true);if(d=='right'){c.animOut.left=w}
else if(d=='up'){c.animOut.top=-h}
else if(d=='down'){c.animOut.top=h}
else{c.animOut.left=-w}
}
);g.animIn.left=0;g.animIn.top=0;g.cssBefore.top=0;g.cssBefore.left=0}
;$.fn.cycle.transitions.toss=function(d,e,f){var w=d.css('overflow','visible').width();var h=d.height();f.before.push(function(a,b,c){$.fn.cycle.commonReset(a,b,c,true,true,true);if(!c.animOut.left&&!c.animOut.top){$.extend(c.animOut,{left:w*2,top:-h/2,opacity:0}
)}
else{c.animOut.opacity=0}
}
);f.cssBefore.left=0;f.cssBefore.top=0;f.animIn.left=0}
;$.fn.cycle.transitions.wipe=function(n,o,p){var w=n.css('overflow','hidden').width();var h=n.height();p.cssBefore=p.cssBefore||{}
;var q;if(p.clip){if(/l2r/.test(p.clip)){q='rect(0px 0px '+h+'px 0px)'}
else if(/r2l/.test(p.clip)){q='rect(0px '+w+'px '+h+'px '+w+'px)'}
else if(/t2b/.test(p.clip)){q='rect(0px '+w+'px 0px 0px)'}
else if(/b2t/.test(p.clip)){q='rect('+h+'px '+w+'px '+h+'px 0px)'}
else if(/zoom/.test(p.clip)){var s=parseInt(h/2,10);var u=parseInt(w/2,10);q='rect('+s+'px '+u+'px '+s+'px '+u+'px)'}
}
p.cssBefore.clip=p.cssBefore.clip||q||'rect(0px 0px 0px 0px)';var d=p.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0],10),r=parseInt(d[1],10),b=parseInt(d[2],10),l=parseInt(d[3],10);p.before.push(function(g,i,j){if(g==i){return}
var k=$(g),$next=$(i);$.fn.cycle.commonReset(g,i,j,true,true,false);j.cssAfter.display='block';var m=1,count=parseInt((j.speedIn/13),10)-1;(function f(){var a=t?t-parseInt(m*(t/count),10):0;var c=l?l-parseInt(m*(l/count),10):0;var d=b<h?b+parseInt(m*((h-b)/count||1),10):h;var e=r<w?r+parseInt(m*((w-r)/count||1),10):w;$next.css({clip:'rect('+a+'px '+e+'px '+d+'px '+c+'px)'}
);(m++<=count)?setTimeout(f,13):k.css('display','none')}
)()}
);$.extend(p.cssBefore,{display:'block',opacity:1,top:0,left:0}
);p.animIn={left:0}
;p.animOut={left:0}
}
}
)(jQuery);
