<\/div>').css({width:e*f,left:-(r*o)*f,position:"relative",overflow:"hidden",padding:"0",margin:"0"}).children().css({float:"left",width:ht});break;case"leftLoop":case"leftMarquee":wi();i.wrap('
<\/div>').css({width:(e+p+h)*f,position:"relative",overflow:"hidden",padding:"0",margin:"0",left:-(h+r*o)*f}).children().css({float:"left",width:ht});break;case"topLoop":case"topMarquee":wi();i.wrap('
<\/div>').css({height:(e+p+h)*a,position:"relative",padding:"0",margin:"0",top:-(h+r*o)*a}).children().css({height:at})}ri=function(n){var t=n*o;return n==s?t=e:-1==n&&0!=e%o&&(t=-e%o),t};bi=function(t){var u,e,s,c,l=function(r){for(var u=r;p+r>u;u++)t.eq(u).find("img["+rt+"]").each(function(){var r,t,u=n(this);if(u.attr("src",u.attr(rt)).removeAttr(rt),i.find(".clone")[0])for(r=i.children(),t=0;t=1?r=1:0>=r&&(r=0):(et=r,r>=s?r=0:0>r&&(r=s-1)),yi(),null!=rt&&bi(i.children()),ot[0]&&(b=ot.eq(r),null!=rt&&bi(ot),"slideDown"==v?(ot.not(b).stop(!0,!0).slideUp(l),b.slideDown(l,w,function(){i[0]||k()})):(ot.not(b).stop(!0,!0).hide(),b.animate({opacity:"show"},l,function(){i[0]||k()}))),e>=p)switch(v){case"fade":i.children().stop(!0,!0).eq(r).animate({opacity:"show"},l,w,function(){k()}).siblings().hide();break;case"fold":i.children().stop(!0,!0).eq(r).animate({opacity:"show"},l,w,function(){k()}).siblings().animate({opacity:"hide"},l,w);break;case"top":i.stop(!0,!1).animate({top:-r*o*a},l,w,function(){k()});break;case"left":i.stop(!0,!1).animate({left:-r*o*f},l,w,function(){k()});break;case"leftLoop":t=et;i.stop(!0,!0).animate({left:-(ri(et)+h)*f},l,w,function(){-1>=t?i.css("left",-(h+(s-1)*o)*f):t>=s&&i.css("left",-h*f);k()});break;case"topLoop":t=et;i.stop(!0,!0).animate({top:-(ri(et)+h)*a},l,w,function(){-1>=t?i.css("top",-(h+(s-1)*o)*a):t>=s&&i.css("top",-h*a);k()});break;case"leftMarquee":u=i.css("left").replace("px","");0==r?i.animate({left:++u},0,function(){i.css("left").replace("px","")>=0&&i.css("left",-e*f)}):i.animate({left:--u},0,function(){i.css("left").replace("px","")<=-(e+h)*f&&i.css("left",-h*f)});break;case"topMarquee":y=i.css("top").replace("px","");0==r?i.animate({top:++y},0,function(){i.css("top").replace("px","")>=0&&i.css("top",-e*a)}):i.animate({top:--y},0,function(){i.css("top").replace("px","")<=-(e+h)*a&&i.css("top",-h*a)})}c.removeClass(d).eq(r).addClass(d);gt=r;lt||(it.removeClass("nextStop"),tt.removeClass("prevStop"),0==r&&tt.addClass("prevStop"),r==s-1&&it.addClass("nextStop"));rr.html(""+(r+1)+"<\/span>/"+s)}};st&&nt(!0);li&&y.hover(function(){clearTimeout(yt)},function(){yt=setTimeout(function(){r=vi;st?nt():"slideDown"==v?b.slideUp(l,ni):b.animate({opacity:"hide"},l,ni);gt=r},300)});ui=function(n){ut=setInterval(function(){bt?r--:r++;nt()},n?n:gi)};pt=function(n){ut=setInterval(nt,n?n:gi)};wt=function(){kt||!ci||ct.hasClass("pauseState")||(clearInterval(ut),ui())};fi=function(){(lt||r!=s-1)&&(r++,nt(),g||wt())};ei=function(){(lt||0!=r)&&(r--,nt(),g||wt())};oi=function(){clearInterval(ut);g?pt():ui();ct.removeClass("pauseState")};si=function(){clearInterval(ut);ct.addClass("pauseState")};ci?g?(bt?r--:r++,pt(),kt&&i.hover(si,oi)):(ui(),kt&&y.hover(si,oi)):(g&&(bt?r--:r++),ct.addClass("pauseState"));ct.click(function(){ct.hasClass("pauseState")?oi():si()});"mouseover"==u.trigger?c.hover(function(){var n=c.index(this);vt=setTimeout(function(){r=n;nt();wt()},u.triggerTime)},function(){clearTimeout(vt)}):c.click(function(){r=c.index(this);nt();wt()});g?(it.mousedown(fi),tt.mousedown(ei),lt&&(ki=function(){tr=setTimeout(function(){clearInterval(ut);pt(0^gi/10)},150)},di=function(){clearTimeout(tr);clearInterval(ut);pt()},it.mousedown(ki),it.mouseup(di),tt.mousedown(ki),tt.mouseup(di)),"mouseover"==u.trigger&&(it.hover(fi,function(){}),tt.hover(ei,function(){}))):(it.click(fi),tt.click(ei));"auto"!=u.vis||1!=o||"left"!=v&&"leftLoop"!=v||(hi=function(){dt&&(i.width("auto"),i.children().width("auto"));i.parent().width("auto");f=i.parent().width();dt&&i.parent().width(f);i.children().width(f);"left"==v?(i.width(f*e),i.stop(!0,!1).animate({left:-r*f},0)):(i.width(f*(e+2)),i.stop(!0,!1).animate({left:-(r+1)*f},0));dt||f==i.parent().width()||hi()},n(window).resize(function(){clearTimeout(ir);ir=setTimeout(hi,100)}),hi())})}}(jQuery);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(n,t,i,r,u){return jQuery.easing[jQuery.easing.def](n,t,i,r,u)},easeInQuad:function(n,t,i,r,u){return r*(t/=u)*t+i},easeOutQuad:function(n,t,i,r,u){return-r*(t/=u)*(t-2)+i},easeInOutQuad:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t+i:-r/2*(--t*(t-2)-1)+i},easeInCubic:function(n,t,i,r,u){return r*(t/=u)*t*t+i},easeOutCubic:function(n,t,i,r,u){return r*((t=t/u-1)*t*t+1)+i},easeInOutCubic:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i},easeInQuart:function(n,t,i,r,u){return r*(t/=u)*t*t*t+i},easeOutQuart:function(n,t,i,r,u){return-r*((t=t/u-1)*t*t*t-1)+i},easeInOutQuart:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t+i:-r/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(n,t,i,r,u){return r*(t/=u)*t*t*t*t+i},easeOutQuint:function(n,t,i,r,u){return r*((t=t/u-1)*t*t*t*t+1)+i},easeInOutQuint:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t*t+i:r/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i},easeOutSine:function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i},easeInOutSine:function(n,t,i,r,u){return-r/2*(Math.cos(Math.PI*t/u)-1)+i},easeInExpo:function(n,t,i,r,u){return 0==t?i:r*Math.pow(2,10*(t/u-1))+i},easeOutExpo:function(n,t,i,r,u){return t==u?i+r:r*(-Math.pow(2,-10*t/u)+1)+i},easeInOutExpo:function(n,t,i,r,u){return 0==t?i:t==u?i+r:(t/=u/2)<1?r/2*Math.pow(2,10*(t-1))+i:r/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(n,t,i,r,u){return-r*(Math.sqrt(1-(t/=u)*t)-1)+i},easeOutCirc:function(n,t,i,r,u){return r*Math.sqrt(1-(t=t/u-1)*t)+i},easeInOutCirc:function(n,t,i,r,u){return(t/=u/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+i:r/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return 0==t?i:1==(t/=u)?i+r:(f||(f=.3*u),et?-.5*e*Math.pow(2,10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)+i:.5*e*Math.pow(2,-10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)+r+i)},easeInBack:function(n,t,i,r,u,f){return void 0==f&&(f=1.70158),r*(t/=u)*t*((f+1)*t-f)+i},easeOutBack:function(n,t,i,r,u,f){return void 0==f&&(f=1.70158),r*((t=t/u-1)*t*((f+1)*t+f)+1)+i},easeInOutBack:function(n,t,i,r,u,f){return void 0==f&&(f=1.70158),(t/=u/2)<1?r/2*t*t*(((f*=1.525)+1)*t-f)+i:r/2*((t-=2)*t*(((f*=1.525)+1)*t+f)+2)+i},easeInBounce:function(n,t,i,r,u){return r-jQuery.easing.easeOutBounce(n,u-t,0,r,u)+i},easeOutBounce:function(n,t,i,r,u){return(t/=u)<1/2.75?r*7.5625*t*t+i:2/2.75>t?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:2.5/2.75>t?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(n,t,i,r,u){return u/2>t?.5*jQuery.easing.easeInBounce(n,2*t,0,r,u)+i:.5*jQuery.easing.easeOutBounce(n,2*t-u,0,r,u)+.5*r+i}})