$(document).ready(function() {
	allParas = $('p');
	messages = new Array();
	for ( i=1; i<allParas.length; i++ ) {
		messages[messages.length] = allParas[i].innerHTML;
		$(allParas[i]).hide();
	}
	msgID = 0;
	window.setInterval( function() {
		if ( msgID != messages.length ) {
			$('p:first-child').animate({ opacity: 0}, 1000 );
			$('p:first-child').queue(function () {
				$(this).empty().append( messages[msgID++] );
				$(this).dequeue();
			});
			$('p:first-child').animate({ opacity: 1}, 1000 );
		}
	}, 3500 );
});
