try this:

It's client-side javascript not ASP stuff

Code:
<script language="JavaScript">
<!--
function repostit(){

parent.frames('frameName').location = 'filename.htm';
//-->
}

</script>
<HTML>


<INPUT  name=submit1 type=button value=Submit onclick="javascript:repostit()">  

<body>

</body>
</HTML>