<script language="javascript">
function switchScreen(v)
{
if(v=='d')
{
mf.rows="0,*";
window.frames.topFrame.location='blank.htm';
}
else
{
mf.rows="*,0";
window.frames.topFrame.location='http://sample.htm';
}
}
</script>
<frameset name="mf" id="mainFrame" rows="*,0" frameborder=no framespacing=0>
<frame name='topFrame' id="tp" src='http://sample.htm/' scrolling="no" frameborder=0 noresize marginheight=0 marginwidth=0>
<frame name='bottomFrame' id="bp" src='Main.html' scrolling="no" frameborder=0 noresize marginheight=0 marginwidth=0>
</frameset>
The function is called from within the bottom frame