//Завернемся во фреймы :-)
if (self === top) {
  var url = document.location.pathname;
  var frameSet
  = '<frameset cols="*,790,*" border="0" frameborder="no" framespacing="0" scrolling="no">'
  +   '<frame src="empty.htm" scrolling="no" marginheight="0" marginwidth="0" noresize>'
  +   '<frameset rows="100,*" border="0" frameborder="no" framespacing="0" scrolling="no">'
  +     '<frame src="menu.htm" scrolling="no" name="menu_bar" marginheight="0" marginwidth="0" noresize>'
  +     '<frame src="'+url+'?framed" scrolling="yes" name="bottom" marginheight="0" marginwidth="0" noresize>'
  +   '</frameset>'
  +   '<frame src="empty.htm" scrolling="no" marginheight="0" marginwidth="0" noresize>'
  + '</frameset>';
  document.open();
  document.write(frameSet);
  document.close();
}
