var viewWidth = 724;
var textWidth;
var curPos;

function ticker_start(){	
	
	document.getElementById('start_content_news_ticker_text_id').style.left = viewWidth+'px';
	curPos = viewWidth;
	
	textWidth = document.getElementById('start_content_news_ticker_text_id').offsetWidth;

	setInterval(tickerLeft,50);
	
}


function tickerLeft(){
	
	//Endeposition berechnen
	var endPos = curPos + textWidth;

	
	if(endPos>=0){
		curPos = curPos-1;
		document.getElementById('start_content_news_ticker_text_id').style.left = curPos+'px';
	}else{
		curPos = viewWidth;
		document.getElementById('start_content_news_ticker_text_id').style.left = viewWidth+'px';
	}
	
}