<!--
function on(message)
  {window.status = message;}

function off()
  {window.status="";}

function imgon(img,src)
  {document[img].src = 'images/menu_'+img+src+'.gif';}

function new_window(theURL,winName,features, myWidth, myHeight, isCenter)
{if(window.screen)if(isCenter)if(isCenter=="true")
  {var myLeft = (screen.width-myWidth)/2;
   var myTop = (screen.height-myHeight)/2;
   features+=(features!='')?',':'';
   features+=',left='+myLeft+',top='+myTop;}
 window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);}
 
function checktestzugang()
{

	if (document.contactmailform.vorname.value =="") {
	 	alert("Sie haben keinen Vornamen angegeben!\n");
	  document.contactmailform.vorname.focus();
	  return false;
	 }

	if (document.contactmailform.name.value =="") {
	 	alert("Sie haben keinen Namen angegeben!\n");
	  document.contactmailform.name.focus();
	  return false;
	 }


	var chkZ = 1;
	for(i=0;i<document.contactmailform.plz.value.length;++i)
	   if(document.contactmailform.plz.value.length < "5"
	   ||document.contactmailform.plz.value.charAt(i) < "0"
	   || document.contactmailform.plz.value.charAt(i) > "9")
	     chkZ = -1;
	 if(chkZ == -1) {
	   alert("Die Postleitzahl ist falsch!");
	   document.contactmailform.plz.focus();
	   return false;
	  }

	if (document.contactmailform.email.value!="") {
		if (document.contactmailform.email.value.indexOf('@',0)==-1 || document.contactmailform.email.value.indexOf('.',0)==-1) {
			alert("Die eingegebene E-Mail Adresse ist nicht korrekt!\n");
			document.contactmailform.email.focus();
		  return false;
		}
	}
	else {
		alert("Sie haben keine E-Mail Adresse angegeben!\n");
		document.contactmailform.email.focus();
		return false;
	}
} 
 
function checkkontakt()
{

	if (document.contactmailform.vorname.value =="") {
	 	alert("Sie haben keinen Vornamen angegeben!\n");
	  document.contactmailform.vorname.focus();
	  return false;
	 }

	if (document.contactmailform.name.value =="") {
	 	alert("Sie haben keinen Namen angegeben!\n");
	  document.contactmailform.name.focus();
	  return false;
	 }

	var chkZ = 1;
	for(i=0;i<document.contactmailform.plz.value.length;++i)
	   if(document.contactmailform.plz.value.length < "5"
	   ||document.contactmailform.plz.value.charAt(i) < "0"
	   || document.contactmailform.plz.value.charAt(i) > "9")
	     chkZ = -1;
	 if(chkZ == -1) {
	   alert("Die Postleitzahl ist falsch!");
	   document.contactmailform.plz.focus();
	   return false;
	  }

	if (document.contactmailform.email.value!="") {
		if (document.contactmailform.email.value.indexOf('@',0)==-1 || document.contactmailform.email.value.indexOf('.',0)==-1) {
			alert("Die eingegebene E-Mail Adresse ist nicht korrekt!\n");
			document.contactmailform.email.focus();
		  return false;
		}
	}
	else {
		alert("Sie haben keine E-Mail Adresse angegeben!\n");
		document.contactmailform.email.focus();
		return false;
	}

	if (document.contactmailform.anliegen.value =="") {
	 	alert("Sie haben kein Anliegen angegeben!\n");
	  document.contactmailform.anliegen.focus();
	  return false;
	 }
	
}  

