var userAgent = navigator.userAgent.toLowerCase(); var n4 = document.layers? true : false; var ie = (document.all && userAgent.indexOf("mac")<0); var w3c = document.documentElement; var dhtml = ((n4 || ie || w3c) && userAgent.indexOf("aol")<0); //alert('n4 :'+n4+'\nie :'+ie+'\nw3c :'+w3c+'\ndhtml :'+dhtml); function scrollliste(name, parentId, id){ if(ie){document.all.bfa_Div.style.clip = "rect(0px 160px 125px 0px)";} this.name = name; this.hoehe = (n4? 125 : 125); this.el = n4? document.layers[parentId].document.layers[id] : ie? document.all[id] : document.getElementById(id); this.css = n4? this.el : this.el.style; this.inhaltHoehe = n4? this.el.document.height : this.el.offsetHeight; this.inhaltY = 50; this.speed = 1; this.hoch = slisteHoch; this.runter = slisteRunter; } function slisteHoch() { //alert("this.inhaltHoehe: "+this.inhaltHoehe+"<\n this.hoehe: "+this.hoehe+" - this.inhaltY:"+ this.inhaltY); //alert("this.inhaltY : "+ this.inhaltY+"\nthis.inhaltHoehe:"+this.inhaltHoehe); if(this.inhaltY > -230){ this.inhaltY -= this.speed; this.css.top = this.inhaltY; } else { this.inhaltY = 40; this.css.top = this.inhaltY; } /* if(this.inhaltHoehe < (this.hoehe - this.inhaltY)){ if (this.inhaltY>-this.inhaltHoehe) {this.inhaltY -= this.speed;} else this.inhaltY = this.hoehe; this.css.top = this.inhaltY; } */ } function slisteRunter() { //alert("this.inhaltY:"+this.inhaltY+"\nthis.inhaltHoehe:"+this.inhaltHoehe); if(this.inhaltY < 150){ this.inhaltY += this.speed; this.css.top = this.inhaltY; } else { this.inhaltY = -150; this.css.top = this.inhaltY; } /* if(this.inhaltY <0){ if (this.inhaltY':'
'; text += n4?'':'
'; document.write(text); } function slisteLayer2(){ var text=""; text += n4?'':'
'; document.write(text); }