var str = location.search;
var writeFrames = (str.indexOf("nowritefs")) && (top.window.length == 0);
if (writeFrames)
{
  if (str == "")
  {
    var bodyFrame = window.location + "?nowritefs";
  }
  else
  {
    var bodyFrame = window.location + "&nowritefs";
  }
  document.write(
  '<frameset rows="20%,*" cols="*" noresize frameborder="no" framespacing="0" border="0">',
    '<frame name="rtop" target="rbottom" noresize scrolling="no" src="sitetitlebar.htm">',
    '<frameset rows="*" cols="18%,*">',
      '<frame name="left" scrolling="no" noresize target="rtop" src="siteindex.htm">',
      '<frame name="main" noresize src="', bodyFrame, '" NAME="bodyframe">',
    '</FRAMESET>',
  '</FRAMESET>'
  );
}
