function get_date(maxNum)
{
today = new Date();
t = today.getDate()
return t;
}

function dateQuote()
{
var today = new Date();
var year = today.getYear();
year = (year < 2000) ? year + 1900 : year;
var textdate = (today.getMonth() + 1) + '.' + today.getDate() + '.' + year;

var maxQuotes=31;
var dQuote=get_date(maxQuotes);
dQuote--;

var quote=new Array(maxQuotes)

quote[0] = "You agree-I am sure you agree, that beauty is the only thing worth living for.<br> <span class=\"author\">Agatha Christie</span>";

quote[1] = "The best and most beautiful things in the world cannot be seen or even touched. They must be felt in the heart.<br> <span class=\"author\">Helen Keller</span>";

quote[2] = "To be able to practice five things everywhere under heaven constitutes perfect virtue-gravity, generosity of soul, sincerity, earnestness, and kindness.<br> <span class=\"author\">Confucious</span>";

quote[3] = "Keep your face to the sun and you cannot see the shadows.<br> <span class=\"author\">Helen Keller</span>";

quote[4] = "No pessimist ever discovered the secrets of the stars, sailed to uncharted lands or opened a new heaven to the human spirit. <br> <span class=\"author\">Helen Keller</span>";

quote[5] = "Love is an irresistable desire to be irresistably desired. <br> <span class=\"author\">Robert Frost</span>";

quote[6] = "It is better to light a candle than to curse the darkness. <br> <span class=\"author\">Eleanor Roosevelt</span>";

quote[7] = "How many cares one loses when one decides not to be something, but to be someone. <br> <span class=\"author\">Coco Chanel</span>";

quote[8] = "The soul should always stand ajar, ready to welcome the ecstatic experience. <br> <span class=\"author\">Emily Dickinson</span>";

quote[9] = "I wish that life should not be cheap, but sacred, I wish the days to be as centuries, loaded, fragrant. <br> <span class=\"author\">Ralph Waldo Emerson</span>";

quote[10] = "Whatever you can do or dream you can, begin it. Boldness has a genius, power and magic in it. <br> <span class=\"author\">Herbert Wolfgang von Goethe</span>";

quote[11] = "Life is either a daring adventure or nothing. <br> <span class=\"author\">Helen Keller</span>";

quote[12] = "To affect the quality of the day, that is the highest of arts. <br> <span class=\"author\">Henry David Thoreau</span>";

quote[13] = "There are two ways of spreading light: to be the candle or the mirror that reflects it. <br> <span class=\"author\">Edith Wharton</span>";

quote[14] = "Never bend your head, always hold it high. Look the world straight in the eyes. <br> <span class=\"author\">Helen Keller</span>";

quote[15] = "Our life is frittered away by detail-simplify, simplify. <br> <span class=\"author\">Henry David Thoreau</span>";

quote[16] = "Appreciation is a wonderful thing; it makes what is excellent in others belong to us as well. <br> <span class=\"author\">Voltaire</span>";

quote[17] = "Remember always that you have not only the right to be an individual, you have an obligation to be one. <br> <span class=\"author\">Eleanor Roosevelt</span>";

quote[18] = "What lies behind us and what lies before us are small matters compared to what lies within us. <br> <span class=\"author\">Ralph Waldo Emerson</span>";

quote[19] = "'Stay' is a charming word in a friend's vocabulary. <br> <span class=\"author\">Louisa May Alcott</span>";

quote[20] = "Many people will walk in and out of your life, but only true friends will leave footprints in your heart. <br> <span class=\"author\">Eleanor Roosevelt</span>";

quote[21] = "The glory of friendship is not the outstretched hand, nor the kindly smile nor the joy of companionship; it is the spiritual inspiration that comes to one when he discovers that someone else believes in him and is willing to trust him. <br> <span class=\"author\">Ralph Waldo Emerson</span>";

quote[22] = "It is one of the most beautiful compensations of this life that no man can sincerely try to help another without helping himself.<br> <span class=\"author\">Ralph Waldo Emerson</span>";

quote[23] = "Meditate. Live purely. Be quiet. Do your work with mastery. Like the moon, come out from behind the clouds! Shine.<br> <span class=\"author\">Buddha</span>";

quote[24] = "To live is so startling that it leaves little time for anything else.<br> <span class=\"author\">Emily Dickinson</span>";

quote[25] = "Friendship is precious, not only in the shade, but in the sunshine of life.<br> <span class=\"author\">Thomas Jefferson</span>";

quote[26] = "This is the joy of the rose: that it blooms and goes.<br> <span class=\"author\">Willa Cather</span>";

quote[27] = "For fame is not achieved by sitting on feather cushions or lying in bed.<br> <span class=\"author\">Dante</span>";

quote[28] = "If the only prayer you say in your life is 'thank you,' that would be enough.<br> <span class=\"author\">Miester Eckhart</span>";

quote[29] = "Your diamonds are not in far distant mountains or under the seas; they are in your own backyard, if you but dig for them.<br> <span class=\"author\">Russell H. Conwell</span>";

quote[30] = "All I need to make a comedy is a park, a policeman and a pretty girl.<br> <span class=\"author\">Charles Chaplin</span>";

document.write(textdate + ': ' + quote[dQuote]);

}

