// Store the quotations in an array

var quote = new Array(2);   // Update this value if new quotes added
var author = new Array(2);  // Update this value if new quotes added

quote[0] = "<p class=\"testimonial\">\"Just a quick note to say thank you for our new web page, the styling of the site around our logo colour scheme and other marketing materials was spot on!\"</p>";
author[0] = "<p class=\"meta\">Stuart F, On-site Support</p>";

quote[1] = "<p class=\"testimonial\">\"Thanks for doing my website, you made it so painless I could safely leave it up to you to sort everything out while I got on with my business. The end results were brilliant!\"</p>";
author[1] = "<p class=\"meta\">Kevin R, Amber School of Motoring</p>";

// Confirm the number of quotes
var qlen = quote.length;

// Calculate a random index
var index = Math.floor(Math.random() * quote.length);

// Output the quote
document.write(quote[index]);
document.write(author[index]);
