	
	var textwerte;
	
	function addScrollers() 
	{
	
		//var textwerte;
		for(var i=0; i< textarraywechsel.length; i++)
		{
		    if(i==0)
		    	textwerte = textarraywechsel[i];
		    else
		    	textwerte += textarraywechsel[i];
		}
		startScroll('textwechsel',textwerte);
	}
	
	var speed=10; // scroll speed (bigger = faster)
	var dR=false; // reverse direction
	
	
	
	
	// Vertical Scroller Javascript
	// copyright 24th September 2005, by Stephen Chapman
	// permission to use this Javascript on your web page is granted
	// provided that all of the code below (as well as these
	// comments) is used without any alteration
	var step = 2; 
	function objWidth(obj) {if(obj.offsetWidth) return obj.offsetWidth; 
	if (obj.clip) return obj.clip.width; return 0;} 
	
	function objHeight(obj) {if(obj.offsetHeight) return obj.offsetHeight; if (obj.clip) return obj.clip.height; return 0;} 
	
		var scroll1;
		var scroll2;
		var scroll3;
		
	
	function scrF(i,sH,eH)
	{
		var x=parseInt(i.top)+(dR? step: -step); 
		if(dR && x>sH)
			x=-eH;
		else if(x<2-eH)
			x=sH;
			
		i.top = x+'px';
		
		scroll1 = i;
		scroll2 = sH;
		scroll3 = eH;
		
	} 
	
	var startInt;
	
	function startScroll(sN,txt)
	{
		var scr=document.getElementById(sN); 
		var sW = objWidth(scr)-6; 
		var sH = objHeight(scr); 
		scr.innerHTML = '<div id="'+sN+'in" onmouseover="stopScroll();" onmouseout="restartScroll();" style="border:0px solid;position:absolute; left:2px; width:'+sW+';">'+txt+'<\/div>'; 
		var sTxt=document.getElementById(sN+'in'); 
		var eH=objHeight(sTxt); 
		sTxt.style.top=(dR? -eH : sH)+'px'; 
		sTxt.style.clip='rect(0,'+sW+'px,'+eH+'px,0)'; 
		startInt = setInterval(function() {scrF(sTxt.style,sH,eH);},600/speed);
		
	}
	
	function stopScroll()
	{
		clearInterval (startInt);
	}
	
	function restartScroll()
	{
		startInt = setInterval(function() {scrF(scroll1,scroll2,scroll3);},600/speed);
	}
	
	window.onload = addScrollers;
	                  