function start() {
	time();
	window.setInterval("time()", 1000);
}

function time() {
	var now = new Date();
	hours = now.getHours();
	minutes = now.getMinutes();
	seconds = now.getSeconds();
	day = now.getDate(); 
    	month = now.getMonth() + 1;
    	year = now.getFullYear();

	thetime = (day < 10) ? "0" + day + "." : day + ".";
	thetime += (month < 10) ? "0" + month + "." : month + ".";
	thetime += (year < 10) ? "0" + year + "." : year + "  //  ";
	thetime += (hours < 10) ? "0" + hours + ":" : hours + ":";
	thetime += (minutes < 10) ? "0" + minutes + ":" : minutes + ":";
	thetime += (seconds < 10) ? "0" + seconds : seconds;
	

	element = document.getElementById("time");
	element.innerHTML = thetime;
}