function formproof(xf) {
	var strAlert; var strAlert1; var strAlert2;
	var strAlert0 = unescape('Bitte f%FCllen Sie noch aus:');
	strAlert1 = ''; strAlert2 = '';
	if (document.forms[xf].name.value == '') strAlert1 += '->  Name\n';
	if (document.forms[xf].text.value == '') strAlert1 += '->  Mitteilung\n';
	if (document.forms[xf].email.value == '') strAlert1 += '->  E-Mail\n';
	else {
		var reg = /.+@.+\.\w\w+/;
		if (!reg.exec(document.forms[xf].email.value)) strAlert2 = 'Bitte korrigieren Sie Ihre email-Adresse';
	}
	strAlert = strAlert1 + strAlert2;
	if (strAlert == '') { 
		alert(unescape("Vielen Dank fuer Ihre Email!\nWir bemuehen uns, umgehend zu antworten."));
		document.forms[xf].submit();
		return true;
	}
	if (strAlert1 == '') {
		alert(strAlert2 + "\n\n");
		return false;
	}
	else {
		alert(strAlert0 + "\n\n" + strAlert1 + "\n" + strAlert2 + "\n\n");
		return false;
	}
}
