days=new Array("日","月","火","水","木","金","土");
function disp(){
   today=new Date();
   month=today.getMonth()+1;
   date=today.getDate();
   h=today.getHours();
   m=today.getMinutes();
   s=today.getSeconds();
   k=days[today.getDay()];
   msg=month+"月"+date+"日"+"("+k+")"+h+"時"+m+"分"+s+"秒";
   text1.value=msg;
}
function start(){
   tm1=setInterval("disp()",1000);
}
