Place the following script and link into the page that is going to return the other frames page back to the top.
<script type="text/javascript">
<!--
function gotoTop(){
parent.main.window.scrollTo(0,0)
}
// -->
</script>
<A HREF="#null" onclick="gotoTop()">Return Main To Top</A>
Where main is the target frame name.