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)}


effect = "Fade(duration=0.1);Alpha(style=0,opacity=100);" 

timegap=200			// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=1			// Sub menu offset Top position 
suboffset_left=1		// Sub menu offset Left position


style1=[			// style1 

"FFFFFF",			// Mouse Off Font Color
"003399",			// Mouse Off Background Color
"FFFFFF",			// Mouse On Font Color
"E41B17",			// Mouse On Background Color
"000000",			// Menu Border Color 
13,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",   		    // Font Weight (bold or normal)
"Arial, sans-serif",		// Font Name
6,					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
,					// 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)
"",			        // Top Bar image (Leave this blank to disable)
"",					// Menu Header Font Color (Leave blank if headers are not needed)
"",					// Menu Header Background Color (Leave blank if headers are not needed)
]


style2=[			

"FFFFFF",			// Mouse Off Font Color
"4169E1",			// Mouse Off Background Color
"FFFFFF",			// Mouse On Font Color
"E41B17",			// Mouse On Background Color
"09357B",			// Menu Border Color 
13,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",   		    // Font Weight (bold or normal)
"Arial, sans-serif",		// Font Name
3,					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"",			        // 3D High Color
"",			        // 3D Low Color
"FFFFFF",			// Current Page Item Font Color (leave this blank to disable)
"000000",			// Current Page Item Background Color (leave this blank to disable)
"",			        // Top Bar image (Leave this blank to disable)
"",					// Menu Header Font Color (Leave blank if headers are not needed)
"",					// Menu Header Background Color (Leave blank if headers are not needed)
]


addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
74,				// Menu Top - The Top position of the menu in pixels
0,					// Menu Left - The Left position of the menu in pixels
125,				// Menu Width - Menus width in pixels
0,					// Menu Border Width 
"left",			// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",		    // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// ..Now Obsolete..
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use

,"Home","http://www.diyc.org","",,1
,"Racing","show-menu=Racing","#",,1
,"Cruising","show-menu=Cruising","#",,1
,"Youth Sailing","show-menu=Youth","#",,1
,"Women's Sailing","show-menu=WomensSailing","#",,1
,"About the Club","show-menu=About DIYC","#",,1
])

	addmenu(menu=["WomensSailing",,,130,1,,style2,0,"left",effect,,,,,,,,,,,,
	,"Club News","/contentsearch.asp?Category=Women&Submit=Search",,"",1
	,"Dinghy Dames Site","http://www.dinghydames.com",,"",1
	])	

	addmenu(menu=["Racing",,,200,1,,style2,0,"left",effect,,,,,,,,,,,,
	,"Calendar","/kevinf/calendar/diyc_calendar.asp?CalendarID=3&CategoryID=6","#",,1
	,"News","/contentsearch.asp?Category=Racing&Submit=Search",,"",1
        ,"Results","/results.asp",,"",1
        ,"Thursday Night Races","/contentdetail.asp?ContentID=427",,"",1
 ,"Thursday Night Race-Sign In","http://rcflag.com/signin/signin.aspx",,"",1
        ,"Sunday Races","/contentdetail.asp?ContentID=415",,"",1
        ,"Regatta History","/regattahistory.asp",,"",1
	])	

	addmenu(menu=["Cruising",,,130,1,,style2,0,"left",effect,,,,,,,,,,,,
	,"Calendar","/kevinf/calendar/diyc_calendar.asp?CalendarID=3&CategoryID=5","#",,1
	,"News","/content/main.asp?pg=3",,"",1
	])	

	addmenu(menu=["About DIYC",,,170,1,,style2,0,"left",effect,,,,,,,,,,,,
	,"Location","http://www.diyc.org/location.asp","#",,1
	,"Club Weather","/wx/default.htm",,"",1
        ,"Member Login","content/main.asp?pg=200",,"",1
	,"Member Directory Entry","http://www.diyc.org/kevinf/regatta/memdirectory.asp",,"",1
        ,"Club History","/contentdetail.asp?ContentID=140",,"",1
        ,"Useful Links","/links.asp",,"",1
        ,"Club News","/contentsearch.asp?Category=Club&Submit=Search",,"",1
        ,"Hurricane Preparation","/hurricane/default.asp",,"",1
	])	

	addmenu(menu=["Youth",,,170,1,,style2,0,"left",effect,,,,,,,,,,,,
	,"Calendar","/kevinf/calendar/diyc_calendar.asp?CalendarID=8","#",,1
	,"News","/contentsearch.asp?Category=Youth&Submit=Search","#",,1
	,"General Information","/youthsailing.asp","#",,1
        ,"Summer Learn-To-Sail","/contentdetail.asp?ContentID=561","#",,1
	])	

	
dumpmenus()
