User:Sowa676/standard.js

 function Go { /* original by Tim Van Goethem, tim@uophetnet.com */ nu = new Date; hr = nu.getHours; min = nu.getMinutes; sec = nu.getSeconds; ext = ".gif"; if(hr<="9"){hr = "0" + hr;} else {hr = "" + hr;} if(min<="9"){min = "0" + min;} else {min = "" + min;} if(sec<="9"){sec = "0" + sec;} else {sec = "" + sec;} hrc = hr.substring(0,1); hrd = hr.substring(1,2); document.images.hra.src = "" + hrc + ext; document.images.hrb.src = "" + hrd + ext; minc = min.substring(0,1); mind = min.substring(1,2); document.images.mina.src = "" + minc + ext; document.images.minb.src = "" + mind + ext; secc = sec.substring(0,1); secd = sec.substring(1,2); document.images.seca.src = "" + secc + ext; document.images.secb.src = "" + secd + ext; setTimeout("Go", 20); }