	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();
		// The first page name to load - top.firstpage - is auto-gen'ed and in 1stpage.js
		var thePage = pageFromSearch(top.firstpage, theMenu, true);
		var hideOutliner = "true" == getParm (top.window.location.href, "hideOutliner", "&");
			if  (window.inSCORMMode) { //there's no banner frame, so rows="*"
				self.document.writeln('<frameset id="rootFrameset" cols="100%" rows="*" onResize="defaultResizeHandler();" onload="OLLloadPage();" onunload="OLLunloadPage();">');
			} else { // we have a banner frame in this case
				self.document.writeln('<frameset id="rootFrameset" cols="100%" rows="50,*" onResize="defaultResizeHandler();" onload="OLLloadPage();" onunload="OLLunloadPage();">');
				self.document.writeln('<frame name="banner" src="courseBanner.html" scrolling="no" noresize marginwidth="0" marginheight="0" APPLICATION="yes">');
			}
			if (!hideOutliner) {
				self.document.writeln('<frameset id="contentFrameset" cols="230,*" rows="100%">'); //"230,*" is also used by hideShowOutline(), defined in courseBanner.html
					self.document.writeln('<frame name="menu" src="menu.htm" scrolling="auto" marginwidth="1" marginheight="1" APPLICATION="yes">');
					self.document.writeln('<frame name="text" src="' + thePage +'" scrolling="auto" APPLICATION="yes">');
				self.document.writeln('</frameset>');
			} else {
				if (top.theBrowser.code == "MSIE") { //we still need to have the contentFrameset in the DOM tree for IE - see hideShowOutline() in courseBanner.html
					self.document.writeln('<frameset id="contentFrameset" cols="0,*" rows="100%">'); //notice the cols set to "0,*", which 'hides' this frameset
						self.document.writeln('<frame name="menu" src="menu.htm" scrolling="auto" marginwidth="1" marginheight="1" APPLICATION="yes">');
						self.document.writeln('<frame name="text" src="' + thePage +'" scrolling="auto" APPLICATION="yes">');
					self.document.writeln('</frameset>');
				} else
					self.document.writeln('<frame name="text" src="' + thePage +'" scrolling="auto" APPLICATION="yes">');
			}

			self.document.writeln('</frameset>'); //rootFrameset
	}






