function rotatequote()
{
/*thequote = myquotes.shift(); //Pull the top one
myquotes.push(thequote); //And add it back to the end*/
thequote=myquotes[Math.floor(Math.random()*myquotes.length)];
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()",10000);
}
// Start the first rotation.
rotatequote();