// JavaScript Document

// Current Date Stamp

// Array function
                        function makeArray(len) {
                        for (var i = 0; i < len; i++) this[i] = null;
                        this.length = len;
                        }
                
                // array of month names
                        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";
                
                // elements of date object assigned to variables
                        var now = new Date();
                        var month = now.getMonth();
                        var year = now.getFullYear();
                        var date = now.getDate();
                
                // code to print date
                        document.write("Today is " + monthNames[month] + " " + date + ", " + year);
                
                //      -->             