window.onload = function() {
var flash=true;
var delay = 1000;
setInterval(function() {
var now = new Date();
var theHour = now.getHours();
var theMin = now.getMinutes();
var clockDisp = " " + ((theHour < 10) ? " " : "") + theHour;
clockDisp += ((flash == true) ? ":" : " ");
clockDisp += ((theMin <10) ? "0" : "") + theMin;
document.getElementById("clock").innerHTML = clockDisp;
flash = !flash;
}, delay);
};
window.onload = function() {
var flash=true;
var delay = 1000;
setInterval(function() {
var now = new Date();
var theHour = now.getHours();
var theMin = now.getMinutes();
var clockDisp = " " + ((theHour <10) ? " " : "") + theHour;
clockDisp += ((flash == true) ? ":" : ";");
clockDisp += ((theMin <10) ? "0" : "") + theMin;
document.getElementById("clock").innerHTML = clockDisp;
flash = !flash;
}, delay);
};