Obtenha o valor de rolagem da página JS

/*the following line of code returns how muche the page has scroled down*/
document.body.scrollTop
Cloudy Caribou