object.scrollIntoView(bAlignToTop);bAlignToTop Boolean that specifies one of the following values: true Default. Scrolls the object so that top of the object is visible at the top of the window. false Scrolls the object so that the bottom of the object is visible at the bottom of the window.
Example:var coll = document.all.tags("P");
if (coll.length >= 5) {
coll(4).style.textDecoration = "underline";
coll(4).scrollIntoView(true);
}