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='#FFFFFF', 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.
"#000000",			// Mouse Off Font Color
"",			// Mouse Off Background Color
"#000000",			// Mouse On Font Color
"#F19503",			// 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
"66ffff",			// 3D High Color
"",			// 3D Low Color
"red",			// Current Page Item Font Color (leave this blank to disable)
"#000066",			// 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",			// Msouse Off Font Color
"#F8DCA9",			// Mouse Off Background Color
"#000000",			// Mouse On Font Color
"#FEB024",			// 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
"66ffff",			// 3D High Color
"",			// 3D Low Color
"red",			// Current Page Item Font Color (leave this blank to disable)
"#000066",			// 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
154,			// Menu Top - The Top position of the menu in pixels
4,			// 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)
1,			// 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


,"Inside CBF &nbsp; &nbsp; &nbsp; ","show-menu=inside",,"Inside CBF",0
,"Championships &nbsp; &nbsp; &nbsp; ","show-menu=championships",,"Championships",0
,"Coaching &nbsp; &nbsp; &nbsp; ","modules.php?name=Contentcoach",,"Coaching",0
,"Officials &nbsp; &nbsp; &nbsp; ","modules.php?name=Contentoff",,"Officials",0
,"News &nbsp; &nbsp; &nbsp; ","show-menu=news",,"Whats New",0
,"Links &nbsp; &nbsp; &nbsp; ","modules.php?name=Web_Links",,"Broomball Links",0
,"Calendar &nbsp; &nbsp; &nbsp; ","modules.php?name=Calendar",,"CBF Calendar",0
,"CBF Blog","http://www.broomball.ca/board/index.htm",,"CBF Message Board",0
])

	addmenu(menu=["inside",
	,,165,1,"",style2,0,"left",,0,,,,,,,,,,,
	,"<img src=\"menu/docs.gif\" border=0> CBF Hall of Fame","modules.php?name=Contenthof",,"CBF Hall of Fame",0
	,"<img src=\"menu/docs.gif\" border=0> History of Broomball","modules.php?name=Content&pa=showpage&pid=3",,"CBF Hall of Fame",0
	,"<img src=\"menu/docs.gif\" border=0> Administration","show-menu=administration",,"CBF Hall of Fame",0
	])
	
	addmenu(menu=["administration",
	,,195,2,"",style2,,"",,0,,,,,,,,,,,
	,"<img src=\"menu/docs.gif\" border=0> Mission Statement", "modules.php?name=Content&pa=showpage&pid=47",,"Mission Statement",0
	,"<img src=\"menu/docs.gif\" border=0> Constitution and By-Laws", "modules.php?name=Content&pa=showpage&pid=26",,"Mission Statement",0
	,"<img src=\"menu/docs.gif\" border=0> Rule Changes", "modules.php?name=Content&pa=showpage&pid=18",,"Mission Statement",0
	,"<img src=\"menu/docs.gif\" border=0> Forms", "modules.php?name=Content&pa=showpage&pid=7",,"Mission Statement",0
	])
	
	addmenu(menu=["news",
	,,140,2,"",style2,,"",,0,,,,,,,,,,,
	,"<img src=\"menu/top.gif\" border=0> News", "modules.php?name=Contentwn",,"CBF News Section",0
	,"<img src=\"menu/news.gif\" border=0> Latest News", "modules.php?name=Contentwn&pa=NewLinks",,"CBF Latest News",0
	,"National &nbsp; &nbsp; &nbsp; ","show-menu=national",,"National",0
	,"International &nbsp; &nbsp; &nbsp; ","show-menu=international","International","International",0
	,"<img src=\"menu/topics.gif\" border=0> Archives", "modules.php?name=Contentwn&pa=viewdoc&cid=4",,"CBF News Archives",0
	])
	
	addmenu(menu=["national",
	,,140,1,"",style2,,"",,0,,,,,,,,,,,
	,"<img src=\"menu/top.gif\" border=0> Main", "modules.php?name=Contentdel",,"National Broomball Section",0
	,"<img src=\"menu/contact.gif\" border=0> Contact Info", "modules.php?name=Content&pa=showpage&pid=5",,"Association Contact Info",0
	,"<img src=\"menu/link.gif\" border=0> Web Sites", "show-menu=associationsites",,"Association Web Sites",0
	])
	
	addmenu(menu=["championships",
	,,140,1,"",style2,,"",,0,,,,,,,,,,,
	,"<img src=\"menu/cbf.gif\" border=0> Seniors", "modules.php?name=Contentchamp&pa=viewdoc&cid=1",,"Seniors",0
	,"<img src=\"menu/cbf.gif\" border=0> Juveniles", "modules.php?name=Contentchamp&pa=viewdoc&cid=2",,"Juveniles",0
	,"<img src=\"menu/photos.gif\" border=0> Photos", "modules.php?name=Photos",,"Photos",0
	])

	addmenu(menu=["international",
	,,140,1,"",style2,,"",,0,,,,,,,,,,,
	,"<img src=\"menu/world.gif\" border=0> 2006 Worlds", "modules.php?name=Content&pa=showpage&pid=8",,"2006 World Broomball Championships",0
	,"<img src=\"menu/ifba.gif\" border=0> IFBA", "http://www.internationalbroomball.com/",,"International Federation of Broomball Associations",0
	])
	
	addmenu(menu=["associationsites",
	,,195,1,"",style2,,"",,0,,,,,,,,,,,
	," 2007 Senior Nationals", "http://www.2007seniorbroomball.ca/",,"2007 Senior National Broomball Championships",0
	,"<img src=\"images/provinces/alberta.gif\"> Alberta", "http://www.broomball.ab.ca/",,"Alberta Broomball Association",0
	,"<img src=\"images/provinces/british_columbia.gif\"> British Columbia", "http://www.broomballbc.com/",,"British Columbia Broomball Society",0
	,"<img src=\"images/provinces/manitoba.gif\"> Manitoba", "http://www.mbbroomball.com/",,"Manitoba Broomball Association",0
	,"<img src=\"images/provinces/ontario.gif\"> Ontario", "http://www.ontariobroomball.ca/",,"Ontario Broomball Association",0
	,"<img src=\"images/provinces/quebec.gif\"> Québec", "http://www.fqbg.net/",,"Fédération québécois del balon sur glace",0
	,"<img src=\"images/provinces/saskatchewan.gif\"> Saskatchewan", "http://nonprofits.accesscomm.ca/skbball/",,"Saskatchewan Broomball Association",0
	,"<img src=\"images/provinces/nwt.gif\"> North West Territories", "http://www.nwtbroomball.com/",,"NWT Broomball Association",0
	])
	
	dumpmenus()