function checkBrowserForVersion4(){nn4=false;nn6=false;w3c=false;ie4=false;ie5=false;opa=false;//Belegen der Browser-Variablen//Netscape 4if (navigator.appName.substring(0,8)=="Netscape" && parseInt(navigator.appVersion)==4)    nn4=true;else if (document.getElementById) {        w3c=true;        if (navigator.appName.substring(0,8)=="Netscape" && parseInt(navigator.appVersion)>=5)           nn6=true;        if (navigator.appName.substring(0,8)=="Microsof" && parseInt(navigator.appVersion)>=4)           ie5=true;     }else if (navigator.appName.substring(0,8)=="Microsof" && parseInt(navigator.appVersion)>=4)        ie4=true;if (navigator.appName=="Opera")   opa=true;if (nn4 || nn6 || w3c || ie4 || ie5 || opa) {   setVariables();}}function setVariables(){         if (nn4) dLayer=document.layers["object1"];         else if (w3c) dLayer=document.getElementById("object1").style;checkLocation();}obW=150+15  // set this to your logo width +30obH=200+15   // set this to your logo height +30 ... the extra distance moves the logo away from the scroll barsfunction checkLocation(){         if (nn4 || nn6) {            iW=window.innerWidth;            iH=window.innerHeight;            osX=window.pageXOffset;            osY=window.pageYOffset;         }else if (ie4 || ie5) {            iW=document.body.clientWidth;            iH=document.body.clientHeight;            osX=document.body.scrollLeft;            osY=document.body.scrollTop;         }else if (w3c) {            iW=window.innerWidth;            iH=window.innerHeight;            osX=window.pageXOffset;            osY=window.pageYOffset;            //alert(iW+" -- "+iH+" -- "+osX+" -- "+osY);         }        dLayer.left=iW-obW+osX;        dLayer.top=iH-obH+osY;        dLayer.pixelLeft=iW-obW+osX;        dLayer.pixelTop=iH-obH+osY;setTimeout("checkLocation()",100)}
