
var BorderColor='#8EA8B2';
var BorderSubColor='#8EA8B2';
var HighSubBgColor='#5F7077';
var StartLeft=0
var sRolloverImg

/*Corrects Hposition for FireFox users*/
if (navigator.userAgent.indexOf("Firefox")!=-1){
	var sCorrectHpos;
	sCorrectHpos=-8
	StartLeft=sCorrectHpos;
}

function setVal(sPage){
	var sBaseColor;
	var sHiliteBaseColor;
	switch (sPage) {
	    case "welcome":
			sBaseColor='#8EA8B2';
			sHiliteBaseColor='#5F7077';
		break;
		case "about":
			sBaseColor='#67548D';
			sHiliteBaseColor='#3E3355';
		break;
		 case "nature":
			sBaseColor='#84ADF8';
			sHiliteBaseColor='#5C79AD';
		break;
		case "conservation":
			sBaseColor='#2F861B';
			sHiliteBaseColor='#1D5211';
		break;
		 case "activities":
			sBaseColor='#CD4848';
			sHiliteBaseColor='#852F2F';
		break;
		case "partners":
			sBaseColor='#F39437';
			sHiliteBaseColor='#B8702A';
		break;
		 case "donations":
			sBaseColor='#A3CF7C';
			sHiliteBaseColor='#78995C';
		break;
		case "news":
			sBaseColor='#D9C91D';
			sHiliteBaseColor='#9B9015';
		break;
		 case "downloads":
			sBaseColor='#853E14';
			sHiliteBaseColor='#3F1D09';
		break;
		case "contact":
			sBaseColor='#E9B71C';
			sHiliteBaseColor='#B58F16';
		break;
	}
	BorderColor=sBaseColor;
	BorderSubColor=sBaseColor;
	HighSubBgColor=sHiliteBaseColor;
}
//alert(sRolloverImg);
	var NoOffFirstLineMenus=10;			// Number of first level items
	var LowBgColor='white';			// Background color when mouse is not over
	var LowSubBgColor='white';			// Background color when mouse is not over on subs
	var HighBgColor='black';			// Background color when mouse is over
	//var HighSubBgColor='#5F7077';			// Background color when mouse is over on subs
	var FontLowColor='black';			// Font color when mouse is not over
	var FontSubLowColor='#444444';			// Font color subs when mouse is not over
	var FontHighColor='white';			// Font color when mouse is over
	var FontSubHighColor='white';			// Font color subs when mouse is over
	//var BorderColor='';					// Border color
	//var BorderSubColor='';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="Verdana, Arial, Helvetica, Geneva, sans-serif"	// Font family menu items
	var FontSize=8;				// Font size menu items
	var FontBold=0;				// 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='middle';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.1;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=207;				// 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=3;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=500;			// 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='p_menubalk';				// 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=0;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',9,9,'tridown.gif',9,9,'trileft.gif',9,9];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// 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("rollover:img/button_welcome.gif:img/button_welcome1.gif","/welcome/index.html","",0,18,71);

Menu2=new Array("rollover:img/button_about.gif:img/button_about1.gif","/about/index.html","",7,18,91);
	Menu2_1=new Array("Organisation","/about/organisation.html","",0,20,140);
	Menu2_2=new Array("Board members","/about/boardmembers.html","",0,20);
	Menu2_3=new Array("Staff","/about/staff.html","",0,20);
	Menu2_4=new Array("Statutes / bylaws","/about/statutes.html","",0,20);
	Menu2_5=new Array("Operational manual","/about/manual.html","",0,20);
	Menu2_6=new Array("History","/about/history.html","",0,20);
	Menu2_7=new Array("Board meetings","/about/meeting_reports.html","",0,20);

Menu3=new Array("rollover:img/button_activities.gif:img/button_activities1.gif","/activities/index.html","",4,18,70);
	Menu3_1=new Array("Goals and achievements","/activities/goals.html","",0,20,160);
	Menu3_2=new Array("Updates","/activities/updates.html","",0,20);
	Menu3_3=new Array("Communication","/activities/communication.html","",0,20);
	Menu3_4=new Array("Projects","/activities/projects.html","",0,20);
	//Menu3_5=new Array("Staff","/activities/staff.html","",0,20);
	
