// Laufschriftgeschwindigkeit = Laufschriftweg alle Laufschriftzeit Millisekunden
// Laufschriftweg
lsdist = 1;
// Laufschriftzeit
lstime = 40;


function news_init(){
	lsheight = document.getElementById("lsText1").offsetHeight;
	document.getElementById("lsText2").style.top = document.getElementById("lsText1").offsetTop + lsheight;
	ls_scroll();
}
function ls_scroll(){
	if(ls_do_scroll){
		ls1pos = document.getElementById("lsText1").offsetTop;
		ls2pos = document.getElementById("lsText2").offsetTop;
		if(ls1pos < (0 - lsheight))ls1pos = ls2pos + lsheight;
		if(ls2pos < (0 - lsheight))ls2pos = ls1pos + lsheight;
		ls1pos -= lsdist;
		ls2pos -= lsdist;
		document.getElementById("lsText1").style.top = ls1pos + "px";
		document.getElementById("lsText2").style.top = ls2pos + "px";
	}
	window.setTimeout("ls_scroll()", lstime);
}
news_sub = 1;
ls_do_scroll=1;
