	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 = "loading.html";
	} else {
		initialise();
		var thePage = pageFromSearch('courseDoc.html', theMenu, true);
		var hideOutliner = "true" == getParm (top.window.location.href, "hideOutliner", "&");
		self.document.writeln('<frameset id="bannerFrameset" cols="100%" rows="50,*" onResize="defaultResizeHandler();">');
			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="loading.html" 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="loading.html" 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>');
	}






