<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

var timerID = null;
var timerRunning = false;
function startclock () {
        stopclock();
        showtime();
}

function stopclock (){
        if(timerRunning)
                clearTimeout(timerID);
        timerRunning = false;
}

function showtime() {
	var months=new Array(13);
		months[1]="Jan";
		months[2]="Feb";
		months[3]="Mar";
		months[4]="Apr";
		months[5]="May";
		months[6]="Jun";
		months[7]="Jul";
		months[8]="Aug";
		months[9]="Sept";
		months[10]="Oct";
		months[11]="Nov";
		months[12]="Dec";
		var time=new Date();
		var lmonth=months[time.getMonth() + 1];
		var date=time.getDate();
		var year=time.getYear();
		if (year < 2000)
		year = year + 1900;

		var days=new Array(7);
		days[0]="Sun";
		days[1]="Mon";
		days[2]="Tues";
		days[3]="Wed";
		days[4]="Thur";
		days[5]="Fri";
		days[6]="Sat";
		var lday=days[time.getDay()];

        var now = new Date();
        var hours = now.getHours();
        var minutes = now.getMinutes();
        var seconds = now.getSeconds()
        var timeValue = "" + ((hours >12) ? hours -12 :hours)
        timeValue += ((minutes < 10) ? ":0" : ":") + minutes
//        timeValue += ((seconds < 10) ? ":0" : ":") + seconds
        timeValue += (hours >= 12) ? " pm" : " am"
        document.clock.face.value = lday + ', ' + date + ' ' + lmonth + ' ' + year + '  |  ' + timeValue;
        timerID = setTimeout("showtime()",1000);
        timerRunning = true;
}
//-->