var c=(e=document.getElementById('c')).getContext('2d'),w=e.width,h=e.height,r=Math.min(w,h)*.4,p=Math.PI,q=p/30,b="#000",d="#e00";A();
function A(){c.clearRect(0,0,w,h);S();c.translate(w/2,h/2);S();T();B(b);c.lineWidth=r*.07;c.arc(0,0,r*1.1,0,2*p,1);c.stroke();R();
for(i=0;i<60;i++){S();c.rotate(i*q);(i%5)?P(.013,-1,.013,-.92,b):P(.035,-1,.035,-.75,b);R()}
t=new Date();m=t.getMinutes();S();c.rotate(t.getHours()*q*5+m*q/12);T();P(.05,-.6,.05,.26,b);R();S();c.rotate(m*q);T();P(.035,-.93,.05,.25,b);R();
S();c.rotate(Math.min((t.getSeconds()+t.getMilliseconds()/1000)*1.02,60)*q);T();P(.018,-.6,.024,.35,d);B(d);c.arc(0,-r*.64,r*.1,0,2*p,1);c.fill();R();R();window.setTimeout('A()',50)}
function S(){c.save()}function R(){c.restore()}
function T(){c.shadowColor="rgba(0,0,0,.3)";c.shadowOffsetX=c.shadowOffsetY=c.shadowBlur=r*.035}
function P(u,v,x,y,z){B(z);c.moveTo(r*u,r*v);L(-u,v);L(-x,y);L(x,y);L(u,v);c.fill()}
function L(x,y){c.lineTo(r*x,r*y)}function B(z){c.beginPath();c.strokeStyle=c.fillStyle=z;}
dmFyIGM9KGU9ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2MnKSkuZ2V0Q29udGV4dCgnMmQnKSx3PWUud2lkdGgsaD1lLmhlaWdodCxyPU1hdGgubWluKHcsaCkqLjQscD1NYXRoLlBJLHE9cC8zMCxiPSIjMDAwIixkPSIjZTAwIjtBKCk7DQpmdW5jdGlvbiBBKCl7Yy5jbGVhclJlY3QoMCwwLHcsaCk7UygpO2MudHJhbnNsYXRlKHcvMixoLzIpO1MoKTtUKCk7QihiKTtjLmxpbmVXaWR0aD1yKi4wNztjLmFyYygwLDAscioxLjEsMCwyKnAsMSk7Yy5zdHJva2UoKTtSKCk7DQpmb3IoaT0wO2k8NjA7aSsrK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