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='#000066', Direction=135, Strength=0)"
}
else
{
	effect = "Shadow(color='#000066', 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.
"#000066",			// Mouse Off Font Color
"#ffffff",			// Mouse Off Background Color
"#ffffff",			// Mouse On Font Color
"#000066",			// Mouse On Background Color
"000066",			// Menu Border Color 
10,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
2,			// Menu Item Padding
"menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000000",			// 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)
"000099",			// 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.
"#ffffff",			// Mouse Off Font Color
"#000066",			// Mouse Off Background Color
"red",			// Mouse On Font Color
"#000066",			// Mouse On Background Color
"#000066",			// Menu Border Color 
10,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"Verdana, Helvetica",		// Font Name
4,			// Menu Item Padding
"menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000066",			// 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)
"#000066",			// 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
220,		// Menu Top - The Top position of the menu in pixels
120,			// Menu Left - The Left position of the menu in pixels
,			// Menu Width - Menus width in pixels
0,			// Menu Border Width 
"center",	// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,			// 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)
,			// 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


// If you wish you may change a link name)
// For example on the line as below)
//,"Communicate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=communicate",,"",1
// instead of Communicate replace it with your name >>>>>>but don't remane at the end the show-menu cummunicate)

,"Home&nbsp;&nbsp;&nbsp;","index.php","Home","Back to Home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
//,"IFBA&nbsp;Blog&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","http://www.internationalbroomball.com/blog/",,"Blog",1
,"Members&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=members",,"Members",1
,"Championships&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=champ",,"Championships",1
,"Inside&nbsp;IFBA&nbsp&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=news",,"News",1
,"Registrations&nbsp;&nbsp;","show-menu=register",,"Register online",1
,"IFBA&nbsp;Shop&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=shop",,"Administration",1
,"Search&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=search",,"Search",1
])

	addmenu(menu=["members",
	,,60,1,"",style1,0,"left","",0,,,,,,,,,,,
	,"Login","modules.php?name=Your_Account",,,0
	])
	
	addmenu(menu=["register",
	,,250,1,"",style1,0,"left","",0,,,,,,,,,,,
	,"2012 World Broomball Championships","modules.php?name=Registration&eid=34",,,0
	,"IFBA Country Membership","modules.php?name=Membership_fee",,,0
	,"Officials Registration Form","modules.php?name=Officials",,,0
	])
	
	addmenu(menu=["champ",
	,,220,1,"",style1,0,"left","",0,,,,,,,,,,,
	,"2012 World Broomball Championships","modules.php?name=Content&pa=viewdoc&cid=7",,,0
	,"2013 European Championships", "modules.php?name=Content&pa=viewdoc&cid=14",,,0
	//,"2011 Pacific Rim Championships", "modules.php?name=Content&pa=viewdoc&cid=12",,,0
	,"Past Events", "show-menu=pevents",,,0
	,"Archives", "show-menu=archives",,,0
	])
	
	addmenu(menu=["pevents",
	,,180,1,"",style1,,"","",0,,,,,,,,,,,
	,"2011 European Championships", "modules.php?name=Content&pa=viewdoc&cid=13",,,0
	,"2010 World Championships", "modules.php?name=Tournament&eid=4",,,0
	,"2009 European Championships", "modules.php?name=Tournament&eid=3",,,0
	,"2008 World Championships", "modules.php?name=Tournament&eid=2",,,0
	,"2006 World Championships", "modules.php?name=Tournament&eid=1",,,0
	])
	
	addmenu(menu=["news",
	,,140,1,"",style1,,"","",0,,,,,,,,,,,
	,"IFBA Administration","modules.php?name=Content&pa=viewdoc&cid=8",,"Administration",1
	,"IFBA News", "modules.php?name=Content&pa=viewdoc&cid=9",,,0
	,"International Events", "modules.php?name=Content&pa=viewdoc&cid=6",,,0
	])
	
	addmenu(menu=["search",
	,,70,1,"",style1,,"","",0,,,,,,,,,,,
	,"IFBA", "modules.php?name=Search",,,1
	])
	
	addmenu(menu=["administration",
	,,130,1,"",style1,,"","",0,,,,,,,,,,,
	,"IFBA Administration", "modules.php?name=Content&pa=viewdoc&cid=8",,,0
	])
	
	addmenu(menu=["shop",
	,,130,1,"",style1,,"","",0,,,,,,,,,,,
	,"Banquet Tickets", "modules.php?name=Cart",,,0
	,"Practice Ice", "modules.php?name=Cart",,,0
	,"Coaching Clinic", "modules.php?name=Cart",,,0
	,"Sponsorships", "modules.php?name=Cart",,,0
	,"Merchandise", "modules.php?name=Cart",,,0
	])

	addmenu(menu=["resources",
	,,140,1,"",style1,,"","",0,,,,,,,,,,,
	,"Publications","show-menu=publications",,,0
	,"Presentations","show-menu=presentations",,,0
	,"Newsletters","show-menu=newsletters",,,0
	,"Downloads&nbsp;&nbsp;&nbsp;","show-menu=downloads",,,0
	,"Links","show-menu=links",,,0
	])

	addmenu(menu=["calendar",
	,,140,1,"",style1,,"","",0,,,,,,,,,,,
	,"View Calendar", "modules.php?name=Calendar",,,1
	,"Search Events", "modules.php?name=Calendar&op=search",,,0
	,"Submit Events", "modules.php?name=Calendar&file=submit",,,0
	])
	
	addmenu(menu=["links",
	,,140,1,"",style1,,"","",0,,,,,,,,,,,
	,"Main", "modules.php?name=Web_Links",,,1
	,"New", "modules.php?name=Web_Links&l_op=NewLinks",,,0
	,"Popular", "modules.php?name=Web_Links&l_op=MostPopular",,,0
	,"Add a Link", "modules.php?name=Web_Links&l_op=AddLink",,,0
	])
	
	addmenu(menu=["surveys",
	,,140,1,"",style1,,"","",0,,,,,,,,,,,
	,"View Surveys", "modules.php?name=Surveys",,,1
	,"Submit Survey", "modules.php?name=Survey_sub",,,0
	])
	
	addmenu(menu=["archives",
	,,190,1,"",style1,,"","",0,,,,,,,,,,,
	,"2010 World Championships", "modules.php?name=Content&pa=viewdoc&cid=11",,,0
	,"2008 World Championships", "modules.php?name=Content&pa=viewdoc&cid=5",,,0
	,"2006 World Championships", "modules.php?name=Content&pa=viewdoc&cid=4",,,0
	])
		
dumpmenus()
