";
htmlAll+="
";
/// Month
htmloMonth="";
/// Year
htmloYear="
";
/// Day
htmloDayTable="";
htmloDayTable+="";
for(i=0;i<=6;i++)
{
if(i==0)
htmloDayTable+="";
else
htmloDayTable+="";
for(j=0;j<7;j++)
{
if(i==0)
{
htmloDayTable+=""
}
else
{
htmloDayTable+=""
}
}
htmloDayTable+="";
}
htmloDayTable+="
|
| ";
htmloDayTable+=this.weekDaySting[j]+" | ";
htmloDayTable+=" |
";
/// Today Button
htmloButton="
"
htmloButton+=" "
htmloButton+=" "
htmloButton+="
"
/// All
htmlAll=htmlAll+htmloMonth+htmloYear+htmloDayTable+htmloButton+"
";
document.write(htmlAll);
this.Fill();
}
function CalendarFill() ///
{
var sMonth,sYear,sWeekDay,sToday,oTable,currRow,MaxDay,sDaySn,sIndex,rowIndex,cellIndex,oSelectMonth,oSelectYear
sMonth=this.currDate.getMonth();
sYear=this.currDate.getYear();
sWeekDay=(new Date(sYear,sMonth,1)).getDay();
sToday=this.currDate.getDate();
oTable=document.all[this.sTABLEID];
currRow=oTable.rows[1];
MaxDay=CalendarGetMaxDay(sYear,sMonth);
oSelectMonth=document.all[this.sMONTHID]
oSelectMonth.selectedIndex=sMonth;
oSelectYear=document.all[this.sYEARID]
for(i=0;i