
$('.ppt img:gt(0)').hide();
$('.ppt img:last').addClass('last');
var cur = $('.ppt img:first');

function animate() {
	cur.fadeOut( 5000 );
	if ( cur.attr('class') == 'last' )
		cur = $('.ppt img:first');
	else
		cur = cur.next();
	cur.fadeIn( 5000 );
}


$(function() {
	setInterval( "animate()", 7000 );
} );

 
 
