	var NoOffFirstLineMenus=11;			// 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="003300";			// Background color when mouse is not over
	var HighBgColor="FFFF00";			// Background color when mouse is over
	var FontLowColor="FFFF00";			// Font color when mouse is not over
	var FontHighColor="003300";			// Font color when mouse is over
	var BorderColor="FFFF00";			// Border color
	var BorderWidthMain=1;			// Border width main items
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=1;			// Border width between elements main items
	var BorderBtwnSub=1;			// Border width between elements sub items
	var FontFamily="arial,comic sans ms,technical";	// Font family menu items
	var FontSize=12;				// 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 can be: left, center, 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=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 DistFrmFrameBrdr=2;			// Distance between main menu and frame border
	var LeftPaddng=3;				// Left padding
	var TopPaddng=-1;				// Top padding. If set to -1 text is vertically centered
	var FirstLineHorizontal=1;			// Number defines to which level the menu must unfold horizontal; 0 is all vertical
	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=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="navig";		// Frame where first level appears
	var SecLineFrame="navig";		// 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+"gifs/tri.gif",5,10,BaseHref+"gifs/tridown.gif",10,5,BaseHref+"gifs/trileft.gif",5,10,BaseHref+"gifs/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. 
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// <head>
						//	<script type="text/javascript">var SetMenu="2_2_1";</script>
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......

						// 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 BuildOnDemand=0;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var BgImgLeftOffset=5;			// Only relevant when bg image is used as rollover
	var ScaleMenu=0;				// 1/0 When set to 0 Menu scales with browser text size setting

	var HooverBold=1;			// 1 or 0
	var HooverItalic=0;			// 1 or 0
	var HooverUnderLine=0;			// 1 or 0
	var HooverTextSize=0;			// 0=off, number is font size difference on hoover
	var HooverVariant=0;			// 1 or 0

	var MenuSlide="";
	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.3, transition=19)";
	// duration is speed menu appears, wipstyle is vertical (1) or horizontal (0)
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.3, wipeStyle=1)"; 


	var MenuShadow="";
	var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=75)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// 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 or background image format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 

Menu1=new Array("Home","home.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Home");
	
Menu2=new Array("News","","",4,20,80,"","","","","","",-1,-1,-1,"","");
	Menu2_1=new Array("News","news.htm","",0,20,80,"","","","","","",-1,-1,-1,"","News");
	Menu2_2=new Array("Reports","","",4,20,80,"","","","","","",-1,-1,-1,"","Match Reports");
		Menu2_2_1=new Array("First XI","reports_firstxi.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Match Reports");
		Menu2_2_2=new Array("Second XI","reports_secondxi.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Match Reports");
		Menu2_2_3=new Array("Sunday XI","reports_sundayxi.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Match Reports");
		Menu2_2_4=new Array("Colts","reports_colts.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Match Reports");
	Menu2_3=new Array("Weather","javascript:NewWin=window.open(\"http://www.bbc.co.uk/weather/5day.shtml?id=1492\",\"NWin\");window[\"NewWin\"].focus()","",0,20,80,"","","","","","",-1,-1,-1,"","Writtle Weather");
	Menu2_4=new Array("2008 Tour","tour2008.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Norfolk Tour");
	
Menu3=new Array("The Club","","",4,20,80,"","","","","","",-1,-1,-1,"","Club Information");
	Menu3_1=new Array("Officials","officials.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Club Information");
	Menu3_2=new Array("Constitution","constitution.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Constitution");
	Menu3_3=new Array("Location","","",2,20,80,"","","","","","",-1,-1,-1,"","Where is Writtle");
		Menu3_3_1=new Array("OS Map","os_map.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Writtle");
		Menu3_3_2=new Array("Streetmap","javascript:NewWin=window.open(\"http://www.streetmap.co.uk/streetmap.dll?Postcode2Map?code=CM1+3HP&title=Paradise+Road,+Writtle,+Essex.++++The+Home+of+Writtle+Cricket+Club.&back=Writtle+Cricket+Club&url=http://www.writtlecc.co.uk&bimage=background%3dhttp://www.writtlecc.co.uk/jpgs/yellowolive.jpg\",\"NWin\");window[\"NewWin\"].focus()","",0,20,80,"","","","","","",-1,-1,-1,"","Streetmap");
	Menu3_4=new Array("History","history.htm","",4,20,80,"","","","","","",-1,-1,-1,"","History");
		Menu3_4_1=new Array("Records","records.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Records");
		Menu3_4_2=new Array("2007 Best","blankpage.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Season Records");
		Menu3_4_3=new Array("Club Awards","2007_awards.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Club Awards");
		Menu3_4_4=new Array("Honours","honours.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Honours");

Menu4=new Array("Matches","","",4,20,80,"","","","","","",-1,-1,-1,"","T. Rippon Mid Essex League Fixtures & Results");
	Menu4_1=new Array("League","javascript:NewWin=window.open(\"http://www.trippon.cricket.btinternet.co.uk/results.html\",\"NWin\");window[\"NewWin\"].focus()","",0,20,80,"","","","","","",-1,-1,-1,"","T. Rippon Mid Essex League Fixtures & Results");
	Menu4_2=new Array("Sundays","blankpage.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Sunday Fixtures");
	Menu4_3=new Array("Colts","colt_fixtures.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Colts Fixtures");
	Menu4_4=new Array("Team News","teams.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Selected Teams");

