DatArray = new Array("So","Mo","Di","Mi","Do","Fr","Sa","??" )
function Search()
{
with (window.document.SUCH)
{
Ra = parseInt(ERW.options[ERW.selectedIndex].value)
if (KA1.selectedIndex != 0) Ra++
if (KA2.selectedIndex != 0) Ra++
if (Ra >4)
{
	alert("Es sind nur max. 4 Reisende möglich!")
	return false;
} 
RA.value=Ra

LMIN.value = xL.options[xL.selectedIndex].value.substr(0,2)
LMAX.value = xL.options[xL.selectedIndex].value.substr(3,2)	 

if (LMIN.value == "") MIN=0;  else  MIN = parseInt(LMIN.value);
if (LMAX.value == "") MAX=28; else  MAX = parseInt(LMAX.value);

Tol = parseInt(xTol.options[xTol.selectedIndex].value)
Von = parseInt(VON.options[VON.selectedIndex].value)

BIS.value = MAX+Tol+Von
	
submit()
}
}
function SELECT_VON()
{
document.write("<select name='VON' size=1>")
for (var i=1; i<=280;i++)
{
document.write('<option value='+i+'>'+GetDatum(i)+'')
}
document.write("</select>")
}
function GetDatum(offset)
{ var time = new Date()
time.setTime( time.getTime()+offset*86400000);
tag     = time.getDate();
monat   = time.getMonth()+1;
jahr    = time.getYear() % 100;
if (tag   < 10)   tag   = "0"+tag;
if (monat < 10)   monat = "0"+monat;
if (jahr  < 10)   jahr  = "0"+jahr;
return tag+'.'+monat+'.'+jahr+' '+DatArray[time.getDay()]
}
function MM_reloadPage(init) {
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);

function url(seite){
	var seite;
	window.location.href = seite;
}
function showStatus(sMsg) {
    window.status = sMsg ;
    return true ;
}

function openagb(w_info,fenstername)
{
    var infowin = window.open(w_info,fenstername,"width=520,height=550,scrollbars=yes");
}