//(c) Ger Versluis 2000 version 8.2

	var NoOffFirstLineMenus=5;			// Number of first level items
	var LowBgColor='#A5D7A2';				// Background color when mouse is not over
	var LowSubBgColor='#A5D7A2';			// Background color when mouse is not over on subs
	var HighBgColor='#336600';				// Background color when mouse is over
	var HighSubBgColor='#336600';			// Background color when mouse is over on subs
	var FontLowColor='black';				// Font color when mouse is not over
	var FontSubLowColor='black';			// 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='#206C20';				// Border color
	var BorderSubColor='black';				// Border color for subs
	var BorderWidth=0;						// Border width
	var BorderBtwnElmnts=0;					// Border between elements 1 or 0
	var FontFamily="verdana,arial";			// Font family menu items
	var FontSize=10;						// Font size menu items
	var FontBold=0;							// Bold menu items 1 or 0
	var FontItalic=0;						// Italic menu items 1 or 0
	var MenuTextCentered='center';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='center';				// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';			// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.2;					// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=106;						// 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=0;						// Top padding
	var FirstLineHorizontal=1;				// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=0;				// 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 TakeOverBgColor=1;				// Menu frame takes over background color subitem frame
	//var FirstLineFrame='gconnNavig';		// Frame where first level appears
	//var SecLineFrame='gconnMain';			// Frame where sub levels appear
	var DocTargetFrame='gconnMain';			// Frame where target documents appear
	var TargetLoc='';				// 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 BaseHref="";	//
	var MenuHref="http://www.sowap.org/";
	//var Arrws=[BaseHref+"menu/pics/tri.gif",5,10,BaseHref+"menu/pics/tridown.gif",10,5,BaseHref+"menu/pics/trileft.gif",5,10,BaseHref+"menu/pics/triup.gif",10,5];	//specifies path to arrow images
	var Arrws=["http://www.sowap.org/menu/pics/triWht.gif",5,10,"http://www.sowap.org/menu/pics/tridownWht.gif",10,5,"http://www.sowap.org/menu/pics/trileftWht.gif",5,10,"http://www.sowap.org/menu/pics/triupWht.gif",10,5];	//specifies path to arrow images
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var BottomUp=0					// Expand sub menus up or down
	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 MenuUsesFrames=0;
	var RememberStatus=0;
	var PartOfWindow=.75;
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.25, wipeStyle=1)";
	var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=1, positive=1)";
	var MenuOpacity="alpha(opacity = 100)";
	var DissapearDelay=500
	var UnfoldDelay=150;
	var MenuShadow="";



function BeforeStart(){return}
//alert("before start complete")

function AfterBuild(){
	var TpLyr=DomYes?document.getElementById("Tp"):Nav4?document.layers["Tp"]:document.all["Tp"];
	var ShdLyr=DomYes?document.getElementById("Shd"):Nav4?document.layers["Shd"]:document.all["Shd"];
	//var TtlStr=parent.frames[1].Title?parent.frames[1].Title:"GConnect - the business ISP";
	var TtlStr="GConnect - the business ISP";
	if(!Nav4) {
		//ShdLyr.innerHTML=TpLyr.innerHTML=TtlStr;
		return;
	}else{	
		return;
		//TtlStr="<font face='comic sans ms, technical' point size='36'>"+TtlStr+"</font>";
		//var TmpStr=TtlStr.fontcolor('blue');ShdLyr.document.write(TmpStr);ShdLyr.document.close();
		//TtlStr=TtlStr.fontcolor('#aaaaff');TpLyr.document.write(TtlStr);TpLyr.document.close()
	}
}

//alert("after build complete")

function BeforeFirstOpen(){
	if(ScLoc.HideArray){var H_A,H_Al,H_El,i;H_A=ScLoc.HideArray;H_Al=H_A.length;
		for (i=0;i<H_Al;i++){H_El=(Nav4)?ScLoc.document.layers[H_A[i]]:(DomYes)?ScLoc.document.getElementById(H_A[i]).style:ScLoc.document.all[H_A[i]].style;H_El.visibility=M_Hide}}
}
//alert("BeforeFirstOpen complete")

function AfterCloseAll(){
	if(ScLoc.HideArray){var H_A,H_Al,H_El,i;H_A=ScLoc.HideArray;H_Al=H_A.length;
		for (i=0;i<H_Al;i++){H_El=(Nav4)?ScLoc.document.layers[H_A[i]]:(DomYes)?ScLoc.document.getElementById(H_A[i]).style:ScLoc.document.all[H_A[i]].style;H_El.visibility=M_Show}}
}



// ------------------
//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"

	NoOffFirstLineMenus=5;			// Number of first level items

