<!-- JustUs.ca Thanks To The JavaScript Source!! http://javascript.internet.com For the Basis of This Code-->

function syeClock() {
if (!document.layers && !document.all)
return;
DecTime = new Array;
timePortion = new Array;
maxLength = new Array;
var runTime = new Date();
timePortion[0] = runTime.getHours();
timePortion[1] = runTime.getMinutes();
timePortion[2] = runTime.getSeconds();
var hoursBackground = "#FFFFFF";
var minutesBackground = "#FFFFFF";
var secondsBackground = "#FFFFFF";
var colonBackground = "#FFFFFF";
var textColor = "#000080";
		
if (timePortion[0] <10) {
	DecTime[0] = "0" + timePortion[0];
	}
else {
	DecTime[0] = timePortion[0];
	}	

if (timePortion[1] <10) {
	DecTime[1] = "0" + timePortion[1];
	}
else {
	DecTime[1] = timePortion[1];
	}	

if (timePortion[2] <10) {
	DecTime[2] = "0" + timePortion[2];
	}
else {
	DecTime[2] = timePortion[2];
	}	
		
movingtime = '<table border="0" cellpadding="0" cellspacing="0"><tr><td bgcolor='+ hoursBackground  +'><font size ="6" color='+ textColor +'>' + DecTime[0] + '</font></td><td bgcolor='+ colonBackground +'><font size="6">&nbsp;:&nbsp;</font></td><td bgcolor='+ minutesBackground +'><font size="6" color='+ textColor +'>' + DecTime[1] + '</font></td><td bgcolor='+ colonBackground +'><font size="6">&nbsp;:&nbsp;</font></td><td bgcolor='+ secondsBackground +'><font size="6" color='+ textColor +'>' + DecTime[2] + '</font></td></tr></table>';

if (document.layers) {
document.layers.clock.document.write(movingtime);
document.layers.clock.document.close();
}
else if (document.all) {
clock.innerHTML = movingtime;
}
setTimeout("syeClock()", 1000)
}
window.onload = syeClock;
