function checkform () {
	ok=true;
	f_text="";

	// ############ pflichtfelder testen und fehlertxt generieren ####################
	if(!document.zaehlerform.nachname.value || document.zaehlerform.nachname.value==" ") {
		ok=false;
		f_text+="Das Feld Nachname wurde nicht ausgefŸllt!\n";
	}
	if(!document.zaehlerform.vorname.value || document.zaehlerform.vorname.value==" ") {
		ok=false;
		f_text+="Das Feld Vorname wurde nicht ausgefŸllt!\n";
	}
	if(!document.zaehlerform.strasse.value || document.zaehlerform.strasse.value==" ") {
		ok=false;
		f_text+="Das Feld Strasse wurde nicht ausgefŸllt!\n";
	}
	
	if(!document.zaehlerform.nr.value || document.zaehlerform.nr.value==" ") {
		ok=false;
		f_text+="Das Feld Hausnummer wurde nicht ausgefŸllt!\n";
	}
	
	if(!document.zaehlerform.plz.value || document.zaehlerform.plz.value==" ") {
		ok=false;
		f_text+="Das Feld PLZ wurde nicht ausgefŸllt!\n";
	}


	if(!document.zaehlerform.ort.value || document.zaehlerform.ort.value==" ") {
		ok=false;
		f_text+="Das Feld Ort wurde nicht ausgefŸllt!\n";
	}
	
	if(!document.zaehlerform.tag.value || document.zaehlerform.tag.value==" ") {
		ok=false;
		f_text+="Das Feld Tag wurde nicht ausgefŸllt!\n";
	}
	if(!document.zaehlerform.monat.value || document.zaehlerform.monat.value==" ") {
		ok=false;
		f_text+="Das Feld Monat wurde nicht ausgefŸllt!\n";
	}
	
	if(!document.zaehlerform.jahr.value || document.zaehlerform.jahr.value==" ") {
		ok=false;
		f_text+="Das Feld Jahr wurde nicht ausgefŸllt!\n";
	}

	if(!document.zaehlerform.kd1.value || document.zaehlerform.kd1.value==" ") {
		ok=false;
		f_text+="Das Feld Vertragskonto-Nummer wurde nicht ausgefŸllt!\n";
	}


	

	//

	zxstand = 0;
	
	if(document.zaehlerform.z1nr.value) {
		zxstand++;
	}
	if(document.zaehlerform.z1stand.value) {
		zxstand++;
	}
	if(document.zaehlerform.z2nr.value) {
		zxstand++;
	}
	if(document.zaehlerform.z2stand.value) {
		zxstand++;
	}
	if(document.zaehlerform.z3nr.value) {
		zxstand++;
	}
	if(document.zaehlerform.z3stand.value) {
		zxstand++;
	}
	if(document.zaehlerform.z4nr.value) {
		zxstand++;
	}
	if(document.zaehlerform.z4stand.value) {
		zxstand++;
	}
	  
	  
     if(zxstand == 0) {
     	ok=false;
		f_text+="Das Feld ZŠhlerstŠnde wurde nicht ausgefŸllt!\n";
     
     }
      
		
	if(!document.zaehlerform.telefon.value || document.zaehlerform.telefon.value==" ") {
		ok=false;
		f_text+="Das Feld Telefon wurde nicht ausgefŸllt!\n";
	}		
		
		
	



	// ##############################
	if (ok) {
		return true;
	} else {
		alert ("Das Formular wurde nicht vollstŠndig ausgefŸllt!\n\n"+f_text);
		return false;
	}
}






