var scrollTop=window.pageYOffset||document.documentElement.scrollTop;
Please note: JavaScript is required to post comments.