$(document).ready(function(){
 
	var first = 0;
	var speed = 700;
	var pause = 10000;
 
		function removeFirst(){
			first = $('ul#banner_index li:first').html();
			$('ul#banner_index li:first')
			.animate({opacity: 0}, speed)
			.fadeOut('slow', function() {$(this).remove();});
			addLast(first);
		}
 
		function addLast(first){
			last = '<li style="display:none">'+first+'</li>';
			$('ul#banner_index').append(last)
			$('ul#banner_index li:last')
			.animate({opacity: 1}, speed)
			.fadeIn('slow')
		}
 
	interval = setInterval(removeFirst, pause);
});
