/*
Daily information feed script
By JavaScript Kit (http://javascriptkit.com)
Over 400+ free scripts here!
*/

var dailyinfo=new Array()
var dailyinfolink=new Array()

//define the messages below, where the first one is for the 1st of this month, second is for the 2nd of this month, and so on. You do NOT have to define all of them at once. For example, you can just define enough to cover up to a week.

//dailyinfo[ ]='When I have a little money, I buy books; and if I have any money left, I buy food and clothes. - Erasmus'
dailyinfo[1]='I am having amnesia and deja vu at the same time. I think I have forgotten this before!'
dailyinfo[2]='The best way to predict the future is to invent it.'
dailyinfo[3]='Invention is the mother of too many useless toys.'
dailyinfo[4]='Honesty blurts where deception sneezes.'
dailyinfo[5]='How come \'fat chance\' and \'slim chance\' mean the same thing, but \'wise man\' and \'wise guy\' mean something different?'
dailyinfo[6]='Delete not, lest you, too, be deleted.'
dailyinfo[7]='O! Youth! What a pain in the backside.'
dailyinfo[8]='Wishes are like goldfish with propellors.'
dailyinfo[9]='I hate Mondays - Garfield.'
dailyinfo[10]='Unattended children will be given a mug of espresso and a free puppy.'
dailyinfo[11]='Learn as if you were going to live forever. Live as if you were going to die tomorrow.'
dailyinfo[12]='Take risks: if you win, you will be happy; if you lose, you will be wise.'
dailyinfo[13]='Time you enjoy wasting, was not wasted. - John Lennon'
dailyinfo[14]='You only live once, but if you do it right, once is enough. - Mae West'
dailyinfo[15]='Dream as if you\'ll live forever. Live as if you\'ll die today. - James Dean.'
dailyinfo[16]='Anyone who has never made a mistake has never tried anything new. - Albert Einstein'
dailyinfo[17]='Tomorrow is often the busiest day of the week.'
dailyinfo[18]='Lazy people work double.'
dailyinfo[19]='The door of opportunity won\'t open unless you do some pushing.'
dailyinfo[20]='Later never exists.'
dailyinfo[21]='The best way to get something done is to begin.'
dailyinfo[22]='Don\'t let what you can\'t do interfere with what you can do.'
dailyinfo[23]='Once again, my life has been saved by the miracle of lasagna. - Garfield'
dailyinfo[24]='Most people change their minds because they can\'t find one worth keeping.'
dailyinfo[25]='Two rules for a successful business. 1) Never tell people everything you know.'
dailyinfo[26]='Yesterday\’s the past, tomorrow\’s the future, but today is a gift. That\’s why it\’s called the present. - The Family Circus'
dailyinfo[27]='So much time, and so little... I need to do. - Garfield'
dailyinfo[28]='Those who can\'t laugh at themselves leave the job to others.'
dailyinfo[29]='Always forgive your enemies - Nothing annoys them so much.'
dailyinfo[30]='It is no exaggeration to say that the undecided could go one way or another.'
dailyinfo[31]='Outside of a dog, a book is man\'s best friend. Inside of a dog, it\'s too dark to read. - Groucho Marx'

//if any one of the daily messages above should click through to a URL, specify them here:
//dailyinfolink[28]="http://dynamicdrive.com"
//dailyinfolink[29]="http://news.com"

var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()+1
if (month<10)
month="0"+month
var daym=mydate.getDate()

document.dailyinfo.cdate.value=month+"/"+daym+"/"+year
document.dailyinfo.dailycontent.value=dailyinfo[daym]

function moreinfo(){
if (dailyinfolink[daym])
window.location=dailyinfolink[daym]
else
alert("No additional information available for this news piece")
}
