﻿function runClock() 
{
var today;
today=new Date();
hours=today.getHours();
minutes=today.getMinutes();
seconds=today.getSeconds();
timeValue=hours;
timeValue += ((minutes<10) ? ":0" : ":")+ minutes;
timeValue += ((seconds<10) ? ":0" : ":")+ seconds;

hodinyEl = document.getElementById('Login1_time');
while(hodinyEl.firstChild) hodinyEl.removeChild(hodinyEl.firstChild);
hodinyEl.appendChild(document.createTextNode(timeValue));
window.setTimeout ("runClock()",1000);
}
