//Variables to set
between=22		//The pixel between the menus and the submenus
mainheight=20		//The height of the mainmenus
subheight=18		//The height of the submenus
pxspeed=30		//The pixel speed of the animation
timspeed=15		//The timer speed of the animation
menuy=112			//The top placement of the menu.102
menux=13   	//The left placement of the menu.9

//Images - Play with these
level0_regular="/slide2image/level0_regular.gif"
level0_round="/slide2image/level0_round.gif"
level1_regular="/slide2image/level1_regular.gif"
level1_round="/slide2image/level1_round.gif"
level1_sub="/slide2image/level1_sub.gif"
level1_sub_round="/slide2image/level1_sub_round.gif"
level1_round2="/slide2image/level1_round2.gif"
level2_regular="/slide2image/level2_regular.gif"
level2_round="/slide2image/level2_round.gif"

// MOD01: Highlight images for current link in open submenu
level1_regular_hi="/slide2image/level1_regular_hi.gif";
level1_round_hi="/slide2image/level1_round_hi.gif";
// MOD01: Highlight images for current link in open sub2menu
level2_regular_hi="/slide2image/level2_regular_hi.gif";
level2_round_hi="/slide2image/level2_round_hi.gif";

level0_regular_hi="/slide2image/level0_regular_hi.gif";
level0_round_hi="/slide2image/level0_round_hi.gif";
// MOD09: Top level image with drop-down arrow
level0_sub="/slide2image/level0_sub.gif";

//Leave this line
preLoadBackgrounds(level0_regular,level0_round,level1_regular,level1_round,level1_sub,level1_sub_round,level1_round2,level2_regular,level2_round,
	level0_regular_hi, level0_round_hi, level1_regular_hi,level1_round_hi,level2_regular_hi,level2_round_hi,level0_sub)

//There are 3 different types of menus you can make
//top = Main menus
//sub = Sub menus
//sub2 = SubSub menus

//You control the look of the menus in the stylesheet
//makeMenu('TYPE','TEXT','LINK','TARGET', 'END (THE LAST MENU)')

makeMenu('top','Home', '/welcome.html')
makeMenu('top','NERRS News&nbsp&nbsp;&nbsp;&nbsp;','http://www8.nos.noaa.gov/publicnerrs/newshome.aspx')
//makeMenu('top','NERRS News&nbsp&nbsp;&nbsp;&nbsp;','/news/index.html')
// REMOVED - makeMenu('top','Employees Home', '/foremployees/welcome.html')

makeMenu('top','Background&nbsp;&nbsp;&nbsp;')
	makeMenu('sub','Overview','/Background_overview.html')
	makeMenu('sub','Strategic Plan','/Background_StrategicPlan.html')
	makeMenu('sub','Legislation','/Background_Legislation.html')
	makeMenu('sub','Regulations','/Background_Regulations.html')
	makeMenu('sub','Bioregions','/Background_Bioregions.html')
	makeMenu('sub','NERRS Awards','/NERRS_Awards.html')
	//makeMenu('sub','Designation','/Background_Designation.html')   
	
makeMenu('top','Designation&nbsp;&nbsp;&nbsp;')
	makeMenu('sub','Process','/Background_Designation.html')
	makeMenu('sub','Current Map','/Bioregions/Coverage.html')
	makeMenu('sub','Future Additions','/Background_Future.html')

makeMenu('top','Reserves&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;','/Reserves.html')
	//makeMenu('sub','List','/reserves/resrv_list.html')

makeMenu('top','Education&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;')
//makeMenu('top','Education', '/Education.html')
	makeMenu('sub','Overview','/Education/welcome.html')
	///makeMenu('sub','About Estuaries','/Education.html')
	makeMenu('sub','K-12 Educators','/Education/K12Educators.html')
	makeMenu('sub','Calendar','http://www8.nos.noaa.gov/publicnerrs/eduevents.aspx')
	makeMenu('sub','Get Involved','/Education/Involvement.html')
	makeMenu('sub','Resources','/Education/Resources.html')
	makeMenu('sub','Contact','http://www8.nos.noaa.gov/publicnerrs/ContactEC.aspx')

makeMenu('top','Research&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;')
	makeMenu('sub','Overview','/Research.html')
	makeMenu('sub','Technical Series','/TechnicalSeries.html')
		
