// JavaScript Document

var myquotes = new Array(

        'Your Purifying Cleansing Lotion is terrific. My husband has oily skin and he uses it daily to thoroughly clean his skin. --Shirley Alexander - Alvord , TX',

        'The skin on my face was always so red and ugly. I have spent a lot of money on expensive products, but Diabetic Pure Skin Therapy® products are the only ones that work for me. I am so much happier now, because my skin looks and feels so much better! --Karen Healey - Conway , AR',

        'After using your Hand & Body and Diapedic® Foot Treatment for a month, I decided to try all of your Facial Care items, including the Purifying Cleansing Lotion. Well, I noticed an immediate improvement the very first night! The second night, I couldn’t wait for bed so I could use these wonderful products again! Yours is a company I want to do business with, who’s not trying to sell me something I don’t need and has my best interests at heart. Thank You so much for making such wholesome, healing, and outstanding products. --Bonnie Anderson, RN Asst. - Point Townsend , WA' // Leave the last quote without a comma at the end

        );

 

function rotatequote()

{

        thequote = myquotes.shift(); //Pull the top one

        myquotes.push(thequote); //And add it back to the end

       

        document.getElementById('quotetext').innerHTML = thequote;

        // This rotates the quote every 10 seconds.

        // Replace 10000 with (the number of seconds you want) * 1000

        t=setTimeout("rotatequote()",10000);

}

// Start the first rotation.

rotatequote();
