var timerID = null;
var timerRunning = false;
var xtext = "  www.nordusedom.de ";
if(!vonwo) var vonwo = "";

function stopclock (){
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;
}

function showtime () {
var xnow = new Date();
var hours = xnow.getHours();
var minutes = xnow.getMinutes();
var seconds = xnow.getSeconds()
var xtimeValue = ((hours < 10) ? "0" : "") + hours
xtimeValue += ((minutes < 10) ? ":0" : ":") + minutes
xtimeValue += ((seconds < 10) ? ":0" : ":") + seconds
xtimeValue += xtext;

window.status = xtimeValue+" -  "+vonwo;
timerID = setTimeout("showtime()",1000);
timerRunning = true;
}
function startclock () {
stopclock();
showtime();
}
