ma non ti bastava mettere nella pagina che va nel frame di dstra?
codice:
<body onload="if(top.location.hash!=''&&self.location.hash=='')self.location.href+=top.location.hash" ...
comunque se vuoi fare come stai facendo devi scrivere tutto il frameset con javascript
codice:
<script language="javascript">
document.write('<frameset cols="130,*">\n'); 
document.write('<frame name="rtop" target="rbottom" src="sx.htm">\n'); 
document.write('<frame name="rbottom" target="rbottom" src="'+destinazione+'">\n'); 
document.write('<noframes>\n'); 
</script>
<body> 


This page uses frames, but your browser doesn't support them.</p> 


This page uses frames, but your browser doesn't support them.</p> 
</body> 
</noframes> 
</frameset>