$(document).ready(function()
{
	var interval = setInterval(animateText, 5000);
	
	function animateText()
	{
		if($('.peoplesay_content:visible').hasClass('ps_last'))
		{
			$('.peoplesay_content:visible').fadeOut();
			$('.peoplesay_content:first').fadeIn();
		}
		else
		{
			$('.peoplesay_content:visible').fadeOut().next().fadeIn();
		}
	
	}

});
