pX=200;pY=150
obs  =  new  Array(10)
function  ob  ()  {
for  (i=0;  i<10;  i++)  {
 if  (document.all)  obs[i]=new  Array  (eval('ob'+i).style,-100,-100)
 else  obs[i]  =  new  Array  (eval('document.getElementById("ob'+i+'")').style,-100,-100)
 }
}
function  cl(a,b,c){
 if  (document.all)  {
  if  (a!=0)  b+=-1
  eval('document.getElementById("c'+a+'").style.pixelTop='+(pY+(c)))
  eval('document.getElementById("c'+a+'").style.pixelLeft='+(pX+(b)))
  }
else{
 if  (a!=0)  b+=10
 eval('document.getElementById("c'+a+'").style.top='+(pY+(c)))
 eval('document.getElementById("c'+a+'").style.left='+(pX+(b)))
}
if  (document.all)  document.getElementById("c0").style.pixelLeft=26
}
function  runClock()  {
 for  (i=0;  i<10;  i++)  {
  obs[i][0].left=obs[i][1]+pX
  obs[i][0].top=obs[i][2]+pY
 }
}
var  lastsec
function  timer()  {

 time  =  new  Date  ()
 sec  =  time.getSeconds()
 if  (sec!=lastsec)  {
  lastsec  =  sec
  sec=Math.PI*sec/30
  min=Math.PI*time.getMinutes()/30
  hr  =Math.PI*((time.getHours()*60)+time.getMinutes())/360
  for  (i=1;i<5;i++)  {
   obs[i][1]  =  Math.sin(sec)  *  (27  -  (i-1)*9)-5;
   if  (document.layers)obs[i][1]+=10;
   obs[i][2]  =  -Math.cos(sec)  *  (27  -  (i-1)*9)-10;
  }
  for  (i=5;i<8;i++)  {
   obs[i][1]  =  Math.sin(min)  *  (21  -  (i-5)*7)-5;
   if  (document.layers)obs[i][1]+=10;
   obs[i][2]  =  -Math.cos(min)  *  (21  -  (i-5)*7)-10;
  }
  for  (i=8;i<10;i++)  {
   obs[i][1]  =  Math.sin(hr)  *  (18  -  (i-8)*9)-5;
   if  (document.layers)obs[i][1]+=10;
   obs[i][2]  =  -Math.cos(hr)  *  (18  -  (i-8)*9)-10;
  }
 }
}
function  setNum(){
cl  (0,-67,-65);
cl  (1,7,-34);
cl  (2,18,-22);
cl  (3,24,-5);
cl  (4,18,11);
cl  (5,7,24);
cl  (6,-10,28);
cl  (7,-26,24);
cl  (8,-37,11);
cl  (9,-41,-5);
cl  (10,-38,-22);
cl  (11,-26,-34);
cl  (12,-11,-37);
}
//-->
