/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/


	var NoOffFirstLineMenus=15;			// Number of first level items
	var LowBgColor='#2e4560';			// Background color when mouse is not over
	var LowSubBgColor='#2e4560';			// Background color when mouse is not over on subs
	var HighBgColor='#445C78';			// Background color when mouse is over
	var HighSubBgColor='#445C78';			// Background color when mouse is over on subs
	var FontLowColor='#E5E5CA';			// Font color when mouse is not over
	var FontSubLowColor='#E5E5CA';			// Font color subs when mouse is not over
	var FontHighColor='#cccc99';			// Font color when mouse is over
	var FontSubHighColor='#cccc99';			// Font color subs when mouse is over
	var BorderColor='#2e4560';			// Border color
	var BorderSubColor='#445C78';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=0;			// Border between elements 1 or 0
	var FontFamily="tahoma, sans serif, technical"	// Font family menu items
	var FontSize=8;				// 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 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=0;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=0;			// vertical overlap child/ parent
	var StartTop=0;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=2;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=0;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='menupos';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=1;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}



function PopUp(PopUpUrl){
    var ScreenWidth=window.screen.width;
    var ScreenHeight=window.screen.height;
    var movefromedge=0;
    placementx=(ScreenWidth/2)-((750)/2);
    placementy=(ScreenHeight/2)-((700+50)/2);
    WinPop=window.open(PopUpUrl,"","width=1060,height=800,toolbar=1,location=0,directories=0,status=1,scrollbars=1,menubar=1,resizable=1,left="+placementx+",top="+placementy+",screenX="+placementx+",screenY="+placementy+",");
   }


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"


Menu1=new Array("Welcome","hbf_index.shtml","",0,20,130);
	

	
Menu2=new Array("Environmental Education Programs","#","",6,30);
	Menu2_1=new Array("Overnight Programs","overnightprograms.shtml","",0,20,200);
	Menu2_2=new Array("Day Programs","dayprograms.shtml","",0);
	Menu2_3=new Array("Weekend Programs","rentals.shtml","",0);
	Menu2_4=new Array("Bridging the Watershed (9-12)","../btw/btw_index.shtml","",0);
	Menu2_5=new Array("Scheduling","scheduling.shtml","",0);
	Menu2_6=new Array("How to Prepare for a HBF Field Trip","hbf_prepare.shtml","",0,30);
	

Menu3=new Array("Education Resources","#","",6,20);
	Menu3_1=new Array("Online Lessons & Resources","lessons.shtml","",0,20,180);
	Menu3_2=new Array("How to Prepare for a HBF Field Trip","hbf_prepare.shtml","",0,30,180);
	Menu3_3=new Array("Scheduling","scheduling.shtml","",0,20,180);
	Menu3_4=new Array("Training Opportunities","#","",4);
		Menu3_4_1=new Array("Environmental Science Summer Teacher Institute (4-8)","teacher_training.shtml","",0,30,220);
		Menu3_4_2=new Array("BTW Summer Institutes(9-12)","../btw/training.shtml","",0,20);
		Menu3_4_3=new Array("BTW Workshops","../btw/workshops.shtml","",0);
		Menu3_4_4=new Array("BTW NPS Ranger Training","../btw/ranger_workshops.shtml","",0,20);
	Menu3_5=new Array("Model Environmental School","javascript:PopUp('modelschool.shtml')","",0);
	Menu3_6=new Array("HBF Outreach", "#","",2);
		Menu3_6_1=new Array("Overview","hbf_outreach.shtml", "",0, 20, 180);
		Menu3_6_2=new Array("Blog - Reaching Out from HBF","http://fergusonfoundation.org/wp2/","",0);
		
	
	
	
Menu4=new Array("Facilities","#","",2,20);
	Menu4_1=new Array("Facility Rentals","rentals.shtml","",0,20,180);
	Menu4_2=new Array("Facility Descriptions","facilities.shtml","",0,20,180);
	


	

Menu5=new Array("Get to Know HBF","#","",4);
	Menu5_1=new Array("The Animals: Photos", "javascript:PopUp('kz_animals.shtml')", "",0,20,140);
	Menu5_2=new Array("The Farm: Photos", "javascript:PopUp('farm_gallery.shtml')", "",0,20,140);
	Menu5_3=new Array("The Fergusons: Photos", "javascript:PopUp('../ferguson_gallery.shtml')", "",0,20,140);
	Menu5_4=new Array("The Ferguson Era","../ferguson_era.shtml","",0);
	Menu5_5=new Array("AFF History","../aff_history.shtml","",0);
	
	
	
Menu6=new Array("Calendar","#","",9);
		Menu6_1=new Array("Hard Bargain Farm Schedule", "javascript:PopUp('http://www.calendarwiz.com/aff')","",0,20,190);
		Menu6_2=new Array("Calendar of Events", "../aff_calendar.shtml", "",0);
		Menu6_3=new Array("Training Opportunities", "#", "",4);
			Menu6_3_1=new Array("Environmental Science Summer Teacher Institutes (4-8)","teacher_training.shtml","",0,30, 220);
			Menu6_3_2=new Array("BTW Summer Institutes(9-12)","../btw/training.shtml","",0,20);
			Menu6_3_3=new Array("BTW Workshops","../btw/workshops.shtml","",0,20);
			Menu6_3_4=new Array("BTW NPS Ranger Training","../btw/ranger_workshops.shtml","",0,20);
	
		Menu6_4=new Array("Spring Farm Festival","../sff.shtml","",0,20);
		Menu6_5=new Array("Oktoberfest","../oktoberfest.shtml","",0);
		Menu6_6=new Array("Potomac River Watershed Cleanup","../trash_initiative/trash_cleanup.shtml","",0,30);
		Menu6_7=new Array("Potomac Trash Summit","../trash_initiative/trash_summit.shtml","",0,20);
		Menu6_8=new Array("Concerts in the Woods","../concerts.shtml","",0,20);
		Menu6_9=new Array("Theater in the Woods","../theater.shtml","",0,20);

Menu7=new Array("Get Involved","#","",2);
	Menu7_1=new Array("Membership","../membership.shtml","",0,20,130);
	Menu7_2=new Array("Become a Sponsor","../membership.shtml","",0);

Menu8=new Array("Kids' Zone","kidszone_index.shtml","",0);

Menu9=new Array("Information for Parents & Chaperones","parentinfo.shtml","",0,30);

Menu10=new Array("Videos and Photos","#","",5);
	Menu10_1=new Array("Environmental Education at HBF Video","javascript:PopUp('ed_video.shtml')","",0,30,150);
	Menu10_2=new Array("HBF Education Photos","javascript:PopUp('ed_photos.shtml')","",0,20,150);
	
	Menu10_3=new Array("Farm Animals","javascript:PopUp('kz_animals.shtml')","",0,20);
	Menu10_4=new Array("The Farm","javascript:PopUp('farm_gallery.shtml')","",0,20);
	Menu10_5=new Array("More...", "../gallery.shtml","",0,20);

Menu11=new Array("Scheduling", "scheduling.shtml", "", 0);

Menu12=new Array("AFF Store","javascript:PopUp('https://co.clickandpledge.com/default.aspx?wid=33490')","",0);

Menu13=new Array("Directions", "javascript:PopUp('../directions.shtml')", "", 0);

Menu14=new Array("Contact Us", "../contact.shtml", "", 0);
Menu15=new Array("Site Map","../affsitemap.shtml","",0);
