<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//-->
<!--
function neuFenster(Url,Name)
        {
            window.open(Url,Name,"height=530,width=520,screenX=50,screenY=100, top=100, left=50,scrollbars=yes,resizable=no,locationbar=no, toolbar=no ,menubar=no , status=no");
        }
//-->
<!--
function neuFenster2(Url,Name)
        {
            window.open(Url,Name,"height=200,width=420,screenX=50,screenY=100, top=100, left=50,scrollbars=yes,resizable=no,locationbar=no, toolbar=no ,menubar=no , status=no");
        }
//-->
<!--
function Fensterfocus()
        {
            window.focus();
        }
//-->
<!--
function news()
      {
				var News ='<p align="justify"><font color="#6A0000"><u>FR&Uuml;HJAHRSANGEBOT:</u></font><br>Entrümpelung jeder Art.<font color="#6A0000"><br>20&euro; / qm zzgl. Entsorgung</font><br><br><font color="#6A0000"><u>FR&Uuml;HJAHRSANGEBOT:</u></font><br>Grabpflege mit Unkraut jäten Erde auffüllen und Neubepflanzung <font color="#6A0000">50&euro;</font></p>';

        if (document.getElementById)
                        {
                                x = document.getElementById("news");
                                x.innerHTML = '';
                                x.innerHTML = News;
                        }
                else if (document.all)
                        {
                                x = document.all[news];
                                x.innerHTML = News;
                        }
      }

<!--
function checkdata()
        {
                 var Name = document.Kontakt.Name.value;
                 var Vorname = document.Kontakt.Vorname.value;
                 var Telefon = document.Kontakt.Telefon.value;
                 var Email = document.Kontakt.Email.value;
                 var Nachricht = document.Kontakt.Nachricht.value;
                 var re_email = /^([_a-zA-Z0-9-]+)(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+\.)+([a-zA-Z]{2,3})$/;
                 var checked = true;

                                 if (Vorname.length<2)
                                         {
                         alert("Der Vorname muss mindestens 2 Zeichen enthalten.");
                         checked = false;
                         document.Kontakt.Vorname.focus();
                     }

                                 if (Name.length<2)
                                         {
                         alert("Der Name muss mindestens 2 Zeichen enthalten.");
                         checked = false;
                         document.Kontakt.Name.focus();
                    }

                if (Telefon.length=="" && Email.length =="")
                    {
                        alert("Sie müssen entweder eine gültige E-Mailadresse oder eine Telefonnummer angeben.");
                        checked = false;
                        document.Kontakt.Telefon.focus();
                    }

                if (Email !="" && (re_email.test(Email))==false)
                    {
                         alert("Die eingegebene E-Mail-Adresse ist falsch!");
                         checked = false;
                    }

                 if (Nachricht.length<1)
                    {
                         alert("Bitte geben Sie eine Nachricht ein.");
                         checked = false;
                         document.Kontakt.Nachricht.focus();
                    }

                 if (checked)
                    {
                         document.Kontakt.method = "get";
                         document.Kontakt.action="sendekontakt.php4";
                         document.Kontakt.submit();
                     }
            return checked;
}
//-->
<!--
function checkdataempf()
        {
                 var Nameempf = document.Empfehlung.Nameempf.value;
                 var Emailempf = document.Empfehlung.Emailempf.value;
                 var re_email = /^([_a-zA-Z0-9-]+)(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+\.)+([a-zA-Z]{2,3})$/;
                 var checked = true;

                if (Nameempf.length<2)
                    {
                         alert("Der Name muss mindestens 2 Zeichen enthalten.");
                         checked = false;
                         document.Empfehlung.Nameempf.focus();
                    }

                if (Emailempf =="" || (re_email.test(Emailempf))==false)
                    {
                         alert("Geben Sie eine gültige E-Mail-Adresse ein!");
                         checked = false;
                         document.Empfehlung.Emailempf.focus();
                    }

               if (checked)
                    {
                         document.Empfehlung.method = "post";
                         document.Empfehlung.action="empfehlung.php4";
                         document.Empfehlung.submit();
                     }
            return checked;
}
//-->


