I have a <div id='main' style='height:260px; scroll:auto; scroll-y:auto; scroll-x:hidden'> that produces a scrollbar after 260 pixels and I would like to capture the position of the scrollbar in pixels as the user scrolls up and down and wite it to the page via document.write.

tia ,
cmc