function checkvademekum()
{

	if (document.contactmailform.vorname.value =="") {
	 	alert("Sie haben keinen Vornamen angegeben!\n");
	  document.contactmailform.vorname.focus();
	  return false;
	 }

	if (document.contactmailform.name.value =="") {
	 	alert("Sie haben keinen Namen angegeben!\n");
	  document.contactmailform.name.focus();
	  return false;
	 }

	if (document.contactmailform.anschrift.value =="") {
	 	alert("Sie haben keine Anschrift angegeben!\n");
	  document.contactmailform.anschrift.focus();
	  return false;
	 }


	if (document.contactmailform.plz.value == "") {
	 	alert("Sie haben keine Postleitzahl angegeben!\n");
	  document.contactmailform.plz.focus();
	  return false;
	 }
	else { 
		var chkZ = 1;
		for(i=0;i<document.contactmailform.plz.value.length;++i)
		   if(document.contactmailform.plz.value.length < "5"
		   ||document.contactmailform.plz.value.charAt(i) < "0"
		   || document.contactmailform.plz.value.charAt(i) > "9")
		     chkZ = -1;
		 if(chkZ == -1) {
		   alert("Die Postleitzahl ist falsch!");
		   document.contactmailform.plz.focus();
		   return false;
		  }
	 }

	if (document.contactmailform.ort.value =="") {
	 	alert("Sie haben keinen Ort angegeben!\n");
	  document.contactmailform.ort.focus();
	  return false;
	 }


	if (document.contactmailform.email.value!="") {
		if (document.contactmailform.email.value.indexOf('@',0)==-1 || document.contactmailform.email.value.indexOf('.',0)==-1) {
			alert("Die eingegebene E-Mail Adresse ist nicht korrekt!\n");
			document.contactmailform.email.focus();
		  return false;
		}
	}
	else {
		alert("Sie haben keine E-Mail Adresse angegeben!\n");
		document.contactmailform.email.focus();
		return false;
	}

	if (document.contactmailform.anliegen.value =="") {
	 	alert("Sie haben kein Anliegen angegeben!\n");
	  document.contactmailform.anliegen.focus();
	  return false;
	 }
	
}

function checkwebhosting()
{

	if (document.contactmailform.vorname.value =="") {
	 	alert("Sie haben keinen Vornamen angegeben!\n");
	  document.contactmailform.vorname.focus();
	  return false;
	 }

	if (document.contactmailform.name.value =="") {
	 	alert("Sie haben keinen Namen angegeben!\n");
	  document.contactmailform.name.focus();
	  return false;
	 }

	if (document.contactmailform.anschrift.value =="") {
	 	alert("Sie haben keine Anschrift angegeben!\n");
	  document.contactmailform.anschrift.focus();
	  return false;
	 }


	if (document.contactmailform.plz.value == "") {
	 	alert("Sie haben keine Postleitzahl angegeben!\n");
	  document.contactmailform.plz.focus();
	  return false;
	 }
	else { 
		var chkZ = 1;
		for(i=0;i<document.contactmailform.plz.value.length;++i)
		   if(document.contactmailform.plz.value.length < "5"
		   ||document.contactmailform.plz.value.charAt(i) < "0"
		   || document.contactmailform.plz.value.charAt(i) > "9")
		     chkZ = -1;
		 if(chkZ == -1) {
		   alert("Die Postleitzahl ist falsch!");
		   document.contactmailform.plz.focus();
		   return false;
		  }
	 }

	if (document.contactmailform.ort.value =="") {
	 	alert("Sie haben keinen Ort angegeben!\n");
	  document.contactmailform.ort.focus();
	  return false;
	 }


	if (document.contactmailform.email.value!="") {
		if (document.contactmailform.email.value.indexOf('@',0)==-1 || document.contactmailform.email.value.indexOf('.',0)==-1) {
			alert("Die eingegebene E-Mail Adresse ist nicht korrekt!\n");
			document.contactmailform.email.focus();
		  return false;
		}
	}
	else {
		alert("Sie haben keine E-Mail Adresse angegeben!\n");
		document.contactmailform.email.focus();
		return false;
	}

	if (document.contactmailform.telefon.value =="") {
	 	alert("Sie haben keine Telefonnummer angegeben!\n");
	  document.contactmailform.telefon.focus();
	  return false;
	 }

	if (document.contactmailform.fax.value =="") {
	 	alert("Sie haben keinen Faxnummer angegeben!\n");
	  document.contactmailform.fax.focus();
	  return false;
	 }
	
}  
//-->