<!--
<!-- IMPORTANT - You must make sure the (howMany) number below is the same number as the last quote in your list -->
var howMany = 7;

<!-- You can increase or decrease the time that the quote is displayed for in seconds below - It's not totally accurate but serves as a good estimate. -->
var displayseconds = 10;

<!-- DO NOT Edit the following 2 lines -->
var quote = new Array(howMany+1);
var author = new Array(howMany+1);

<!-- IMPORTANT - To add more quotes, simply copy paste a quote and author line below and increment the number by one -->
<!-- WARNING - Be very careful if your quote includes inverted commas (Soeech marks). These need to be escaped with a backslash or the script will break. -->
<!-- example - My son said \"WOW - What a great party\", and promissed ot tel all his friends. -->

quote[0]="Hi Andy, we just want to say a huge thank you for entertaining our guests, everyone was amazed at your magic tricks, and the kids loved the balloon animals. You made our day very special and we will highly reccommend you to all our friends and family in the future.";
author[0]="Jo & Paul Homer, Lower Gornal. 3rd October, 2009";

quote[1]="We found your magic a lovely addition to our day and the children really enjoyed the balloon modelling. Thoroughly enjoyed it, thank you.";
author[1]="Rainbow Children's Centre, Kidderminster. 30th September, 2009";

quote[2]="A great party. 20 five year olds were kept entertained for 2 hours which is no mean feat! They especially loved the magic show (not to mention the adults!).";
author[2]="Sue, Kingswinford. 13th September, 2009";

quote[3]="The adults and children alike had a wonderful time watching your close-up magic tricks. Andy was flexible in the arragement to the evening. All the children were thrilled with their balloon animals and the magic show - a WONDERFUL EVENING - thanks Andy.";
author[3]="Mrs C Handy, Birmingham. 8th August, 2009";

quote[4]="Fantastic Christmas Entertainment from the children - Highly recommended. We have used Andy's Services for the last three years and have already re booked for our Christmas Party 2008 what more can you say.";
author[4]="Shiela - Salt Marsh Castle Caravan Park and Club";

quote[5]="Just experienced Andys Magic Show and both Children and Parents enjoyed participating and entering into the fun. A fantastic show!";
author[5]="Viv &amp; Rosemary - Kidderminster Library";

quote[6]="Once again Andy, you were brilliant. The weather was appalling on wednesday and getting an audiance was a challenge to say the least. Very impressed by the way you managed to create such a big crowd.";
author[6]="Geraldine McCullagh, BBC Hereford & Worcester Radio";

quote[7]="We really enjoyed your magic; everyone was amazed. What a great differance you made to our evening. We have watched the wedding video featuring you doing your magic and almost every guest has there mouths open in amazement. We would not hesitate to recommend you for anyones wedding.";
author[7]="Sue and Mark Knock, Brierley Hill";

<!-- End of Quotes - DO NOT Edit below this line -->

function rndnumber(){
	var randscript = -1;
	while (randscript < 0 || randscript > howMany || isNaN(randscript)){
		randscript = parseInt(Math.random()*(howMany+1));
	}
	return randscript;
}

function writemsg(){
	var quo = rndnumber();
	var quox = quote[quo];
	var auth = author[quo];
	
	document.getElementById('quote').innerHTML = (quox);
	document.getElementById('author').innerHTML = (auth);
	
	setTimeout("writemsg()", (displayseconds*1000));
	return true;
}
//-->