<!--

// Dieses Script stammt von Dr. Lengerke
// Mail: Jochen@Lengerke.de

var text = "";
var anzeige = "";
var i;

        homan = new Image
        homan.src = "../pic/hom-b1.gif"
        lksan = new Image
        lksan.src = "../pic/lks-b1.gif"
        txtan = new Image
        txtan.src = "../pic/txt-b1.gif"
        bilan = new Image
        bilan.src = "../pic/bil-b1.gif"
        filan = new Image
        filan.src = "../pic/fil-b1.gif"
        human = new Image
        human.src = "../pic/hum-b1.gif"
        infan = new Image
        infan.src = "../pic/inf-b1.gif"
        gbuan = new Image
        gbuan.src = "../pic/gbu-b1.gif"

        homaus = new Image
        homaus.src = "../pic/hom-b0.gif"
        lksaus = new Image
        lksaus.src = "../pic/lks-b0.gif"
        txtaus = new Image
        txtaus.src = "../pic/txt-b0.gif"
        bilaus = new Image
        bilaus.src = "../pic/bil-b0.gif"
        filaus = new Image
        filaus.src = "../pic/fil-b0.gif"
        humaus = new Image
        humaus.src = "../pic/hum-b0.gif"
        infaus = new Image
        infaus.src = "../pic/inf-b0.gif"
        gbuaus = new Image
        gbuaus.src = "../pic/gbu-b0.gif"

        homStatus = "back home"
        lksStatus = "Links"
        txtStatus = "Texte"
        bilStatus = "Bilder"
        filStatus = "Files"
        humStatus = "Humor"
        infStatus = "Infos über Jochen Lengerke"
        gbuStatus = "Gästebuch"


   function img_act(imgName)
   {
   imgOn = eval(imgName + "an.src");
   document [imgName].src = imgOn;}

   function img_inact(imgName)
   {
   imgOff = eval(imgName + "aus.src");
   document [imgName].src = imgOff;}

   function SZeile()
   {
   i=i+1
   anzeige = text.substring(0,i);
   window.status=anzeige;
   // immer wieder scrollen: if (i == text.length) i = 0;
   if (i < text.length) scrolltext();
   }

   function scrolltext()
   {
   setTimeout('SZeile()',50);
   }

   function playover()
   {
   document.all.sound.src="../sound/over.wav";
   }

   function playout()
   {
   document.all.sound.src="../sound/out.wav";
   }

   function WahlOver(imgName)
   {
   img_act(imgName)
   text = eval(imgName + "Status");
   anzeige = "";
   i = 0;
   SZeile()
   playover()
   }

   function WahlOut(imgName)
   {
   img_inact(imgName)
   text="Lengerkes Buddhi-Page"
   i = 1000
   SZeile()
   playout()
   }

//-->
