
	var NoOffFirstLineMenus=27;			
						
						
	var LowBgColor="#6F8BCC";			
	var HighBgColor="#2A3365";			
	var FontLowColor="#000000";			
	var FontHighColor="white";			// Font color when mouse is over
	var BorderColor="#AAB4CB";			// Border color
	var BorderWidthMain=1;			// Border width main items
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=1;			// Border between elements main items 1 or 0
	var BorderBtwnSub=1;			// Border between elements sub items 1 or 0
	var FontFamily="Verdana,arial,helvetica";		// Font family menu items
	var FontSize=9;				// Font size menu items
	var FontBold=1;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="left";		// Item text position left, center or right
	var MenuCentered="left";			// Menu horizontal position can be: left, center, right, justify,
						//  leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=.00;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.05;			// vertical overlap child/ parent
	var StartTop=-0;				// Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
	var StartLeft= 0;				// Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=2;				// Left padding
	var TopPaddng=3;				// Top padding
	var FirstLineHorizontal=0;			// First level items layout horizontal 1 or 0
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=500;			// delay before menu folds in
	var UnfoldDelay=0;			// delay before sub unfolds	
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="";			// Frame where first level appears
	var SecLineFrame="";			// Frame where sub levels appear
	var DocTargetFrame="";			// Frame where target documents appear
	var TargetLoc="MenuPos";				// span id for relative positioning
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var BottomUp=0;				// enables/ disables Bottom up unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref="";				// BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref=""

	var Arrws=[BaseHref+"tri.gif",0,0,BaseHref+"tridown.gif",0,0,BaseHref+"trileft.gif",0,0,BaseHref+"triup.gif",0,0];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1

	var RememberStatus=0;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// <head>
						//	<script type="text/javascript">var SetMenu="2_2_1";</script>
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......

	var PartOfWindow=.8;			// PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to

						// Below some pretty useless effects, since only IE6+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
	var BuildOnDemand=0;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)";
	

	var MenuShadow="";
	

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//	"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 


Menu1=new Array("   Directory","http://www.haddam.org/directory.shtml","",0,20,156,"","","","","","",-1,-1,-1,"","");
	
Menu2=new Array("   Town Profile  ","","",2,20,156,"","","","","","",-1,-1,-1,"","");
	Menu2_1=new Array("Demographics ","http://www.cerc.com/TownProfiles/county.asp?county=Middlesex#Haddam","",0,20,200,"","","","","","",-1,-1,-1,"","");
	Menu2_2=new Array("Plan of Conservation & Dev.","http://haddam.org/pdf/2012/HaddamPOCD.pdf","",0,20,200,"","","","","","",-1,-1,-1,"","");	
		
			
Menu3=new Array("   First Selectman","http://www.haddam.org/selectmen.shtml","",0,20,156,"","","","","","",-1,-1,-1,"","Own text entered");
	

Menu4=new Array("   Town Clerk  ","http://www.haddam.org/town_clerk.shtml","",0,20,156,"","","","","","",-1,-1,-1,"","");
	


