var timerID = null
function showtime()
{
	var now = new Date()
	var day = now.getDate()
	var month = now.getMonth() + 1
	var year = now.getFullYear()
	var hours = now.getHours()
	var minutes = now.getMinutes()
	var seconds = now.getSeconds()
	var timeValue = hours
	timeValue += ((minutes < 10) ? ":0" : ":") + minutes
	timeValue += ((seconds < 10) ? ":0" : ":") + seconds
	var dateValue = day + "." + month + "." + year
	document.forms["datumcas"].datum.value = dateValue
	document.forms["datumcas"].cas.value = timeValue
	timerID = setTimeout("showtime()",1000)
}
showtime();

