//Copyright timeanddate.com 2005-2010, do not use without permission
ptn0=ptns=ptn=0;pwds="";function ges(b){return Math.floor(b*0.0010)}
function init(){var b,g,c,e,a,d=[{n:"s2",f:1},{n:"m2",f:60},{n:"h2",f:3600},{n:"d2",f:86400},{n:"s1",f:1,m:60},{n:"m1",f:60,m:60},{n:"h1",f:3600,m:24},{n:"d1",f:86400}];lt0=0;if(typeof window.cks!=="undefined"){for(g in cks){c=cks[g];c.d1=gf(g);c.d2=gf(g+"a");c.pa="";if(c.g)if(b=cca(c.g)){c.s=b;c.d1.parentNode.insertBefore(b.e,c.d1)}if(b=c.c){var j={s:["second","seconds"],m:["minute","minutes"],h:["hour","hours"],d:["day","days"]};b.u1=gf(g+"_u1");b.u2=gf(g+"_u2");b.l=[];for(e=0;e<8;e++){c=d[e];a=
g+"_"+c.n;b.l[e]={f:c,n1:gf(a),n2:gf(a+"t"),u:j[c.n.charAt(0)]}}}}sync()}}function sync(b){var g,c=gx(),e,a,d;if(c){b=b?"&r="+b:"";e=dt();gp(c,"/worldclock/ts.php?ut="+e+"&cb="+Math.random()+b,function(){a=new Date;if(g=rs4(c)){d=(e+a.getTime())/2;srvadj=Math.floor(parseFloat(g)*1E3-d);upd();iH("ref","At time of loading, accuracy was within "+(Math.round(d-e)+100)/1E3+" seconds")}})}}function dsync(b){if(ptns++<40){b+="_"+ptns;window.setTimeout(function(){sync(b)},2500)}}
function rf(b,g,c,e){iH(b,g);setTimeout("location.reload()",Math.floor(1E3*(c+Math.random()*e)))}
function upd(){var b,g,c,e,a,d,j,l,f,q,k,o,n,p=[],m;m=dt()+srvadj;j=ptn;ptn=m;o=ges(m);if(o>et)rf("tz1","Will refresh in 10 seconds",10,0);else{if(j){j=m-j;if(ptn0>m){rf("tz1","Clock has gone backward - will refresh soon",7,0);return}if(j>3E4){dsync("f"+j);return}if(j<-25){dsync("b"+j);return}}else ptn0=m;if(o!=lt0){lt0=o;for(e in cks){k=cks[e];a=k.t;j=d="";for(f=0;f<a.length;f++){if(a[f].t>o)break;d=a[f].o;j=a[f].a;q=a[f].d;l=f}if(d!==""&&k.c){f=k.c;n=ges(f.t-m+999);if(n!=f.p){if(n<0&&f.p>=0){ih(f.u1,
"since");ih(f.u2,"since")}f.p=n;if(n<0)n=-n;a=f.l;for(f=0;f<a.length;f++){b=a[f];g=b.f;c=Math.floor(n/g.f);if(g.m)c%=g.m;if(c!==b.o){ih(b.n1,c);b.o=c;l=b.u[c!=1?1:0];if(l!==b.p){ih(b.n2,l);b.p=l}}}}}if(d!==""&&k.d1){f=new Date((o+d)*1E3);ih(k.d1,k.f(f));if(e.charAt(0)=="p"){d=(Math.floor((o+d)/86400)+4)%7;p[d]=(p[d]||0)+1;if(dsts){iH(e+"as",q?" *":"");p[7]=(p[7]||0)+(q||0)}}k.s&&dca(k.s,f);if(k.pa!=j&&k.d2){k.pa=j;ih(k.d2,j)}if(k.d){l>0&&rf("tz1","Page will be refreshed soon",30,300);l=f.getUTCDate();
if(k.d!=l){rf("da1","Page will be refreshed soon",10,150);iH("da2","Page will be refreshed soon");k.d=l}}}}}if(window.updwds&&p.length){e=p.join(",");if(e!=pwds){pwds=e;for(d=0;d<8;d++){l=p[d]||0;if(f=gf("smwd"+d)){sd(f,l?1:0);iH("smwi"+d,updwds(l))}}}}m=(new Date).getTime()+srvadj;setTimeout(upd,1E3-m%1E3)}}
function ofs(b,g){var c=0,e,a,d=window,j="directories=no,location=no,menubar=no,resizable=yes,scrollbars=no,status=no,toolbar=no";if(a=d.screen){c=a.availHeight-30;e=a.availWidth-10}if(g){j+=",left=0,screenX=0,top=0,screenY=0,fullscreen=yes";if(c)j+=",height="+c+",innerHeight="+c+",width="+e+",innerWidth="+e}else j+=",height=180,width=320";if(d.open(b.href,"_blank",j))return false;alert("Could not open the popup-window, maybe there is a poupup-blocker installed");if(g&&c){d.moveTo(0,0);d.resizeTo(e,
c)}return true}function cca(b){if((b=document.createElement("canvas"))&&b.getContext){b.setAttribute("width",56);b.setAttribute("height",56);b.setAttribute("class","fr");return{e:b,c:b.getContext("2d")}}}
function dca(b,g){function c(j,l,f,q,k){a.save();a.lineWidth=j;if(k)a.strokeStyle=k;a.rotate(l*d/30);a.beginPath();a.moveTo(-f,0);a.lineTo(q,0);a.stroke();a.restore()}var e,a=b.c,d=Math.PI;a.save();a.clearRect(0,0,56,56);a.translate(28,28);a.rotate(-d/2);a.lineCap="round";a.fillStyle="#e1ead6";a.lineWidth=2;a.beginPath();a.arc(0,0,27,0,d*2,true);a.fill();a.strokeStyle="#84A558";a.stroke();a.strokeStyle="#84A558";for(i=0;i<60;i+=5){a.beginPath();a.lineWidth=i%15?2:4;a.moveTo(26,0);a.lineTo(22,0);a.stroke();
a.rotate(d/6)}b=ges(g.getTime()%864E5);g=b%60;e=b/60%60;h=b/720;c(1,g,8,25,"#2F6CD2");c(2,h,4,12,"#000");c(1.5,e,4,24,"#000");a.restore()};

