//Nur für IE 5+, NN6+ und Opera 5+
ie5=(document.getElementById && document.all && document.styleSheets)?1:0;
nn6=(document.getElementById && !document.all)?1:0;
op5=(document.getElementById && document.all && !document.styleSheets)?1:0;

function floatToTop() {
	if (ie5) {
		document.all.toTop.style.pixelTop = document.body.offsetHeight+document.body.scrollTop-125; 
    		document.all.toTop.style.visibility = 'visible';    
	}
	else if (op5) {
    		document.all.toTop.style.pixelTop = document.body.offsetHeight+document.body.scrollTop-130; 
    		document.all.toTop.style.visibility = 'show';
	}
	else if (nn6) {
		document.getElementById("toTop").style.top = (window.pageYOffset+window.innerHeight-123)+'px';  
    		document.getElementById("toTop").style.visibility="visible";
  }
}

if (ie5)
	window.onscroll = floatToTop;
else
	setInterval ('floatToTop()', 100);
