DatArray = new Array("So","Mo","Di","Mi","Do","Fr","Sa","??" )

function Search(){
	window.document.GO.submit()
}

function SELECT_VON() {
	document.write("<select name='VON' size=1>")
	for (var i=1; i<=330;i++){
		document.write('<option value='+i+'>'+GetDatum(i)+'')
	}
	document.write("</select>")
}

function SELECT_BIS(){
	document.write("<select name='BIS' size=1>")
	for (var i=4; i<=340;i++){
		if (i==36) document.write('<option selected ');  else document.write('<option ');
		document.write('value='+i+'>'+GetDatum(i)+'')
	}
	document.write('</select>')
}

function GetDatum(offset){
	var time = new Date()
	time.setTime( time.getTime()+offset*86400000)
	return DatArray[time.getDay()]+' '+time.getDate()+'.'+(1+time.getMonth())+'.'+(2000+(time.getYear()%100))
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
	if (init==true) with (navigator) {if ((appName=='Netscape')&&(parseInt(appVersion)==4)) {
	document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
	else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

MM_reloadPage(true);
