<!-- Displays Today's Date and the Current Time -->
<!-- Ray C 2002. -->

	dayName = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
	monName = new Array ("January","February","March","April","May","June","July","August","September","October","November","December")
	now = new Date
	thisYr = now.getYear()
	if (thisYr<1900) { thisYr = thisYr+1900 }

//Show the time//

	function showTheHours(theHour) {
		if (theHour > 0 && theHour < 13) {
			return (theHour)}
	
		if (theHour == 0) {
			return (12)
		}
		return (theHour-12)
	}

	function showZeroFilled(inValue) {
		if (inValue > 9) {
			return ":" + inValue
		}
		return ":0" + inValue
	}

	function showAmPm() {
		if (now.getHours() < 12) {
			return (" am")
		}
		return (" pm")
	}

	function showTheTime() {
		now = new Date

		document.theForm.showTime.value = showTheHours(now.getHours()) +  showZeroFilled(now.getMinutes()) + showAmPm()
		setTimeout("showTheTime()",1000)
	}
