
var numOfQuotes = 5;
function quote() {
var quote = new Array(numOfQuotes + 1);
quote[0]="“Robert Powell was excellent, full of realistic and practical ideas for teaching and learning. Very entertaining and informative.”";
quote[1]="“Robert Powell was an excellent speaker, everyone was involved and there was so much humour.”";
quote[2]="“Robert Powell is inspirational. I have rarely seen a group of teachers so postive and motivated. Nor have I seen such high quality outcomes from an inset event.“";
quote[3]="“A thoroughly enjoyable day. Engaging, stimulating and refreshing. Some of the best professional in-service training we've ever had. Can't wait to try out some of Robert's ideas“";
quote[4]="“Robert Powell is inspirational. I have rarely seen a group of teachers so postive and motivated. Nor have I seen such high quality outcomes from an inset event.“";
quote[5]="“Robert Powell‘s first book, Raising Achievement, made me want to listen to him in person. His INSET made many staff want to read his books. His inspiration was the start of a permanent change in our school culture.“"

indxOfQuote = rndInteger();
strQuote = quote[indxOfQuote];
return strQuote 
} 

function rndInteger() {
var rndNumber = -1;
while (rndNumber <0 || rndNumber > numOfQuotes || isNaN(rndNumber)) {
     rndNumber = parseInt(Math.random() * (numOfQuotes + 1));
     }
return rndNumber;
}

