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