        // Seiten-Index
        //======================================================
var status=0;
function out(x)
{
        if (status != x)
        {
                if (x==1) window.document.bild1.src="img/home_.gif";
                if (x==2) window.document.bild2.src="img/edvm_.gif";
                if (x==3) window.document.bild3.src="img/schm_.gif";
                if (x==4) window.document.bild4.src="img/klas_.gif";
                if (x==5) window.document.bild5.src="img/prosp_.gif";
                if (x==6) window.document.bild6.src="img/impressum_.gif";

        }
}
function on(x)
{
        if (status != x)
        {
                if (x==1) window.document.bild1.src="img/home_a.gif";
                if (x==2) window.document.bild2.src="img/edvm_a.gif";
                if (x==3) window.document.bild3.src="img/schm_a.gif";
                if (x==4) window.document.bild4.src="img/klas_a.gif";
                if (x==5) window.document.bild5.src="img/prosp_a.gif";
                if (x==6) window.document.bild6.src="img/impressum_a.gif";

        }
}
function active(x)
{
        on(x);
        if (status != x)
        {
                if (status==1) window.document.bild1.src="img/home_.gif";
                if (status==2) window.document.bild2.src="img/edvm_.gif";
                if (status==3) window.document.bild3.src="img/schm_.gif";
                if (status==4) window.document.bild4.src="img/klas_.gif";
                if (status==5) window.document.bild5.src="img/prosp_.gif";
                if (status==6) window.document.bild6.src="img/impressum_.gif";

        }
        status = x;
}
        // Seiten-Index Ende
        //......................................................................................................................................

        // Rechtsklick
        //======================================================
      if (document.layers){
          window.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
          window.onmousedown=rightclick;
          window.onmouseup=rightclick;

          function rightclick(e) {
          if (e.which == 3) {
          alert('www.moderne-schulsysteme-peters.de\n\ne-Mail:\nlessmann.peters@googlemail.de');
          return false;
          }
          else {
              return true;
              }
          }
      }

      if (document.all){
          function click() {
          if (event.button==2) {
          alert('www.moderne-schulsysteme-peters.de\n\ne-Mail:\nlessmann.peters@googlemail.de');
          }

          if (event.button==3) {
          alert('www.moderne-schulsysteme-peters.de\n\ne-Mail:\nlessmann.peters@googlemail.de')}
          }
          document.onmousedown=click
      }
        // Rechtsklick Ende
        //......................................................................................................................................

        // Seiten vom Server holen
        //======================================================
if (top.frames.length > 0) top.location.href=self.location;

        // Seiten vom Server holen Ende
        //........................................................................................................................................

         //FormularCheck
        //==================================
function chkFormular()
 {
if(document.Info.Postadresse.value == "")
{
alert("Bitte Ihre Postadresse angeben!"); document.Info.Postadresse.focus(); return false;
 }
if(document.Info.Ansprechpartner.value == "")
{
alert("Bitte den Ansprechpartner angeben!"); document.Info.Ansprechpartner.focus(); return false;
}

// Telefonnummer prüfen
if(document.Info.Tel.value == "")
{
alert("Bitte die Telefonnummer angeben!");
document.Info.Tel.focus(); return false;
}
var s = "" + document.Info.Tel.value;
var zeichen = "0123456789+-()[]/ ";
for (var i=0; i<s.length; i++)
if (zeichen.indexOf(s.charAt(i))==-1) {
alert("ungültige Telefonnummer");
document.Info.Tel.focus(); return false;
}
}
        //FormularCheck Ende
        //...............................................................................
