<!--  HIDE ME FROM THAT BROWSER  -- !>
var timerID = null
var timerRunning = false
function stopclock(){
    if(timerRunning)
        clearTimeout(timerID)
    timerRunning = false
}
function startclock(){
     // Make sure the clock is stopped
    stopclock()
    showtime()
}
function showtime(){
    var now = new Date()
    var hours = now.getHours()
    var minutes = now.getMinutes()
    var seconds = now.getSeconds()
    var month = now.getMonth()
    var datum = now.getDate()
    var year = now.getYear()
	var timeValue= ((hours<4)?"dobré ráno":(hours<10)?"dobré ráno":((hours<12)?"dobrý den":((hours<18)?"dobrý den":((hours<23)?"dobrý večer":"dobrou noc"))))
    var timeValue2 = "" + (hours)
    timeValue2 += ((minutes < 10) ? ":0" : ":") + minutes
    timeValue2 += ((seconds < 10) ? ":0" : ":") + seconds
    timeValue2 += (hours) ? "" : ""  
    var timeValue3 = "" + datum + ". "
    timeValue3 += (((month + 1) < 10) ? "0" : "") + (month + 1)
       timeValue3 += ". " + "" + year
    document.clock.face.value = timeValue
    document.clock.face2.value = timeValue2
    document.clock.face3.value = timeValue3
    timerID = setTimeout("showtime()",1000)
    timerRunning = true
}
//-->


