function MainMenuSetup() {

	sniffBrowsers();

	height = 24;
	width = 200
	// width (2nd field = 650) is ignored
	MB = new menuBar('MB', '650', 'vertical', '#483D9D', '#ff0000', '24');
	MB.addLabel(null, 'Home', 1, 90, '#74A2FF', '#90B5FF', 'index.html', 'center');
        MB.addLabel(null, 'Our Sponsors', 2, 90, '#74A2FF', '#90B5FF', 'sponsors.html', 'center');
	MB.addLabel(null, 'Fundraising &amp; Special Events', 3, 90, '#74A2FF', '#90B5FF', 'fundraising.html', 'center');
	MB.addLabel(null, 'Schedules', 4, 90, '#74A2FF', '#90B5FF', '', 'center');
	//MB.addLabel(null, 'Meet Sign Ups', 5, 90, '#74A2FF', '#90B5FF', 'directathletics.html', 'center');
        MB.addLabel(null, 'Information', 5, 90, '#74A2FF', '#90B5FF', '', 'center');
	MB.addLabel(null, 'Volunteer', 6, 90, '#74A2FF', '#90B5FF', '', 'center');
	MB.addLabel(null, 'Registration', 7, 90, '#74A2FF', '#90B5FF', '', 'center');
	MB.addLabel(null, 'Records', 8, 90, '#74A2FF', '#90B5FF', '', 'center');

	i=1;
        // home
	menus[i] = new menu(width, 'vertical', '#ffffff', '#00FF00');
	menus[i].height = height;
	menus[i].writeMenu();
 	menus[i].align = "right";

	i++;
	// Sponsors
	menus[i] = new menu(width, 'vertical', '#00FF00', '#00FF00');
	menus[i].height = height;
	menus[i].writeMenu();
 	menus[i].align = "right";

	i++;
	// Special Events
	menus[i] = new menu(width, 'vertical', '#00FF00', '#00FF00');
	menus[i].height = height;
	menus[i].writeMenu();
 	menus[i].align = "right";


	i++;
	// Schedules
	menus[i] = new menu(width, 'vertical', '#ffffff', '#ff0000');
	menus[i].height = height;
	menus[i].addItem(null, 'Practices', null, 999, '#E6F2FF', '#ffffff', 'practices.html', 'left');
	menus[i].addItem(null, 'Meets &amp; Directions', null, 999, '#E6F2FF', '#ffffff', 'meets.html', 'left');
	menus[i].addItem(null, 'General Calendar', null, 999, '#E6F2FF', '#ffffff', 'calendar.html', 'left');
	menus[i].writeMenu();
 	menus[i].align = "right";


/*
	i++;
        // sign ups
	menus[i] = new menu(width, 'vertical', '#ffffff', '#00FF00');
	menus[i].height = height;
	menus[i].writeMenu();
 	menus[i].align = "right";

*/



	i++;
	// Information
	menus[i] = new menu(width, 'vertical', '#ffffff', '#ff0000');
	menus[i].height = height;
	menus[i].addItem(null, 'About Us', null, 999, '#E6F2FF', '#ffffff', 'about_us.html', 'left');
	menus[i].addItem(null, 'Contact Us', null, 999, '#E6F2FF', '#ffffff', 'contact_us.html', 'left');
	menus[i].addItem(null, 'Handbook', null, 999, '#E6F2FF', '#ffffff', 'handbook.html', 'left');
	menus[i].writeMenu();
 	menus[i].align = "right";


	i++;
	// Volunteer
	menus[i] = new menu(width, 'vertical', '#ffffff', '#ff0000');
	menus[i].height = height;
	menus[i].addItem(null, 'For Meets', null, 999, '#E6F2FF', '#ffffff', 'volunteer1.html', 'left');
	menus[i].addItem(null, 'For Fundraisers and<br/>&nbsp;Special Events', null, 999, '#E6F2FF', '#ffffff', 'volunteer2.html', 'left');
	menus[i].writeMenu();
 	menus[i].align = "right";

	i++;
	// Registration
	menus[i] = new menu(width, 'vertical', '#ffffff', '#ff0000');
	menus[i].height = height;
	menus[i].addItem(null, 'Returning Swimmers', null, 999, '#E6F2FF', '#ffffff', 'registration1.html', 'left');
	menus[i].addItem(null, 'New Swimmers', null, 999, '#E6F2FF', '#ffffff', 'registration2.html', 'left');
	menus[i].writeMenu();
 	menus[i].align = "right";

	i++;
	// Records
	menus[i] = new menu(width, 'vertical', '#ffffff', '#ff0000');
	menus[i].height = height;
	menus[i].addItem(null, '2007 OST Records', null, 999, '#E6F2FF', '#ffffff', 'xwp_schedule.html', 'left');
	menus[i].writeMenu();
 	menus[i].align = "right";

	i++;
	// FreeKick
//	menus[i] = new menu(width, 'vertical', '#00FF00', '#00FF00');
//	menus[i].height = height;
//	menus[i].addItem(null, 'Latest FreeKick', null, 999, '#000000', '#000000', 'Latest_FreeKick.pdf', 'left');
//	menus[i].addItem(null, 'Older FreeKicks', null, 999, '#000000', '#000000', 'archives.html', 'left');
//	menus[i].writeMenu();
//	menus[i].align = "right";

	i++;
	// Links
	menus[i] = new menu(width, 'vertical', '#00FF00', '#00FF00');
	menus[i].height = height;
	menus[i].writeMenu();
    menus[i].align = "right";


}




