(function(n){Slider=function(t,i){"use strict";function d(){var t=c.children();g();b=="hover"?t.mouseover(function(){l();var t=n(this).index();p(t,i.mode)}).mouseout(function(){f&&e()}):t.click(function(){l();var t=n(this).index();p(t,i.mode);f&&e()});try{c.children().eq(r).addClass(s)}catch(u){}f&&e()}function g(){var n=t.children().first();i.mode=="slide"?n.width(k):n.children().css({position:"absolute",left:0,top:0}).first().siblings().hide()}function e(){w=setInterval(function(){o(r)},i.time)}function o(n){var t;t=n==v-1?0:n+1;p(t,i.mode)}function p(n,t){u.stop(!0,!0);a.stop(!0,!0);t=="slide"?function(){if(n>r)u.animate({left:"-="+Math.abs(n-r)*y+"px"},h);else if(n