//datefunction makeArray(n){    this.length = n;    for (i=1;i<=n;i++){        this[i]=0;    }    return this;}function displayDate(){    var this_month = new makeArray(12);    this_month[0]  = "JAN";    this_month[1]  = "FEB";    this_month[2]  = "MAR";    this_month[3]  = "APR";    this_month[4]  = "MAY";    this_month[5]  = "JUN";    this_month[6]  = "JUL";    this_month[7]  = "AUG";    this_month[8]  = "SEP";    this_month[9]  = "OCT";    this_month[10] = "NOV";    this_month[11] = "DEC";    var today = new Date();    var day   = today.getDate();    var month = today.getMonth();    var year  = today.getYear();    if (year < 1900){        year += 1900;    }    return(day + " " + this_month[month]+" "+year);}document.write(displayDate());
