// JavaScript Document
function showFilled(Value) {
  return (Value > 9) ? "" + Value : "0" + Value;
}
function StartClock24() {
  TheTime = new Date;
  document.clock.showTime.value = showFilled(TheTime.getHours()) + ":" + showFilled(TheTime.getMinutes()) + ":" + showFilled(TheTime.getSeconds()) + " " + "WIB";
  setTimeout("StartClock24()",1000)
}

<!--
function MakeArray(n) {
	this.length = n
	return this
}
monthNames = new MakeArray(12)
monthNames[1] = "Januari"
monthNames[2] = "Februari"
monthNames[3] = "Maret"
monthNames[4] = "April"
monthNames[5] = "Mei"
monthNames[6] = "Juni"
monthNames[7] = "Juli"
monthNames[8] = "Agustus"
monthNames[9] = "September"
monthNames[10] = "Oktober"
monthNames[11] = "November"
monthNames[12] = "Desember"
dayNames = new MakeArray(7)
dayNames[1] = "Minggu"
dayNames[2] = "Senin"
dayNames[3] = "Selasa"
dayNames[4] = "Rabu"
dayNames[5] = "Kamis"
dayNames[6] = "Jumat"
dayNames[7] = "Sabtu"

function customDateString() {
	currentDate = new Date()
	var theDay = dayNames[currentDate.getDay() + 1]
	var theMonth = monthNames[currentDate.getMonth() + 1]
	msie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ));
	if (msie4) {
	    var theYear = currentDate.getYear()
	}
	else {
	     var theYear = currentDate.getYear() +1900
	}
	return theDay + ", " + currentDate.getDate() + " " + theMonth + " " + theYear
}
//-->
