

function writeQuote() 
{
    var quotes = [
        {
            text: 'The doctor of the future will give no medicine, but will involve the patient in the proper use of food, fresh air and exercise.',
            author: 'Thomas Edison'
        },
        {
            text: 'Our lives are not in the lap of the gods, but in the lap of our cooks.',
            author: 'Lin Yutang',
        },
        {
            text: 'He that takes medicine and neglects diet, wastes the skill of the physician.',
            author: 'Chinese Proverb',
        },
        {
            text: 'Leave your drugs in the chemist\'s pot if you can heal the patient with food.',
            author: 'Hippocrates',
        },
        {
            text: 'I saw few die of hunger; of eating, a hundred thousand.',
            author: 'Benjamin Franklin',
        },
        {
            text: 'Let food be thy medicine, thy medicine shall be thy food.',
            author: 'Hippocrates',
        },
		{
            text: 'By improving thinking, one will improve the mind and improvement of mind is improvement of man.',
            author: 'Vasant Lad',
		}
    ];

    var i = Math.floor( quotes.length * Math.random() );

    var quote_text = '"'+ quotes[i].text +'"<br><br> ~ '+ quotes[i].author.toUpperCase(); 

    document.getElementById('quote').innerHTML = quote_text;
};



function showHide(divID) 
{
    var item = document.getElementById(divID);
    var item_arrow = document.getElementById(divID +'_arrow');

    if( item.className == 'hidden' )
    {
        item.className = 'unhidden';
        item_arrow.src = 'images/down_arrow.jpg';
    }
    else {
        item.className = 'hidden';
        item_arrow.src = 'images/right_arrow.jpg';
    };
};


