parti da una cosa del genere
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>frameset</title>
<script type="text/javascript">
/*<![CDATA[*/
window.onload=function(){
	var qs=self.location.search;
	if(qs){
		qs=qs.substring(1).split('&');
		for(var k=0;k<qs.length;k++){
			var vQs=qs[k].split('=');
			if(vQs[0]=='fr1') document.getElementById('frame1').contentWindow.location.replace(vQs[1]);
			if(vQs[0]=='fr2') document.getElementById('frame2').contentWindow.location.replace(vQs[1]);
		}
	}
}
/*]]>*/
</script>
</head>
<frameset rows="33%,*">
	<frame id="frame1" src="sopra.htm" />
	<frame id="frame2" src="sotto.htm" />
</frameset>
</html>
richiamato da un link del genere
codice:
frameset
ciao