<script>
var haform = false;
</script>
<input type="button" onClick="top.frameinf.location = 'pagconform.html';haform=true;">
<input type="button" onClick="if (haform) top.frameinf.document.nomeform.submit(); top.frameinf.location = 'altrapag.html';haform=false;">