function theRotator() {
	$('#site-header ul li').css({opacity: 0.0});
	$('#site-header ul li:first').css({opacity: 1.0});
	setInterval('rotate()',8000);
}
function rotate() {	
	var current = ($('#site-header ul li.show') ? $('#site-header ul li.show') : $('#site-header ul li:first'));
	var next = ((current.next().length) ? ((current.next().hasClass('show')) ? $('#site-header ul li:first') :current.next()) : $('#site-header ul li:first'));	
	next.css({opacity: 0.0})
	.addClass('show')
	.animate({opacity: 1.0}, 1000);
	current.animate({opacity: 0.0}, 1000)
	.removeClass('show');
};
function theRotator2() {
	$('#site-header-small ul li').css({opacity: 0.0});
	$('#site-header-small ul li:first').css({opacity: 1.0});
	setInterval('rotate2()',8000);
}
function rotate2() {	
	var current = ($('#site-header-small ul li.show') ? $('#site-header-small ul li.show') : $('#site-header-small ul li:first'));
	var next = ((current.next().length) ? ((current.next().hasClass('show')) ? $('#site-header-small ul li:first') :current.next()) : $('#site-header-small ul li:first'));	
	next.css({opacity: 0.0})
	.addClass('show')
	.animate({opacity: 1.0}, 1000);
	current.animate({opacity: 0.0}, 1000)
	.removeClass('show');
};
