//store the quotations in arrays
quotes = new Array(6);
authors = new Array(6);
quotes[0] = "Highly communicative web development management, quick to perform tasks and eager to develop new business.";
authors[0] = "Natalie Bennett, Webgains";
quotes[1] = "Featured Freelancer.";
authors[1] = "Web Designer Magazine, Issue 177";
quotes[2] = "Perfect. Everything I was looking for and wanted for the website!";
authors[2] = "Jane Cossins, Reflections Photography";
quotes[3] = "The ideal medium between creativity and productivity.";
authors[3] = "Paul Smith, Cornberry LTD";
quotes[4] = "Quick, efficient and talented.";
authors[4] = "David Lough";
quotes[5] = "No other has worked as well with me, on my wave length and achieved such fantastic results.";
authors[5] = "Simon Tate, Artist";

//calculate a random index
index = Math.floor(Math.random() * quotes.length);

//display the quotation
document.write("<div id='main_quote'><img src='images/quote-start.png' width='23' height='20' alt='&quot;' />\n");
document.write("<span id='quote'>" + "" + quotes[index] + "</span> <img src='images/quote-end.png' width='23' height='20' alt='&quot;' />\n");
document.write("<p id='quote_by'>- <span id='quote-by'>" + "" + authors[index] + "</span></p>\n");
document.write("</div>\n");

//done
