function theRotator(){$("div.rotator ul li").css({opacity:0});$("div.rotator ul li:first").css({opacity:1});var a=0;$("div.rotator ul > li").each(function(){a+=1});a>1&&setInterval("rotate()",4500)} function rotate(){var a=$("div.rotator ul li.show")?$("div.rotator ul li.show"):$("div.rotator ul li:first");(a.next().length?a.next().hasClass("show")?$("div.rotator ul li:first"):a.next():$("div.rotator ul li:first")).css({opacity:0}).addClass("show").animate({opacity:1},1E3);a.animate({opacity:0},1E3).removeClass("show")}$(document).ready(function(){theRotator()});
