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)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#ffffff', Direction=135, Strength=0)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=0)" // Stop IE5.5 bug when using more than one filter
}


timegap=500		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=0;		// Sub menu offset Left position

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"#ffffff",			// Mouse Off Font Color
"",			// Mouse Off Background Color
"#ffffff",			// Mouse On Font Color
"#000000",			// Mouse On Background Color
"",			// Menu Border Color 
12,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
1,			// Menu Item Padding
"menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"#000000",			// 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)
"menu/arrowdn.gif",		// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"",			// Menu Header Background Color (Leave blank if headers are not needed)
]

style2=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"#000000",			// Mouse Off Font Color
"#ffffff",			// Mouse Off Background Color
"#ffffff",			// Mouse On Font Color
"#000000",			// Mouse On Background Color
"",			// Menu Border Color 
12,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
1,			// Menu Item Padding
"menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"#000000",			// 3D High Color
"",			// 3D Low Color
"#0000FF",			// Current Page Item Font Color (leave this blank to disable)
"#000000",			// 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)
"",			// 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
165,			// Menu Top - The Top position of the menu in pixels
60,			// Menu Left - The Left position of the menu in pixels
,			// 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"
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)
"left",			// 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
,			// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,			// 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


,"&nbsp;&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","index.php",,"Home",0
,"&nbsp;&nbsp;Tournaments&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","modules.php?name=Tournament&pa=list_tournaments",,"Tournaments",0
,"Contact&nbsp;Us&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","modules.php?name=Contact",,"Contact Us",0
//,"Coaching&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","modules.php?name=Content&pa=viewdoc&cid=22",,"Coaching",0
//,"Officials&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","modules.php?name=Content&pa=viewdoc&cid=43",,"Officials",0
//,"BF2&nbsp;Corner&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=bf2",,"BF2",0
//,"Message&nbsp;Board&nbsp;&nbsp;&nbsp;","http://www.broomball.ca/board",,"Message Board - FCBG",0
])

	addmenu(menu=["inside",
	,,165,1,"",style2,0,"left",,0,,,,,,,,,,,
	,"News","show-menu=news",,"CBF News",0
	,"CBF Hall of Fame","modules.php?name=Content&pa=viewdoc&cid=8",,"CBF Hall of Fame",0
	,"History of Broomball","modules.php?name=Content&pa=showpage&pid=3",,"History",0
	,"Administration","show-menu=administration",,"Administration",0
	,"Links&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=links",,"Broomball Links",0
	,"Calendar&nbsp;&nbsp;&nbsp;&nbsp;","modules.php?name=Calendar",,"CBF Calendar",0
	])
	
	addmenu(menu=["bf2",
	,,160,2,"",style2,,"",,0,,,,,,,,,,,
	,"Broomball For Fun", "modules.php?name=Content&pa=viewdoc&cid=50",,"BF2",0
	,"Volunteers","modules.php?name=Content&pa=showpage&pid=345",,"Volunteers",0
	,"Registration", "modules.php?name=BF2",,"BF2 Registration",0
	])
	
	addmenu(menu=["administration",
	,,195,2,"",style2,,"",,0,,,,,,,,,,,
	,"Mission Statement", "modules.php?name=Content&pa=showpage&pid=47",,"Mission Statement",0
	,"Constitution and By-Laws", "modules.php?name=Content&pa=showpage&pid=26",,"Constitution and By-Laws",0
	,"Rule Changes", "modules.php?name=Content&pa=showpage&pid=18",,"Rule Changes",0
	,"Forms", "modules.php?name=Content&pa=showpage&pid=7",,"Forms",0
	])
	
	addmenu(menu=["news",
	,,140,2,"",style2,,"",,0,,,,,,,,,,,
	,"News", "modules.php?name=Content&pa=viewdoc&cid=46",,"CBF News Section",0
	,"Archives", "modules.php?name=Content&pa=viewdoc&cid=47",,"CBF News Archives",0
	])
	
	addmenu(menu=["links",
	,,140,2,"",style2,,"",,0,,,,,,,,,,,
	,"Broomball Links", "modules.php?name=Web_Links",,"Broomball Links",0
	,"IFBA", "http://www.internationalbroomball.com/",,"IFBA",0
	])
	
	addmenu(menu=["national",
	,,140,1,"",style2,,"",,0,,,,,,,,,,,
	,"Contact Info", "modules.php?name=Content&pa=showpage&pid=5",,"Association Contact Info",0
	,"Web Sites", "show-menu=associationsites",,"Association Web Sites",0
	])
	
	addmenu(menu=["championships",
	,,140,1,"",style2,,"",,0,,,,,,,,,,,
	,"Seniors", "modules.php?name=Content&pa=viewdoc&cid=26",,"Seniors",0
	,"Juveniles", "modules.php?name=Content&pa=viewdoc&cid=27",,"Juveniles",0
	,"Photos", "modules.php?name=PhotoGallery",,"Photos",0
	])

	addmenu(menu=["international",
	,,140,1,"",style2,,"",,0,,,,,,,,,,,
	,"2008 Worlds", "modules.php?name=Content&pa=showpage&pid=8",,"2008 World Broomball Championships",0
	,"IFBA", "http://www.internationalbroomball.com/",,"International Federation of Broomball Associations",0
	])
	
	addmenu(menu=["associationsites",
	,,195,1,"",style2,,"",,0,,,,,,,,,,,
	,"Alberta", "http://www.albertabroomball.ca/",,"Alberta Broomball Association",0
	,"British Columbia", "http://www.broomballbc.com/",,"British Columbia Broomball Society",0
	,"Manitoba", "http://www.mbbroomball.com/",,"Manitoba Broomball Association",0
	,"Ontario", "http://www.ontariobroomball.ca/",,"Ontario Broomball Association",0
	,"Québec", "http://www.fqbg.net/",,"Fédération québécois del balon sur glace",0
	,"Saskatchewan", "http://www.saskbroomball.ca/",,"Saskatchewan Broomball Association",0
	,"North West Territories", "http://www.nwtbroomball.com/",,"NWT Broomball Association",0
	])
	
	dumpmenus()
