@
d
N{X[bI
<SCRIPT LANGUAGE="JavaScript">
<!--
// JavaScript̗KƂ?łȂƂȂJ??_[Ă݂:-)
function calendar()
{
var today,year,month,thisday,nDays;
today = new Date();
year = today.getYear() + 1900;
month = today.getMonth();
thisday = today.getDate();
if (month == 1) { // [N̂Q?
if ( ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0) ){
nDays = 29;
} else {
nDays = 28;
}
} else if ((month == 3)||(month == 5)||(month == 8)||(month == 10)){
nDays = 30;
} else {
nDays = 31;
}
firstDay = today;
firstDay.setDate(1);
startDay = firstDay.getDay();
document.write("<TABLE BORDER=2 bordercolor=#B0E0E6 CELLSPACING=0 CELLPADDING=1>");
document.write("<TR ALIGN=center>");
document.write("<TD><FONT SIZE=2 face=arial COLOR=\"#FF0000\">Sun</FONT>");
document.write("<TD><FONT SIZE=2 face=arial color=ffffff>Mon</FONT>");
document.write("<TD><FONT SIZE=2 face=arial color=ffffff>Tue</FONT>");
document.write("<TD><FONT SIZE=2 face=arial color=ffffff>Wed</FONT>");
document.write("<TD><FONT SIZE=2 face=arial color=ffffff>Thu</FONT>");
document.write("<TD><FONT SIZE=2 face=arial color=ffffff>Fri</FONT>");
document.write("<TD><FONT SIZE=2 COLOR=\"#B3EE3A\">Sat</FONT>");
document.write("<TR ALIGN=center>");
column = 0;
for (i=0; i<startDay; i++) {
document.write("<TD>");
column++;
}
for (i=1; i<=nDays; i++) {
document.write("<TD><FONT SIZE=2 color=ffffff>");
if (column == 0) document.write("<FONT COLOR=\"#FF0000\">");
if (column == 6) document.write("<FONT COLOR=\"#B3EE3A\">");
if (i == thisday) document.write("<B><U>");
document.write(i);
if (i == thisday) document.write("</U></B>");
if (column == 7||column == 0) document.write("</FONT>");
document.write("</FONT>");
column++;
if (column == 7) {
document.write("<TR ALIGN=center>");
column = 0;
}
}
document.write("</TABLE>");
}
//-->
</SCRIPT>
<CENTER>
<SCRIPT LANGUAGE="JavaScript">
<!--
day=new Date();
var WeekNames = "SunMonTueWedThuFriSat";
var w=day.getDay();
var h=day.getHours();
var m=day.getMonth()+1;
var ampm="AM";
if (h>12){ h-=12; ampm="PM"; }
document.write("<font color=#9BCD9B size=2 face=arial>ѬO "+day.getDate()+"/"+m+"/"+day.getYear()+
" (" + WeekNames.substring(w*3,w*3+3) +
"), {bɶ "+h+":"+day.getMinutes()+" ("+ampm+")");
// -->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
calendar();
</SCRIPT>