w=["(日)","(月)","(火)","(水)","(木)","(金)","(土)"];
 function Clock() {
 a=new Date();
 y=a.getFullYear();
 m=a.getMonth()+1;
 d=a.getDate();
 yb=w[a.getDay()];
 h= a.getHours();
 mi=a.getMinutes();
 if(mi<=9) mi="0"+mi;
 s=a.getSeconds();
 s1=s;
 if(s<=9) s="0"+s;
 document.getElementById("Hyoji").firstChild.nodeValue=y+"年"+m+"月"+d+"日"+yb+"　"+h+"時"+mi+"分"+s+"秒現在";
 if ((s1%10)==0) document.getElementById("Ten").innerHTML="";
 if ((s1%10)==0) {a = document.createTextNode("")}
 else {a = document.createTextNode("■")}
 document.getElementById("Ten").appendChild(a)}