<frameset rows="*, 75"> <frame src="about:blank" name="main"> <frame src="2.html"> </frameset>
<script> if(parent.frames['main'].alert)alert("true"); else alert("false"); </script>