 
/************************ Editable values **************************/

  var myquotes=[
   '\"Thank you and your staff for making our wedding extra special!  You did so much that you didn\'t need to do, but it is greatly appreciated.\"',
   '\"I was calling to thank you VERY much.  The food was wonderful, and the staff was amazing.  Mike & I would recommend you to anyone.  Once again, thank you for the service that you gave Mike & I on our wedding day.  We appreciate it\"',
   '\"Everyone at our wedding said they had such a great time and the food was wonderful! Thank you so much for everything you have done for us!\"',
   '\"The reception was beautiful, you did a great job!  Thank you so much! ... We knew it would be nice, but not THIS nice!  Thank you!\"'   /* Leave the last quote without a comma at the end */
   ];
   
   var myauthor=[
   '~ Alison & Josh M.',
   '~ Cindy & Mike K.',
   '~ Kelly & Jeff D.',
   '~ Lisa & Zach C.'
];
/* This rotates the quote every 10 seconds. Replace 10 with 
    (the number of seconds you want) * 1000                        */

   var delay=10*1000; 

/******************************************************************/

function rotatequote() {
	
	thequote=myquotes.shift();      /* Pull the top one */
	myquotes.push(thequote);        /* And add it back to the end */
	document.getElementById('quotetext').firstChild.nodeValue=thequote;

	theauthor=myauthor.shift();
	myauthor.push(theauthor);
	document.getElementById('authortext').firstChild.nodeValue=theauthor;

	
   setTimeout(function(){rotatequote()},delay);
 }
   window.addEventListener?
   window.addEventListener('load',rotatequote,false):
   window.attachEvent('onload',rotatequote);
