function do_date() {
	var now = new Date();
	var month = now.getMonth();
	var date = now.getDate();
	var year = now.getYear();
	var monthname;
	   if (month == 0) monthname = "January";
	   if (month == 1) monthname = "February";
	   if (month == 2) monthname = "March";
	   if (month == 3) monthname = "April";
	   if (month == 4) monthname = "May";
	   if (month == 5) monthname = "June";
	   if (month == 6) monthname = "July";
	   if (month == 7) monthname = "August";
	   if (month == 8) monthname = "September";
	   if (month == 9) monthname = "October";
	   if (month == 10) monthname = "November";
	   if (month == 11) monthname = "December";
	var yearname;

	   if (year == 2000) yearname = "2000";
	   if (year == 2001) yearname = "2001";
	   if (year == 2002) yearname = "2002";
	   if (year == 2003) yearname = "2003";
	   if (year == 2004) yearname = "2004";
	   if (year == 2005) yearname = "2005";
	   if (year == 2006) yearname = "2006";
	   if (year == 2007) yearname = "2007";


	   /* Netscape "Y2K Bug" Netscape Handles the year 2000
	   as 100 do not remove, or date will be displayed as undefined

	   */
	   if (year == 100) yearname = "2000";
	   if (year == 101) yearname = "2001";
	   if (year == 102) yearname = "2002";
	   if (year == 103) yearname = "2003";
	   if (year == 104) yearname = "2004";
	   if (year == 105) yearname = "2005";
	   if (year == 106) yearname = "2006";
	   if (year == 107) yearname = "2007";

	   //End Netscape Fix


	document.write('<font color="#FFFF66" size=1>');
	document.write(monthname+ " " +date+ ", " +yearname);
	document.write('</font>');
}

function makeMonthArray() {

        this.length=12;
        this[1] = "Jan.", this[2] = "Feb."; this[3] = "March";
        this[4] = "April", this[5] = "May"; this[6] = "June";
        this[7] = "July", this[8] = "Aug."; this[9] = "Sept.";
        this[10] = "Oct.", this[11] = "Nov."; this[12] = "Dec.";
        return(this);

}

function makeDayArray() {

        this.length=7;
        this[1] = "Sunday", this[2] = "Monday"; this[3] = "Tuesday";
        this[4] = "Wednesday", this[5] = "Thursday"; this[6] = "Friday";
        this[7] = "Saturday";
        return(this);

}

function writeDate() {

        attdate = new Date();
        monthName = new makeMonthArray();
        dayName = new makeDayArray();
        day = attdate.getDay() + 1;
        date = attdate.getDate();
        month = attdate.getMonth() + 1;
        year = attdate.getYear();
        if (90 <= year && year < 2000) {
                year = "19" + year;
        }
        dateStr  = dayName[day];
        dateStr += ", ";
        dateStr += monthName[month];
        dateStr += " ";
        dateStr += date;
        dateStr += ", ";
        dateStr += year;

        document.write(dateStr);

}
