当月を選択しリストの最初に表示する      
Sample
ソース
<HTML>
<BODY>

<SCRIPT LANGUAGE="JavaScript">
<!--
var time = new Date();
var month = time.getMonth();
var date = month - 12;
var realMonth = month;
var future = month;
month = month + 1;
document.writeln ("<FORM><SELECT>");
do {
  month = date;
  if (month >= 12) {
    month = month - 12;
  }
  if (month < 0) {
    month = month + 12;
  }
  date++;
  var dateName ="";
  switch (month) {
  case 0:
    dateName = " 1月";
    break;
  case 1:
    dateName = " 2月";
    break;
  case 2:
    dateName = " 3月";
    break;
  case 3:
    dateName = " 4月";
    break;
  case 4:
    dateName = " 5月";
    break;
  case 5:
    dateName = " 6月";
    break;
  case 6:
    dateName = " 7月";
    break;
  case 7:
    dateName = " 8月";
    break;
  case 8:
    dateName = " 9月";
    break;
  case 9:
    dateName = "10月";
    break;
  case 10:
    dateName = "11月";
    break;
  case 11:
    dateName = "12月";
    break
  }
  month++;
  realMonth++;
  document.write ("<OPTION value=\"" + realMonth + "\">" + dateName + "");
  realMonth++;
}
while (date < future) document.write ("</SELECT></FORM>");
//-->
</SCRIPT>

</BODY>
</HTML>
ワンポイント解説
dateName が、リストに表示される文字列です。