<!-- this is here to hide the code from sucky browsers

function makeArray(len)

{       

        for (var i = 0; i < len; i++) this[i] = null;

        this.length = len;

}

var     dayNames = new makeArray(7);

        dayNames[0] = "Sunday";

        dayNames[1] = "Monday";

        dayNames[2] = "Tuesday";

        dayNames[3] = "Wednesday";

        dayNames[4] = "Thursday";

        dayNames[5] = "Friday";

        dayNames[6] = "Saturday";

var monthNames = new makeArray(12);

        monthNames[0] = "January";

        monthNames[1] = "February";

        monthNames[2] = "March";

        monthNames[3] = "April";

        monthNames[4] = "May";

        monthNames[5] = "June";

        monthNames[6] = "July";

        monthNames[7] = "August";

        monthNames[8] = "September";

        monthNames[9] = "October";

        monthNames[10] = "November";

        monthNames[11] = "December";

var now = new Date();

var day = now.getDay();

var month = now.getMonth();

var year = now.getFullYear();

var date = now.getDate();

// Check for a two digit year code

if (year < 100)

{

        // Fix two digit year codes up to 2036 (I hope that all computer systems by then will use a four digit date code)

        if (year <= 36)

        {

                // Add three digits to the year displayed for years up to 2009

                if (year < 10)

                {

                        document.write(dayNames[day] + ", " + monthNames[month] + "  " + date + ", 200" + year);

                }

                else

                {

                        document.write(dayNames[day] + ", " + monthNames[month] + "  " + date + ", 20" + year);

                }

        }

        else

        {

                document.write(dayNames[day] + ", " + monthNames[month] + "  " + date + ", 19" + year);

        }

}

else if (year >= 2000)

{

        document.write(dayNames[day] + ", " + monthNames[month] + "  " + date + ", " + year);

}

else

{

        document.write(dayNames[day] + ", " + monthNames[month] + "  " + date + ", *** DATE INVALID ***");

}

// -->
