if (self.name == 'menu') {
	// Sometimes, Netscape will try to load this index inside the menu frame.  I haven't
	// worked out why but this will detect that situation and reset the location property.
	self.location.href = "menu.htm";
} else {
	initialise();
	var thePage = pageFromSearch('home.htm', theMenu, true);
	
	if (floatingMode) {
		self.document.writeln('<frameset cols="100%" rows="*,31" onUnload="unloadFloating();" onResize="defaultResizeHandler();">');
		self.document.writeln('<frame name="menu" src="menu.htm" scrolling="auto" marginwidth="1" marginheight="1" APPLICATION="yes">');
		self.document.writeln('<frame name="menuCntrl" src="menucntrl.htm" scrolling="no" marginwidth="0" marginheight="0" APPLICATION="yes">');
		self.document.writeln('</frameset>');
	} else {
		self.document.writeln('<frameset cols="100%" rows="94,*" onResize="defaultResizeHandler();">');
		self.document.writeln('<frame name="title" src="title.htm" scrolling="no" noresize marginwidth="0" marginheight="0" APPLICATION="yes">');
		self.document.writeln('<frameset cols="230,*" rows="100%">');
		self.document.writeln('<frameset cols="100%" rows="*,31">');
		self.document.writeln('<frame name="menu" src="menu.htm" scrolling="auto" marginwidth="1" marginheight="1" APPLICATION="yes">');
		self.document.writeln('<frame name="menuCntrl" src="menucntrl.htm" scrolling="no" marginwidth="0" marginheight="0" APPLICATION="yes">');
		self.document.writeln('</frameset>');
		self.document.writeln('<frame name="text" src="' + thePage +'" scrolling="auto" APPLICATION="yes">');
		self.document.writeln('</frameset>');
		self.document.writeln('</frameset>');
	}
}