/*
 DHTML Menu
 Written by Mark Trescott
 */

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
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)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#cccfff', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#cccfff', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


timegap=250		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=01;	// Sub menu offset Top position
suboffset_left=01;	// 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.
"white",		// Mouse Off Font Color
"#0000cc",		// Mouse Off Background Color
"white",		// Mouse On Font Color
"#009900",		// Mouse On Background Color
"000000",		// Menu Border Color
12,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,			// Menu Item Padding
"http://www.somersnow.com/java/arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"cccfff",		// 3D High Color
"000099",		// 3D Low Color
,			// Current Page Item Font Color (leave this blank to disable)
,			// Current Page Item Background Color (leave this blank to disable)
"http://www.somersnow.com/java/arrowdn.gif",	// Top Bar image (Leave this blank to disable)
"ffffff",		// Menu Header Font Color (Leave blank if headers are not needed)
"000099",		// 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
80,			// Menu Top - The Top position of the menu in pixels
05,			// Menu Left - The Left position of the menu in pixels
124,			// Menu Width - Menus width in pixels
1,			// 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)
"center",		// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,			// 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.somersnow.com",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Event Calendar","http://www.somersnow.com/1009.htm",,"Event Calender",1
,"Town","show-menu=town",,"",1
,"Organizations","show-menu=orgs",,"",1
,"Business","http://www.somersnow.com/business.htm",,"Business",1
,"More","show-menu=other",,"",1
])

	addmenu(menu=["town",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Town Government","http://www.somersct.gov",,,1
	,"Public Schools","http://www.somers.k12.ct.us/",,,1
	,"Library","http://www.somersnow.com/library/index.htm",,,1
	,"Recreation","http://www.somersct.gov/recreation.cfm",,,1
	])



	addmenu(menu=["orgs",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Civic","show-menu=civic",,,1
	,"Youth","show-menu=youth",,,1
	,"Sports&nbsp;&amp;&nbsp;Recreation","show-menu=sport",,,1
	,"Public School Related","show-menu=school",,,1
	,"Private Schools","show-menu=private",,,1
	,"Religious","show-menu=relig",,,1
	,"Political","show-menu=politic",,,1
	,"Health&nbsp;and&nbsp;Services","show-menu=health",,,1
	,"Organizations&nbsp;List","http://www.somersnow.com/organizations.htm",,,1
	])


		addmenu(menu=["civic",
		,,280,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"American&nbsp;Legion","http://www.somersnow.com/AmLegion.htm",,,1
		,"Beautification","http://www.somersnow.com/Beautification.htm",,,1
		,"Community&nbsp;Partnership&nbsp;Council","http://www.somersnow.com/CommunityPartnership.htm",,,1
		,"Cultural&nbsp;Commission","http://www.somerscultural.com/",,,1
		,"Friends&nbsp;of&nbsp;the&nbsp;Library","http://www.somersnow.com/FriendsLibrary.htm",,,1
		,"Historical&nbsp;Society","http://www.somersnow.com/HistoricalSociety/index.htm",,,1
		,"Lions&nbsp;Club","http://www.somersnow.com/Lions.htm",,,1
		,"MOMS&nbsp;Club","http://www.somersnow.com/MOMsClub.htm",,,1
		,"Northern&nbsp;Connecticut&nbsp;Land Trust","http://www.nclt.icomm.ca",,,1
		,"Rotary","http://www.somersnow.com/Rotary/index.htm",,,1
		,"Seniors&nbsp;Citizens","http://www.somersnow.com/seniors/index.htm",,,1
		,"Shakespearean&nbsp;Society","http://shakespeareansociety.weebly.com/",,,1
		,"Village&nbsp;Players","http://www.somersvillageplayers.org/",,,1
		,"Volunteer&nbsp;Fire&nbsp;&amp;&nbsp;Ambulance&nbsp;Department","http://www.somersfire.org/",,,1
		,"Women's&nbsp;Club","http://www.somersnow.com//WomensClub/WomensClub.htm",,,1
		])


		addmenu(menu=["relig",
		,,260,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"All&nbsp;Saints&nbsp;Roman&nbsp;Catholic&nbsp;Parish","http://www.somersallsaints.org/",,,1
		,"Congregational&nbsp;Church&nbsp;of&nbsp;Somersville","http://www.somersvilleucc.org/",,,1
		,"Somers&nbsp;Baptist&nbsp;Church","http://www.somersnow.com/somersbaptist.htm",,,1
		,"Somers&nbsp;Congregational&nbsp;Church","http://www.somerscongregational.org/",,,1
		,"Knights&nbsp;of&nbsp;Columbus","http://www.somersknights.org",,,1
		])

		addmenu(menu=["school",
		,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Booster&nbsp;Club","http://www.somersnow.com/Boosters.htm",,,1
		,"Education&nbsp;Foundation","http://www.sefonline.org/",,,1
		,"Music&nbsp;Patrons","http://www.somersnow.com/MusicPatrons",,,1
		,"PTA","http://www.somerspta.org ",,,1
		,"PTSA","http://www.somersnow.com/ptsa.htm",,,1
		,"SAVE","http://www.somersnow.com/SAVE/index.htm",,,1
		,"CFSEE","http://www.cfsee.org",,,1
		])

		addmenu(menu=["private",
		,,260,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"The&nbsp;Grammar&nbsp;School&nbsp;at&nbsp;Somersville","http://grammarschool.org/",,,1
		,"Somers&nbsp;Cooperative&nbsp;Preschool","http://www.somersco-op.org/",,,1
		])

		addmenu(menu=["politic",
		,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Democratic&nbsp;Town&nbsp;Committee","http://www.somersnow.com/DTC/index.htm",,,1
		,"Republican&nbsp;Town&nbsp;Committee","http://www.SomersCTGOP.com",,,1
		])

		addmenu(menu=["youth",
		,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Boy&nbsp;Scouts","http://troop-387.webs.com",,,1
		,"Cub&nbsp;Scouts","http://web.mac.com/reillylisa71/iWeb/Site/Pack%2083%20Home.html",,,1
		,"Girls&nbsp;Scouts","http://www.somersnow.com/girlscouts.htm",,,1
		,"Police&nbsp;Explorers","http://www.somersnow.com/PoliceExplorers/index.htm",,,1
		,"Camp&nbsp;Aya-Po","http://www.ctcamps.org/camps/extended/ayapo.html",,,1
		])

		addmenu(menu=["sport",
		,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"BIA&nbsp;Airsoft","http://www.freewebs.com/xtreamairsoft/",,,1
		,"Basketball&nbsp;Association","http://www.somersnow.com/BasketBall/index.htm",,,1
		,"Flag&nbsp;Football","http://Somersflagfootball.nflflag.com",,,1
		,"Four&nbsp;Town&nbsp;Fair","http://www.fourtownfair.com/",,,1
		,"Lacrosse&nbsp;Association","http://www.somerslacrosse.org/",,,1
		,"Little&nbsp;League","http://www.somerslittleleague.org/",,,1
		,"Ponytail&nbsp;Softball","http://www.somerssoftball.com/",,,1
		,"CT&nbsp;Paintball","http://ctpaintballclub.com",,,1
		,"Skate&nbsp;Park","http://somers-skate-park.weebly.com/",,,1
		,"Soccer&nbsp;Association","http://www.somerssoccerassociation.org/",,,1
		,"Sportsmen&nbsp;Association","http://www.somerssportsmen.com",,,1
		,"Youth&nbsp;Wrestling","http://www.somersnow.com/YouthWrestling.htm",,,1
		,"Tri&nbsp;Town&nbsp;Hockey","http://www.tritownhockey.org/",,,1
		])

		addmenu(menu=["health",
		,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Hope's&nbsp;Place","http://www.hopesplaceinc.org",,,1
		,"Johnson&nbsp;Health&nbsp;Network","http://www.johnsonhealthnetwork.com",,,1
		])


	addmenu(menu=["other",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Tag&nbsp;Sales","http://www.somersnow.com/TagSales.htm",,,1
	,"Weekly&nbsp;Email&nbsp;Signup","http://www.somersnow.com/signup.asp",,,1
	,"About&nbsp;SomersNow","http://www.somersnow.com/aboutus.htm",,,1
	,"Contact&nbsp;SomersNow","http://www.somersnow.com/contact.htm",,,1
	,"Volunteers&nbsp;Wanted","http://www.somersnow.com/volunteers.htm",,,1
	,"Community&nbsp;Services","http://www.somersnow.com/CommunityServices.htm",,,1
	,"Useful&nbsp;Links","http://www.somersnow.com/links.htm",,,1
	])



dumpmenus()
