function printDate()
{
	var monthNames = new Array( 'Jänner' , 'Februar' , 'März' , 'April' , 'Mai' , 'Juni' , 'Juli' , 'August' , 'September' , 'Oktober' , 'November' , 'Dezember' );
	var dayNames = new Array( 'Sonntag' , 'Montag' , 'Dienstag' , 'Mittwoch' , 'Donnerstag' , 'Freitag' , 'Samstag' );

	var now = new Date();
	
	var foo;
    var Hours;
    var Minutes;
    var Seconds;
	
	foo  = now.getHours();
    Hours = (foo>9) ? foo : '0'+foo; 
    
    foo  = now.getMinutes();
    Minutes = (foo>9) ? foo : '0'+foo; 
    
    foo  = now.getSeconds();
    Seconds = (foo>9) ? foo : '0'+foo; 
	
	document.getElementById("clock").innerHTML = 
		dayNames[now.getDay()] + ', ' + 
		((now.getDate()>9) ? now.getDate() : '0'+now.getDate()) + '. ' + 
		monthNames[now.getMonth()] + ' ' + 
		now.getFullYear() + ' - ' +
		Hours + ":" + Minutes + ":" + Seconds;
				   
	window.setTimeout('printDate()',1000);			   
}