makeMenu('top','Stewardship&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;')
	makeMenu('sub','Overview','/Stewardship/welcome.html')
	makeMenu('sub','Achievements','/Stewardship/Achievements.html')
	makeMenu('sub','Projects','/Stewardship/Projects.html')

makeMenu('top','CICEET','http://www.ciceet.unh.edu','_blank')

makeMenu('top','Fellowships&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;')
	makeMenu('sub','Overview','/Fellowship/welcome.html')
	//makeMenu('sub','Overview','/Fellowship/Overview.html')
	makeMenu('sub','Abstracts','/Fellowship/abstracts.html')
	makeMenu('sub','Application','/Fellowship/Application.html')
	makeMenu('sub','Opportunities','/Fellowship/Opportunities.html')
	
makeMenu('top','Monitoring&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;')
	makeMenu('sub','Overview','/Monitoring/welcome.html')
	makeMenu('sub','Water Quality','/Monitoring/Water.html')
	makeMenu('sub','Biological','/Monitoring/Biological.html')
	makeMenu('sub','Weather','/Monitoring/Weather.html')
	makeMenu('sub','Nutrients','/Monitoring/Nutrients.html')
	makeMenu('sub','Data & Maps','/Monitoring/Data.html')
	makeMenu('sub','Report','/Monitoring/Report.html')
	makeMenu('sub','History','/Monitoring/History.html')
	makeMenu('sub','Synthesis','/Monitoring/Synthesis.html')
	
makeMenu('top','IOOS&nbsp;&nbsp;&nbsp;')
	makeMenu('sub','Overview','/ioos/overview.html')
	makeMenu('sub','Real-time Data','http://cdmo.baruch.sc.edu/QueryPages/googlemap.cfm')
		
makeMenu('top','Training')
	makeMenu('sub','Overview','http://www8.nos.noaa.gov/publicnerrs/training.aspx')
	makeMenu('sub','Climate Training','/Training/padillabay/project.html')
	//makeMenu('sub','Monitoring','/Monitoring/welcome.html')
	//makeMenu('sub','Training','/Training/welcome.html')
	
makeMenu('top','Volunteer&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;','/volunteer.html')	
	
makeMenu('top','Restoration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;')
	makeMenu('sub','Overview','/Restoration/welcome.html')
	makeMenu('sub','Strategy','/Restoration/Strategy.html')
	makeMenu('sub','Partners','/Restoration/Partners.html')
	//makeMenu('sub','Studies','/Restoration/Studies.html')
	
makeMenu('top','Invasives&nbsp;&nbsp;')
	makeMenu('sub','Framework','/Invasive/Report.html')
	//makeMenu('sub','Photo Library','html/ofr_photo.html')
	//makeMenu('sub','Publications','html/ofr_publ.html')
	//makeMenu('sub','K-12 Education','html/ofr_k12.html')
	//makeMenu('sub','\Case\ Studies','html/ofr_case.html')
	
makeMenu('top','Related Links&nbsp;&nbsp;')
	makeMenu('sub','NOAA','http://www.noaa.gov','_blank')
	makeMenu('sub','Ocean Service','http://oceanservice.noaa.gov/','_blank')
	makeMenu('sub','OCRM','http://coastalmanagement.noaa.gov/','_blank')
	makeMenu('sub','Coastal Program','http://www.ocrm.nos.noaa.gov/czm','_blank')
	makeMenu('sub','MPA','http://www.mpa.gov','_blank')
	makeMenu('sub','NERRA','http://www.nerra.org','_blank')
	makeMenu('sub','CICEET','http://www.ciceet.unh.edu','_blank')
	makeMenu('sub','CDMO','http://cdmo.baruch.sc.edu','_blank')

makeMenu('top','Contact Us','/contactus.html','','End')

//makeMenu('top','NCERT Funding','http://www8.nos.noaa.gov/publicnerrs/news.aspx?id=289','','End')
	
//Starting the menu
onload=SlideMenuInit;
//	MOD07: initialize rescrolling so menu stays in view when page scrolls
//if(bw.ns4 || bw.ns6)
	//setTimeout("rescroll()", 500)
//	rescroll();
//  else
//	document.body.onscroll=new Function("rescroll()");
