//UDMv3.4.1.1b
//**DO NOT EDIT THIS *****
if (!exclude) { //********
//************************



///////////////////////////////////////////////////////////////////////////
//
//  ULTIMATE DROPDOWN MENU VERSION 3.4.1b by Brothercake
//  http://www.brothercake.com/dropdown/ 
//
//  Link-wrapping routine by Brendan Armstrong
//  KDE modifications by David Joham
//  Opera reload/resize routine by Michael Wallner
//  http://www.wallner-software.com/
//
//  This script featured on Dynamic Drive (http://www.dynamicdrive.com)
//
///////////////////////////////////////////////////////////////////////////



// *** POSITIONING AND STYLES *********************************************



var menuALIGN = "left";		// alignment
var absLEFT = 	0;		// absolute left or right position (if menu is left or right aligned)
var absTOP = 	0; 		// absolute top position

var staticMENU = false;		// static positioning mode (ie5,ie6 and ns4 only)

var stretchMENU = true;		// show empty cells
var showBORDERS = true;		// show empty cell borders

var baseHREF = "";	// base path to .js files for the script (ie: resources/)
var zORDER = 	1000;		// base z-order of nav structure (not ns4)

var mCOLOR = 	"990000";	// main nav cell color
var rCOLOR = 	"FAFAE2";	// main nav cell rollover color
var bSIZE = 	3;		// main nav border size
var bCOLOR = 	"dbdbd2"	// main nav border color
var aLINK = 	"white";	// main nav link color
var aHOVER = 	"000080";		// main nav link hover-color (dual purpose)
var aDEC = 	"none";		// main nav link decoration
var fFONT = 	"verdana";	// main nav font face
var fSIZE = 	12;		// main nav font size (pixels)
var fWEIGHT = 	"bold"		// main nav font weight
var tINDENT = 	7;		// main nav text indent (if text is left or right aligned)
var vPADDING = 	7;		// main nav vertical cell padding
var vtOFFSET = 	0;		// main nav vertical text offset (+/- pixels from middle)

var keepLIT =	true;		// keep rollover color when browsing menu
var vOFFSET = 	5;		// shift the submenus vertically
var hOFFSET = 	4;		// shift the submenus horizontally

var smCOLOR = 	"fafae2";	// submenu cell color

var srCOLOR = 	"990000";	// submenu cell rollover color
var sbSIZE = 	1;		// submenu border size
var sbCOLOR = 	"black"	// submenu border color
var saLINK = 	"000080";	// submenu link color
var saHOVER = 	"White";		// submenu link hover-color (dual purpose)
var saDEC = 	"none";		// submenu link decoration
var sfFONT = 	"verdana";// submenu font face
var sfSIZE = 	11;		// submenu font size (pixels)
var sfWEIGHT = 	"bold"	// submenu font weight
var stINDENT = 	5;		// submenu text indent (if text is left or right aligned)
var svPADDING = 1;		// submenu vertical cell padding
var svtOFFSET = 0;		// submenu vertical text offset (+/- pixels from middle)

var shSIZE =	2;		// submenu drop shadow size
var shCOLOR =	"cccccc";	// submenu drop shadow color
var shOPACITY = 75;		// submenu drop shadow opacity (not ie4,ns4 or opera)

var keepSubLIT = true;		// keep submenu rollover color when browsing child menu
var chvOFFSET = 3;		// shift the child menus vertically
var chhOFFSET = 13;		// shift the child menus horizontally

var closeTIMER = 330;		// menu closing delay time

var cellCLICK = true;		// links activate on TD click
var aCURSOR = "hand";		// cursor for active links (not ns4 or opera)

var altDISPLAY = "";		// where to display alt text
var allowRESIZE = true;		// allow resize/reload

var redGRID = false;		// show a red grid
var gridWIDTH = 0;		// override grid width
var gridHEIGHT = 0;		// override grid height
var documentWIDTH = 0;		// override document width

var hideSELECT = true;		// auto-hide select boxes when menus open (ie only)
var allowForSCALING = false;	// allow for text scaling in mozilla 5



//** LINKS ***********************************************************


// add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger")
addMainItem("http://www.somerset.lib.nj.us/","HOME  <span class='u'></span>",100,"center","","",0,0,"w");

	// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
	defineSubmenuProperties(145,"left","left",-4,0,"");

	// add submenu link items ("url","Link name","_target","alt text")
	addSubmenuItem("http://www.somerset.lib.nj.us/kids/index.html","Children","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/middleschoolers/","Middle Schoolers","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/highschoolers/","High Schoolers","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/","Library System Home","","");
	


// *** change these to absolutes

// add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger")

addMainItem("http://catalog.somerset.lib.nj.us/search~S8","<span class='u'></span>Catalog",100,"center","","",0,0,"w");

	defineSubmenuProperties(200,"left","left",-4,0,"");
	
	addSubmenuItem("http://catalog.somerset.lib.nj.us/search~S8","Search","","");
	addSubmenuItem("http://catalog.somerset.lib.nj.us/search~S8/X","Advanced Search","","");
	addSubmenuItem("http://catalog.somerset.lib.nj.us/patroninfo","Log in to My Library Account","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/catalogplaceahold.htm","Catalog Tutorial","","");
	addSubmenuItem("http://somerset.lib.overdrive.com/","Digital Media Collections","","");
	
	
addMainItem("http://www.somerset.lib.nj.us/sclsweb1/siteindex.htm#AboutUs","About Us<span class='u'></span>",100,"center","","",0,0,"e");;

	defineSubmenuProperties(275,"left","left",-4,0,"");
	
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/libinfoaccessaegistrationborrowing.htm","Access, Registration & Borrowing","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/libinfoaskalibrarian.htm","Ask a Librarian","","");
	addSubmenuItem("","Branches -->","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(170,"left","left",0,-20,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("http://maps.google.com/maps/ms?ie=UTF8&msa=0&msid=108877370946326124069.000001121faeac613ae2e&hl=en&om=1&z=10&ll=40.625419,-74.558716&spn=0.496136,0.925598","LOCATIONS/DIRECTIONS","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/boundbrook.htm","Bound Brook","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/bridgewater.htm","Bridgewater","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/hillsborough.htm","Hillsborough","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/maryjacobs.htm","Mary Jacobs","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/northplainfield.htm","North Plainfield","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/peapackgladstone.htm","Peapack Gladstone","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/warren.htm","Warren","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/watchung.htm","Watchung","","");
	
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/libinfoemploymentopportunities.htm","Employment Opportunities","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/FAQS.htm","Frequently Asked Questions (FAQs)","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/libinfolibraryfriends.htm","Friends of the Library","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/libinfohowtogetacard.htm","Get a Library Card","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/libinfohomebound.htm","Homebound Delivery","","");
	addSubmenuItem("http://somerset.lib.nj.us/PDF2004-05/internetusepolicy.pdf","Internet Policy","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/libinfolibrarycommission.htm","Library Commission","","");
	addSubmenuItem("","Reader's Corner -->","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(210,"left","left",0,-20,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("http://www.somerset.lib.nj.us/sclsweb1/readerscornernewmaterials.htm","New Materials","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/sclsweb1/readerscornerbookreviews.htm","All About Books","","");
		addChildmenuItem("http://www.nextreads.com/Display2.aspx?SID=cbcc09db-b4f0-4adb-a778-88822e096591&N=100054","Book Discussions","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/sclsweb1/readerscornerkidsteensschoolbooklists.htm","School Summer Reading Lists","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/sclsweb1/readerscornerbookracomboform.htm","Looking for a Good Book","","");
		
		
		addChildmenuItem("http://www.nextreads.com/join.aspx?SID=cbcc09db-b4f0-4adb-a778-88822e096591","Next Reads","","");
		addChildmenuItem("http://www.supportlibrary.com/su/su.cfm?x=270400","Online Book Club","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/libinfosclsnews.htm","SCLS News","","")
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/onlineresourcessearch.htm","Search the SCLS Website","","")
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/siteindex.htm","Site Index","","")
	addSubmenuItem("http://www.somerset.lib.nj.us/PDFs/StrategicPlan.pdf","Strategic Plan","","");
	
addMainItem("http://www.somerset.lib.nj.us/sclsweb1/siteindex.htm#Programs","Programs<span class='u'></span>",100,"center","","",0,0,"s");

	defineSubmenuProperties(175,"left","left",-4,0,"");
	
	addSubmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=jb","At Bound Brook -->","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(250,"left","left",0,-20,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=jb","CALENDAR of EVENTS","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarmv.asp?jx=jb","Adult Calendar","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarkids.asp?sm=1&jx=jb","Children's Calendar","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarep.asp?jx=jb","Teen Calendar","","");
	
	addSubmenuItem("http://www.libraryinsight.com/calendar.asp?jx=nj","At Bridgewater -->","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(250,"left","left",0,-20,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("http://www.libraryinsight.com/calendar.asp?jx=nj&sm=1","CALENDAR of EVENTS","","");
		addChildmenuItem("http://www.libraryinsight.com/calendarkids.asp?jx=nj","Children's Programs","",""); 
		addChildmenuItem("http://www.somerset.lib.nj.us/sclsweb1/programsbridgewatercomputerclasses.htm","Computer Class Information","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/sclsweb1/programsbridgewaterfriendsbooksale.htm","Friends' Book Sale","","");		
		addChildmenuItem("http://www.somerset.lib.nj.us/sclsweb1/programsbridgewaterfriendsconcerts.htm","Friends' Free Concerts","","");		
		addChildmenuItem("http://www.somerset.lib.nj.us/sclsweb1/programsbridgewaterletstalkaboutit.htm","Let's Talk About It","",""); 
		addChildmenuItem("http://www.somerset.lib.nj.us/sclsweb1/programsbridgewaterlearninghappens.htm","Learning Happens","",""); 
		addChildmenuItem("http://www.libraryinsight.com/calendarmv.asp?jx=nj","Teen programs","",""); 
		
	addSubmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=hu","At Hillsborough -->","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(250,"left","left",0,-20,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=hu","CALENDAR of EVENTS","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarmv.asp?jx=hu","Adult Programs","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarkids.asp?sm=1&jx=hu","Children's Programs","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarep.asp?jx=hu","Teen Programs","","");
		
	addSubmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=mj","At Mary Jacobs -->","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(250,"left","left",0,-20,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=mj","CALENDAR of EVENTS","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarmv.asp?jx=mj","Adult Programs","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarkids.asp?sm=1&jx=mj","Children's Programs","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarep.asp?jx=mj","Teen Programs","","");
		
	addSubmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=nf","At North Plainfield -->","","");
			// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(150,"left","left",0,-20,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=nf","CALENDAR of EVENTS","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarmv.asp?jx=nf","Adult Programs","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarkids.asp?sm=1&jx=nf","Children's Programs","","");
		addChildmenuItem("http://www.somerset.lib.nj.us/sclsweb1/nplesl2004.pdf","ESL Classes","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarep.asp?jx=nf","Teen Programs","","");
		
		
	addSubmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=pg","At Peapack-Gladstone -->","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(250,"left","left",0,-20,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=pg","CALENDAR of EVENTS","","");
		
	addSubmenuItem("http://www.libraryinsight.net/calendarmv.asp?jx=wt","At Warren Township -->","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(170,"left","left",0,-20,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("http://www.libraryinsight.net/calendarmv.asp?jx=wt","Adult Programs","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarkids.asp?sm=1&jx=wt","Children's Programs","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarep.asp?jx=wt","Teen Programs","","");
	addSubmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=wg","At Watchung -->","","");	
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(250,"left","left",0,-20,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("http://www.libraryinsight.net/calendar.asp?sm=1&jx=wg","CALENDAR of EVENTS","","");
		addChildmenuItem("http://www.libraryinsight.net/calendarmv.asp?sm=1&jx=wg","Teen Programs","","");
				addChildmenuItem("http://www.libraryinsight.net/calendarkids.asp?sm=1&jx=wg","Children's Programs","","");

addMainItem("http://www.somerset.lib.nj.us/sclsweb1/siteindex.htm#OnlineResources","<span class='u'></span>Online Resources",120,"center","","",0,0,"t");
	defineSubmenuProperties(250,"left","left",-4,0,"");
	
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/databasesfulldescriptions.htm","DATABASES","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/databasesfulldescriptions.htm#Magazine","*Find Articles","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/databasesfulldescriptions.htm#Biography","*Find Biographical Info","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/databasesfulldescriptions.htm#Books","*Find Books and Literature Info","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/databasesfulldescriptions.htm#Business","*Find Business and Investment Info","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/databasesfulldescriptions.htm#Newspapers","*Find Newspapers","","")
	addSubmenuItem("http://somerset.lib.overdrive.com/","Digital Media Collections","","");
	addSubmenuItem("http://infotrac.galegroup.com/itweb/someco_main?db=GVRL","Reference eBooks","","");
	
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/onlineresourcessearch.htm","Search Engines","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/sclsweb1/onlineresourcesselectedwebsites.htm","Browse Selected Websites","","");
	addSubmenuItem("http://www.jerseyclicks.org/","JERSEYCLICKS","","")
	
		

addMainItem("http://www.somerset.lib.nj.us/sclsweb1/siteindex.htm#KidsandTeens","<span class='u'></span>Children & Teens",117,"center","","",0,0,"t");

	defineSubmenuProperties(120,"left","left",-4,0,"");

	addSubmenuItem("http://www.somerset.lib.nj.us/kids/index.html","Children","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/middleschoolers/","Middle Schoolers","","");
	addSubmenuItem("http://www.somerset.lib.nj.us/highschoolers/","High Schoolers","","");
	
        

addMainItem("http://www.somerset.lib.nj.us/sclsweb1/libinfosclsnews.htm","<span class='u'></span>Current News",100,"center","","",0,0,"t");
		

//**DO NOT EDIT THIS *****
}//***********************
//************************
