function weiter()
{
	var str1="wi";
	var str2="ndow.";
    var str3="loca"; 
    var str4="tion='hotel_schneider.htm'";
    eval(str1+str2+str3+str4);
}	

function formular_pruefen(language)
{
var chk=true;
if (document.BESTELLUNG.ANFRAGE.length > 2048) { 
	if (language=="e") {
		alert("Max. 2048 Chars at QUESTIONS ...");
	} else alert("Im Feld ANFRAGE duerfen maximal 2048 Zeichen eingegeben werden.");
	chk=false;
	document.BESTELLUNG.ANFRAGE.focus();
}
var email=document.BESTELLUNG.EMAIL.value;
if (email !="")	{
   var atpos=email.indexOf("@");
	if (atpos<0) {
		if (language=="e") {
			alert("We need a correct email-address");
		} else alert("Bitte geben Sie Ihre E-Mail-Adresse korrekt ein: Fehlendes @");
    	chk=false;
		document.BESTELLUNG.EMAIL.focus();
	} else {
		if (email.lastIndexOf("@") != atpos) {
			if (language=="e") {
				alert("We need a correct email-address");
			} else alert("Bitte geben Sie Ihre E-Mail-Adresse korrekt ein: Mehrfaches @");
			chk=false;
			document.BESTELLUNG.EMAIL.focus();
		}	
	}
}		
if (document.BESTELLUNG.ANREISE_AM.value=="") { 
	if (language=="e") {
		alert("We need a arrival date.");
	} else alert("Bitte fuellen Sie das Feld ANREISE AM korrekt aus.");
	chk=false;
	document.BESTELLUNG.ANREISE_AM.focus();
}
if (document.BESTELLUNG.ABREISE_AM.value=="") { 
	if (language=="e") {
		alert("We need a departure date.");
	} else alert("Bitte fuellen Sie das Feld ABREISE AM korrekt aus.");
	chk=false;
	document.BESTELLUNG.ABREISE_AM.focus();
}
if ((document.BESTELLUNG.EINZELZIMMER.value=="") && (document.BESTELLUNG.DOPPELZIMMER.value=="")){ 
	if (language=="e") {
		alert("How many rooms do you need ??");
	} else alert("Bitte teilen Sie uns die benoetigte Zimmerzahl mit.");
	chk=false;
	document.BESTELLUNG.EINZELZIMMER.focus();
}
if (document.BESTELLUNG.NAME.value=="") { 
	if (language=="d") {
		alert("Bitte fuellen Sie das Feld NAME, VORNAME korrekt aus.");
        }
	chk=false;
	document.BESTELLUNG.NAME.focus();
}
if (document.BESTELLUNG.STRASSE.value=="") { 
	if (language=="d") {
		alert("Bitte fuellen Sie das Feld STRASSE korrekt aus.");
        }
	chk=false;
	document.BESTELLUNG.STRASSE.focus();
}
if (document.BESTELLUNG.ORT.value=="") { 
	if (language=="d") {
		alert("Bitte fuellen Sie das Feld PLZ, ORT korrekt aus.");
        }
	chk=false;
	document.BESTELLUNG.ORT.focus();
}
return chk;
}	
