menunum = 0;
menus = new Array();
_d = document;
function addmenu() {
	menunum++;
	menus[menunum] = menu;
}
function dumpmenus() {
	mt = "<script language=\"javascript\">";
	for (a = 1; a < menus.length; a++) {
		mt += " menu" + a + "=menus[" + a + "];"
	}
	mt += "<\/script>";
	_d.write(mt)
}

if (navigator.appVersion.indexOf("MSIE 6.0") > 0) {
	effect = "Fade(duration=0.3);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=45, Strength=0)"
} else {
	effect = "Shadow(color='#777777', Direction=45, Strength=0)" // Stop IE5.5 bug when using more than one filter
}

timegap = 400			// time delay for menus to remain visible
followspeed = 5			// Follow Scrolling speed
followrate = 40			// Follow Scrolling Rate
suboffset_top = 0;		// Sub menu offset Top position 
suboffset_left = -1;	// Sub menu offset Left position

style1=[				// style1 
"FFFFFF",				// Mouse Off Font Color
"545C6D",				// Mouse Off Background Color
"FFFFFF",				// Mouse On Font Color
"44569E",				// Mouse On Background Color
"545C6D",				// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana",				// Font Name
,						// Menu Item Padding
"img/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
,						// 3D High Color
,						// 3D Low Color
,						// Current Page Item Font Color (leave this blank to disable)
,						// Current Page Item Background Color (leave this blank to disable)
,						// Top Bar image (Leave this blank to disable)
,						// Menu Header Font Color (Leave blank if headers are not needed)
,						// Menu Header Background Color (Leave blank if headers are not needed)
]

style2=[				// style2
"FFFFFF",				// Mouse Off Font Color
"545C6D",				// *Mouse Off Background Color
"FFFFFF",				// Mouse On Font Color
"7C869B",				// *Mouse On Background Color
"FFFFFF",				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
,						// Font Weight (bold or normal)
"Verdana",				// Font Name
4,						// Menu Item Padding
"arrow2.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
,						// 3D High Color
,						// 3D Low Color
,						// Current Page Item Font Color (leave this blank to disable)
,						// Current Page Item Background Color (leave this blank to disable)
,						// Top Bar image (Leave this blank to disable)
,						// Menu Header Font Color (Leave blank if headers are not needed)
,						// Menu Header Background Color (Leave blank if headers are not needed)
]

style3=[				// style3 
"FFFFFF",				// Mouse Off Font Color
"545C6D",				// *Mouse Off Background Color
"FFFFFF",				// Mouse On Font Color
"7C869B",				// *Mouse On Background Color
"FFFFFF",				// Menu Border Color 
13,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
,						// Font Weight (bold or normal)
"Verdana",				// Font Name
6,						// Menu Item Padding
"arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
,						// 3D High Color
,						// 3D Low Color
,						// Current Page Item Font Color (leave this blank to disable)
,						// Current Page Item Background Color (leave this blank to disable)
,						// Top Bar image (Leave this blank to disable)
,						// Menu Header Font Color (Leave blank if headers are not needed)
,						// Menu Header Background Color (Leave blank if headers are not needed)
]


addmenu(menu=[		// title menu
"title",			// Menu Name - This is needed in order for the menu to be called
125,				// Menu Top - The Top position of the menu in pixels
0,					// Menu Left - The Left position of the menu in pixels
295,				// Menu Width - Menus width in pixels
,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
					//   (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use


// "Description Text", "URL", "alt URL", "Status", "Separator Bar"
,"<img src=img/title.gif border=0>","show-menu=glance",,"",1
])

	addmenu(menu=["glance",
	,,295,1,"",style3,,"left",effect,,,,,,,,,,,,
	//,"HEADMASTER'S MESSAGE","headmaster.asp",,,1
	,"CONTACT US","fastfacts.asp",,,1
	,"HISTORY","history.asp",,,1
	,"ABOUT MONTCLAIR","about.asp",,,1
	,"COLLEGE ENROLLMENT","college_enrollment.asp",,,1
	,"DIRECTIONS","directions.asp",,,1
	//,"SCHOOL DIRECTORY","schooldir.asp",,,1
	,"EMPLOYMENT OPPORTUNITIES","employment.asp",,,1
	,"POWERSCHOOL","powerschool.asp",,,1
	,"ESLRs","ESLRs.asp",,,1
	])

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
125,					// Menu Top - The Top position of the menu in pixels
295,				// Menu Left - The Left position of the menu in pixels
95,					// Menu Width - Menus width in pixels
,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use


// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src=img/admissions.gif border=0>","show-menu=admissions",,"",1
,"<img src=img/mcptoday.gif border=0>","show-menu=mcptoday",,"",1
,"<img src=img/theschool.gif border=0>","show-menu=theschool",,"",1
,"<img src=img/academics.gif border=0>","show-menu=academics",,"",1
,"<img src=img/athletics.gif border=0>","show-menu=athletics",,"",1
,"<img src=img/parents.gif border=0>","show-menu=parents",,"",1
,"<img src=img/alumni.gif border=0>","show-menu=alumni",,"",1
])

	addmenu(menu=["admissions",
	,,160,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"WELCOME","admissions_welcome.asp",,,1
	,"EVENTS","events.asp",,,1
	,"OVERVIEW","admissions_overview.asp",,,1
	,"HOW TO APPLY","admissions_apply.asp",,,1
	,"APPLICATION","admissions_application.asp",,,1
	//,"COLLEGE ENROLLMENT","college_enrollment.asp",,,1
	//,"FAQ","admissions_faq.asp",,,1
	,"TUITION","admissions_tuition.asp",,,1
	,"INTERNATIONAL APPLICATIONS","admissions_intapp.asp",,,1
	,"FINANCIAL AID","admissions_financialaid.asp",,,1
	])


	addmenu(menu=["mcptoday",
	,,160,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"WELCOME","mcp_welcome.asp",,,1
//	,"MONTHLY LETTER","mcp_monthlyletter.asp",,,1
	,"SCHOOL NEWS","mcp_schoolnews.asp",,,1
	,"MCP NEWSLETTER","mcp_newsletter.asp",,,1
//	,"STUDENT PAPER","http://www.montclairjournal.com",,,1
	,"SCHOOL CALENDAR","mcp_schoolcalendar.asp",,,1
	//,"FACULTY & STAFF","schooldir.asp",,,1
//	,"SCORES & SCHEDULES","show-menu=scoresschedules",,,1
	,"POWERSCHOOL","powerschool.asp",,,1
	,"SENIOR INFO","seniorinfo.asp",,,1
	,"SCHOOL UNIFORM","parents_resources_dresscode.asp",,,1
	,"MONTCLAIR JOURNAL","mcp_paper.asp",,,1
	])
		
