//--------------------------------------------------

function senden(myForm){
	var myForm = document.forms[myForm];

	var myEmlement_b = new String(myForm.elements["Name"].value);
	var myEmlement_h = new String(myForm.elements["Kontrolle"].value);

//--------------------------------------------------
	
	var CHK_FORM = true;
	var ERROR_LOG = new String("");
	

	if((typeof myEmlement_b != "object") || (myEmlement_b == "") || (myEmlement_b.length < 1)){
		ERROR_LOG += "Name, "; 
		CHK_FORM = false;
		}
	
		
	if((typeof myEmlement_h != "object") || (myEmlement_h == "") || (myEmlement_h.length < 1)){
		ERROR_LOG += "Kontrolle (ganz unten), "; 
		CHK_FORM = false;
		}

//--------------------------------------------------

ERROR_LOG = ERROR_LOG.substr(0,(ERROR_LOG.length - 2));

//--------------------------------------------------
	
	if(CHK_FORM){
		myForm.submit();
		}
	else{
		ERROR_LOG = "Bitte fuellen Sie folgende Felder noch aus:\n\n" + ERROR_LOG;
		alert(ERROR_LOG);
		}
		
	return true;
	}
						
//--------------------------------------------------