/*
 Milonic DHTML Menu
 Written by Andy Woolley
 Copyright 2002 (c) Milonic Solutions. All Rights Reserved.
 Plase vist http://www.milonic.co.uk/menu or e-mail menu3@milonic.com
*/

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=JavaScript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500                   // The time delay for menus to remain visible
followspeed=3                 // Follow Scrolling speed
followrate=50                 // Follow Scrolling Rate
suboffset_top=5               // Sub menu offset Top position
suboffset_left=0             // Sub menu offset Left position

effect = "Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)"

CACStyle=[          // CACStyle is an array of properties. You can have as many property arrays as you need
"00FFFF",                     // Mouse Off Font Color was "yellow"
"993366",                     // Mouse Off Background Color (use zero for transparent in Netscape 6) was "cc0000"
"993366",                     // Mouse On Font Color was "cc0000"
"00FFFF",                     // Mouse On Background Color was "yellow"
"white",                     // Menu Border Color
"11",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"normal",                     // Font Weight (bold or normal)
"verdana,arial,helvetica",	 // Font Name
3,                            // Menu Item Padding or spacing
//"/menu/arrt.gif",             // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
,                             // 3D High Color
,                             // 3D Low Color
,                      // Current Page Item Font Color (leave this blank to disable)
,                             // Current Page Item Background Color (leave this blank to disable)
"/menu/arrowdn.gif",          // Top Bar image (Leave this blank to disable)
"ffffff",                     // Menu Header Font Color (Leave blank if headers are not needed)
"000099",                      // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]

addmenu(menu=[
"main",                 // Menu Name - This is needed in order for this menu to be called
15,                          // Menu Top - The Top position of this menu in pixels
10,                           // Menu Left - The Left position of this menu in pixels
138,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
CACStyle,		           // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"",							// Filter - Text variable for setting transitional effects on menu activation - see above for more info
1,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
//,"<img border=0 src=/cac.gif>","","","",0
,"Home","/index.htm","/index.htm","Cumberland AC Home page&nbsp;&nbsp;",0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
//,"Information page","/results/menu.html","/results/menu.html","Information page",0
,"Advice &amp; training","show-menu=training","/index.htm","Advice and training info",0
,"Coach's corner","show-menu=coach","/index.htm","Coaches corner",0
,"Club&nbsp;runs&nbsp;","show-menu=clubruns","/Club/training_runs.htm","Our weekly club runs",0
,"Events&nbsp;&amp;&nbsp;Calendar&nbsp;&nbsp;","show-menu=events","/index.htm","Events organised by Cumberland AC",0
,"Photo&nbsp;galleries","show-menu=photos","/images/moorclose2004/moorclose10k.html","Photo galleries",0
,"Results","show-menu=results","/results/menu.html","Index of results",0
,"The&nbsp;Club&nbsp;","show-menu=club","/Club/menu.html","Cumberland AC members section",0
,"Links","/site/links.html","/site/links.html","Links page",0
,"Member's&nbsp;Links","/site/memb_links.html","/site/memb_links.html","Members links page",0
,"What&nbsp;do&nbsp;we&nbsp;do&nbsp;?&nbsp;","/Club/info.html","/Club/info.html","What do we do?",0
,"Contact us","/site/contacts.html","/site/contacts.html","How to contact us",0
,"Join us","/Club/Application_form.doc","/Club/Application_form.doc","Application form",0

])

	addmenu(menu=["events",
	,,180,1,,CACStyle,0,,effect,0,0,0,,,0,0,,,0,,
	,"2008 Championship races","/events/racelist2008.html",,,1
	,"Event Calendar 2008","/events/events2008.html",,,1
	,"Boxing Day 5k","/events/boxday.htm",,,1
    ,"Moorclose 10k","/events/moorclose.htm",,,1
    ,"Netherhall 10m","/events/netherhall.htm",,,1
//	,"Handicap","/events/handicap/",,,1
	,"Universal entry form","/events/entryform.htm",,,1
	])

		
	addmenu(menu=["photos",
	,,180,1,,CACStyle,0,,effect,0,0,0,,,0,0,,,0,,
	,"Annual dinner and presentation evening 2008","/images/pres_night_08/PN08.html",,,1
	,"Isel 2008","/images/isel08/isel.html",,,1
	,"Keswick RTH 2008","/images/keswick_rth_08/RTH.html",,,1
	,"Moorclose 10k 2008","/images/moorclose2008/Moorclose10k.html",,,1	
	,"Ellenborough 10k 2008","/images/ellenboro2008/ellenborough10k2008.html",,,1	
	,"Round Latrigg 2008","/images/latrigg2008/latrigg08.html",,,1
	,"Pica 2008","/images/Pica08/Pica2008.html",,,1
	,"Annual dinner and presentation evening 2009","/images/pres_night_09/2009.html",,,1
	,"Netherhall 10m 2009","/images/nhall09/netherhall.html",,,1
	,"Moorclose 10k 2009","/images/mc09/mc09.html",,,1	
	,"Moorclose 10k 2009 additional","/images/mc09_2/mc09.html",,,1	
	,"Cumbrian Run 2009","/images/CumbRun09/CumbRun09.html",,,1	
	,"Presentation night 2010","/images/pres_night_10/PresentationNight2010/index.html",,,1
	,"Netherhall 10m 2010","/images/nhall10/nhall10_2010.html",,,1
	])

	addmenu(menu=["clubruns",
	,,180,1,,CACStyle,0,,effect,0,0,0,,,0,0,,,0,,
	,"About club runs","/Club/training_runs.htm",,,1

	])
	
	addmenu(menu=["club",
	,,180,1,,CACStyle,0,,effect,0,0,0,,,0,0,,,0,,
	,"Cumberland AC Information (members only)","/Club/menu.html",,,1
	,"Club kit","/Club/club_kit.html",,,1
	])

		
	addmenu(menu=["training",
	,,180,1,,CACStyle,0,,effect,0,0,0,,,0,0,,,0,,
	,"Target time predictor","/training/pace1.html",,,1
	,"Race pace table","/training/pace2.html",,,1
	,"Race time calculator","/training/race_time_calc.html",,,1
	,"Age related converter","/training/age_grade.html",,,1
	,"Training pace calculator","/training/training_pace.html",,,1
	,"Coaching sessions","/Club/coaching_sessions.htm",,,1
	,"Tuesday training routes","/training/Tuesday_Run_Options.doc",,,1

	])
	
	addmenu(menu=["coach",
	,,180,1,,CACStyle,0,,effect,0,0,0,,,0,0,,,0,,
	,"Explanation of training schedules","/training/coach/TrainSchedExplan.doc",,,1
	,"Training pace","/training/coach/TRAINING_PACES.doc",,,1

	])
	
	addmenu(menu=["results",
	,,180,1,,CACStyle,0,,effect,0,0,0,,,0,0,,,0,,
	,"Results index page","/results/menu.html",,,1
	,"2010 Open Championship","/results_archive/2010/2010OpenChampionship.pdf",,,1
	,"2010 Ladies Championship","/results_archive/2010/2010LadiesChampionship.pdf",,,1
	,"2010 Age Related Championship","/results_archive/2010/2010ARChampionship.pdf",,,1
	,"Boxing Day 5k","show-menu=boxday",,,1
    ,"Moorclose 10k","show-menu=mc10",,,1
    ,"Netherhall 10m","show-menu=nh10",,,1
	])
	
		addmenu(menu=["boxday",
	,,180,1,,CACStyle,0,,effect,0,0,0,,,0,0,,,0,,
		,"Results 2008","/results_archive/2008/PICA08.doc",,,1
		,"Results 2007","/results_archive/2007/PICA2007.doc",,,1
		,"Results 2006","/results_archive/2006/boxingday2006.htm",,,1
		,"Results 2005","/results_archive/2005/boxingday2005.htm",,,1
		,"Results 2004","/results_archive/2004/BoxingDay04.htm",,,1
		,"Results 2003","/results_archive/2003/BoxingDay2003.htm",,,1
		])

                               addmenu(menu=["mc10",
	,,180,1,,CACStyle,0,,effect,0,0,0,,,0,0,,,0,,
		,"Results 2009","/results_archive/2009/Moorclose10K2009.doc",,,1
		,"Results 2008","/results_archive/2008/Moorclose08.doc",,,1
		,"Results 2007","/results_archive/2007/Moorclose2007.htm",,,1
		,"Results 2006","/results_archive/2006/Moorclose10k2006.htm",,,1
		,"Results 2005","/results_archive/2005/moorclose10k_2005.htm",,,1
		,"Results 2004","/results_archive/2004/moorclose10k.htm",,,1
		,"Results 2003","/results_archive/2003/moorclose10.PDF",,,1
		])

                               addmenu(menu=["nh10",
	,,180,1,,CACStyle,0,,effect,0,0,0,,,0,0,,,0,,
		,"Results 2010","/results_archive/2010/netherhall_10_2010.pdf",,,1
		,"Results 2009","/results_archive/2009/netherhall10_2009.pdf",,,1
		,"Results 2008","/results_archive/2008/netherhall.htm",,,1
		,"Results 2007","/results_archive/2007/netherhall10_2007.htm",,,1
		,"Results 2006","/results_archive/2006/Netherhall10-2006.htm",,,1
		,"Results 2005","/results_archive/2005/netherhall10_2005.htm",,,1
		,"Results 2004","/results_archive/2004/netherhall10.htm",,,1
		,"Results 2003","/results_archive/2003/netherhall10.htm",,,1
		])
		
	
	addmenu(menu=["site",
	,,180,1,,CACStyle,0,,effect,0,0,0,,,0,0,,,0,,
	,"Whats new?","/site/whatsnew.htm",,,1
	,"Website statistics","/site/stats/",,,1
	,"Technical information","/site/techie.htm",,,1
	])


dumpmenus();
	