"); document.write("
" + month + " "+ year+ "
"); document.write("
") for (i = 1; i < iday +1; i++) { day = i; theday = thenx.getDay() + i; if (theday >7 ){ theday = theday % 7} if (0 == theday){ theday = 7} document.write("
" + weekday[theday] + ", " + month + " " + day + ", " + year + "
"); } document.write("
"); document.write(