
//Welcher Browser wird benutzt?
function browser()
   {
       if(navigator.appName == "Netscape")
       {
          if(navigator.appVersion.substring(0,1) >= "5")
              parent.frames[2].document.location.href="hauptseite_nc5.html";
          else
              parent.frames[2].document.location.href="hauptseite_nc.html";
       }
       else
           parent.frames[2].document.location.href="hauptseite_ie.html";
   }



//prüft, ob Frameset in einem anderen Frameset geladen, wenn ja: bust it!
// ...

//einzeln aufgerufene Dateien im Frameset anzeigen
function frameset_anzeigen_alt(Dateien)
    {
      if (top.frameset_geladen + "" != "okay")
      {
        if(document.images)
           top.location.replace(Dateien);
        else
           top.location.href = Dateien ;
      }
    }

function frameset_anzeigen(Dateien)
    {
      //alert("1: " + top.frameset_geladen + "")
      if (top.frameset_geladen + "" != "okay")
      {
           //alert("2: " + Dateien + "")
           top.location.href = Dateien ;
      }
    }


function SeiteLaden()
   {  /*
       alert("1: " + self.location.search + "")
      if(self.location.search.length > 0) {
         var Search_Laenge = self.location.search.length;
         var info_url = self.location.search.substring(1,Search_Laenge);
         alert("2: " + info_url + "")
         self.HauptFenster.location.href = info_url;}
        */
    }




//Positionieren des Dreiecks im Verweisfenster
Normal1 = new Image();
Normal1.src = "gif/dreieck_w.gif";
Highlight1 = new Image();
Highlight1.src = "gif/dreieck_g2.gif";

function Bildwechsel(Indexnr)
     {   /*
        if (top.frameset_geladen == "okay")
        {
           parent.frames[0].document.images[2].src = Normal1.src;
           parent.frames[0].document.images[3].src = Normal1.src;
           parent.frames[0].document.images[4].src = Normal1.src;
           parent.frames[0].document.images[5].src = Normal1.src;
           parent.frames[0].document.images[6].src = Normal1.src;
           parent.frames[0].document.images[7].src = Normal1.src;

           parent.frames[0].document.images[Indexnr].src = Highlight1.src;
        }  */
     }





//Abfrage beim Aufruf fremder Seiten
function Ausgabe(Ziel)
    {
       Check = confirm("Sie verlassen den Bereich unserer Homepage. Fuer den Inhalt des Links uebernehmen wir keine Verantwortung.");
       if(Check == true)
                open(Ziel);
    }


//Aufruf des Überschriftsfensters abhängig von der Bildschirmeinstellung
function Ueberschrift()
     {
       if(screen.width >= 1024)
         window.location.href="ueb1024.html";
       else
         window.location.href="ueb800.html";
     }


//Aufruf des Verweisfensters abhängig von der Bildschirmeinstellung
function Verweis()
     {  /*
       if(screen.width >= 1024)
         window.location.href="verweise1024.html";
       else
         window.location.href="verweise800.html";      */
     }



//Hauptseite Netscape
function Prozess_nc()
  {
    window.document.Linie1.visibility = "show";
    window.document.Linie2.visibility = "show";
    window.document.Linie3.visibility = "hide";
    window.document.Linie4.visibility = "hide";
    window.document.DynText1.visibility = "hide";
    window.document.DynText2.visibility = "show";
    window.document.DynText3.visibility = "hide";
    window.document.DynText4.visibility = "hide";
  }
function Leit_nc()
  {
    window.document.layers[0].visibility = "show";
    window.document.layers[1].visibility = "show";
    window.document.layers[2].visibility = "show";
    window.document.layers[3].visibility = "hide";
    window.document.DynText1.visibility = "hide";
    window.document.DynText2.visibility = "hide";
    window.document.DynText3.visibility = "show";
    window.document.DynText4.visibility = "hide";
  }
function SG_nc()
  {
    window.document.layers[0].visibility = "show";
    window.document.layers[1].visibility = "hide";
    window.document.layers[2].visibility = "hide";
    window.document.layers[3].visibility = "hide";
    window.document.DynText1.visibility = "show";
    window.document.DynText2.visibility = "hide";
    window.document.DynText3.visibility = "hide";
    window.document.DynText4.visibility = "hide";
  }
