(function(a){a.fn.rotator=function(){var h=this,g=h.find("img"),d=a(g[0]),c=a(g[1]),b=1,f=g.length;g.slice(1).hide().removeClass("hidden");for(var e=0;e<f;e++){(new Image()).src=g[e].src}(function j(){d.fadeOut("slow",function(){c.fadeIn("slow",function(){d=c;b++;b=(b===f)?0:b;c=a(g[b]);setTimeout(j,5000)})})})()}})(jQuery);
