function checkForm(theForm)
{

if (theForm.name.value == ""){
	alert("Bitte schreiben Ihr Name");
	if (theForm.name.type != "hidden"){
		theForm.name.focus();
	}
	return (false);
}

		
if (theForm.email.value == ""){
	alert("Bitte schreiben Ihr Email");
	if (theForm.email.type != "hidden"){
			theForm.email.focus();
	}
	return (false);
} else {
	RegExpEmail = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
	if(!RegExpEmail.test(theForm.email.value)){
		alert("Bitte schreiben korrekter Email");
		theForm.email.focus();
		return (false);
	}
}


	
	exit = false;
	return (true);
}


