function SetNameArray(item) { this.length = item return this } //SET MONTH AND WEEKDAY NAME ARRAYS Month = new SetNameArray(12) Month[1] = "January" Month[2] = "February" Month[3] = "March" Month[4] = "April" Month[5] = "May" Month[6] = "June" Month[7] = "July" Month[8] = "August" Month[9] = "September" Month[10] = "October" Month[11] = "November" Month[12] = "December" WeekDay = new SetNameArray(7) WeekDay[1] = "Sunday" WeekDay[2] = "Monday" WeekDay[3] = "Tuesday" WeekDay[4] = "Wednesday" WeekDay[5] = "Thursday" WeekDay[6] = "Friday" WeekDay[7] = "Saturday" //CALC THE DATE INFORMATION function TodaysDate(theDate) { var theWeekDay = WeekDay[theDate.getDay() + 1] var theMonth = Month[theDate.getMonth() + 1] var theYear = theDate.getYear() return " " + theWeekDay + ", " + theMonth + " " + theDate.getDate() + ", " + theYear }