Menu4=new Array("rollover:img/button_nature.gif:img/button_nature1.gif","/nature/index.html","",9,18,60);
	Menu4_1=new Array("Ecosystems","/nature/ecosystems.html","",0,20,160);
	Menu4_2=new Array("Endangered, vulnerable and endemic species","/nature/endangered.html","",0,40);
	Menu4_3=new Array("Redlist for the Dutch Caribbean","/nature/redlist.html","",0,40);
	Menu4_4=new Array("Aruba","/nature/aruba.html","",0,20);
	Menu4_5=new Array("Bonaire","/nature/bonaire.html","",0,20);
	Menu4_6=new Array("Curaçao","/nature/curacao.html","",0,20);
	Menu4_7=new Array("Saba","/nature/saba.html","",0,20);
	Menu4_8=new Array("St. Eustatius","/nature/steustatius.html","",0,20);
	Menu4_9=new Array("St. Maarten","/nature/stmaarten.html","",0,20);
	
	
Menu5=new Array("rollover:img/button_conservation.gif:img/button_conservation1.gif","/conservation/index.html","",9,18,94);
	Menu5_1=new Array("Aruba","/conservation/aruba.html","",0,20,160);
	Menu5_2=new Array("Bonaire","/conservation/bonaire.html","",2,20);
		Menu5_2_1=new Array("Land park","/conservation/bonaire_landpark.html","",0,20,100);
		Menu5_2_2=new Array("Marine park","/conservation/bonaire_marinepark.html","",0,20);	
	Menu5_3=new Array("Curaçao","/conservation/curacao.html","",2,20);
		Menu5_3_1=new Array("Land park","/conservation/curacao_landpark.html","",0,20,100);
		Menu5_3_2=new Array("Marine park","/conservation/curacao_marinepark.html","",0,20);		
	Menu5_4=new Array("Saba","/conservation/saba.html","",2,20);
		Menu5_4_1=new Array("Land park","/conservation/saba_landpark.html","",0,20,100);
		Menu5_4_2=new Array("Marine park","/conservation/saba_marinepark.html","",0,20);
	Menu5_5=new Array("St. Eustatius","/conservation/st_eustatius.html","",2,20);
		Menu5_5_1=new Array("Land park","/conservation/st_eustatius_landpark.html","",0,20,100);
		Menu5_5_2=new Array("Marine park","/conservation/st_eustatius_marinepark.html","",0,20);	
	Menu5_6=new Array("St. Maarten","/conservation/st_maarten.html","",0,20);
	Menu5_7=new Array("Other conservation organisations","/conservation/other.html","",0,40);
	Menu5_8=new Array("Treaties and conventions","/conservation/treaties.html","",0,20,200);
	Menu5_9=new Array("Internationally recognised areas","/conservation/areas.html","",0,20);

Menu6=new Array("rollover:img/button_partners.gif:img/button_partners1.gif","/partners/index.html","",3,18,67);
	Menu6_1=new Array("Dutch Partners","/partners/support.html","",0,20,160);
	Menu6_2=new Array("Sponsors","/partners/sponsors.html","",0,20);
	Menu6_3=new Array("Consultants","/partners/consultants.html","",0,20);
	
Menu7=new Array("rollover:img/button_donations.gif:img/button_donations1.gif","/donations/index.html","",3,18,79);
	Menu7_1=new Array("Funders","/donations/funders.html","",0,20,128);
	Menu7_2=new Array("DCNA Trust Fund","/donations/trustfund.html","",0,20);
	Menu7_3=new Array("Donate now!","/donations/donate.html","",0,20);

Menu8=new Array("rollover:img/button_news.gif:img/button_news1.gif","/news/index.html","",0,18,52);

Menu9=new Array("rollover:img/button_downloads.gif:img/button_downloads1.gif","/downloads/index.html","",0,18,82);

Menu10=new Array("rollover:img/button_contact.gif:img/button_contact1.gif","/contact/index.html","",2,18,64);
	Menu10_1=new Array("Board contact","/contact/board_contact.html","",0,20,140);
	Menu10_2=new Array("Dutch Partner Group","/contact/support_contact.html","",0,20);
