function getViewportScrollY() { var b = 0; if (document.documentElement && document.documentElement.scrollTop) { b = document.documentElement.scrollTop } else if (document.body && parent.document.body.scrollTop) { b = document.body.scrollTop } else if (window.pageYOffset) { b = window.pageYOffset } else if (window.scrollY) { b = window.scrollY } return (b) } function floatDiv() { n6 = (document.getElementById && !document.all); n4 = (document.layers); ie = (document.all); d = (n4 || ie) ? 'document.' : 'document.getElementById("'; a = (n4 || n6) ? '' : 'all.'; n6r = (n6) ? '")' : ''; s = (n4) ? '' : '.style'; browser = ""; var b = ie && !window.opera ? ietruebody().clientHeight : window.innerHeight - 20; document.getElementById("divReklam").style.top = getViewportScrollY() + 'px'; z = setTimeout("floatDiv()", 0) }
