//menu objects

function onLoad() {
    window.onResize = onLoad;
    loadMenus();
}

function loadMenus () {

	window.mbi = new Menu("Maine Business Indicators");
	
	    mbi.addMenuItem("Latest Issue", "top.window.location='http://www.usm.maine.edu/cber/mbi/MBIFeb2003.pdf'");
	    mbi.addMenuItem("Old Issues", "top.window.location='http://www.usm.maine.edu/cber/mbi/issues.htm'");
		mbi.addMenuItem("MBI Homepage", "top.window.location='http://www.usm.maine.edu/cber/mbi/mbi.htm'");


	window.empty = new Menu("Empty");

	window.mti = new Menu("Maine Technology Institute (MTI) Program Evaluation Reports");
		mti.addMenuItem("MTI Report 2002", "top.window.location='http://www.usm.maine.edu/cber/activities/MTI Final Report 02.pdf'");
		mti.addMenuItem("MTI Report 2004", "top.window.location='http://www.usm.maine.edu/cber/activities/MTI Final Report 2004.pdf'");
		mti.menuItemWidth = 150;

	window.reports = new Menu("Reports");	
		reports.addMenuItem(mti);
		reports.addMenuItem("Migration and Youth Migration from Aroostook County (2004)", "top.window.location='http://www.nmdc.org/pdf/aroostook_outmigration_report.pdf'");
		reports.addMenuItem("Measuring and Tracking New Economies (2004)", "top.window.location='http://www.usm.maine.edu/cber/activities/Measuring and Tracking New Economies.doc'");
		reports.addMenuItem("The Creative Economy in Maine (2004)", "top.window.location='http://efc.muskie.usm.maine.edu/docs/CEreport.pdf'");
		reports.bgColor = "#dddddd";
	    	
	
	window.papers = new Menu("Papers");
		
		papers.addMenuItem("A Prerequisite for Meaningful State Economic Performance Comparisons: Adjusting for Population Density (2004)", "top.window.location='http://www.usm.maine.edu/cber/activities/lpFinalannalsofregional040604 .pdf'");
		papers.addMenuItem("A Framework for Assessing Cluster Development (2003)", "top.window.location='http://www.usm.maine.edu/cber/activities/framework.pdf'");
		papers.addMenuItem("Beyond the Unemployment Rate: Workforce Profiles for Economic Development (2003)", "top.window.location='http://www.usm.maine.edu/cber/activities/Beyond the Unemployment Rate.pdf'");
		papers.addMenuItem("A Successful Loan Default Prediction Logistic Model for Small Business", "top.window.location='http://www.usm.maine.edu/cber/activities/credit.pdf'");
	    papers.addMenuItem("A Successful Loan Default Prediction Neural Network Model for Small Business", "top.window.location='http://www.usm.maine.edu/cber/activities/paper.pdf'");
		papers.addMenuItem("Effects of Geographic Diversification for Financial Institutions", "top.window.location='http://www.usm.maine.edu/cber/activities/georoe041802.pdf'");
	    papers.menuItemWidth = 470;
		papers.bgColor = "#dddddd";

	window.presentations = new Menu("Presentations");
		
		presentations.addMenuItem("Maine at Mid-Decade (Jan 2005)", "top.window.location='http://www.usm.maine.edu/cber/activities/Maine at Mid-Decade.pdf'");
	    presentations.menuItemWidth = 200;
		presentations.bgColor = "#dddddd";
		
	window.projects = new Menu("Projects");	
	
		projects.addMenuItem("CURRENT", "top.window.location='projects.html'");
		projects.addMenuItem("COMPLETED", "top.window.location='c_projects.html'");
	    //projects.addMenuItem("Labor Force Analysis", "top.window.location='http://www.mainebusinessworks.org/providers/lfa_devel_4/index.cfm'");
	    //projects.addMenuItem(mbi);
	    //projects.addMenuItem("CEDS");
	    //projects.addMenuItem("Economic Forecasting");
	    //projects.addMenuItem("Current Activities", "top.window.location='http://www.usm.maine.edu/cber/c_projects.html'");
		//projects.addMenuItem(papers);
		//projects.addMenuItem("MaineBusinessWorks", "top.window.location='http://www.mainebusinessworks.org'");
		projects.menuItemWidth = 150;
		
		
		   
   
	window.studies = new Menu("Studies");
	
	    studies.addMenuItem("This ", "top.window.frames[1].document.bgColor='red'");
	    studies.addMenuItem("That ", "top.window.frames[1].document.bgColor='green'");
	    studies.addMenuItem("The Other", "top.window.frames[1].document.bgColor='blue'");
	    studies.addMenuItem("Another", "top.window.frames[1].document.bgColor='white'");
    
	
	window.staff = new Menu("Staff");
	
	    staff.addMenuItem("&nbsp;Bruce Andrews, Ph.D. ", "top.window.location='http://www.usm.maine.edu/cber/resumes/Bruce_Andrews.html'");
	    staff.addMenuItem("&nbsp;Charlie Colgan, Ph.D. ", "top.window.location='http://www.usm.maine.edu/cber/resumes/Charlie_Colgan.html'");
		staff.addMenuItem("&nbsp;Frederic Aiello, M.B.A.", "top.window.location='http://www.usm.maine.edu/cber/resumes/Frederic_Aiello.html'");
		staff.addMenuItem("&nbsp;Nancy Artz, Ph.D.", "top.window.location='http://www.usm.maine.edu/cber/resumes/Nancy_Artz.html'");
		staff.addMenuItem("&nbsp;Michael Donahue, M.S.", "top.window.location='http://www.usm.maine.edu/cber/resumes/Michael_Donahue.html'");
		staff.addMenuItem("&nbsp;Richard Grover, Ph.D.", "top.window.location='http://www.usm.maine.edu/cber/resumes/Richard_Grover.html'");
		staff.addMenuItem("&nbsp;Michael Hillard, Counsultant", "top.window.location='http://www.usm.maine.edu/cber/resumes/Michael_Hillard.html'");
	 	staff.addMenuItem("&nbsp;John B. Jensen, Ph.D.", "top.window.location='http://www.usm.maine.edu/cber/resumes/Jack_Jensen.html'");
		staff.addMenuItem("&nbsp;John Sanders, Associate Professor of Accounting", "top.window.location='http://www.usm.maine.edu/cber/resumes/John_Sanders.html'");
		staff.addMenuItem("&nbsp;Bert Smoluk, Ph.D.", "top.window.location='http://www.usm.maine.edu/cber/resumes/Bert_Smoluk.html'");
		staff.addMenuItem("&nbsp;James Suleiman, Ph.D.", "top.window.location='http://www.usm.maine.edu/~suleiman/'");
		staff.addMenuItem("&nbsp;John Voyer, Ph.D.", "top.window.location='http://www.usm.maine.edu/cber/resumes/John_Voyer.html'");	
		//staff.addMenuItem("Scott Robinett, MIS", "top.window.location='http://www.usm.maine.edu/cber/resumes/Scott_Robinett.html'");
		staff.addMenuItem("&nbsp;Additional Staff", "top.window.location='http://www.usm.maine.edu/cber/addl_staff.html'");
		//staff.fontColor = "blue";
	    //staff.menuItemBgColor = "white";
	    //staff.menuHiliteBgColor = "#e0e0e0";
		staff.bgColor = "#dddddd";
		staff.menuItemWidth = 250;
	
	
	window.resume = new Menu("Menu");
	
	    resume.addMenuItem("Consulting Expertise", "top.window.location='#consulting'");
	    resume.addMenuItem("Consulting Clients", "top.window.location='#clients'");
	    resume.addMenuItem("Work Experience", "top.window.location='#work'");
	    resume.addMenuItem("Published Research", "top.window.location='#publications'");
		resume.addMenuItem("Education", "top.window.location='#education'");
		resume.addMenuItem("Miscellaneous", "top.window.location='#miscellaneous'");

	
	window.link = new Menu("Links");
	
	    link.addMenuItem("USM School of Business", "top.window.location='http://www.usm.maine.edu/sb'");
		link.addMenuItem("USM Muskie School of Public Service", "top.window.location='http://www.muskie.usm.maine.edu/'");
	    link.addMenuItem("Economic Development Administration", "top.window.location='http://www.doc.gov/eda/'");
		link.addMenuItem("Maine Technology Institute", "top.window.location='http://www.mainetechnology.org/'");
	 	//link.fontColor = "black";
	    //link.bgColor = "white";
	    //link.menuItemBgColor = "#dddddd";
	    //link.menuHiliteBgColor = "red";
	 	//link.addMenuItem("empty", "top.window.location=''");
		//link.addMenuItem("empty", "top.window.location=''");
		link.menuItemWidth = 250;
		link.bgColor = "#dddddd";

	link.writeMenus();

}