function IT_nc()
  {
    window.document.layers[0].visibility = "show";
    window.document.layers[1].visibility = "show";
    window.document.layers[2].visibility = "show";
    window.document.layers[3].visibility = "show";
    window.document.DynText1.visibility = "hide";
    window.document.DynText2.visibility = "hide";
    window.document.DynText3.visibility = "hide";
    window.document.DynText4.visibility = "show";
  }


//Hauptseite Internetexplorer
function Prozess_ie()
  {
   document.all.DynText1.style.display = "inline";
   document.all.DynText2.style.display = "none";
   document.all.DynText3.style.display = "none";
   document.all.DynText4.style.display = "none";
   document.all.Linie1.style.display = "inline";
   document.all.Linie2.style.display = "none";
   document.all.Linie3.style.display = "none";
   document.all.Linie4.style.display = "none";
 }
function Leit_ie()
 {
   document.all.DynText1.style.display = "none";
   document.all.DynText2.style.display = "inline";
   document.all.DynText3.style.display = "none";
   document.all.DynText4.style.display = "none";
   document.all.Linie1.style.display = "inline";
   document.all.Linie2.style.display = "inline";
   document.all.Linie3.style.display = "none";
   document.all.Linie4.style.display = "none";
 }
function SG_ie()
 {
   document.all.DynText1.style.display = "none";
   document.all.DynText2.style.display = "none";
   document.all.DynText3.style.display = "inline";
   document.all.DynText4.style.display = "none";
   document.all.Linie1.style.display = "inline";
   document.all.Linie2.style.display = "inline";
   document.all.Linie3.style.display = "inline";
   document.all.Linie4.style.display = "none";
 }
function IT_ie()
 {
   document.all.DynText1.style.display = "none";
   document.all.DynText2.style.display = "none";
   document.all.DynText3.style.display = "none";
   document.all.DynText4.style.display = "inline";
   document.all.Linie1.style.display = "inline";
   document.all.Linie2.style.display = "inline";
   document.all.Linie3.style.display = "inline";
   document.all.Linie4.style.display = "inline";
 }


 //Hauptseite NC 6
function Prozess_nc6()
{
  document.getElementById("DynText1").style.visibility = "hidden"
  document.getElementById("DynText2").style.visibility = "visible"
  document.getElementById("DynText3").style.visibility = "hidden"
  document.getElementById("DynText4").style.visibility = "hidden"
  document.getElementById("Linie1").style.visibility = "hidden"
  document.getElementById("Linie2").style.visibility = "visible"
  document.getElementById("Linie3").style.visibility = "hidden"
  document.getElementById("Linie4").style.visibility = "hidden"
 }
function Leit_nc6()
 {
  document.getElementById("DynText1").style.visibility = "hidden"
  document.getElementById("DynText2").style.visibility = "hidden"
  document.getElementById("DynText3").style.visibility = "visible"
  document.getElementById("DynText4").style.visibility = "hidden"
  document.getElementById("Linie1").style.visibility = "hidden"
  document.getElementById("Linie2").style.visibility = "hidden"
  document.getElementById("Linie3").style.visibility = "visible"
  document.getElementById("Linie4").style.visibility = "hidden"
 }
function SG_nc6()
 {
  document.getElementById("DynText1").style.visibility = "visible"
  document.getElementById("DynText2").style.visibility = "hidden"
  document.getElementById("DynText3").style.visibility = "hidden"
  document.getElementById("DynText4").style.visibility = "hidden"
  document.getElementById("Linie1").style.visibility = "visible"
  document.getElementById("Linie2").style.visibility = "hidden"
  document.getElementById("Linie3").style.visibility = "hidden"
  document.getElementById("Linie4").style.visibility = "hidden"
 }
function IT_nc6()
 {
  document.getElementById("DynText1").style.visibility = "hidden"
  document.getElementById("DynText2").style.visibility = "hidden"
  document.getElementById("DynText3").style.visibility = "hidden"
  document.getElementById("DynText4").style.visibility = "visible"
  document.getElementById("Linie1").style.visibility = "hidden"
  document.getElementById("Linie2").style.visibility = "hidden"
  document.getElementById("Linie3").style.visibility = "hidden"
  document.getElementById("Linie4").style.visibility = "visible"
 }
