function validateForm() {
with (document.form1) {
var alertMsg = "Angaben nicht vollständig:\n";
if (email.value == "") alertMsg += "\nE-mail";
if (pytanie.value == "") alertMsg += "\nFrage";
if (alertMsg != "Angaben nicht vollständig:\n") {
alert(alertMsg);
return false;
} else {
return true;
} } }