Window JavaScript Tutorial

The pageYOffSet property reflects the current vertical pixel location of the top-left corner of the document.