function checkData(theForm) {
	theForm.action = '/de/anfrage-ok.html';

	if(theForm.fullname.value=="") {
		theForm.fullname.focus();
		return(false);
	}

	if(theForm.address.value=="") {
		theForm.address.focus();
		return(false);
	}

	if(theForm.phone.value=="") {
		theForm.phone.focus();
		return(false);
	}

	if(theForm.email.value!="") {
		var mailres=chkmail(theForm.email.value);
		if (mailres==false) {
			theForm.email.focus();
			return(false);
		}
	}

	if(theForm.privacy.checked!=true) {
		theForm.privacy.focus();
		return(false);
	}
}

