// JavaScript Document

var myquotes = new Array(
	'Thank you so much for getting here so quickly and getting the job done. We would use you again. Although I hope I do not have to! I would definitely recommend you to others. Thanks again.',
	'Appreciated you all so much! A real lifesaver! Thank you. Especially courteous workers.',
	'The work completed gives me a better understanding of what can be done in restoration. Great job!',
	'Roman was very polite, professional, and knowledgeable. The cabin looks great! Thanks!',
	'Really nice young men. They removed the rot that I thought was not fixable.',
	'Chad was very friendly and made me feel good about him working on my house.' // Leave the last quote without a comma at the end
	);

function rotatequote()
{
	thequote = myquotes.shift(); //Pull the top one
	myquotes.push(thequote); //And add it back to the end
	
	document.getElementById('quotetext').innerHTML = thequote;
	// This rotates the quote every 10 seconds.
	// Replace 10000 with (the number of seconds you want) * 1000
	t=setTimeout("rotatequote()",5000);
}

// Start the first rotation.
rotatequote();