Menu1=new Array('Home',MenuHref+'index.htm','',4,20,120,"","","","","","",-1,-1,-1,"","Home Page");
	Menu1_1=new Array("Project",MenuHref+'project/index.htm','',5,20,120,"","","","","","",-1,-1,-1,"","Vision & Values");
		Menu1_1_1=new Array("Mission",MenuHref+'project/mission.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Mission");
		Menu1_1_2=new Array("Overview",MenuHref+'project/overview.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Project Overview");
		Menu1_1_3=new Array("Study Topics",MenuHref+'project/topics.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Study Topics");
		Menu1_1_4=new Array("Terminology",MenuHref+'project/terminology.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Terminology");
		Menu1_1_5=new Array("EU Life",MenuHref+'http://europa.eu.int/comm/environment/life/project/Projects/index.cfm?fuseaction=SEARCH.CREATEPAGE&s_ref=LIFE03%20ENV/UK/000617&area=2&yr=2003&n_proj_id','',0,20,120,"","","","","","",-1,-1,-1,"","EU Life Detail");
	Menu1_2=new Array("People",MenuHref+'people.htm','',3,20,120,"","","","","","",-1,-1,-1,"","People & Organisation");
		Menu1_2_1=new Array("Who we are",MenuHref+'people/who.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Who we are");
		Menu1_2_2=new Array("Our Organisations",MenuHref+'people/organisations.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Our Organisations");
		Menu1_2_3=new Array("SOWAP Organisation",MenuHref+'people/sowaporg.htm','',0,35,120,"","","","","","",-1,-1,-1,"","SOWAP Organisation");
	Menu1_3=new Array("Demo Sites",MenuHref+'sindex.htm','',4,20,120,"","","","","","",-1,-1,-1,"","Site Index");
		Menu1_3_1=new Array("Tivington",MenuHref+'holnicote/index.htm','',7,20,120,"","","","","","",-1,-1,-1,"","Tivington Index");
			Menu1_3_1_1=new Array('Weather',MenuHref+'holnicote/weather/cgi-bin/tivington.cgi','',0,20,120,"","","","","","",-1,-1,-1,"","Tivington Weather");
			Menu1_3_1_2=new Array('Related Links',MenuHref+'holnicote/hol-links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Related Links");
			Menu1_3_1_3=new Array('Site Staff',MenuHref+'holnicote/hol-staff.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Staff at Tivington");
			Menu1_3_1_4=new Array('Site Information',MenuHref+'holnicote/hol-info.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Tivington Site Information");
			Menu1_3_1_5=new Array('Site News',MenuHref+'project/ukupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Tivington News");
			Menu1_3_1_6=new Array('Site Map',MenuHref+'holnicote/hol-map.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Tivington Map");
			Menu1_3_1_7=new Array('Site Images',MenuHref+'cgi-bin/imageview.cgi?3-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","Tivington Images");
		Menu1_3_2=new Array("Hungary",MenuHref+'hungary/index.htm','',7,20,120,"","","","","","",-1,-1,-1,"","Hungary Index");
			Menu1_3_2_1=new Array('Weather',MenuHref+'hungary/weather/cgi-bin/hungary.cgi','',0,20,120,"","","","","","",-1,-1,-1,"","Hungary Weather");
			Menu1_3_2_2=new Array('Related Links',MenuHref+'hungary/hgy-links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Related Links");
			Menu1_3_2_3=new Array('Site Staff',MenuHref+'hungary/hgy-staff.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Staff at Hungary");
			Menu1_3_2_4=new Array('Site Information',MenuHref+'hungary/hgy-info.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Hungary Site Information");
			Menu1_3_2_5=new Array('Site News',MenuHref+'project/hgyupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Hungary News");
			Menu1_3_2_6=new Array('Site Map',MenuHref+'hungary/hgy-map.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Hungary Map");
			Menu1_3_2_7=new Array('Site Images',MenuHref+'cgi-bin/imageview.cgi?5-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","Hungary Images");
		Menu1_3_3=new Array("Belgium",MenuHref+'belgium/index.htm','',8,20,120,"","","","","","",-1,-1,-1,"","Belgium Index");
			Menu1_3_3_1=new Array('Weather',MenuHref+'belgium/weather/cgi-bin/belgium.cgi','',0,20,120,"","","","","","",-1,-1,-1,"","Belgium Weather");
			Menu1_3_3_2=new Array('Related Links',MenuHref+'belgium/blg-links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Related Links");
			Menu1_3_3_3=new Array('Site Staff',MenuHref+'belgium/blg-staff.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Staff at Belgium");
			Menu1_3_3_4=new Array('Site Information',MenuHref+'belgium/blg-info.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Belgium Site Information");
			Menu1_3_3_5=new Array('Site News',MenuHref+'project/blgupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Belgium News");
			Menu1_3_3_6=new Array('Site Map',MenuHref+'belgium/blg-map.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Belgium Map");
			Menu1_3_3_7=new Array('Site Images',MenuHref+'cgi-bin/imageview.cgi?4-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","Belgium Images");
			Menu1_3_3_8=new Array('Belgian Farmers',MenuHref+'belgium/farmers/index.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Belgium Farmers");
		Menu1_3_4=new Array("Czech Republic",MenuHref+'czeck/index.htm','',7,20,120,"","","","","","",-1,-1,-1,"","Czech Index");
			Menu1_3_4_1=new Array('Weather',MenuHref+'czeck/weather/cgi-bin/czeck.cgi','',0,20,120,"","","","","","",-1,-1,-1,"","Czech Weather");
			Menu1_3_4_2=new Array('Related Links',MenuHref+'czeck/lod-links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Related Links");
			Menu1_3_4_3=new Array('Site Staff',MenuHref+'czeck/lod-staff.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Staff at Czech");
			Menu1_3_4_4=new Array('Site Information',MenuHref+'czeck/lod-info.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Czech Site Information");
			Menu1_3_4_5=new Array('Site News',MenuHref+'project/czkupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Czech News");
			Menu1_3_4_6=new Array('Site Map',MenuHref+'czeck/lod-map.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Czech Map");
			Menu1_3_4_7=new Array('Site Images',MenuHref+'cgi-bin/imageview.cgi?6-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","Czech Images");
Menu1_4=new Array("Communications",MenuHref+'comms/index.htm','',7,20,120,"","","","","","",-1,-1,-1,"","Communications");
			Menu1_4_1=new Array('Events',MenuHref+'comms/events.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Events");
			Menu1_4_2=new Array('Media Releases',MenuHref+'comms/media.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Media Releases");
			Menu1_4_3=new Array('Images',MenuHref+'cgi-bin/imageview.cgi?1-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","Images");
			Menu1_4_4=new Array('WOCAT',MenuHref+'comms/wocat.htm','',0,20,120,"","","","","","",-1,-1,-1,"","WOCAT");
			Menu1_4_5=new Array('Farmer Network',MenuHref+'comms/farmers.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Farmer Network");
			Menu1_4_6=new Array('Presentations',MenuHref+'comms/presentations.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Presentations");
			Menu1_4_7=new Array('Publications',MenuHref+'pubs/index.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Publications");

Menu2=new Array("Loddington",MenuHref+'loddington/index.htm','',7,20,120,"","","","","","",-1,-1,-1,"","Loddington Index");
	Menu2_1=new Array('Weather',MenuHref+'loddington/weather/cgi-bin/loddington.cgi','',0,20,120,"","","","","","",-1,-1,-1,"","Loddington Weather");
	Menu2_2=new Array('Related Links',MenuHref+'loddington/lod-links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Related Links");
	Menu2_3=new Array('Site Staff',MenuHref+'loddington/lod-staff.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Staff at Loddington");
	Menu2_4=new Array('Site Information',MenuHref+'loddington/lod-info.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Loddington Site Information");
	Menu2_5=new Array('Site News',MenuHref+'project/ukupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Loddinton News");
	Menu2_6=new Array('Site Map',MenuHref+'loddington/lod-map.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Loddington Map");
	Menu2_7=new Array('Site Images',MenuHref+'cgi-bin/imageview.cgi?2-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","Loddington Images");

Menu3=new Array('Study Topics','','',4,20,120,"","","","","","",-1,-1,-1,"","Navigate Loddington Study Areas");	
	Menu3_1=new Array('Erosion',MenuHref+'loddington/erosion/overview.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Erosion Study");
	Menu3_2=new Array('Terrestrial Ecology',MenuHref+'loddington/birds/index.htm','',0,35,120,"","","","","","",-1,-1,-1,"","Terrestrial Ecology");
	Menu3_3=new Array('Aquatic Ecology',MenuHref+'loddington/aquatic/index.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Aquatic Ecology");
	Menu3_4=new Array('Agronomy + Costs',MenuHref+'loddington/agronomy/index.htm','',0,35,120,"","","","","","",-1,-1,-1,"","Field Scale Agronomy");

Menu4=new Array("Login",'','',2,20,120,"","","","","","",-1,-1,-1,"","Select Login Option");
	Menu4_1=new Array("User",MenuHref+"login.htm",'',0,20,120,"","","","","","",-1,-1,-1,"","User Login");
	Menu4_2=new Array("Admin",MenuHref+'adminlogin.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Administration");	

Menu5=new Array('Help',MenuHref+'help.htm','',3,20,120,"","","","","","",-1,-1,-1,"","Site Home");
	Menu5_1=new Array('Site Information',MenuHref+'help/sinfo.htm','',0,20,120,"","","","","","",-1,-1,-1,"","General Site Information");
	Menu5_2=new Array('Site Map',MenuHref+'help/smap.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Website Map");
	Menu5_3=new Array('Web Contacts',MenuHref+'help/wcontact.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Webmaster Contact");






