/*
 * Text Rotator
 * 
 */

var count = 0;
var time = 3000;
var timer;
var id = 'testimonials';
var testiText = new Array();


testiText[0] = 'testimonial one <br /> -Name Here';
testiText[1] = 'testimonial two <br /> -Name Here';
testiText[2] = 'testimonial three <br /> -Name Here';
testiText[3] = 'testimonial four <br /> -Name Here';
testiText[4] = 'testimonial five <br /> -Name Here';
testiText[5] = 'testimonial six <br /> -Name Here';
testiText[6] = 'testimonial seven <br /> -Name Here';


function rotateTestimonials()
{
	document.getElementById(id).innerHTML = testiText[count];
	count++;
	
	if(count == testiText.length)	{
		count = 0;
	}
	
	timer = setTimeout(rotateTestimonials, time);
}

