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="*,55" frameborder="NO" border="0" framespacing="0">', 
  			'<frame name="mainFrame" src="', bodyFrame , '">',
  			'<frame name="bottomFrame" scrolling="NO" noresize src="/bottom.htm">',
		'</frameset>'
					);
}

