/*
 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
"#009900",		// Mouse Off Background Color
"white",		// Mouse On Font Color
"#0000cc",		// 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
120,			// Menu Top - The Top position of the menu in pixels
05,			// Menu Left - The Left position of the menu in pixels
175,			// 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
,"Library&nbsp;Catalogs","show-menu=catalogs",,"",1
,"Request&nbsp;Books","show-menu=borrowing",,"",1
,"Online&nbsp;Research","show-menu=research",,"",1
,"Library&nbsp;Services","show-menu=services",,"",1
,"Events","show-menu=events",,"",1
,"Kids","show-menu=kids",,"",1
])

	addmenu(menu=["catalogs",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Somers&nbsp;Library","http://bibcat2.biblio.org/ipac20/ipac.jsp?profile=somers",,"Library Catalog",1
	,"Enfield&nbsp;Library","http://ibistro.libraryconnection.info/library/enfd/index.html",,"Enfield Catalog",1
	,"Ellington&nbsp;Library","http://bibcat2.biblio.org/ipac20/ipac.jsp?profile=elngtn",,"Ellington Catalog",1
	,"Stafford&nbsp;Library","http://bibcat2.biblio.org/ipac20/ipac.jsp?profile=sffrd",,"Stafford Catalog",1
	,"Rockville&nbsp;Library","http://bibcat2.biblio.org/ipac20/ipac.jsp?profile=rockvl",,"Rockville Catalog",1
	])
	
	addmenu(menu=["borrowing",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Somers&nbsp;Library&nbsp;(Check&nbsp;here&nbsp;1st)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","http://bibcat2.biblio.org/ipac20/ipac.jsp?profile=somers",,"Library Catalog",1
	,"Our&nbsp;Network&nbsp;Libraries&nbsp;[Bibliomation]&nbsp;(Check&nbsp;here&nbsp;Next)&nbsp;&nbsp;","http://bibcat2.biblio.org/ipac20/ipac.jsp?profile=hdqr",,,1
	,"reQuest&nbsp;Library&nbsp;System&nbsp;(Check&nbsp;here&nbsp;Last)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","http://www.iconn.org/default.asp?som&mode=g",,,1
	])
	
	addmenu(menu=["research",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Magazines","show-menu=magazines",,,1
	,"Issues&nbsp;&&nbsp;Controversies","http://www.2facts.com/Direct2.asp?ItemID=WE57&ID=99119",,,1
	,"Dictionary","show-menu=dictionary",,,1 
	,"Heritage&nbsp;Quest-Genealogy","http://rqst-agent.auto-graphics.com/LoginModule/Goto.aspx?cuid=rqst&dataid=308",,,1
	,"Health","show-menu=health",,,1
	,"Newspapers","show-menu=newspapers",,,1	
	,"Book&nbsp;Suggestions","show-menu=suggestions",,,1
	])
	
		
		addmenu(menu=["magazines",
		,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"ICONN","http://rqst-agent.auto-graphics.com/HomePages/CustomerWide/ClassicPublic.asp?",,,1
		,"Consumer&nbsp;Reports","http://search.ebscohost.com/login.aspx?authtype=ip,cpid&custid=somers&site=crcro&return=y",,,1
		])

		addmenu(menu=["dictionary",
		,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Merriam&nbsp;Webster","http://m-w.com",,,1
		])

		addmenu(menu=["health",
		,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Magill&nbsp;Medical&nbsp;Guide","http://health.salempress.com",,,1
		,"Medical&nbsp;Information","http://www.nlm.nih.gov/MEDLINEPLUS",,,1
		])

		addmenu(menu=["newspapers",
		,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Hartford&nbsp;Courant","http://rqst-agent.auto-graphics.com/LoginModule/Goto.aspx?cuid=rqst&dataid=272",,,1
		,"New&nbsp;York&nbsp;Times","http://rqst-agent.auto-graphics.com/LoginModule/Goto.aspx?cuid=rqst&dataid=273",,,1
		])

		addmenu(menu=["suggestions",
		,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
				,"Novelist","http://search.epnet.com/login.aspx?authtype=ip,cookie,cpid,uid&custid=somers&profile=novelist",,,1
		,"What&nbsp;do&nbsp;I&nbsp;read&nbsp;next?","http://rqst-agent.auto-graphics.com/LoginModule/Goto.aspx?cuid=rqst&dataid=52",,,1
		])
		
	addmenu(menu=["services",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"View&nbsp;Your&nbsp;Record"," http://bibcat2.biblio.org/ipac20/ipac.jsp?session=10E458R174812.342&profile=somers&menu=account&ts=1094583174828#focus",,"Library Catalog",1
	,"Museum&nbsp;Passes","http://www.somersnow.com/Library/musepass.htm",,,1	
	,"Equipment&nbsp;For&nbsp;Public&nbsp;Use","http://www.somersnow.com/Library/Equipment.htm",,,1
	,"Homebound&nbsp;Services","http://www.somersnow.com/Library/homeboun.htm",,,1
	,"Email&nbsp;Notification","http://www.somersnow.com/Library/emailnotification.asp",,,1
	])
	

	addmenu(menu=["events",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Events Calendar","http://www.eventkeeper.com/code/events.cfm?curOrg=SOMERS",,,1
	,"Children","http://www.eventkeeper.com/code/events.cfm?curOrg=SOMERS",,,1
    ])

	
	
	addmenu(menu=["kids",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Kid's&nbsp;Catalog","http://bibcat2.biblio.org/ipac20/ipac.jsp?profile=somers-kids",,,1
	,"Kid's&nbsp;Programs","http://www.eventkeeper.com/code/events.cfm?curOrg=SOMERS",,,1
	,"Children's&nbsp;Services","http://www.somersnow.com/Library/kidserv.htm",,,1
	,"Searchasaurus","http://search.epnet.com/login.aspx?authtype=ip,cpid&custid=somers&profile=sas",,,1
	,"Kid's&nbsp;Blog","http://spl4kids.blogspot.com",,,1
 
	])



dumpmenus()
