function makeMonthArray() {
    this.length=12;
    this[1]  = "January";  this[2]  = "February"; this[3]  = "March";
    this[4]  = "April"; this[5]  = "May";  this[6]  = "June";
    this[7]  = "July";  this[8]  = "August"; this[9]  = "September";
    this[10] = "October";  this[11] = "November"; this[12] = "December";
    return this;
}

function _getFullYear() {
    var y = this.getYear();
    if (y < 1000) y += 1900;
    return y;
}

// Write a date "Day., Month DD, YYYY"
function writeDate() {
    now = new Date();
    if (!now.getFullYear) now.getFullYear = _getFullYear;
    monthName = new makeMonthArray();

    document.write (monthName[now.getMonth() + 1] + " " + now.getDate() + ", " + now.getFullYear());
}


