function displaydate()
	{
		<!-- Begin
		d = new Array(
		"Sunday",
		"Monday",
		"Tuesday",
		"Wednesday",
		"Thursday",
		"Friday",
		"Saturday"
		);
		m = new Array(
		"January",
		"February",
		"March",
		"April",
		"May",
		"June",
		"July",
		"August",
		"September",
		"October",
		"November",
		"December"
		);
		
		today = new Date();
		day = today.getDate();
		year = today.getYear();
		
		if (year < 2000)   
		year = year + 1900; 
		
		end = "th";
		if (day==1 || day==21 || day==31) end="st";
		if (day==2 || day==22) end="nd";
		if (day==3 || day==23) end="rd";
		day+=end;
		document.write(d[today.getDay()]+", "+m[today.getMonth()]+" ");
		document.write(day+", " + year);
		// End -->
	}
function writeMsg()
	{
		theDate= new Date();
		var day = theDate.getDate();
				
		var numquotes = 31;
		quotes = new Array(numquotes+1);
		quotes[1] = "Just remember, it'll probably be worse tomorrow.";
		quotes[2] = "You could be enjoying yourself instead of reading this page.";
		quotes[3] = "Things are worse than you think, you just haven't noticed yet.";
		quotes[4] = "Sometimes love means letting go.  Then there is OJ.";
		quotes[5] = "If your ship doesn't come in, then it probably sank.";
		quotes[6] = "This could be the last day of your miserable life.";
		quotes[7] = "Yes, it really is that bad.";
		quotes[8] = "Opportunity is not where you are. Not even close.";
		quotes[9] = "There's an opportunity on every corner, just not your corner.";
		quotes[10] = "Shit happens, then you die.";
		quotes[11] = "You're gonna die.";
		quotes[12] = "Shoot first, ask questions later.";
		quotes[13] = "All you need is love and money to pay off that credit card debt.";
		quotes[14] = "If it's broke don't fix it, you can sue.";
		quotes[15] = "The time is not now, keep procrastinating.";
		quotes[16] = "In the middle of difficulty lies more difficulty.";
		quotes[17] = "If anything can't go wrong, it will.";
		quotes[18] = "If at first you do succeed -- get out of my sight!";
		quotes[19] = "When the smoke alarm goes off, dinner is served.";
		quotes[20] = "Obviously crime pays, or there'd be no crime.";
		quotes[21] = "He who laughs last .. thinks slowest.";
		quotes[22] = "Happiness is made to be shared, just not with you.";
		quotes[23] = "When the outlook is poor, it will probably get worse.";
		quotes[24] = "Don't worry, you'll be dead someday.";
		quotes[25] = "This is your slum - keep it clean.";
		quotes[26] = "Most of the time less is still less.";
		quotes[27] = "Ability may take you to the top, but it takes lots of bribes to stay there";
		quotes[28] = "It takes a long time to understand nothing, so keep trying.";
		quotes[29] = "If you work at a Dot Com, kiss your job goodbye.";
		quotes[30] = "If you don't take the time to do it right, probably no one will notice.";
		quotes[31] = "End of the month, have you had your severance today?";

		document.write(quotes[day]);
	}

