var daysLength;
daysLength = days.length;
for (intLoop = 0; intLoop < daysLength; intLoop++)
document.write("<TD class=calendarTd id=diary align='center'>" + days[intLoop] + "</TD>");
daysLength = days.length;
for (intLoop = 0; intLoop < daysLength; intLoop++)
document.write("<TD class=calendarTd id=diary align='center'>" + days[intLoop] + "</TD>");
{document.write("<TD class=calendarTd id=diary align='center'"
if(intLoop%2==1)
{document.write("bgcolor='#ffffff'");}
else
{document.write("bgcolor='#ffff00'");} {document.write(">" + days[intLoop] + "</TD>");
}