// 2003.02.01　時間表示
// 　　　　　　本日の日付表示

timeID = 10;	//　割り込みタイマ用
now = new Date();

function formClock()
{
	now = new Date();
	document.formMyClock.myClock.value=now.getHours()+"時"+now.getMinutes()+"分"+now.getSeconds()+"秒";
	clearTimeout(timeID);
	timeID = setTimeout('formClock()',1000);
}
function getToday() {
	var y0 = "日";
	var y1 = "月";
	var y2 = "火";
	var y3 = "水";
	var y4 = "木";
	var y5 = "金";
	var y6 = "土";
	document.write( now.getMonth()+1,"月" );
	document.write( now.getDate(),"日 " ); 
	if ( now.getDay() == 0 ) { document.write( "(",y0.fontcolor("#ff0000"),")" ) } 
	if ( now.getDay() == 1 ) { document.write( "(",y1,")" ) } 
	if ( now.getDay() == 2 ) { document.write( "(",y2,")" ) } 
	if ( now.getDay() == 3 ) { document.write( "(",y3,")" ) } 
	if ( now.getDay() == 4 ) { document.write( "(",y4,")" ) } 
	if ( now.getDay() == 5 ) { document.write( "(",y5,")" ) } 
	if ( now.getDay() == 6 ) { document.write( "(",y6.fontcolor("#000099"),")" ) } 
}

function todayMessage() {
	Num = now.getDate() ;
	document.write( saikoro[ Num ][ 0 ] );

}

