// JavaScript Document
function Validate(theForm) {

if (theForm.anrede.value == "" ) {
alert("Bitte alle Felder ausfüllen: Anrede!");
theForm.anrede.focus();
return (false);
}
if (theForm.vorname.value == "" ) {
alert("Bitte alle Felder ausfüllen: Vorname!");
theForm.vorname.focus();
return (false);
}
if (theForm.nachname.value == "" ) {
alert("Bitte alle Felder ausfüllen: Nachname!");
theForm.nachname.focus();
return (false);
}
if (theForm.strabe.value == "" ) {
alert("Bitte alle Felder ausfüllen: Straße!");
theForm.strabe.focus();
return (false);
}
if (theForm.plz.value == "" ) {
alert("Bitte alle Felder ausfüllen: PLZ!");
theForm.plz.focus();
return (false);
}
if (theForm.ort.value == "" ) {
alert("Bitte alle Felder ausfüllen: Ort!");
theForm.ort.focus();
return (false);
}
if (theForm.email.value == "" ) {
alert("Bitte alle Felder ausfüllen: E-mail!");
theForm.email.focus();
return (false);
}
if (theForm.mitteilung.value == "" ) {
alert("Bitte alle Felder ausfüllen: Mitteilung!");
theForm.mitteilung.focus();
return (false);
}
if (theForm.betreff.value == "" ) {
alert("Bitte alle Felder ausfüllen: Betreff!");
theForm.betreff.focus();
return (false);
}

}