/*************************************************
* Function to create frame set in index.html of online format
*************************************************/
function indexOnline() {
	if (document.all){ // for IE
		document.write('<frameset id="master" rows="50,*" style="cursor:e-resize" border="0" frameborder="no">');
	} else { // for Mozilla
		document.write('<frameset id="master" rows="50,*" style="cursor:e-resize" border="1" frameborder="yes">');
	}
	
	// border, frameborder are illegal 
	document.write('<frame src="masthead.html" name="masthead" scrolling="NO" noresize="noresize" />');
	
	// scrolling is illegal 
	document.write('<frameset cols="250,*">');
	document.write('<frame src="menu.html" name="navigation" scrolling="auto" style="border-right:2px solid #48689C" />');
	document.write('<frame src="main.html" name="content" style="border-left:2px solid #48689C" />');
	document.write('</frameset>');
	document.write('</frameset>');
}

/*************************************************
* Function to create frame set in index.html of paginated format
*************************************************/
function indexPaginated(menu, main) {
	if (document.all){ // for IE
		document.write('<frameset rows="*" cols="250,*"   style="cursor:e-resize"  border="0" frameborder="no">');
	} else { // for Mozilla
		document.write('<frameset rows="*" cols="250,*"   style="cursor:e-resize"  border="1" frameborder="1">');
	}

	// border, frameborder are illegal 
	document.write('<frame src="' + menu +'"  name="navigation" scrolling="auto" style="border-right:2px solid #48689C" />');
	
	// scrolling is illegal 
	document.write('<frame src="' + main + '"  name="content" scrolling="auto"  style="border-left:2px solid #48689C" />');
	document.write('</frameset>');
}
