// Clock Part 1 - Put Anywhere Before Part 2
//
// Clock Script Generated By Maxx Blade's Clock v2.0
// http://www.maxxblade.co.uk/clock
// modified by	Mr.Spock/Rolf Thomassen , aspnuke(a)gmail.com
//				C. Lopes, webmaster.Spam@Spam.numisnet.tk
// modified again by Mythril/Johan Ho, mythril.Spam@Spam.start.no
//		(changed the script to Java Script to support Opera)
function MakeArrayday(size) {
this.length = size;
for(var i = 1; i <= size; i++) {
this[i] = "";
}
return this;
}
function MakeArraymonth(size) {
this.length = size;
for(var i = 1; i <= size; i++) {
this[i] = "";
}
return this;
}
function funClock() {

var runTime = new Date();
var hours = runTime.getHours();
var minutes = runTime.getMinutes();
var seconds = runTime.getSeconds();
var dn = "AM";
if (hours >= 12) {
dn = "PM";
hours = hours - 12;
}
if (hours == 0) {
hours = 12;
}
if (minutes <= 9) {
minutes = "0" + minutes;
}
if (seconds <= 9) {
seconds = "0" + seconds;
}
movingtime = "<! b>"+ hours + ":" + minutes + ":" + seconds + " " + dn + "<! /b>";
document.getElementById('clock').innerHTML = movingtime;
setTimeout("funClock()", 1000)
}
window.onload = funClock;
// Clock Part 1 - Ends Here
