ma così non ti funziona?
codice:
<HTML>
<HEAD>
<script language="javascript">
if(window.location==parent.location)location='tuoframeset.htm'
</script>
</HEAD>
<BODY>
....
</BODY>
</HTML>