	if(NN6) {speed = 2;} 
    if(NN4) {speed = 1;} 
    if(IE)  {speed = 1;} 
initPos = -35;
bottomStop = 0;
topStop = -250;
divname="ticker0";
function aus(){
	 clearInterval(SCROLL);
}

function an(move, divname){
	 move2 = move*speed
	 SCROLL = setInterval('scroll(move2, divname)',50)
}

function scrollDif(direction, diff, divname) {
   topStop = getHeight(divname);
   //alert(topStop);
   topStop = (topStop - diff) * -1;
   an(direction, divname);
}


function scroll(richtung, divname){
         objekt = getElement(divname);
		 var layerTopPosition = initPos + richtung;
		 
		 if(NN6) { //xhtml Aktualisierung für NN6
  			layerTopPosition += "px";
  		};
		 
         if ((initPos>topStop) && (initPos<bottomStop)) {
	      objekt.top = layerTopPosition;
	      initPos = initPos + richtung;
	}
	if (initPos<=topStop) initPos = topStop+1;
	if (initPos>=bottomStop) initPos = bottomStop-1;
}


function getHeight(divname) {
    myHeight = 0;
    if(NN6) {myHeight = document.getElementById(divname).offsetHeight;} 
    if(NN4) {myHeight = document.layers["tickerDiv"].document.layers[divname].document.height;} 
    if(IE)  {myHeight = document.all[divname].offsetHeight;} 
    return myHeight;
}

