function write_date()
{
	var ntime=new Date();
	var nday=ntime.getDay();
	var nmonth=ntime.getMonth();
	var ntoday=ntime.getDate();
	var nyear=ntime.getYear() % 100;

	if (nday==0) nday="Sunday"; if (nday==1) nday="Monday";
	if (nday==2) nday="Tuesday"; if (nday==3) nday="Wednesday";
	if (nday==4) nday="Thursday"; if (nday==5) nday="Friday";
	if (nday==6) nday="Saturday";

	if (nmonth==0) nmonth="January"; if (nmonth==1) nmonth="February";
	if (nmonth==2) nmonth="March"; if (nmonth==3) nmonth="April";
	if (nmonth==4) nmonth="May"; if (nmonth==5) nmonth="June";
	if (nmonth==6) nmonth="July"; if (nmonth==7) nmonth="August";
	if (nmonth==8) nmonth="September"; if (nmonth==9) nmonth="October";
	if (nmonth==10) nmonth="November"; if (nmonth==11) nmonth="December";

	document.write("<font face=Arial,Helvetica,sans-serif color=white size=3>"+nday+", "+ntoday+" "+nmonth+" 20"+nyear+"...</font> ");
}

function write_quote()
{
	var ntime=new Date();
	var quo=ntime.getMinutes();
	var quote="Rose for the lady?";
	if (quo==1) quote="Black pepper sir?";	if (quo==2) quote="Chops is as Chops does.";
	if (quo==3) quote="I don't make the rules up, do I?";	if (quo==4) quote="No ticket, No coat!";
	if (quo==5) quote="Sorted, Respect due";	if (quo==6) quote="Mmm PRECIOUS!";
	if (quo==7) quote="Will you the pork or would you the lamb?";	if (quo==8) quote="When come back, Bring Pie!";
	if (quo==9) quote="The power of suggestion!";	if (quo==10) quote="Top Bombing!";
	if (quo==11) quote="Bad Boy, Dirty Boy in your BED!";	if (quo==12) quote="Bowl.. Mole.. Fole.. GOAL!";
	if (quo==13) quote="Oh Mr Lemon, why your juices so sharp?";	if (quo==14) quote="Are you the bozz-bozz?";
	if (quo==15) quote="Right, what's the trouble?";	if (quo==16) quote="Truth, if truth be need be";
	if (quo==17) quote="Welcome back and shut up!";	if (quo==18) quote="Hello You!";	if (quo==19) quote="Why do they stare?";
	if (quo==20) quote="Ave it!"; if (quo==21) quote="Garlic... Bread?";
	if (quo==22) quote="Its Niiice!"; if (quo==23) quote="... And the Fetzons?"; if (quo==24) quote="... And the Gatskins?";
	if (quo==25) quote="It's the future!"; if (quo==26) quote="All your kliks are belong to us.";
	if (quo==27) quote="Get Peanuts, Trap Monkeys."; if (quo==28) quote="It's Darts."; if (quo==29) quote="Can he fix it?";
	if (quo==30) quote="K PLS TNX"; if (quo==31) quote="Sneek To Bun!"; if (quo==32) quote="Maagic!";
	if (quo==33) quote="Where For To Klik?"; if (quo==34) quote="Not Ntrl!"; if (quo==35) quote="Boof N' Baff N' Biff!";
	if (quo==36) quote="R0ar!"; if (quo==37) quote="TiMMaaaYY!"; if (quo==38) quote="No! Kity!"; if (quo==39) quote="Bad! Kity!";
	if (quo==40) quote="Fly, you fools!"; if (quo==41) quote="I have a gub!"; if (quo==42) quote="Take the money and run!"; 
	if (quo==43) quote="What's your name? What've you had?"; if (quo==44) quote=">>==~~"; if (quo==45) quote="Happy Now?";
	if (quo==46) quote="Keep Away From The Man With The Funny Eye!"; if (quo==47) quote="Get Bent!";
	if (quo==48) quote="Eat Them Up, Yum Yum!"; if (quo==49) quote="Rump Disciples"; if (quo==50) quote="Zoinks!";
	if (quo==51) quote="WARNING: The Plate is HOT!"; if (quo==52) quote="SORRY: Parade Canceled!";
	if (quo==53) quote="Shoes, Cakes & Novelty Cake-shaped Shoes!"; if (quo==54) quote="Cakes, Shoes & Novelty Shoe-shaped Cakes!";
	if (quo==55) quote="No, Kitty! This is my pot pie!"; if (quo==56) quote="Today Only: Chops & Mash!";
	if (quo==57) quote="Keep away from the flats!"; if (quo==58) quote="You greedy man!";
	if (quo==59) quote="You haven't learnt a thing have you?";
	document.write(" "+quote);
}


function write_icon()
{
	var time = new Date();
	var ricon = ((time.getMinutes() * 2) + time.getHours()) % 80;
	document.write("<IMG SRC=images/day/"+ricon+".gif border=0></a><br>");
}

