function checkfile(){
		if (document.myform.name.value == "")
  		  {
   		  	alert("Please fill out the family name field.");
					document.myform.name.focus();
					document.myform.name.style.borderColor = "#FF0000";   
   		  	return (false);
   		  }
				
		if (document.myform.vorname.value == "")
  		  {
   		  	alert("Please fill out the first name field.");
					document.myform.vorname.focus();
					document.myform.vorname.style.borderColor = "#FF0000";   
   		  	return (false);
   		  }
		  
		if (document.myform.ort.value == "")
  		  {
   		  	alert("Please fill out the city field.");
					document.myform.ort.focus();
					document.myform.ort.style.borderColor = "#FF0000";   
   		  	return (false);
   		  }
				
		if (document.myform.firma.value == "")
  		  {
   		  	alert("Please fill out the company field.");
					document.myform.firma.focus();
					document.myform.firma.style.borderColor = "#FF0000";   
   		  	return (false);
   		  }
				
				
		// Die Variablen brauchts für die Emailabfrage!!
		var result = true,
			text = document.myform.email.value,
        	regX;
		  
		if (document.myform.email.value == "")
  		  {
   		  	alert("Please fill out the email field.");
					document.myform.email.focus();
					document.myform.email.style.borderColor = "#FF0000";   
   		  	return (false);
   		  } else if (typeof(RegExp) == 'function') 
		  {
   			regX = new RegExp('^([a-zA-Z0-9\\-\\.\\_]+)(\\@)([a-zA-Z0-9\\-\\.]+)(\\.)([a-zA-Z]{2,4})$');
		   // {2,4} erweitern, wenn Top-Level-Domaenen mit mehr als vier Buchstaben bestaetigt werden

				if (!regX.test(document.myform.email.value)) 
				{
					alert('Please fill out the email field with a valid eMailaddress.');
					document.myform.email.focus();
					document.myform.email.style.borderColor = "#FF0000";  
					return (false);
				} 
			}
					
	}

