function clearAll(formular)
	{
		for (var index = 0; index < (formular.length); index++)
			{ formular.elements[index].value = ""; }

		formular.reset();
	}

function control(){
var commando, plzl="0123456789",datl="0123456789.",datl2="0123456789., ",telfax="0123456789-/+ ",c , d, L, E, indexZ;
var ns="Netscape";
if((navigator.appName==ns) && (navigator.appVersion.substring(0,1) >= "4")){
commando=document.form1;
}
else
commando=document.form1;

/* Name Check */

if(commando.name.value == "")
{
alert("Bitte geben Sie Ihren Vor- und Zunamen an !");
commando.name.focus();
return false;
}


/* Mail Check */

if(commando.mail.value == ""){
var dialogbox;
dialogbox=confirm("Bitte geben Sie Ihre E-Mail Adresse an !\n\nSollten Sie keine E-Mail Adresse besitzen,\nso klicken Sie bitte auf \"Abbrechen\".");
if(dialogbox==true){
commando.mail.focus();
commando.mail.select();
}
if(dialogbox==false)
{
commando.mail.value="Keine E-Mail";
commando.mail.focus();
}
return false;
}


/* Nachricht Check */

if(commando.nachricht.value == ""){
alert("Sie wollten uns doch eigentlich etwas mitteilen!?");
commando.nachricht.focus();
commando.nachricht.select();
return false;
}
}