/*				addmenu(menu=["scoresschedules",
			,,140,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"FOOTBALL","show-menu=football",,,1
			,"BASKETBALL","show-menu=basketball",,,1
			,"SOCCER","show-menu=soccer",,,1
			,"VOLLEYBALL","show-menu=volleyball",,,1
			])

				addmenu(menu=["football",
				,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
				,"Schedule","mcp_scoresschedules_football.asp",,,1
				,"Varsity Roster","mcp_scoresschedules_footballroster.asp",,,1
				,"Scores","mcp_scoresschedules_footballScores.asp",,,1
				])

				addmenu(menu=["soccer",
				,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
				,"Boys","scoreschedules.asp",,,1
				,"Girls","scoreschedules.asp",,,1
				])

				addmenu(menu=["basketball",
				,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
				,"Boys Schedule","mcp_scoresschedules_Basketball.asp",,,1
				,"Boys Varsity Roster","mcp_scoresschedules_basketballroster.asp",,,1
				,"Girls Schedule","mcp_scoresschedules_GirlsBasketball.asp",,,1
				,"Girls Roster","mcp_scoresschedules_GirlsBasketballroster.asp",,,1
				])

				addmenu(menu=["volleyball",
				,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
				,"Schedule","mcp_scoresschedules_volleyball.asp",,,1
				,"Varsity Roster","mcp_scoresschedules_Vvolleyballroster.asp",,,1
				,"JV Roster","mcp_scoresschedules_JVvolleyballroster.asp",,,1
				])
*/	
	addmenu(menu=["theschool",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"WELCOME","school_welcome.asp",,,1
	,"SUMMER READING LIST","SummerReadingList2011-2012.pdf",,,1
	//,"ACADEMICS","show-menu=academics",,,1
	//,"ATHLETICS","show-menu=athletics",,,1
	,"COMMUNITY SERVICE","show-menu=communityservice",,,1
	,"COLLEGE COUNSELING","show-menu=counseling",,,1
	,"SUMMER PROGRAM","show-menu=summer",,,1
	,"WEBCAST","webcast.asp",,,1
	,"PHOTO GALLERY","photogallery.asp",,,1
//	,"MCP NET","mcpnetLogin.asp",,,1
	])
	

			addmenu(menu=["deptinfo",
			,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"ENGLISH","school_deptinfo_english.asp",,,1
			,"MATH","school_deptinfo_math.asp",,,1
			,"SCIENCE","school_deptinfo_science.asp",,,1
			,"COMPUTER SCIENCE","computer_science.asp",,,1
			,"THE ARTS","show-menu=arts",,,1
			,"FOREIGN LANGUAGE","school_deptinfo_flanguage.asp",,,1
			,"SOCIAL STUDIES","school_deptinfo_socialstudies.asp",,,1
			,"ESL","school_deptinfo_esl.asp",,,1
			])
			
			
			addmenu(menu=["communityservice",
			,,140,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"MCP POLICY","school_community_mcppolicy.asp",,,1
			,"NEW OPPORTUNITIES","school_community_opportunities.asp",,,1
			,"FORMS","school_community_forms.asp",,,1
			,"ORGANIZATIONS","school_community_organizations.asp",,,1
			])

			addmenu(menu=["counseling",
			,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"OVERVIEW","school_counseling_overview.asp",,,1
			,"PLANNING","school_counseling_planning.asp",,,1
			,"RESOURCES","school_counseling_resources.asp",,,1
			,"LINKS","school_counseling_links.asp",,,1
			,"COLLEGE ENROLLMENT","college_enrollment.asp",,,1
			])
			
			addmenu(menu=["summer",
			,,180,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"OVERVIEW","school_summer_overview.asp",,,1
			,"COURSES OFFERED","school_summer_coursesoffered.asp",,,1
			,"DOWNLOAD AN APPLICATION","school_summer_downloadapp.asp",,,1
			])
			

	addmenu(menu=["academics",
	,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"MIDDLE SCHOOL","school_middle_school.asp",,,1
	,"UPPER SCHOOL","school_upper_school.asp",,,1
	,"FACULTY PROFILES","schooldir.asp",,,1
	,"DEPARTMENTS","show-menu=deptinfo",,,1
	,"TEACHERS","teachersResources.asp",,,1
	])
	
				addmenu(menu=["arts",
			,,200,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"OVERVIEW","school_arts_overview.asp",,,1
			,"FINE ARTS GALLERY","school_arts_studentwork.asp",,,1
			,"DRAMA GALLERY","dramaclubgallery.asp",,,1
			,"FILM GALLERY","filmclubgallery.asp",,,1
			,"GUITAR GALLERY","guitarclubgallery.asp",,,1
			,"MEDIA DESIGN GALLERY","mediadesigngallery.asp",,,1
			,"MUSIC THEATER GALLERY","musictheatergallery.asp",,,1
			/*,"VISUAL ARTS","school_arts_visual.asp",,,1
			,"DIGITAL ARTS","school_arts_digital.asp",,,1
			,"PERFORMING ARTS","school_arts_performing.asp",,,1*/
			])


	addmenu(menu=["athletics",
	,,100,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"OVERVIEW","school_athletics_overview.asp",,,1
	,"NEWS","school_athletics_news.asp",,,1
	,"MCP TEAMS","show-menu=mcpteams",,,1
	,"DIRECTIONS","athleticsdirections.asp",,,1
	,"HALL OF FAME","halloffame.asp",,,1
//			,"SCORES & SCHEDULES","show-menu=sportsschedules",,,1
//			,"HALL OF FAME","school_athletics_fame.asp",,,1
//			,"PHOTOS","school_athletics_photos.asp",,,1
	])

					addmenu(menu=["mcpteams",
					,,100,1,"",style2,,"left",effect,,,,,,,,,,,,
					,"FALL","show-menu=fall",,,1
					,"WINTER","show-menu=winter",,,1
					,"SPRING","show-menu=spring",,,1
					])

						addmenu(menu=["fall",
						,,140,1,"",style2,,"left",effect,,,,,,,,,,,,
						,"FOOTBALL","show-menu=football",,,1
						,"GIRLS VOLLEYBALL","mcpteams_fall_girlsvolleyball.asp",,,1
						,"X-COUNTRY","mcpteams_fall_crosscountry.asp",,,1
						,"JH GIRLS BASKETBALL","mcpteams_fall_jhgirlsbasketball.asp",,,1
						])

							addmenu(menu=["football",
							,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
							,"JUNIOR VARSITY","mcpteams_football_jvarsity.asp",,,1
							,"VARSITY","mcpteams_football_varsity.asp",,,1
							,"JH FLAG FOOTBALL","mcpteams_football_jhflag.asp",,,1
							])

						addmenu(menu=["winter",
						,,140,1,"",style2,,"left",effect,,,,,,,,,,,,
						,"BASKETBALL","show-menu=basketball",,,1
						,"SOCCER","show-menu=soccer",,,1
						,"JH GIRLS SOFTBALL","mcpteams_winter_jhgirlssoftball.asp",,,1
						])

							addmenu(menu=["basketball",
							,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
							,"BOYS VARSITY","mcpteams_basketball_boysvarsity.asp",,,1
							,"BOYS JUNIOR VARSITY","mcpteams_basketball_boysjvarsity.asp",,,1
							,"BOYS FRESH/SOPH","mcpteams_basketball_boysfreshsoph.asp",,,1
							,"GIRLS VARSITY","mcpteams_basketball_girlsvarsity.asp",,,1
							,"JH BOYS","mcpteams_basketball_jhboys.asp",,,1
							])

							addmenu(menu=["soccer",
							,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
							,"BOYS VARSITY","mcpteams_soccer_boysvarsity.asp",,,1
							,"GIRLS VARSITY","mcpteams_soccer_girlsvarsity.asp",,,1
							])

						addmenu(menu=["spring",
						,,140,1,"",style2,,"left",effect,,,,,,,,,,,,
						,"BASEBALL","mcpteams_spring_baseball.asp",,,1
						,"SOFTBALL","mcpteams_spring_softball.asp",,,1
						,"BOYS VOLLEYBALL","mcpteams_spring_boysvolleyball.asp",,,1
						,"TRACK AND FIELD","mcpteams_spring_track.asp",,,1
						,"TENNIS","mcpteams_spring_tennis.asp",,,1
						,"GOLF","mcpteams_spring_golf.asp",,,1
						])

