﻿function logDocPageLoad() {
	callFooterLogFunction();
}

function callFooterLogFunction() {
	if(top.frames["footer"].logDocPageLoad) {
		top.frames["footer"].logDocPageLoad();	
	}
	else {
		setTimeout("callFooterLogFunction()", 500);
	}
}

if (self.name == 'menu') {
	self.location.href = "menu.htm";
} else {
	initialise();
	var thePage = pageFromSearch('treetitl.html', theMenu, true);
	
		self.document.writeln('<frameset cols="100%" rows="62,*,20" frameborder="0" framespacing="0">');
		self.document.writeln('  <frame name="header" src="../../docui_a/hdr_doc.html" scrolling="no" noresize="" marginwidth="0" marginheight="0">');
		self.document.writeln('  <frameset cols="230,*,0" rows="100%" frameborder="1" border="3" framespacing="3" onLoad="loaded = true">');
		self.document.writeln('    <frameset cols="100%" rows="*,0" frameborder="0" border="0" framespacing="0">');
		self.document.writeln('      <frame name="menu" src="../../docui_a/menu.htm" scrolling="auto" marginwidth="1" marginheight="1">');
		self.document.writeln('      <frame name="menuChildLoader" src="../../docui_a/blank.html" scrolling="no" marginwidth="0" marginheight="0">');
		self.document.writeln('    </frameset>');
		self.document.writeln('    <frame name="text" onload="logDocPageLoad()" src="' + thePage +'" scrolling="auto">');
		self.document.writeln('  </frameset>');
		self.document.writeln('  <frame name="footer" src="/inc/footer_frames.html" scrolling="no" noresize marginwidth="0" marginheight="0">');
    self.document.writeln('</frameset>');
} 
