$('#top-banner li:gt(0)').hide();
$('#top-banner li:last').addClass('last');
var cur = $('#top-banner li:first');

function animate() {
	cur.fadeOut( 1000 );
	if ( cur.attr('class') == 'last' )
		cur = $('#top-banner li:first');
	else
		cur = cur.next();
	cur.fadeIn( 1000 );
}


$(function() {
	setInterval( "animate()", 5000 );
} );
