$(function() {
	digitformat = function(x) { return x < 10 ? '0' + x : x }
	var z = function(x) {
		var y = new Date()
		$('strong#clock').html(digitformat(y.getHours()) + ':' + digitformat(y.getMinutes()))
		$('strong#date').html(y.getDate() + '.' + digitformat(y.getMonth() + 1) + '.' + y.getYear())
		setTimeout(function() { x(x) }, (60 - y.getSeconds()) * 1000)
	}
	z(z);
})