/*					addmenu(menu=["sportsschedules",
					,,140,1,"",style2,,"left",effect,,,,,,,,,,,,
					,"FOOTBALL","show-menu=football",,,1
					,"BASKETBALL","show-menu=basketball",,,1
					,"SOCCER","show-menu=soccer",,,1
					,"VOLLEYBALL","show-menu=volleyball",,,1
					])

						addmenu(menu=["football",
						,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
						,"Schedule","mcp_scoresschedules_football.asp",,,1
						,"Varcity Roster","mcp_scoresschedules_footballroster.asp",,,11
						])

						addmenu(menu=["soccer",
						,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
						,"Boys","scoreschedules.asp",,,1
						,"Girls","scoreschedules.asp",,,1
						])

						addmenu(menu=["basketball",
						,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
						,"Boys Schedule","mcp_scoresschedules_Basketball.asp",,,1
						,"Boys Varsity Roster","mcp_scoresschedules_basketballroster.asp",,,1
						,"Girls Schedule","mcp_scoresschedules_GirlsBasketball.asp",,,1
						,"Girls Roster","mcp_scoresschedules_GirlsBasketballroster.asp",,,1
						])

						addmenu(menu=["volleyball",
						,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
						,"Schedule","mcp_scoresschedules_volleyball.asp",,,1
						,"Varsity Roster","mcp_scoresschedules_Vvolleyballroster.asp",,,1
						,"JV Roster","mcp_scoresschedules_JVvolleyballroster.asp",,,1
						])
*/
	
	addmenu(menu=["parents",,,160,1,,style2,0,"left",effect,0,,,,,,,,,,,
	//,"WELCOME","parents_overview.asp",,,1
	,"MPA WELCOME","parents_overview.asp",,,1
	,"EVENTS","parents_events.asp",,,1
	,"MPA OFFICERS AND GRADE REPRESENTATIVES","parents_mpa_officers.asp",,,1
	//,"MPA EVENTS","parents_events.asp",,,1
	,"RESOURCES","show-menu=parentresources",,,1
	//,"BOOKS OF HONOR FORM","assets/BooksofHonorForm.pdf",,,1
	])
	
		addmenu(menu=["mpa",
			,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"WELCOME","parents_mpa_overview.asp",,,1
			,"CALENDAR","parents_mpa_calendar.asp",,,1
			,"OFFICERS","parents_mpa_officers.asp",,,1
			,"GRADE LEVEL REPRESENTATIVES","parents_mpa_gradelevelrep.asp",,,1
			])

			addmenu(menu=["parentresources",
			,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"CAMPUS CONTACTS","parents_resources_campuscontacts.asp",,,1
			,"SCHOOL POLICIES","parents_resources_schoolpolicies.asp",,,1
			,"FACULTY & STAFF","schooldir.asp",,,1
			//,"FAQ","parents_resources_faq.asp",,,1
			,"SCHOOL UNIFORM","parents_resources_dresscode.asp",,,1
			,"SUMMER READING LIST","parents_resources_summer.asp",,,1
			//,"DOCUMENTS","parents_resources_documents.asp",,,1
			])
	
	addmenu(menu=["alumni",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"WELCOME","alumni_welcome.asp",,,1
	,"LOGIN","login.asp",,,1
	,"REGISTRATION","alumniRegistration.asp",,,1
	,"VIEW ALUMNI","browseAlumni.asp",,,1
	,"ALUMNI ONLINE","alumni_graduates.asp",,,1
	,"EVENTS / REUNIONS","alumni_events.asp",,,1
	,"GIVING","alumni_giving.asp",,,1
	,"MCP REUNION PHOTOS","show-menu=reunion_year",,,1
	])
		addmenu(menu=["reunion_year",
			,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"1983 Reunion","1983_alumni_reunion.asp",,,1
			,"85 - 87 Gathering","85-87_alumni_reunion.asp",,,1
			])
	
dumpmenus()
