currentDate = new Date();
currentMonth = currentDate.getMonth() + 1;
if(currentMonth==1) Month="January";
if(currentMonth==2) Month="February";
if(currentMonth==3) Month="March";
if(currentMonth==4) Month="April";
if(currentMonth==5) Month="May";
if(currentMonth==6) Month="June";            
if(currentMonth==7) Month="July";
if(currentMonth==8) Month="August";
if(currentMonth==9) Month="September";
if(currentMonth==10) Month="October";
if(currentMonth==11) Month="November";
if(currentMonth==12) Month="December";               
with (currentDate) {document.write(Month + " ");}
// Displays the day.
currentDate = new Date();
with (currentDate) {document.write(getDate() + ", ")};
// Netscape problem to display year 2000 and above
currentDate = new Date();
currentYear = currentDate.getYear();
if ((currentYear==100) || (currentYear==2000)) Year="2000";
if ((currentYear==101) || (currentYear==2001)) Year="2001";
if((currentYear==102) || (currentYear==2002)) Year="2002";
if((currentYear==103) || (currentYear==2003)) Year="2003";
if((currentYear==104) || (currentYear==2004)) Year="2004";
// Displays the year.
with (currentDate) {document.write(Year)};

