var scrollBottom=$('body').height()-$(window).height()-$(window).scrollTop();
Please note: JavaScript is required to post comments.