JQuery Get Document Scrolltop

var top = ($(window).scrollTop() || $("body").scrollTop());
Agreeable Addax