var crossobj=document.all? document.all.fusszeile : document.getElementById? document.getElementById("fusszeile") : document.fusszeile function positionit(){ var dsocleft=document.all? document.body.scrollLeft : pageXOffset var dsoctop=document.all? document.body.scrollTop : pageYOffset var window_width=document.all? document.body.clientWidth : window.innerWidth var window_height=document.all? document.body.clientHeight : window.innerHeight //IE 4+ or NS6+ if (document.all||document.getElementById){ crossobj.style.left=parseInt(dsocleft) crossobj.style.top=dsoctop+window_height-21 } //else if NS 4 else if (document.layers){ crossobj.left= dsocleft crossobj.top=dsoctop+window_height-21 } } setInterval("positionit()",5)