function newsNavUp(){
	var navInnerCont = document.getElementById("newsInnerCont");
	var navCont = document.getElementById("newsContainer");
	//var slide=navCont.offsetHeight/3;
	//if(navInnerCont.offsetHeight
	//var curr = navInnerCont.style.top;
	//alert("aktuell " + navInnerCont.style.top.substring(0, navInnerCont.style.top.length-2));
	var curr = navInnerCont.style.top.substring(0, navInnerCont.style.top.length-2);
	//navInnerCont.style.top = curr - 100;
	//alert(navInnerCont.offsetHeight); 
	navCont.scrollBy(0, -10);
}


var swidth=100;
var sheight=100;
var sbcolor='#E6E0C9';
var sspeed=1;

var msg=''



msg +=

/* Beginn der Nachricht*/

'<ul><li><b>&raquo; 2. April 2009</b></li>'+
'<li>100% Webservice! E-Mail, Domain und Webspace in einem Paket schon ab 1&#x80; pro Monat.</li>'+
'<li> </li></ul>'+  

/* Ende der Nachricht*/

/* Beginn der Nachricht*/

'<ul><li><b>&raquo; 15. Februar 2009</b></li>'+
'<li>Ihr professioneller Internetauftritt fuer kleines Geld! Wir beraten Sie kostenlos und setzen Ihre Vorstellung in die Tat um.</li>'+
'<li> </li></ul>'+  

/* Ende der Nachricht*/

/* Beginn der Nachricht*/

'<ul><li><b>&raquo; 12. Januar 2008</b></li>'+
'<li>Digitales Dokumente- und Adressmanagement muss nicht teuer sein. Arbeiten Sie profesioneller und effizienter als jemals zuvor. Kostenlose '+
'Informationen fordern Sie bitte unter "Kontakt" an.</li>'+
'<li> </li></ul>'+  

/* Ende der Nachricht*/

'';


var resumesspeed=sspeed
function start() {
	
		sheight=document.getElementById("ticker-container").offsetHeight-50;
		if (document.all) iemarquee(ticker);
		else if (document.getElementById)
				ns6marquee(document.getElementById('ticker'));
}

function iemarquee(whichdiv){
		iediv=eval(whichdiv)
		sheight += 50;
		iediv.style.pixelTop=sheight
		iediv.innerHTML=msg 
		sizeup=iediv.offsetHeight
		ieslide()
}

function ieslide(){
		if (iediv.style.pixelTop>=sizeup*(-1)){
				iediv.style.pixelTop-=sspeed
				setTimeout("ieslide()",100)
		}
		else{
				iediv.style.pixelTop=sheight
				ieslide()
		}
}

function ns6marquee(whichdiv){
		ns6div=eval(whichdiv)
		sheight += 50;
		ns6div.style.top=sheight + "px";
		ns6div.innerHTML=msg
		sizeup=ns6div.offsetHeight
		ns6slide()
}
function ns6slide(){
		if (parseInt(ns6div.style.top)>=sizeup*(-1)){
				theTop = parseInt(ns6div.style.top)-sspeed
				ns6div.style.top = theTop + "px";
				setTimeout("ns6slide()",100)
		}
		else {
				ns6div.style.top = sheight + "px";
				ns6slide()
		}
}

