var Quotation = new Array();
Quotation[0] 	= "Thanks so much! A wonderful meal as always. |JM, Cornwall";
Quotation[1] 	= "Everything was beautiful, so tasteful, your staff was so classy and you completely captured the vision that we had for our wedding. |HH, Lancaster";
Quotation[2] 	= "We were so very happy with your delicious food and friendly, professional service. We only heard positive comments on everything. Thanks again so much. |MK & DK, Glen Walter.";
Quotation[3] 	= "Un gros merci pour la bonne bouffe et la superbe experience! Sans toi notre journe&eacute;e n'aurait pas &eacute;t&eacute; si belle! |GA & CP, Ingleside.";
Quotation[4] 	= "Wow! What a wonderful event tonight. Your food was absolutely fabulous! I can't wait until the next time I have the privilege of experiencing your very tasty delicacies! |DL, Cornwall.";
Quotation[5] 	= "Thank you! Without you there wouldn't have been a party! Fabulous Food made for a fabulous time. Thank you so much. |ML, Alexandria.";
Quotation[6] 	= "&Eacute;motions Catering. One word describes - sublime! |DG, Gatineau";
Quotation[7] 	= "Thank you so vey much! We really enjoyed everything!!! |DK, Glen Walter";
Quotation[8] 	= "Thank you, thank you, thank you. |HH, Lancaster";
Quotation[9] 	= "Thank you for a splendid job. |TH, Maxville.";
Quotation[10] 	= "Thanks so much for catering our party last night! Everyone raved about the food and the presentation. We'll definitely be calling you again.|SG, Cornwall.";
Quotation[11] 	= "Encore une fois Merci!  Ton service et la nourriture &eacute;taient vraiment exceptionnels!|JS-L, Cornwall";
Quotation[12] 	= "The lunch on Wednesday was delicious.  You received rave reviews again!|DM, Cornwall";
Quotation[13] 	= "Un mot de remerciement pour l'excellent repas que tu as pr&eacute;par&eacute; pour mes invit&eacute;s ce vendredi soir dernier....Mes confr&egrave;res l'ont bien appr&eacute;ci&eacute;...et moi aussi. Tu es une cuisini&egrave;re &laquo;hors pair&raquo; - avec de grands talents culinaires.|RL, Cornwall";


var lastQuote	= Quotation.length;
var randomQuote = Math.round(Math.random()*(lastQuote-1));
var thisQuote 	= randomQuote;

function nextQuote(hint){

	if (hint > 0) {
		thisQuote++;
	} else {
		thisQuote--;
	}

	if (thisQuote >= lastQuote) {
		thisQuote = 0;
	}

	if (thisQuote < 0) {
		thisQuote = lastQuote-1;
	}


	document.getElementById('quote').innerHTML = Quotation[thisQuote].split("|")[0];
	document.getElementById('author').innerHTML = Quotation[thisQuote].split("|")[1];
}

