function showTheHours(theHour) 
{
	if (theHour > 0 && theHour < 13) 
	{
		if (theHour == "0") theHour = 12;
		return (theHour);
	}
	if (theHour == 0) 
	{
		return (12);
	}
	return (theHour-12);
}

function showZeroFilled(inValue) 
{
	if (inValue > 9) 
	{
		return "" + inValue;
	}
	return "0" + inValue;
}

function showTheTime() 
{
	now = new Date
	document.form.showTime.value = now.getHours() + ":" + showZeroFilled(now.getMinutes()) + ":" + showZeroFilled(now.getSeconds()) + " "
	setTimeout("showTheTime()",1000)
}

