var months = new Array(13);
months[1] = "January";
months[2] = "February";
months[3] = "March";
months[4] = "April";
months[5] = "May";
months[6] = "June";
months[7] = "July";
months[8] = "August";
months[9] = "September";
months[10] = "October";
months[11] = "November";
months[12] = "December";
var now = new Date();
var month = months[now.getMonth() + 1];
var date = now.getDate();
var year = now.getYear();
year = (year < 2000) ? year + 1900 : year;
document.write(month + " " + date + ", " + year);
