/**
 * @author   J.Rosswog
 */

function setDay(sDate, field){
	
	var jetzt = new Date(sDate.value * 1000);
	var TagInWoche = jetzt.getDay();
	
	var Wochentag = new Array("So", "Mo", "Di", "Mi", "Do", "Fr", "Sa");

	document.getElementById(field).firstChild.nodeValue = Wochentag[TagInWoche];						
	
}
