function Realtime(){
	Week = new Array("日","月","火","水","木","金","土");
	ND = new Date();
	Year  = ND.getFullYear();
	Month = ND.getMonth() + 1;
	Day   = ND.getDate();
	wDay  = ND.getDay();
	Hour  = ND.getHours();
	Min   = ND.getMinutes();
	Sec   = ND.getSeconds();
	if( Month < 10 ){ Month = "0"+Month }
	if( Day < 10 ){ Day = "0"+Day }
	if( Hour < 10 ){ Hour = "0"+Hour }
	if( Min < 10 ){ Min = "0"+Min }
	if( Sec < 10 ){ Sec = "0"+Sec }
	document.rtform.rtime.value = Year+"年"+Month+"月"+Day+"日"+"("+Week[wDay]+") "+Hour+"時"+Min+"分"+Sec+"秒";
	setTimeout("Realtime()",1000);
}
function ShowMsg(text){
	if( !document.getElementById ){ return; }
	var msgbox = document.getElementById("msgbox");
	msgbox.innerHTML = text;
}
