function theRotator() {
	$('ul#rotator li').css({opacity: 0.0});
	$('ul#rotator li:first').css({opacity: 1.0});
	setInterval('rotate()',3500);
}

function rotate() {	
	var current = ($('ul#rotator li.show')?  $('ul#rotator li.show') : $('ul#rotator li:first'));
	var next = ((current.next().length) ? ((current.next().hasClass('show')) ? $('ul#rotator li:first') :current.next()) : $('ul#rotator li:first'));	
	next.css({opacity: 0.0})
	.addClass('show')
	.animate({opacity: 1.0}, 1000);
	current.animate({opacity: 0.0}, 1000)
	.removeClass('show');
};

$(document).ready(function() {theRotator();});
