<!--

    browserName = navigator.appName;   // detect browser
    browserVer = parseInt(navigator.appVersion);
    if (browserName.indexOf("Netscape") != -1)
       browserName = "Netscape"
    if (browserName.indexOf("Microsoft") != -1)
       browserName = "Microsoft Internet Explorer"


  Height=10000;

    function GetInnerHeight()
    {
       if (browserName == "Netscape" && browserVer > 3)
       {
          Height = window.innerHeight;
       }
       if (browserName == "Microsoft Internet Explorer" && browserVer > 3)
       {
          Height = document.body.offsetHeight;
       }
       return Height
    }


    function GetHeight()
    {
       HeightStr = "Height=800"
       Height = GetInnerHeight();
       if (Height < 400) Height = 400;
       if (Height > 1400) Height = 1400;
       Height = 50*Math.floor((Height+49)/50);
       HeightStr = ""+Height;
       return HeightStr
    }

    
    function statbar(txt) {
       window.status = txt;
    }

    function BodyTag()
    {
       if (browserName == "Microsoft Internet Explorer")
       {
          document.writeln('<body onresize="self.location.href=self.location.href">');
          document.body.background = "pic/BG-Blaukeil-"+GetHeight()+".jpg";
       }
       if (browserName == "Netscape")
       {
          document.writeln('<body background="pic/BG-Blaukeil-'+GetHeight()+'.jpg" onresize="self.location.href=self.location.href">');
       }
    }

 

function pdfLink1(Doc,Size,Comment,Titel)
    {
        server = "prof-gossner.eu/pdf/";
        hauptthema = "Lehrbuch - Grundlagen der Elektronik";
        endung = ".pdf";
       pdfLink(Doc,Size,Comment,Titel);
    }

function pdfLink2(Doc,Size,Comment,Titel)
    {
        server = "profgossner.members.winisp.net/pdf/";
        hauptthema = "Hochschule M&uuml;nchen";
        endung = ".pdf";
       pdfLink(Doc,Size,Comment,Titel);
    }

function pdfLink3(Doc,Size,Comment,Titel)
    {
        server = "prof-gossner.eu/PowerPoint/";
        hauptthema = "PowerPointFolien";
        endung = ".ppt";
        pdfLink(Doc,Size,Comment,Titel);
    }

function pdfLink(Doc,Size,Comment,Titel)
    {
       document.writeln('<a href="http://',server,Doc,endung,'" target="Middle" onMouseOver="window.status=\' ',hauptthema,' / ',Comment,' - (',Size,' KB)\';return true;" onMouseOut="window.status=\'\';return true;">',Comment,'</a><br>');
    }

//-->