What do you want to know? How to create a link that returns to the top of the page, or how to make it stay at the top right of the browser window?
If it's the former:
At the top of the page, create an object with an id, for instance
<a id="top"></a>
Then at the bottom of the page, create an object that sends to the top
<a href="#top">Go back to the top</a>
If what you want to know is how to make it stay to the top right corning, then you need to make the link at the bottom into
<a href="#top" style="position: fixed; top: 5px; right: 5px;">Go back to the top</a>
This won't work in versions of Internet Explorer older than IE7, but there are
work arounds.