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.2);Alpha(style=0,opacity=100);Shadow(color='#000000', Direction=135, Strength=1)"
}
else
{
	effect = "Shadow(color='#000000', Direction=135, Strength=1)" // Stop IE5.5 bug when using more than one filter
}

timegap=200				// The 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=0;		// Sub menu offset Left position

style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"E4E4CC",				// Mouse Off Font Color
"990000",				// Mouse Off Background Color
"E4E4CC",				// Mouse On Font Color
"000000",				// Mouse On Background Color
"E4E4CC",				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
5,						// Menu Item Padding
,						// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
,						// 3D High Color
,						// 3D Low Color
"FFFFFF",				// Current Page Item Font Color (leave this blank to disable)
"000000",				// 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=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"E4E4CC",				// Mouse Off Font Color
"454545",				// Mouse Off Background Color
"E4E4CC",				// Mouse On Font Color
"000000",				// Mouse On Background Color
"E4E4CC",				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
5,						// Menu Item Padding
,						// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
,						// 3D High Color
,						// 3D Low Color
"FFFFFF",				// Current Page Item Font Color (leave this blank to disable)
"336699",				// 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=[			// 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
,						// Menu Left - The Left position of the menu in pixels
139,					// Menu Width - Menus width in pixels
1,						// Menu Border Width 
"center",				// 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)
"center",				// 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
,"Home",				"http://www.townofsteilacoom.com/index.htm",		,																	"Home Page",					1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"History",				"show-menu=history",								"http://www.townofsteilacoom.com/history/index.htm",				"History - Main Page",			1
,"Activities",			"show-menu=activities",								"http://www.townofsteilacoom.com/activities/index.htm",				"Activities - Main Page",		1
,"Town Offices",		"show-menu=admin",									"http://www.townofsteilacoom.com/town_offices/index.htm",			"Administration - Main Page",	1
,"Links",				"show-menu=links",									"http://www.townofsteilacoom.com/links/regional_links.htm",			"Links - Main Page",			1
])

	addmenu(menu=["activities",
	,,139,1,"",style1,,"left",effect,,,,,,,,,,,,
//	,"Calendar",								"http://www.townofsteilacoom.com/activities/events_calendar.htm",			,											"Activities - Calendar",					1  //
	,"Community Center",						"show-menu=communitycenter",	"http://www.townofsteilacoom.com/activities/community_center/index.htm",				"Activities - Community Center",			1
	,"Events - Community",						"http://www.townofsteilacoom.com/activities/events_community.htm",					,									"Activities - Community Events",			1
	,"Events - Civic",							"http://www.townofsteilacoom.com/activities/events_civic.htm",					,										"Activities - Civic Events",				1
	,"Facility Rentals",						"http://www.townofsteilacoom.com/activities/facility_rentals/index.htm",				,								"Activities - Facility Rentals",			1
	,"Parks & Recreation",						"show-menu=parksrec",			"http://www.townofsteilacoom.com/activities/parks_recreation.htm",						"Activities - Parks &amp; Recreation",		1
	])
	
		addmenu(menu=["communitycenter",
		,,139,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Adult Programs",						"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm",								,		"Activities - Community Center - Adult Programs",		1
		,"Community Services",					"http://www.townofsteilacoom.com/activities/community_center/community_services.htm",							,		"Activities - Community Center - Community Services",	1
		,"Youth Programs",						"http://www.townofsteilacoom.com/activities/community_center/youth_programs.htm",								,		"Activities - Community Center - Youth Programs",		1
		])
		
			addmenu(menu=["adultprograms",
			,,139,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"Aerobics &amp; Strength",			"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#aerobics_strength",	,	"Activities - Community Center - Adult Programs - Aerobics &amp; Strength Training",	1
			,"Ballroom Dance",					"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#ballroom_dance",	,	"Activities - Community Center - Adult Programs - Ballroom Dance",						1
			,"Bingo",							"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#bingo",				,	"Activities - Community Center - Adult Programs - Bingo",								1
			,"Computers for Newbies",			"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#computers",			,	"Activities - Community Center - Adult Programs - Computers for Newbies",				1
			,"Fitness Room",					"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#fitness_room",		,	"Activities - Community Center - Adult Programs - Fitness Room",						1
			,"Jackie Sorenson Aerobics",		"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#jackie_sorenson",	,	"Activities - Community Center - Adult Programs - Jackie Sorenson Aerobics",			1
			,"Let&#8217;s Play Bridge",			"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#bridge",			,	"Activities - Community Center - Adult Programs - Let&#8217;s Play Bridge",				1
			,"Line Dancing",					"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#line_dancing",		,	"Activities - Community Center - Adult Programs - Line Dancing",						1
			,"Open Gym Basketball",				"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#open_gym",			,	"Activities - Community Center - Adult Programs - Open Gym Basketball",					1
			,"Rejuvenate Yourself",				"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#rejuvenate",		,	"Activities - Community Center - Adult Programs - Rejuvenate Yourself",					1
			,"Steilacoom Dance Co.",			"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#steilacoom_dance_co",,	"Activities - Community Center - Adult Programs - Steilacoom Dance Company",			1
			,"Tap Dancing",						"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#tap_dance",			,	"Activities - Community Center - Adult Programs - Tap Dancing",							1
			,"Van Trips",						"http://www.townofsteilacoom.com/activities/community_center/adult_programs.htm#van_trips",			,	"Activities - Community Center - Adult Programs - Van Trips",							1
			])
			
			addmenu(menu=["communityservices",
			,,139,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"Blood Pressure",					"http://www.townofsteilacoom.com/activities/community_center/community_services.htm#blood_pressure",,	"Activities - Community Center - Community Services - Blood Pressure",					1
			,"Foot Care",						"http://www.townofsteilacoom.com/activities/community_center/community_services.htm#foot_care",		,	"Activities - Community Center - Community Services - Foot Care",						1
			,"Gallery Showings",				"http://www.townofsteilacoom.com/activities/community_center/community_services.htm#gallery",		,	"Activities - Community Center - Community Services - Gallery Showings",				1
			,"Lunch Bunch",						"http://www.townofsteilacoom.com/activities/community_center/community_services.htm#lunch_bunch",	,	"Activities - Community Center - Community Services - Lunch Bunch",						1
			,"Share NW",						"http://www.townofsteilacoom.com/activities/community_center/community_services.htm#share_nw",		,	"Activities - Community Center - Community Services - Share NW",						1
			,"Summer Concert Series",			"http://www.townofsteilacoom.com/activities/community_center/community_services.htm#summer_concert",,	"Activities - Community Center - Community Services - Summer Concert Series",			1
			,"Steilacoom Food Pantry",			"http://www.townofsteilacoom.com/activities/community_center/community_services.htm#food_pantry",	,	"Activities - Community Center - Community Services - Steilacoom Food Pantry",			1
			])
			
			addmenu(menu=["youthprograms",
			,,139,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"Ballet / Tap / Jazz",				"http://www.townofsteilacoom.com/activities/community_center/youth_programs.htm#ballet_tap_jazz",	,	"Activities - Community Center - Youth Programs - Ballet / Tap / Dance",				1
			,"Before/After School",				"http://www.townofsteilacoom.com/activities/community_center/youth_programs.htm#school_programs",	,	"Activities - Community Center - Youth Programs - Before/After School Programs",		1
			,"Gymnastics",						"http://www.townofsteilacoom.com/activities/community_center/youth_programs.htm#gymnastics",		,	"Activities - Community Center - Youth Programs - Gymnastics",							1
			,"Playtime Adventure",				"http://www.townofsteilacoom.com/activities/community_center/youth_programs.htm#playtime_adventure",,	"Activities - Community Center - Youth Programs - Playtime Adventure",					1
			,"Scouts",							"http://www.townofsteilacoom.com/activities/community_center/youth_programs.htm#scouts",			,	"Activities - Community Center - Youth Programs - Scouts",								1
			,"Seasonal Sports",					"http://www.townofsteilacoom.com/activities/community_center/youth_programs.htm#seasonal_sports",	,	"Activities - Community Center - Youth Programs - Seasonal Youth Sports",				1
			,"Summerfest",						"http://www.townofsteilacoom.com/activities/community_center/youth_programs.htm#summerfest",		,	"Activities - Community Center - Youth Programs - Summerfest",							1
			,"Traditional Karate Do",			"http://www.townofsteilacoom.com/activities/community_center/youth_programs.htm#karate_do",			,	"Activities - Community Center - Youth Programs - Traditional Okinawan Karate Do",		1

			])

		addmenu(menu=["parksrec",
		,,139,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Byrd Mill Park",						"http://www.townofsteilacoom.com/activities/parks_recreation.htm#byrd_mill",,			"Activities - Parks &amp; Recreation - Byrd Mill Park",			1
		,"Charlies Park",						"http://www.townofsteilacoom.com/activities/parks_recreation.htm#charlies",,			"Activities - Parks &amp; Recreation - Charlies Park",			1
		,"Cherrydale Park",						"http://www.townofsteilacoom.com/activities/parks_recreation.htm#cherrydale",,			"Activities - Parks &amp; Recreation - Cherrydale Park",		1
		,"Community Center Park",				"http://www.townofsteilacoom.com/activities/parks_recreation.htm#community_center",,	"Activities - Parks &amp; Recreation - Community Center Park",	1
		,"Cormorant Park",						"http://www.townofsteilacoom.com/activities/parks_recreation.htm#cormorant",,			"Activities - Parks &amp; Recreation - Cormorant Park",			1
		,"Farrells Marsh",						"http://www.townofsteilacoom.com/activities/parks_recreation.htm#farrells_marsh",,		"Activities - Parks &amp; Recreation - Farrell&s Marsh",		1
		,"Manitoba Park",						"http://www.townofsteilacoom.com/activities/parks_recreation.htm#manitoba",,			"Activities - Parks &amp; Recreation - Manitoba Park",			1
		,"Perkins Park",						"http://www.townofsteilacoom.com/activities/parks_recreation.htm#perkins",,				"Activities - Parks &amp; Recreation - Perkins Park",			1
		,"Pioneer Park",						"http://www.townofsteilacoom.com/activities/parks_recreation.htm#pioneer",,				"Activities - Parks &amp; Recreation - Pioneer Park",			1
		,"Saltars Point Park",					"http://www.townofsteilacoom.com/activities/parks_recreation.htm#saltars_point",,		"Activities - Parks &amp; Recreation - Saltars Point Park",		1
		,"Sunnyside Beach",						"http://www.townofsteilacoom.com/activities/parks_recreation.htm#sunnyside",,			"Activities - Parks &amp; Recreation - Sunnyside Beach",		1
		,"Weber Court",							"http://www.townofsteilacoom.com/activities/parks_recreation.htm#weber",,				"Activities - Parks &amp; Recreation - Weber Court Park",		1
		])

	addmenu(menu=["links",
	,,139,1,"",style1,,"",effect,,,,,,,,,,,,
	,"Animal Control",							"http://www.townofsteilacoom.com/links/animal_control.htm",					,	"Links - Animal Control",				1
	,"Regional Links",							"http://www.townofsteilacoom.com/links/regional_links.htm",					,	"Links - Region &amp; History",			1
	,"School Dist. #1",							"http://www.townofsteilacoom.com/links/shsd.htm",							,	"Links - School District #1",			1
	,"Other",									"http://www.townofsteilacoom.com/links/other.htm",							,	"Links - Other",						1
	])
	
	addmenu(menu=["history",
	,,139,1,"",style1,,"",effect,,,,,,,,,,,,
	,"Origins",									"http://www.townofsteilacoom.com/history/origins.htm",						,	"History - Origins",						1
	,"Photos",									"http://www.townofsteilacoom.com/history/photos.htm",						,	"History - Photos",							1
	,"Timeline",								"http://www.townofsteilacoom.com/history/timeline.htm",						,	"History - Timeline",						1
	,"Place Names",								"http://www.townofsteilacoom.com/history/names_places.htm",					,	"History - Place Names",					1
	,"Walking Tour",							"http://www.townofsteilacoom.com/history/walking_tour.htm",					,	"History - Walking Tour",					1
	])

	addmenu(menu=["admin",
	,,139,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Administration Office",					"show-menu=admin_office",													"http://www.townofsteilacoom.com/town_offices/admin_office.htm",		"Administration - Administration Office",			1
	,"Community Center",						"show-menu=communitycenter",												"http://www.townofsteilacoom.com/activities/community_center/index.htm","Administration - Community Center",				1
	,"Public Safety",							"http://www.townofsteilacoom.com/town_offices/public_safety.htm",																		,			"Administration - Public Safety",					1
	,"Public Works",							"show-menu=publicworks",													"http://www.townofsteilacoom.com/town_offices/public_works.htm",		"Administration - Public Works",					1
	,"Town Council &amp; Boards",				"show-menu=towncouncil",													"http://www.townofsteilacoom.com/town_offices/council_boards.htm",		"Administration - Town Council &amp; Boards",		1
	])

		addmenu(menu=["admin_office",
		,,139,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Development",							"http://www.townofsteilacoom.com/town_offices/development.htm",					,	"Administration - Administration Office - Community Development",		1
		,"Employment",							"http://www.townofsteilacoom.com/town_offices/employment.htm",					,	"Administration - Administration Office - Employment",					1
		,"Steilacoom Munic. Code",				"http://www.townofsteilacoom.com/town_offices/pdf/steilacoom_municipal_code.pdf",					,	"Administration - Administration Office - Steilacoom Municipal Code",	1
		])

		addmenu(menu=["publicworks",
		,,139,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Projects",							"http://www.townofsteilacoom.com/town_offices/public_works_projects.htm",		,	"Administration - Public Works - Projects",							1
		,"Recycling",							"http://www.townofsteilacoom.com/town_offices/public_works_recycling.htm",		,	"Administration - Public Works - Recycling",						1
		,"Utility Billing",						"http://www.townofsteilacoom.com/town_offices/public_works_billing.htm",		,	"Administration - Public Works - Utility Billing",					1
		,"Utility Facts",						"http://www.townofsteilacoom.com/town_offices/public_works_facts.htm",			,	"Administration - Public Works - Utility Facts",					1
		,"Water Tips",							"http://www.townofsteilacoom.com/town_offices/public_works_water_tips.htm",		,	"Administration - Public Works - Water Tips",						1
		])
		
		addmenu(menu=["towncouncil",
		,,139,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Boards &amp; Commiss.",				"http://www.townofsteilacoom.com/town_offices/boards_commissions.htm",			,	"Town Council &amp; Boards - Boards &amp; Commissions",				1
		,"Elected Officials",					"http://www.townofsteilacoom.com/town_offices/elected_officials.htm",			,	"Town Council &amp; Boards - Elected Officials",					1
		,"Council Meetings",					"http://www.townofsteilacoom.com/town_offices/council_meetings/index.htm",		,	"Town Council &amp; Boards - Council Meetings",						1
		])

dumpmenus()