Menu5=new Array("   Assessor","http://www.haddam.org/assessor.shtml","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu5_1=new Array("Assessor's Office","http://www.haddam.org/assessor.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu5_2=new Array("Online Information","http://rmsreval.com/login.asp?town=Haddam","",0,20,190,"","","","","","",-1,-1,-1,"","");

Menu6=new Array("   Tax Collector","http://www.haddam.org/tax_collector.shtml","",2,20,140,"","","","","","",-1,-1,-1,"","");
	Menu6_1=new Array("Tax Collector Information","http://www.haddam.org/tax_collector.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu6_2=new Array("Pay Taxes Online","http://www.haddam.org/pay_online.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");

Menu7=new Array("   Pay Online  ","http://www.haddam.org/pay_online.shtml","",0,20,156,"","","","","","",-1,-1,-1,"","");
	
Menu8=new Array("   Boards & Commissions","","",7,20,130,"","","","","","",-1,-1,-1,"","");
	Menu8_1=new Array("Board of Selectmen","http://www.haddam.org/minutesBOS.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu8_2=new Array("Board of Finance","http://www.haddam.org/minutesBOF.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu8_3=new Array("Planning & Zoning Comm.","http://www.haddam.org/minutesPZC.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu8_4=new Array("Zoning Board of Appeals","http://www.haddam.org/minutesZBA.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu8_5=new Array("Conservation Commission","http://www.haddam.org/minutesCC.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu8_6=new Array("Economic Develop. Comm.","http://www.haddam.org/minutesEDC.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu8_7=new Array("Wetland Commission","http://www.haddam.org/minutesWC.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
			
	
Menu9=new Array("   Town Services","","",6,20,140,"","","","","","",-1,-1,-1,"","");
	Menu9_1=new Array("State Trooper","http://www.haddam.org/state_troopers.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu9_2=new Array("Haddam Fire Company","http://www.haddamfire.com","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu9_3=new Array("Haddam Neck Fire Company","http://www.HNVFD.com","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu9_4=new Array("Ambulance","http://www.haddamambulance.org/","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu9_5=new Array("Transfer Station","http://www.haddam.org/transfer_station.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu9_6=new Array("Downloadable Map","http://www.haddam.org/documents/EastHaddam2007Reduced.pdf","",0,20,190,"","","","","","",-1,-1,-1,"","");
	
Menu10=new Array("   Animal Control","http://www.haddam.org/animal_control.shtml","",0,20,130,"","","","","","",-1,-1,-1,"","");
		
Menu11=new Array("   Transfer Station","http://www.haddam.org/transfer_station.shtml","",0,20,130,"","","","","","",-1,-1,-1,"","");

Menu12=new Array("   Health Department","http://www.haddam.org/public_health.shtml","",2,20,130,"","","","","","",-1,-1,-1,"","");
    Menu12_1=new Array("Public Health","http://www.haddam.org/public_health.shtml","",0,20,180,"","","","","","",-1,-1,-1,"","");
    Menu12_2=new Array("Health Director","http://www.haddam.org/health_director.shtml","",0,20,180,"","","","","","",-1,-1,-1,"","");
	
	
	
Menu13=new Array("  Registrars of Voters","http://www.haddam.org/registrars.shtml","",0,20,130,"","","","","","",-1,-1,-1,"","");
Menu14=new Array("  Public Works","http://www.haddam.org/public_works.shtml","",0,20,130,"","","","","","",-1,-1,-1,"","");
Menu15=new Array("   Finance Department","http://www.haddam.org/finance.shtml","",0,20,130,"","","","","","",-1,-1,-1,"","");

Menu16=new Array("   Land Use Department","http://www.haddam.org/land_use.shtml","",5,20,130,"","","","","","",-1,-1,-1,"","");
	Menu16_1=new Array("Land Use Department","http://www.haddam.org/land_use.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu16_2=new Array("Land Use Forms","http://www.haddam.org/land_forms.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu16_3=new Array("Chatham Health District","http://www.haddam.org/chatham_health.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu16_4=new Array("Fire Marshal","http://www.haddam.org/fire_marshal.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu16_5=new Array("Burning Official","http://www.haddam.org/burning_official.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	
	Menu17=new Array("   Economic Development","http://www.haddam.org/econ_dev.shtml","",0,20,140,"","","","","","",-1,-1,-1,"","");
	
Menu18=new Array("   Regulations","","",6,20,140,"","","","","","",-1,-1,-1,"","");
	Menu18_1=new Array("IWWC Regulations","http://www.haddam.org/reg_iwwc.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
    Menu18_2=new Array("Zoning Regulations","http://www.haddam.org/reg_zoning.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu18_3=new Array("Subdivision Regulations","http://www.haddam.org/reg_subdivision.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu18_4=new Array("Studies and Reports","http://www.haddam.org/reg_studies.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu18_5=new Array("Road Regulations","http://www.haddam.org/reg_roads.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu18_6=new Array("Codes & Ordinances","http://www.haddam.org/reg_codes.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	
	
Menu19=new Array("   Recreation","","",6,20,140,"","","","","","",-1,-1,-1,"","");
	Menu19_1=new Array("Recreation Commission","http://www.haddam.org/recreation_comm.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
    Menu19_2=new Array("HK Recreation","http://www.hkrec.com/","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu19_3=new Array("Haddam River Days","http://www.haddam.org/haddam_riverdays.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu19_4=new Array("Haddam Meadows State Park","http://dep.state.ct.us/STATEPARKS/parks/haddammeadows.htm","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu19_5=new Array("Haddam Neck Fair","http://www.haddamneckfair.com/","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu19_6=new Array("Haddam Little League","http://www.haddamlittleleague.org/","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu19_7=new Array("HK Soccer Club","http://hksoccer.org/hk/index.html","",0,20,190,"","","","","","",-1,-1,-1,"","");
	
Menu20=new Array("   Building Department","http://www.haddam.org/building_dept.shtml","",0,20,140,"","","","","","",-1,-1,-1,"","");
    
Menu21=new Array("   Forms & Applications","","",1,20,140,"","","","","","",-1,-1,-1,"","");
    Menu21_1=new Array("Transfer Station Decal","http://www.haddam.org/transfer_station.shtml","",0,20,190,"","","","","","",-1,-1,-1,"","");
	
Menu22=new Array("   Employment ","http://www.haddam.org/employment.shtml","",0,20,140,"","","","","","",-1,-1,-1,"","");
Menu23=new Array("   Bulletin Board ","http://www.haddam.org/bulletin_board.shtml","",0,20,140,"","","","","","",-1,-1,-1,"","");
	
Menu24=new Array("   Education","","",1,20,140,"","","","","","",-1,-1,-1,"","");
    Menu24_1=new Array("Region #17 School District","http://www.rsd17.org/","",0,20,190,"","","","","","",-1,-1,-1,"","");
	
	
Menu25=new Array("   Haddam Seniors","http://www.haddam.org/seniors.shtml","",0,20,140,"","","","","","",-1,-1,-1,"",""); 
     
	 
Menu26=new Array("   Community Links","","",8,20,140,"","","","","","",-1,-1,-1,"",""); 
	Menu26_1=new Array("Haddam Historical Society","http://www.haddamhistory.org/","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu26_2=new Array("Brainerd Library","http://www.brainerdlibrary.lioninc.org/","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu26_3=new Array("Haddam Land Trust","http://www.hltrust.org/","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu26_4=new Array("Haddam Neck Fair","http://www.haddamneckfair.com/","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu26_5=new Array("Houses of Worship","","",6,20,190,"","","","","","",-1,-1,-1,"","");
	     Menu26_5_1=new Array("Haddam Neck Congregational","http://www.haddamneckcongregationalchurch.org/","",0,20,230,"","","","","","",-1,-1,-1,"","");
		 Menu26_5_2=new Array("Higganum Congregational","http://www.hccucc.org/","",0,20,230,"","","","","","",-1,-1,-1,"","");
		 Menu26_5_3=new Array("First Congregational of Haddam","http://www.haddamcongchurch.org/","",0,20,230,"","","","","","",-1,-1,-1,"","");
		 Menu26_5_4=new Array("Valley Bible Evangelical","http://www.vbefc.org","",0,20,230,"","","","","","",-1,-1,-1,"","");
		 Menu26_5_5=new Array("Higganum United Methodist","http://www.forministry.com/USCTUMETCHUMCH/","",0,20,230,"","","","","","",-1,-1,-1,"","");
		 Menu26_5_6=new Array("Saint James Episcopal","http://www.stjameshigganum.org","",0,20,230,"","","","","","",-1,-1,-1,"","");
    Menu26_6=new Array("Youth & Family Services","http://hkyfs.org/","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu26_7=new Array("Higganum Village Market","http://www.higganumvillagemarket.org","",0,20,190,"","","","","","",-1,-1,-1,"","");
	Menu26_8=new Array("Higganum Vision Group","http://www.higganumvisiongroup.org","",0,20,190,"","","","","","",-1,-1,-1,"","");
	
	
Menu27=new Array("   State and U.S. Links","govt_links.shtml","",0,20,140,"","","","","","",-1,-1,-1,"",""); 
		
	

	
	
