var currentTestimonial = 0;
var testimonials = new Array();

testimonials.push('This is my very first fantasy season and I\'m at the top of all three of my leagues thanks to Ziguana.<span>Keith, High Point, NC</span>');
testimonials.push('First off I want to say I think this is a great tool for using with your Fantasy teams. Thanks guys for the help and a great product.<span>Kathie (Asheville, NC)</span>');
testimonials.push('Hi, I came across the ranking system and love the idea of the Z-rating!<span>dday0606</span>');
testimonials.push('Really like this site, useful stuff!<span>rofferma</span>');
testimonials.push('I\'m basically a basketball junkie who\'s written scripts to crunch my fantasy stats before, so this project you guys have going on here really intrigues me.<span>vincyboy<span>');
testimonials.push('You have a GREAT site here and I love it.<span>John Middleton, <i><a href="http://www.theNBAblog.com">theNBAblog.com</a></i></span>');
testimonials.push('This is very helpful for roto leagues.<span>ddeleon00</span>');
testimonials.push('First off, excellent job on creating this Fantasy resource.  I\'m currently utilizing the Basketball part of it and am totally amazed with its ease of use and integration with Yahoo!<span>Chris</span>');
testimonials.push('Thanks again for a phenomenal site.  I\'m passing the word around to my friends and leaguemates.<span>Ben Zazove (Santa Monica, CA)</span>');
testimonials.push('Thanks guys, great website, great service, god bless you all!<span>Brian Greenaway (Santa Barbara)</span>');
testimonials.push('Let me say, your site is great.  By using your z-ranks this past NBA season, I have a first round bye in each of my three leagues - so thank you!<span>John C. (Santa Monica, CA)</span>');
testimonials.push('EVERYBODY at my draft was using your ranks as opposed to the Yahoo! default ones... You guys are going to blow up for sure.<span>Brian Greenaway, <a href="http://www.wcbias.com">wcbias.com</a></span>');

$(function()
{
	$('#testimonial').html(testimonials[currentTestimonial]);
	setTimeout('rotateTestimonial()', 3000);
});


function rotateTestimonial()
{
	$('#testimonial').fadeOut(1000, function()
	{
		currentTestimonial = (currentTestimonial + 1) % testimonials.length;
		$('#testimonial').html(testimonials[currentTestimonial]);
		$('#testimonial').fadeIn(1000, function()
		{
			setTimeout('rotateTestimonial()', 5000);
		});
	});
}
