//(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+"pics/triup.gif",10,5];	//specifies path to arrow images
	var Arrws=[MenuHref+"menu/pics/triWht.gif",5,10,MenuHref+"menu/pics/tridownWht.gif",10,5,MenuHref+"menu/pics/trileftWht.gif",5,10,MenuHref+"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=1;					// 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",'http://www.sowap.org/index.htm','',5,20,120,"","","","","","",-1,-1,-1,"","Home Page");
	Menu1_1=new Array("Help",MenuHref+'help.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Help");
	Menu1_2=new Array("Login",'','',4,20,120,"","","","","","",-1,-1,-1,"","Secure Area Login");
		Menu1_2_1=new Array("User",MenuHref+'login.htm','',0,20,120,"","","","","","",-1,-1,-1,"","User Login");
		Menu1_2_2=new Array("Admin",MenuHref+'adminlogin.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Admin Login");
		Menu1_2_3=new Array("Cameo User",MenuHref+'cameo/login.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Cameo Login");
		Menu1_2_4=new Array("Cameo Admin",MenuHref+'cameo/adminlogin.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Cameo Admin");
	Menu1_3=new Array("Site Map",MenuHref+'help/smap.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Website Map");
	Menu1_4=new Array("Site FAQ",MenuHref+'help/sinfo.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Frequently asked questions");	
	Menu1_5=new Array('ProTerra','http://www.proterra.eu.com/','',0,20,120,"","","","","","",-1,-1,-1,"","ProTerra");

Menu2=new Array('Project',MenuHref+'project/index.htm','',11,20,120,"","","","","","",-1,-1,-1,"","Project Information");	
	Menu2_1=new Array("Mission",MenuHref+'project/mission.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Mission");
	Menu2_2=new Array("Overview",MenuHref+'project/overview.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Overview");
	Menu2_3=new Array("Study Topics",MenuHref+'project/topics.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Study Topics");
	Menu2_4=new Array("Project Terminology",MenuHref+'project/terminology.htm','',0,35,120,"","","","","","",-1,-1,-1,"","Terminology");
	Menu2_5=new Array("EU Life",'http://ec.europa.eu/environment/life/project/Projects/index.cfm?fuseaction=home.createPage&s_ref=LIFE03%20ENV/UK/000617&area=2&yr=2003&n_proj_id=2338','',0,20,120,"","","","","","",-1,-1,-1,"","EU Life Summary");
	Menu2_6=new Array("UK News",MenuHref+'project/ukupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","New UK News Items");
	Menu2_7=new Array("Hungary News",MenuHref+'project/hgyupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","New Hungarian News Items");
	Menu2_8=new Array("Belgium News",MenuHref+'project/blgupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","New Belgian News Items");
	Menu2_9=new Array("Czech News",MenuHref+'project/czkupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","New Czech News Items");
	Menu2_10=new Array("Academic Work",MenuHref+'project/phd.htm','',0,20,120,"","","","","","",-1,-1,-1,"","PhD Summaries");
	Menu2_11=new Array("Links",MenuHref+'comms/links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Useful Links");
	
Menu3=new Array('People',MenuHref+'people/index.htm','',3,20,120,"","","","","","",-1,-1,-1,"","People");
	Menu3_1=new Array('Who we are',MenuHref+'people/who.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Who we are...");
	Menu3_2=new Array('Our Organisations',MenuHref+'people/organisations.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Our Organisations");
	Menu3_3=new Array('SOWAP Organisation',MenuHref+'people/sowaporg.htm','',0,35,120,"","","","","","",-1,-1,-1,"","Organisation");

Menu4=new Array('Demo Sites',MenuHref+'sindex.htm','',6,20,120,"","","","","","",-1,-1,-1,"","Site Index");	
	Menu4_1=new Array("Loddington",MenuHref+'loddington/index.htm','',7,20,120,"","","","","","",-1,-1,-1,"","Loddington Index");
		Menu4_1_1=new Array('Weather',MenuHref+'loddington/weather/cgi-bin/loddington.cgi','',0,20,120,"","","","","","",-1,-1,-1,"","Loddington Weather");
		Menu4_1_2=new Array('Related Links',MenuHref+'loddington/lod-links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Related Links");
		Menu4_1_3=new Array('Site Staff',MenuHref+'loddington/lod-staff.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Staff at Loddington");
		Menu4_1_4=new Array('Site Information',MenuHref+'loddington/lod-info.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Loddington Site Information");
		Menu4_1_5=new Array('Site News',MenuHref+'project/ukupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","UK News");
		Menu4_1_6=new Array('Site Map',MenuHref+'loddington/lod-map.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Loddington Map");
		Menu4_1_7=new Array('Site Images',MenuHref+'cgi-bin/imageview.cgi?2-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","Loddington Images");
	Menu4_2=new Array("Tivington",MenuHref+'holnicote/index.htm','',7,20,120,"","","","","","",-1,-1,-1,"","Tivington Index");
		Menu4_2_1=new Array('Weather',MenuHref+'holnicote/weather/cgi-bin/tivington.cgi','',0,20,120,"","","","","","",-1,-1,-1,"","Tivington Weather");
		Menu4_2_2=new Array('Related Links',MenuHref+'holnicote/hol-links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Related Links");
		Menu4_2_3=new Array('Site Staff',MenuHref+'holnicote/hol-staff.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Staff at Tivington");
		Menu4_2_4=new Array('Site Information',MenuHref+'holnicote/hol-info.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Tivington Site Information");
		Menu4_2_5=new Array('Site News',MenuHref+'project/ukupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Tivington News");
		Menu4_2_6=new Array('Site Map',MenuHref+'holnicote/hol-map.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Tivington Map");
		Menu4_2_7=new Array('Site Images',MenuHref+'cgi-bin/imageview.cgi?3-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","Tivington Images");
	Menu4_3=new Array("Hungary",MenuHref+'hungary/index.htm','',7,20,120,"","","","","","",-1,-1,-1,"","Hungary Index");
		Menu4_3_1=new Array('Weather',MenuHref+'hungary/weather/cgi-bin/hungary.cgi','',0,20,120,"","","","","","",-1,-1,-1,"","Hungary Weather");
		Menu4_3_2=new Array('Related Links',MenuHref+'hungary/hgy-links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Related Links");
		Menu4_3_3=new Array('Site Staff',MenuHref+'hungary/hgy-staff.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Staff at Hungary");
		Menu4_3_4=new Array('Site Information',MenuHref+'hungary/hgy-info.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Hungary Site Information");
		Menu4_3_5=new Array('Site News',MenuHref+'project/hgyupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Hungary News");
		Menu4_3_6=new Array('Site Map',MenuHref+'hungary/hgy-map.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Hungary Map");
		Menu4_3_7=new Array('Site Images',MenuHref+'cgi-bin/imageview.cgi?5-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","Hungary Images");
	Menu4_4=new Array("Belgium",MenuHref+'belgium/index.htm','',8,20,120,"","","","","","",-1,-1,-1,"","Belgium Index");
		Menu4_4_1=new Array('Weather',MenuHref+'belgium/weather/cgi-bin/belgium.cgi','',0,20,120,"","","","","","",-1,-1,-1,"","Belgium Weather");
		Menu4_4_2=new Array('Related Links',MenuHref+'belgium/blg-links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Related Links");
		Menu4_4_3=new Array('Site Staff',MenuHref+'belgium/blg-staff.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Staff at Belgium");
		Menu4_4_4=new Array('Site Information',MenuHref+'belgium/blg-info.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Belgium Site Information");
		Menu4_4_5=new Array('Site News',MenuHref+'project/blgupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Belgium News");
		Menu4_4_6=new Array('Site Map',MenuHref+'belgium/blg-map.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Belgium Map");
		Menu4_4_7=new Array('Site Images',MenuHref+'cgi-bin/imageview.cgi?4-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","Belgian Images");
		Menu4_4_8=new Array('Belgian Farmers',MenuHref+'belgium/farmers/index.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Farmers");
	Menu4_5=new Array("Czech Republic",MenuHref+'czeck/index.htm','',7,20,120,"","","","","","",-1,-1,-1,"","Czech Index");
		Menu4_5_1=new Array('Weather',MenuHref+'czeck/weather/cgi-bin/czeck.cgi','',0,20,120,"","","","","","",-1,-1,-1,"","Czech Weather");
		Menu4_5_2=new Array('Related Links',MenuHref+'czeck/czk-links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Related Links");
		Menu4_5_3=new Array('Site Staff',MenuHref+'czeck/czk-staff.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Staff at Czech");
		Menu4_5_4=new Array('Site Information',MenuHref+'czeck/czk-info.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Czech Site Information");
		Menu4_5_5=new Array('Site News',MenuHref+'project/czkupdate.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Czech News");
		Menu4_5_6=new Array('Site Map',MenuHref+'czeck/czk-map.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Czech Map");
		Menu4_5_7=new Array('Site Images',MenuHref+'cgi-bin/imageview.cgi?6-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","Czech Images");
	Menu4_6=new Array("France",MenuHref+'aurade/index.htm','',7,20,120,"","","","","","",-1,-1,-1,"","France Index");
		Menu4_6_1=new Array('Weather',MenuHref+'aurade/weather/cgi-bin/aurade.cgi','',0,20,120,"","","","","","",-1,-1,-1,"","Aurade Weather");
		Menu4_6_2=new Array('Related Links',MenuHref+'aurade/aud-links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Related Links");
		Menu4_6_3=new Array('Site Staff',MenuHref+'aurade/aud-staff.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Site Staff at Aurade");
		Menu4_6_4=new Array('Site Information',MenuHref+'aurade/aud-info.htm','',0,20,120,"","","","","","",-1,-1,-1,"","France Site Information");
		Menu4_6_5=new Array('Site News',MenuHref+'aurade/aud-news.htm','',0,20,120,"","","","","","",-1,-1,-1,"","France News");
		Menu4_6_6=new Array('Site Map',MenuHref+'aurade/aud-map.htm','',0,20,120,"","","","","","",-1,-1,-1,"","France Map");
		Menu4_6_7=new Array('Site Images',MenuHref+'cgi-bin/imageview.cgi?7-0-1-2003-100','',0,20,120,"","","","","","",-1,-1,-1,"","France Images");
Menu5=new Array('Communications','','',10,20,120,"","","","","","",-1,-1,-1,"","Communications");
	Menu5_1=new Array('Events',MenuHref+'comms/events.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Events");
	Menu5_2=new Array('Farmer Network',MenuHref+'comms/farmers.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Farmer Network");
	Menu5_3=new Array('Video Clips',MenuHref+'comms/videoindex.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Videos");
	Menu5_4=new Array('Search Images',MenuHref+'comms/imagesearch.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Images");
	Menu5_5=new Array('Media Releases',MenuHref+'comms/media.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Media Releases");
	Menu5_6=new Array('Presentations',MenuHref+'comms/presentations.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Presentations");
	Menu5_7=new Array('Publications',MenuHref+'pubs/index.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Publications");
	Menu5_8=new Array('WOCAT',MenuHref+'comms/wocat.htm','',0,20,120,"","","","","","",-1,-1,-1,"","WOCAT");
	Menu5_9=new Array("Links",MenuHref+'comms/links.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Useful Links");
	Menu5_10=new Array("Initial Results",MenuHref+'comms/keymessages.htm','',0,20,120,"","","","","","",-1,-1,-1,"","Key Messages");



