var ndb=navigator.appName;
var versi=navigator.appVersion.substring(0,1);

function gastbuch()
	{
	var gastbuch = window.open("http://gb.webmart.de/gb.cfm?id=1030961","Zweitfenster");
	}
	

function hermann()
         {
         mehrinfo('les3');
         }

function zalica()
         {
         mehrinfo('les1');
         aufmachen(0);
         }

function leupold()
         {
          mehrinfo('les2');
         }
         
function mehrinfo(input)
         {
         zu("les1");
         zu("les2");
         zu("les3");
         auf(input);
         }

function aufmachen(input)
         {
         switch(input){
         //alert("angekommen!");
         case 0: var fenstername="Lesung";
window.open("../lesung.html",fenstername,"width=600,height=450,screenX=0,screenY=0,resizable=yes, scrollbars=yes");break;
         }}

function change_lesung(input)
         {
         switch(input){
         case 0: this.focus();
                 setTimeout("this.location.href='lesung2.html'",10000);break;
         case 1: this.focus();
                 setTimeout("this.location.href='lesung.html'",10000);break;
         }}

function itloose(navname,stagname)
        {
        var ndb=navigator.appName;
        var versi=navigator.appVersion.substring(0,1);
        if((versi<=4 && ndb=="Netscape")||(versi<=3 && ndb=="Microsoft Internet Explorer"))
              {
              parent.frames[2].location.href=navname;
              alert("Beste Darstellung in Netscape 6 und InternetExplorer 5");
             }
        else  {
              parent.frames[2].location.href="start/moznavi.html";
              }

        parent.frames[3].location.href=stagname;
               }



function servicespez()
         {
         var fenestra=window.open("../start/servindex.html","Panterservice","menubar=no,locationbar=yes,resizable=yes");
         }

function serstart()

         {
        var ndb=navigator.appName;
        var versi=navigator.appVersion.substring(0,1);
        if((versi<=4 && ndb=="Netscape")||(versi<=3 && ndb=="Microsoft Internet Explorer"))

              {
              parent.frames[2].location.href="../start/moznavi_1.html";
              }
         }

function favorspez()
         {
         var fenestra=window.open("../buch/favordex.html","Panterfavor","menubar=no,locationbar=yes,resizable=yes");
         }

function favordex()
         {
        var ndb=navigator.appName;
        var versi=navigator.appVersion.substring(0,1);
        if((versi<=4 && ndb=="Netscape")||(versi<=3 && ndb=="Microsoft Internet Explorer"))

              {
              parent.frames[2].location.href="../start/moznavi_0.html";
              }

         }

function neuesspez()
         {
         var fenestra=window.open("../buch/neudex.html","Panterneues","menubar=no,locationbar=yes,resizable=yes");
         }

function neudex()
         {
        var ndb=navigator.appName;
        var versi=navigator.appVersion.substring(0,1);
        if((versi<=4 && ndb=="Netscape")||(versi<=3 && ndb=="Microsoft Internet Explorer"))

              {
              parent.frames[2].location.href="../start/moznavi_0.html";
              }

         }

function exklusspez()
         {
         var fenestra=window.open("../buch/exindex.html","Panterexklus","menubar=no,locationbar=yes,resizable=yes");
         }

function exindex()
         {
        var ndb=navigator.appName;
        var versi=navigator.appVersion.substring(0,1);
        if((versi<=4 && ndb=="Netscape")||(versi<=3 && ndb=="Microsoft Internet Explorer"))

              {
              parent.frames[2].location.href="../start/moznavi_0.html";
              }

        }

function terminspez()
         {
         var fenestra=window.open("../termin/terminex.html","Pantertermin","menubar=no,locationbar=yes,resizable=yes");
         }

function terminex()
         {

        var ndb=navigator.appName;
        var versi=navigator.appVersion.substring(0,1);
        if((versi<=4 && ndb=="Netscape")||(versi<=3 && ndb=="Microsoft Internet Explorer"))

              {
              parent.frames[2].location.href="../start/moznavi_2.html";
              }
         }


function wasnochspez()
         {
         var fenestra=window.open("../start/wasnondex.html","Panterwasnoch","menubar=no,locationbar=yes,resizable=yes");
         }

function wasnondex()
         {

        var ndb=navigator.appName;
        var versi=navigator.appVersion.substring(0,1);
        if((versi<=4 && ndb=="Netscape")||(versi<=3 && ndb=="Microsoft Internet Explorer"))

              {
              parent.frames[2].location.href="../start/moznavi_3.html";
              }
         }


function tuchospez()
         {
         var fenestra=window.open("../tucho/tuchondex.html","Pantertucho","menubar=no,locationbar=yes,resizable=yes");
         }

function tuchondex()
         {

        var ndb=navigator.appName;
        var versi=navigator.appVersion.substring(0,1);
        if((versi<=4 && ndb=="Netscape")||(versi<=3 && ndb=="Microsoft Internet Explorer"))

              {
              parent.frames[2].location.href="../start/moznavi_4.html";
              }
         }


function linksspez()
         {
         var fenestra=window.open("../start/lindex.html","Panterlinks","menubar=no,locationbar=yes,resizable=yes");
         }

function lindex()
         {

        var ndb=navigator.appName;
        var versi=navigator.appVersion.substring(0,1);
        if((versi<=4 && ndb=="Netscape")||(versi<=3 && ndb=="Microsoft Internet Explorer"))

              {
              parent.frames[2].location.href="../start/moznavi_5.html";
              }
         }



/********    wieder kehrende Funktionen *****/


function auf(element) {

         // Die folgenden 3 Zeilen sind fuer Netscape 6
         if (document.getElementById) {
         document.getElementById(element).style.visibility="visible";
         }
         // Ende Netscape 6

         if (document.all) {
         document.all[element].style.visibility="visible";
         }

         if (document.layers) {
         document.layers[element].visibility="visible";
         }
 }

 function zu(element)  {

         // Die folgenden 3 Zeilen sind fuer Netscape 6
         if (document.getElementById) {
         document.getElementById(element).style.visibility="hidden";
         }
         // Ende Netscape 6

         if (document.all) {
         document.all[element].style.visibility="hidden";
         }

         if (document.layers) {
         document.layers[element].visibility="hidden";
         }
}

function zitate()
         {
         for(i=1;i<16;i++)
                         {
                         var textnummer="t" + i;
                         zu(textnummer);
                         }

         var x1;
         x1=(parseInt(Math.random()*10000)%15)+1;
         var textnummer = "t" + x1;
         zitatOpen(textnummer);
         }

function zitatOpen(input)
         {
         var textnummer=input
         auf(textnummer);
         window.setTimeout("zitate()",9999);

         }
