window.defaultStatus="Holzbau Schenk GmbH";

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

{
    function mouse_over(src,clr_over)
   {

     if (!src.contains(event.fromElement))
     {
     src.bgColor = clr_over;
     }

   }


   function mouse_out(src,clr_in)
   {
   if (!src.contains(event.toElement))
   {
   src.bgColor = clr_in;
   }
   }


   function mouse_click(src)
   {
   if(event.srcElement.tagName=='td')
   {
   src.children.tags('A')[0].mouse_click();
   }
   }

   }
   
   function test() {
		
			if (document.formular.vname.value == '') {
				alert("Bitte geben Sie Ihren Vornamen ein!")
				if (document.formular.vname.select()) {document.formular.vname.select()};
				if (document.formular.vname.focus()) {document.formular.vname.focus()};
				return false;
			}
			
			else 
			if (document.formular.nname.value == '') {
				alert("Bitte geben Sie Ihren Nachnamen ein!")
				if (document.formular.nname.select()) {document.formular.nname.select()};
				if (document.formular.nname.focus()) {document.formular.nname.focus()};
				return false
			}
			
				else 
			if (document.formular.str.value == '') {
				alert("Bitte geben Sie die Straße ein!")
				if (document.formular.str.select()) {document.formular.str.select()};
				if (document.formular.str.focus()) {document.formular.str.focus()};
				return false;
			
			}
		
			else 
			if (document.formular.plz.value == '') {
				alert("Bitte geben Sie Ihre PLZ ein!")
				if (document.formular.plz.select()) {document.formular.plz.select()};
				if (document.formular.plz.focus()) {document.formular.plz.focus()};
				return false;
			
			}
			
			else 
			if (document.formular.ort.value == '') {
				alert("Bitte geben Sie den Ort ein!")
				if (document.formular.ort.select()) {document.formular.ort.select()};
				if (document.formular.ort.focus()) {document.formular.ort.focus()};
				return false;
			}
			
			else 
			if (document.formular.tel.value == '') {
				alert("Bitte geben Sie Ihre Telefonnummer ein!")
				if (document.formular.tel.select()) {document.formular.tel.select()};
				if (document.formular.tel.focus()) {document.formular.tel.focus()};
				return false;
			}
			
			else
			if ((document.formular.email.value.indexOf ('@',0) == -1) || (document.formular.email.value.indexOf ('.',0) == -1)) {
					alert("Bitte geben Sie eine gültige eMail-Adresse ein!");
					if (document.formular.email.select()) {document.formular.email.select()};
					if (document.formular.email.focus()) {document.formular.email.focus()};
					return false;
			
			}
			
			else 
			return true;
			
			}


