Here is the code in question:
var theDate = new Date();
for (monthCounter = 0; monthCounter < 12; monthCounter++)
theMonth = theDate.toString();
theMonth = theMonth.substr(4, 3);
document.write("<option value=" + theMonth + ">" + theMonth);
Thank you in advance for the help.