function genQuote()
{
    var quotes = new Array( "Very Professional Team<p> Client", 
                            "Thank you for the excellent support and friendliness you have shown<p> Client", 
                            "Greatly impressed with the service provided<p> Client",
                            "First class service<p> Client",
                            "Understood exactly the aims we needed to achieve<p> Client",
                            "No hesitation in recommending Passion Media<p> Client" );

    // if No. of quotes between 1 & 9, use exponent=1
    // if No. of quotes between 10 & 99, use exponent=2
    // if No. of quotes between 100 & 999, use exponent=3
    var exponent = 1;

    var rand = Math.random();                                       // returns a real number between 0.0 & 1.0
    var rand_shifted = Math.floor(rand*Math.pow(10,exponent));      // shifts the random number by 1, 2 or 3 decimal places

    // Line below is equivalent to (rand_shifted DIV quotes.length) - there's no DIV function in the Math class !!!
    // it forces the random 1, 2 or 3 digit integer into the range: 0 < index < No. of quotes
    // floor() function is equivalent to truncate()
    var index = rand_shifted - (quotes.length * (Math.floor(rand_shifted / quotes.length)));    
    
    return quotes[index];
}