Menu5=new Array("Colts","","",6,20,80,"","","","","","",-1,-1,-1,"","Colts Details");
	Menu5_1=new Array("News","colt_news.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Colts News");
	Menu5_2=new Array("Fixtures","colt_fixtures.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Colts Fixtures");
	Menu5_3=new Array("Results","colt_results.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Colts Results");
	Menu5_4=new Array("Reports","colt_reports.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Colts Reports");
	Menu5_5=new Array("Table","colt_league.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Colts League");
	Menu5_6=new Array("Cup","colt_cup.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Colts Cup");
		
Menu6=new Array("Tables","","",3,20,80,"","","","","","",-1,-1,-1,"","League Tables");
		Menu6_1=new Array("First XI","javascript:NewWin=window.open(\"http://www.trippon.cricket.btinternet.co.uk/division2.html\",\"NWin\");window[\"NewWin\"].focus()","",0,20,80,"","","","","","",-1,-1,-1,"","T. Rippon Mid Essex League Division 3");
		Menu6_2=new Array("Second XI","javascript:NewWin=window.open(\"http://www.trippon.cricket.btinternet.co.uk/division9.html\",\"NWin\");window[\"NewWin\"].focus()","",0,20,80,"","","","","","",-1,-1,-1,"","T. Rippon Mid Essex League Division 8");
		Menu6_3=new Array("Colts","colt_league.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Colts League");

Menu7=new Array("Averages","","",4,20,80,"","","","","","",-1,-1,-1,"","Averages");
		Menu7_1=new Array("First XI","","",1,20,80,"","","","","","",-1,-1,-1,"","First XI Averages");
			Menu7_1_1=new Array("2007","","",2,20,80,"","","","","","",-1,-1,-1,"","Batting Averages");
				Menu7_1_1_1=new Array("Batting","blankpage.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Batting Averages");
				Menu7_1_1_2=new Array("Bowling","blankpage.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Bowling Averages");

		Menu7_2=new Array("Second XI","","",1,20,80,"","","","","","",-1,-1,-1,"","Second XI Averages");
			Menu7_2_1=new Array("2007","","",2,20,80,"","","","","","",-1,-1,-1,"","Batting Averages");
				Menu7_2_1_1=new Array("Batting","blankpage.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Batting Averages");
				Menu7_2_1_2=new Array("Bowling","blankpage.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Bowling Averages");

		Menu7_3=new Array("Sunday XI","","",1,20,80,"","","","","","",-1,-1,-1,"","Sunday XI Averages");
			Menu7_3_1=new Array("2007","","",2,20,80,"","","","","","",-1,-1,-1,"","Batting Averages");
				Menu7_3_1_1=new Array("Batting","blankpage.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Batting Averages");
				Menu7_3_1_2=new Array("Bowling","blankpage.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Bowling Averages");

		Menu7_4=new Array("Combined","","",1,20,80,"","","","","","",-1,-1,-1,"","Combined Averages");
			Menu7_4_1=new Array("2007","","",2,20,80,"","","","","","",-1,-1,-1,"","Batting Averages");
				Menu7_4_1_1=new Array("Batting","blankpage.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Batting Averages");
				Menu7_4_1_2=new Array("Bowling","blankpage.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Bowling Averages");		

Menu8=new Array("Players","","",4,20,80,"","","","","","",-1,-1,-1,"","");
	Menu8_1=new Array("Availability","availability_form.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Availability");
	Menu8_2=new Array("Selection","teams.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Selection");
	Menu8_3=new Array("Fees","subs.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Subscriptions & Match Fees");
	Menu8_4=new Array("Profiles","profiles.htm","",0,20,80,"","","","","","",-1,-1,-1,"","Player Profiles");

Menu9=new Array("Photos","photos.htm","",0,20,80,"","","","","","",-1,-1,-1,"","");

Menu10=new Array("Links","links.htm","",0,20,80,"","","","","","",-1,-1,-1,"","");

Menu11=new Array("Contact Us","","",5,20,80,"","","","","","",-1,-1,-1,"","");
	Menu11_1=new Array("Selection","mailto:irvingsparadise@hotmail.com?subject=Team Selection&cc=writtlecc@blueyonder.co.uk","",0,20,80,"","","","","","",-1,-1,-1,"left","Team Selection etc.");
	Menu11_2=new Array("Colts","mailto:markfowles@hotmail.com?subject=Writtle Colts","",0,20,80,"","","","","","",-1,-1,-1,"left","Colts");
	Menu11_3=new Array("New Player","mailto:writtlecc@blueyonder.co.uk?subject=New Player","",0,20,80,"","","","","","",-1,-1,-1,"left","New Player");
	Menu11_4=new Array("Fixtures","mailto:strawbsfanmike@hotmail.com?subject=Fixtures&cc=writtlecc@blueyonder.co.uk","",0,20,80,"","","","","","",-1,-1,-1,"left","Fixture Emails");
	Menu11_5=new Array("Webmaster","mailto:writtlecc@blueyonder.co.uk?subject=Webmaster","",0,20,80,"","","","","","",-1,-1,-1,"left","Web Design Emails");

//Examples of open on top of current, and open in popup window.
//Menu1=new Array("Open in new","javascript:NewWin=window.open(\"blank.htm\",\"NWin\");window[\"NewWin\"].focus()","",0,20,80,"","","","","","",-1,1,-1,"","Popup Window");
//Menu1=new Array("Open in top","javascript:top.location.href=\"file.htm\"","",2,20,100,"","","","","","arial",8,1,1,"right","");
