<!--


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;
}

// Get around possible lack of Array() operator
function makeDayArray() {
    this.length=7;
    this[1] = "Sun."; this[2] = "Mon.";   this[3] = "Tues.";
    this[4] = "Wed."; this[5] = "Thurs."; this[6] = "Fri.";
    this[7] = "Sat.";
    return this;
}


function _getFullYear() {
    var y = this.getYear();
    if (y < 1000) y += 1900;
    return y;
}

function writeDate() {
    now = new Date();
    if (!now.getFullYear) now.getFullYear = _getFullYear;
    monthName = new makeMonthArray(); dayName = new makeDayArray();

    document.write (dayName[now.getDay() + 1] + ", " + monthName[now.getMonth() + 1] + " " + now.getDate() + ", " + now.getFullYear());
}

//->

