/***********************************************************************************
*	(c) Ger Versluis 2000 version 8.2 24 April 2002	          *
*	You may use this script on non commercial sites.	          *
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/
//  revised 12-22-08 by Dick Johnson

	var NoOffFirstLineMenus=7;			// Number of main menu  items
						// Colorvariables:
						// Color variables take HTML predefined color names or "#rrggbb" strings
						//For transparency make colors and border color ""
	var LowBgColor='#008080';			// Background color when mouse is not over
	var LowSubBgColor='#008080';			// Background color when mouse is not over on subs
	var HighBgColor='#008080';			// Background color when mouse is over
	var HighSubBgColor='#008080';			// Background color when mouse is over
	var FontLowColor='#FFFFFF';			// Font color when mouse is not over
	var FontSubLowColor='#008080';		// Font color subs when mouse is not over
	var FontHighColor='yellow';			// Font color when mouse is over
	var FontSubHighColor='yellow';		// Font color subs when mouse is over
	var BorderColor='#008080';		// Border color
	var BorderSubColor='#008080';			// Border color for subs
	var BorderWidth=5;				// Border width
	var BorderBtwnElmnts=0;			// Border between elements 1 or 0
	var FontFamily="arial unicode ms,arial";	// 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 can be: left, center, right, justify,
						     // leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use
	var MenuVerticalCentered="right";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=.2;				// horizontal overlap child parent
	var ChildVerticalOverlap=.2;			// 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=0;				// Left padding
	var TopPaddng=1;				// Top padding
	var FirstLineHorizontal=1;		// First level items layout horizontal 1 or 0
	var MenuFramesVertical=0;		// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;		// delay before menu folds in
	var UnfoldDelay=100;			// delay before sub unfolds	
	var TakeOverBgColor=0;			// 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="";				// 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="file:///C|/MyFiles/Homepage/"

	var Arrws=[BaseHref+"images/tri.gif",5,10,BaseHref+"images/tridown.gif",10,5,BaseHref+"images/trileft.gif",5,10,BaseHref+"images/triup.gif",10,5];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=1;		// 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. 
						// The preset is done by the body onload of target document.
						// In frame setup the body onload is:
						// onload="if(parent.frames[0]&&parent.frames[\"navig\"].SetMenu)parent.frames[\"navig\"].SetMenu=\"x_x\";"
						// In a single page the body onload is:
						// onload="if(window.SetMenu)window.SetMenu=\"x_x\""
						// x_x represents the menu item MenuX_X=new Array(.......
						// To preset the menu to no item use \"0\" for \"x_x\" 

	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 MenuSlide="";
	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)";

	var MenuShadow="";
	var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#9C6500, offX=2, offY=2, positive=1)";
	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#9C6500, direction=135, strength=3)";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

//New Function;

<!-- Begin
function Start(page) {
OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes");
}
// End -->

// 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" 

//Interactive
Menu1=new Array("rollover?"+BaseHref+"images/Interactive1.jpg?"+BaseHref+"images/Interactive2.jpg","","",4,120,80,"","","","","","",-1,-1,-1,"","");
	Menu1_1=new Array("Eagle Nest Cam","http://www.iws.org/bald_eagles/nestcam.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu1_2=new Array("Eagle Discussion Forum","javascript:Start('http://z7.invisionfree.com/CHIL_EagleCAM/index.php')","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu1_3=new Array("Track an eagle","","",2,20,150,"","","","","","",-1,-1,-1,"","");
		Menu1_3_1=new Array("Bald Eagles","http://www.iws.org/bald_eagles/track.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
		Menu1_3_2=new Array("Imperial Eagles","http://www.iws.org/Imperial_Eagles/track_ie.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu1_4=new Array("Video & Slideshows","http://www.iws.org/videoselect.htm","",0,20,100,"","","","","","",-1,-1,-1,"","");

//SPECIES
Menu2=new Array("rollover?"+BaseHref+"images/Species1.jpg?"+BaseHref+"images/Species2.jpg","","",2,120,80,"","","","","","",-1,-1,-1,"","");
	Menu2_1=new Array("Mammals","","",9,20,100,"","","","","","",-1,-1,-1,"","");
		Menu2_1_1=new Array("Aardwolf","aardwolf.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
			Menu2_1_2=new Array("Island Fox","","",6,20,150,"","","","","","",-1,-1,-1,"","");				
			Menu2_1_2_1=new Array("Conservation","http://www.iws.org/island_fox_conservation.htm","",0,20,250,"","","","","","",-1,-1,-1,"","");
			Menu2_1_2_2=new Array("Natural History","http://www.iws.org/island_fox_natural_history.htm","",0,20,250,"","","","","","",-1,-1,-1,"","");
			Menu2_1_2_3=new Array("Recent Events","http://www.iws.org/island_fox_recent_events.htm","",0,20,250,"","","","","","",-1,-1,-1,"","");
			Menu2_1_2_4=new Array("Release of Captive-born foxes to the Wild","http://www.iws.org/island_fox_captive_releases.htm","",0,20,250,"","","","","","",-1,-1,-1,"","");
			Menu2_1_2_5=new Array("Studies","http://www.iws.org/island_fox_studies.htm","",0,20,250,"","","","","","",-1,-1,-1,"","");
			Menu2_1_2_6=new Array("Survival Monitoring","http://www.iws.org/island_fox_San_Nicolas_remote_survival_monitoring.htm","",0,20,250,"","","","","","",-1,-1,-1,"","");
					
		Menu2_1_3=new Array("Island Spotted Skunk","","",2,20,150,"","","","","","",-1,-1,-1,"","");
			Menu2_1_3_1=new Array("Santa Cruz subspecies","http://www.iws.org/spotted_skunk_santa_cruz_island.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
			Menu2_1_3_2=new Array("Santa Rosa subspecies","http://www.iws.org/spotted_skunk_santa_rosa_island.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
		Menu2_1_4=new Array("Mongolian Saiga","http://www.iws.org/Mongolian_Saiga.htm","",0,20,200,"","","","","","",-1,-1,-1,"","");
		Menu2_1_5=new Array("Mountain Lion","http://www.iws.org/mountain_lion.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
		Menu2_1_6=new Array("Pacific Fisher","http://www.iws.org/pacific_fisher.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
		Menu2_1_7=new Array("Roloway Monkey","http://www.iws.org/roloway.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
		Menu2_1_8=new Array("Snow Leopard","http://www.iws.org/snow_leopard.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
		Menu2_1_9=new Array("Wolverine","","",1,20,150,"","","","","","",-1,-1,-1,"","");
			Menu2_1_9_1=new Array("2006 Winter Survey in Sequoia and Kings Canyon National Parks","http://www.iws.org/wolverine_2006_winter_survey.htm","",0,20,400,"","","","","","",-1,-1,-1,"","");
			//Menu2_1_9_2=new Array("Reintroduction to California","wolverine_reintroduction.htm","",0,20,250,"","","","","","",-1,-1,-1,"","");

		
	Menu2_2=new Array("Birds","","",8,20,100,"","","","","","",-1,-1,-1,"","");
		Menu2_2_1=new Array("Bald Eagle","http://www.iws.org/bald_eagles/bald.htm","",0,20,200,"","","","","","",-1,-1,-1,"","");
		Menu2_2_2=new Array("Imperial Eagle","http://www.iws.org/Imperial_Eagles/Imperial_Eagles.htm","",0,20,200,"","","","","","",-1,-1,-1,"","");
		Menu2_2_3=new Array("Osprey","http://www.iws.org/osprey_reintroduction.htm","",0,20,200,"","","","","","",-1,-1,-1,"","");
		Menu2_2_4=new Array("San Clemente Loggerhead Shrike","","",4,20,200,"","","","","","",-1,-1,-1,"","");
			Menu2_2_4_1=new Array("Recovery Program","http://www.iws.org/shrike_recovery_program.htm","",0,20,100,"","","","","","",-1,-1,-1,"","");
			Menu2_2_4_2=new Array("Research","http://www.iws.org/shrike_research.htm","",0,20,100,"","","","","","",-1,-1,-1,"","");
			Menu2_2_4_3=new Array("Release Program","http://www.iws.org/shrike_release_program.htm","",0,20,100,"","","","","","",-1,-1,-1,"","");
			Menu2_2_4_4=new Array("Predator Control","http://www.iws.org/shrike_predator_research_and_management.htm","",0,20,100,"","","","","","",-1,-1,-1,"","");

		Menu2_2_5=new Array("San Clemente Sage Sparrow","http://www.iws.org/san_clemente_sage_sparrow.htm","",0,20,200,"","","","","","",-1,-1,-1,"","");

		Menu2_2_6=new Array("Steller's Sea Eagle","http://www.iws.org/steller.htm","",0,20,200,"","","","","","",-1,-1,-1,"","");
		Menu2_2_7=new Array("Mariana Swiftlet","http://www.iws.org/mariana_swiftlet.htm","",0,20,200,"","","","","","",-1,-1,-1,"","");
		Menu2_2_8=new Array("California Condor","http://www.iws.org/NonLeadMain.htm","",0,20,200,"","","","","","",-1,-1,-1,"","");
		
	
		//Menu2_2_6=new Array("Sanford's Sea Eagle","","",0,20,200,"","","","","","",-1,-1,-1,"","");

//	Menu2_3=new Array("Exotics","","",4,20,100,"","","","","","",-1,-1,-1,"","");
//		Menu2_3_1=new Array("Feral Goats","","",0,20,100,"","","","","","",-1,-1,-1,"","");
//		Menu2_3_2=new Array("Feral Swine","","",0,20,100,"","","","","","",-1,-1,-1,"","");
//		Menu2_3_3=new Array("Feral Cats","","",0,20,100,"","","","","","",-1,-1,-1,"","");
//		Menu2_3_4=new Array("Rats","","",0,20,100,"","","","","","",-1,-1,-1,"","");

//LOCATIONS
Menu3=new Array("rollover?"+BaseHref+"images/Locations1.jpg?"+BaseHref+"images/Locations2.jpg","","",8,120,80,"","","","","","",-1,-1,-1,"","");
	
	Menu3_1=new Array("California","","",3,20,200,"","","","","","",-1,-1,-1,"","");
		Menu3_1_1=new Array("Channel Islands","","",6,20,200,"","","","","","",-1,-1,-1,"","");
			Menu3_1_1_1=new Array("San Clemente Island","http://www.iws.org/I_CLEM.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
			Menu3_1_1_2=new Array("Santa Catalina Island","http://www.iws.org/I_CAT.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
			Menu3_1_1_3=new Array("Santa Cruz Island","http://www.iws.org/I_CRUZ.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
			Menu3_1_1_4=new Array("Santa Rosa Island","http://www.iws.org/I_ROS.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
			Menu3_1_1_5=new Array("San Miguel Island","http://www.iws.org/I_SMIG.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
			Menu3_1_1_6=new Array("San Nicolas Island","http://www.iws.org/I_SNIC.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
		Menu3_1_2=new Array("Central California","","",1,20,200,"","","","","","",-1,-1,-1,"","");
			Menu3_1_2_1=new Array("Pinnacles National Monument","http://www.iws.org/NonLeadMain.htm","",0,20,250,"","","","","","",-1,-1,-1,"","");
		Menu3_1_3=new Array("Sierra Nevada","","",1,20,200,"","","","","","",-1,-1,-1,"","");
			Menu3_1_3_1=new Array("Sequoia and Kings Canyon National Parks","http://www.iws.org/wolverine_2006_winter_survey.htm","",0,20,250,"","","","","","",-1,-1,-1,"","");
		
	Menu3_2=new Array("Ghana","http://www.iws.org/roloway.htm","",0,20,100,"","","","","","",-1,-1,-1,"","");
	
	Menu3_3=new Array("Hudson River, New York","","",1,20,200,"","","","","","",-1,-1,-1,"","");
		Menu3_3_1=new Array("Bald Eagle Study","http://www.iws.org/hudson.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");

	Menu3_4=new Array("Japan and Russia","","",1,20,150,"","","","","","",-1,-1,-1,"","");
		Menu3_4_1=new Array("Steller's Sea Eagle","http://www.iws.org/steller.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");

	Menu3_5=new Array("Mongolia","","",1,20,150,"","","","","","",-1,-1,-1,"","");
		Menu3_5_1=new Array("Mongolian Saiga","http://www.iws.org/Mongolian_Saiga.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	
	Menu3_6=new Array("Northern Mariana Islands","","",1,20,150,"","","","","","",-1,-1,-1,"","");
		Menu3_6_1=new Array("Mariana Swiftlet","http://www.iws.org/mariana_swiftlet.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
		
	Menu3_7=new Array("Solomon Islands","","",1,20,150,"","","","","","",-1,-1,-1,"","");
		Menu3_7_1=new Array("Sanford's Sea Eagle","","",0,20,150,"","","","","","",-1,-1,-1,"","");
		
	Menu3_8=new Array("Swaziland","http://www.iws.org/swaziland.htm","",0,20,100,"","","","","","",-1,-1,-1,"","");
		
			
//Jobs
Menu4=new Array("rollover?"+BaseHref+"images/Jobs1.jpg?"+BaseHref+"images/Jobs2.jpg","","",2,120,80,"","","","","","",-1,-1,-1,"","");
	Menu4_1=new Array("Seasonal","http://www.iws.org/j_temp.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu4_2=new Array("Full-time Regular","http://www.iws.org/j_perm.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
		
//Staff
Menu5=new Array("rollover?"+BaseHref+"images/Staff1.jpg?"+BaseHref+"images/Staff2.jpg","","",4,120,80,"","","","","","",-1,-1,-1,"","");
	Menu5_1=new Array("Staff Directory","http://www.iws.org/staff_dir.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu5_2=new Array("Collaborators","http://www.iws.org/collaborators.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu5_3=new Array("Staff Publications","http://www.iws.org/pubs.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu5_4=new Array("IWS Internal","http://www.iws.org/internal.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");


//About IWS
Menu6=new Array("rollover?"+BaseHref+"images/AboutIWS1.jpg?"+BaseHref+"images/AboutIWS2.jpg","","",6,120,80,"","","","","","",-1,-1,-1,"","");
	Menu6_1=new Array("Mission","http://www.iws.org/about_mission.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu6_2=new Array("Wildlife Studies","http://www.iws.org/about_studies.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu6_3=new Array("Habitat Management","http://www.iws.org/about_habitat.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu6_4=new Array("Conservation Biology","http://www.iws.org/about_consbio.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu6_5=new Array("Office Locations","http://www.iws.org/about_office.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu6_6=new Array("Become a IWS Supporter","http://www.iws.org/about_support.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	
	
//Contribute
Menu7=new Array("rollover?"+BaseHref+"images/Contribute1.jpg?"+BaseHref+"images/Contribute2.jpg","","",4,120,80,"","","","","","",-1,-1,-1,"","");
	Menu7_1=new Array("Contribute and Receive a Gift","http://www.iws.org/bald_eagles/new_donation_page.htm","",0,20,200,"","","","","","",-1,-1,-1,"","");
	Menu7_2=new Array("Shop Our CafePress Store", "javascript:Start('http://www.cafepress.com/iws_store')","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu7_3=new Array("Adopt a Nest or Eagle","http://www.iws.org/bald_eagles/adoptions.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");
	Menu7_4=new Array("Become a Member","http://www.iws.org/bald_eagles/membership.htm","",0,20,150,"","","","","","",-1,-1,-1,"","");


