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

function time() {
	var now = new Date();

	year = now.getFullYear();
	month = now.getMonth() + 1;
	day = now.getDate();

	hours = now.getHours();
	minutes = now.getMinutes();
	seconds = now.getSeconds();

	thedate = ((day < 10) ? "0" : "") + day;
	thedate += ((month < 10) ? ".0" : ".") + month;
	thedate += "." + 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 = thedate+" "+thetime;
}