
function onLoad() {
    loadMenus();
}

function loadMenus () {
	
	window.mySubMenu0 = new Menu("Table of Contents");
	mySubMenu0.addMenuItem("Table of Contents", "location='../contents.html'");   
	mySubMenu0.menuItemWidth = 170;
	
	window.mySubMenu2 = new Menu("Frontline");
	mySubMenu2.addMenuItem("Breaking News", "parent.location='../departments/breaking_news.shtml'");  
	mySubMenu2.addMenuItem("Health", "parent.location='../departments/health.shtml'");  
    mySubMenu2.addMenuItem("Energy & Environment", "parent.location='../departments/eande.shtml'");  
    mySubMenu2.addMenuItem("Advanced Materials", "parent.location='../departments/am.shtml'");  
    mySubMenu2.addMenuItem("Online", "parent.location='../departments/online.shtml'"); 
	mySubMenu2.menuItemWidth = 170; 
	
// ************************* Begin actual menu ***********************************

	window.myMenu0 = new Menu("Research Review");
	myMenu0.addMenuItem("<A HREF='../index.html'><IMG SRC='../images/icon_cover_art.jpg' BORDER=0></A>", "top.location='../index.html'");
	/* myMenu0.addMenuItem("../images/cover_geyser_sm.jpg", "location='../index.html'", "#FFFFFF",  "../images/cover_geyser_sm.jpg"); */
	myMenu0.menuItemWidth  = 99;
	myMenu0.menuItemHeight  = 118;
	myMenu0.menuItemIndent = 0;

	// Features
	window.myMenu1 = new Menu("Features");
	/* myMenu1.addMenuItem(mySubMenu);
	myMenu1.addMenuSeparator(); */
	myMenu1.addMenuItem("The World Below", "location='../stories/cover_splash.shtml'");
    myMenu1.addMenuItem("Isotopes: Stopwatches for Geology", "location='../stories/story2_splash.shtml'");
    myMenu1.addMenuItem("Life Beneath the Surface", "location='../stories/story3_splash.shtml'");
    myMenu1.addMenuItem("Energy From Within", "location='../stories/story4_splash.shtml'");
	myMenu1.addMenuItem("Physics Under Rock and Ice", "parent.location='../stories/story5_splash.shtml'");
	myMenu1.addMenuItem("Out of Sight", "location='../stories/story6_splash.shtml'");
	myMenu1.menuItemWidth  = 235;
	
	/* code for inserting image into menu 
	myMenu2.addMenuItem("/hypertext/welcome/images/icon_5rings20.gif", "location='/'", "#CCCCCC",  "/hypertext/welcome/images/icon_5rings20_on.gif");  */
	
	// Departments
	window.myMenu2 = new Menu("Departments");
	myMenu2.addMenuItem(mySubMenu2);
		myMenu2.addMenuSeparator();
	myMenu2.addMenuItem("In The News", "location='../departments/inthenews.shtml'"); 
	myMenu2.addMenuItem("In Memoriam: Glenn Seaborg", "location='../departments/in_memoriam.shtml'"); 
	myMenu2.addMenuItem("Science Notes", "location='../departments/sciencenotes.shtml'"); 
	myMenu2.bgColor = "#000000";
	myMenu2.menuItemWidth  = 200;
	
	// Back Issues
	window.myMenu3 = new Menu("Contents")
	myMenu3.addMenuItem("Table of Contents", "location='../contents.html'");
		myMenu3.addMenuSeparator();
	myMenu3.addMenuItem("Back Issues", "location='http://www.lbl.gov/Science-Articles/Research-Review/newsstand.html'");
    myMenu3.menuItemWidth  = 130;
	
   	myMenu3.writeMenus();
}