//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
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 this file is part of a multi pack.

/*
var coll = document.all.tags("Table");
for (i=0; i<coll.length; i++)
    	alert(findPosX(coll[i]));

*/

//alert(window.document.all.tags("Table").length);

function findPosX(obj)
{
	var curleft = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curleft += obj.offsetLeft
			obj = obj.offsetParent;
		}
	}
	else if (obj.x)
		curleft += obj.x;
	return curleft;
}

function findPosY(obj)
{
	var curtop = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curtop += obj.offsetTop
			obj = obj.offsetParent;
		}
	}
	else if (obj.y)
		curtop += obj.y;
	return curtop;
}

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.5);Alpha(style=0,opacity=90);Shadow(color='#333333', Direction=135, Strength=3)"
}
else
{
	effect = "Shadow(color='#333333', Direction=135, Strength=3)" // 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
"#942826",				// Mouse Off Background Color
"FFFFFF",				// Mouse On Font Color
"#A53937",				// Mouse On Background Color
"#942826",				// 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
"arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"#942826",				// 3D High Color
"#942826",				// 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)
"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.
"FFFFFF",					// Mouse Off Font Color
"#942826",				// Mouse Off Background Color
"FFFFFF",				// Mouse On Font Color
"#A53937",				// Mouse On Background Color
"#831715",				// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
6,						// Menu Item Padding
"arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"#942826",				// 3D High Color
"#942826",				// 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)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// 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
findPosY(document.getElementById("tdMenu")) + 5,					// Menu Top - The Top position of the menu in pixels
findPosX(document.getElementById("tdMenu")),				// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
1,					// 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)
,					// 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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Home","index.aspx",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Forms&nbsp;Info","show-menu=forms",,"",1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;About&nbsp;BFC","show-menu=about",,"",1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Teams","show-menu=teams",,"",1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Links","show-menu=links",,"",1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Training/Camps","show-menu=training",,"",1
])

	addmenu(menu=["forms",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"BFC Handbook","forms/bfc_handbook2.pdf",,,1
	,"Coach Code","forms/bfc_coachcode.pdf",,,1
	,"Parent Code","forms/bfc_parentCode.pdf",,,1
	,"Player Code","forms/bfc_playercode.pdf",,,1
	,"BFC Game Analysis","forms/bfc_gameanalysis1.pdf",,,1
	,"Fundraising Policy","forms/bfc_Fundraising%20policy.pdf",,,1
	,"Special Requests Form","forms/bfc_requestform.pdf",,,1
	,"Web Consent Form","forms/bfc_2006%20Parental%20Consent%20form.pdf",,,1
		])
		
		
		
		addmenu(menu=["about",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Club News","index.aspx?page=2",,"",1
	    ,"Tournaments","show-menu=tournaments",,,1
		,"Alumni","index.aspx?page=17",,,1
		,"Trainers","index.aspx?page=13",,,1
		,"Coaches","index.aspx?page=14",,,1
		,"BFC Staff","index.aspx?page=12",,,1
		,"Calendar","index.aspx?event=0",,,1
		,"Contact Us","index.aspx?page=1",,,1
                ,"Sponsor","show-menu=Sponsor",,,1
			])

		addmenu(menu=["Sponsor",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Sponsorship Options","index.aspx?page=8",,,1
		,"Sponsors","index.aspx?page=29",,,1
			])
		
		addmenu(menu=["tournaments",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Spring","index.aspx?page=35",,,1
		,"Fall","index.aspx?categoryid=162",,,1
		,"Valentines","index.aspx?page=27",,,1
		])
		
	addmenu(menu=["teams",,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Tryouts","index.aspx?page=39",,,1
	,"BFC Juniors Total Development Program","show-menu=BFC Juniors Total Development Program",,,1
	,"Boys","show-menu=boys",,,1
	,"Girls","show-menu=girls",,,1
		])
	
	addmenu(menu=["BFC Juniors Total Development Program",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Background","index.aspx?page=15",,,1
	,"Jrs Academy","index.aspx?page=24",,,1
	,"Jrs Teams","show-menu=Jrs Teams",,,1
	,"Updates & Schedules","index.aspx?page=23",,,1
	
	
		])

addmenu(menu=["Jrs Teams",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Jrs Boys","show-menu=Jrs Boys",,,1
	,"Jrs Girls","show-menu=Jrs Girls",,,1
		])

addmenu(menu=["Jrs Girls",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"BFC Academy U7","index.aspx?categoryid=227",,,1	
	,"BFC Academy U8","index.aspx?categoryid=228",,,1
	,"BFC Manchester United","index.aspx?categoryid=221",,,1
	,"BFC AC Milan","index.aspx?categoryid=226",,,1
	,"BFC Chelsea","index.aspx?categoryid=222",,,1
	,"BFC Inter Milan","index.aspx?categoryid=225",,,1
		])

addmenu(menu=["Jrs Boys",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"BFC Academy U8","index.aspx?categoryid=229",,,1	
	,"BFC Manchester United","index.aspx?categoryid=221",,,1
	,"BFC AC Milan","index.aspx?categoryid=226",,,1
	,"BFC Chelsea","index.aspx?categoryid=222",,,1
	,"BFC Inter Milan","index.aspx?categoryid=225",,,1
		])


addmenu(menu=["girls",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"U9G","show-menu=U9G",,,1
	,"U10G","index.aspx?categoryid=271",,,1
	,"U11G","show-menu=U11G",,,1
	,"U12G","show-menu=U12G",,,1
	,"U13G","index.aspx?categoryid=242",,,1
	,"U14G","index.aspx?categoryid=243",,,1
	,"U16G","index.aspx?categoryid=244",,,1
	,"U18G Premier","index.aspx?categoryid=245",,,1
	,"U18G Red","index.aspx?categoryid=273",,,1
		])

addmenu(menu=["U9G",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"BFC U9G Red","index.aspx?categoryid=237",,,1
		,"BFC U9G White","index.aspx?categoryid=238",,,1
		])
addmenu(menu=["U11G",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"BFC U11G Schmidt","index.aspx?categoryid=240",,,1
		,"BFC U11G Nesch","index.aspx?categoryid=239",,,1
		])
addmenu(menu=["U12G",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"BFC U12G Elliot","index.aspx?categoryid=241",,,1
		,"BFC U12G Dehoyos","index.aspx?categoryid=272",,,1
		])

addmenu(menu=["boys",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"U8B","index.aspx?categoryid=256",,,1
	,"U9B","show-menu=u9B",,,1
	,"U10B","index.aspx?categoryid=269",,,1
	,"U11B","show-menu=u11B",,,1
	,"U12B","show-menu=u12B",,,1
	,"U13B","index.aspx?categoryid=262",,,1
	,"U14B","index.aspx?categoryid=253",,,1
	,"U15","index.aspx?categoryid=63",,,1
	,"U16","index.aspx?categoryid=97",,,1
	,"U17","index.aspx?categoryid=209",,,1
	,"U18","index.aspx?categoryid=109",,,1
		])

addmenu(menu=["u9B",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
		
		,"BFC U9B Red","index.aspx?categoryid=257",,,1
		,"BFC UB9 White","index.aspx?categoryid=270",,,1
		])

addmenu(menu=["u10B",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
		
		,"BFC U10B Red","index.aspx?categoryid=248",,,1
		,"BFC U10 White","index.aspx?categoryid=249",,,1
		,"BFC U10 Green","index.aspx?categoryid=255",,,1
		])

addmenu(menu=["u11B",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
		
		,"BFC U11B Red I","index.aspx?categoryid=248",,,1
		,"BFC U11B Red II","index.aspx?categoryid=249",,,1
		])

addmenu(menu=["u12B",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
		
		,"BFC U12B Red","index.aspx?categoryid=250",,,1
		,"BFC U12B White","index.aspx?categoryid=251",,,1
		])


addmenu(menu=["training",,,130,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Camps","index.aspx?page=16",,,1
	,"Seasonal Training","show-menu=Seasonal Training",,,1
	])

addmenu(menu=["Seasonal Training",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Training Summer","index.aspx?page=40",,,1	
	,"Training Fall","index.aspx?page=41",,,1
	,"Training Spring","index.aspx?page=42",,,1
		])

	addmenu(menu=["links",,,130,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Illinois Youth Soccer","http://www.iysa.org/",,,1
	,"Missouri Youth Soccer Assoc (MYSA)","http://www.mysa.org",,,1
	,"St Louis Youth Soccer Association (SLYSA)","http://www.slysa.org/",,,1
	,"Southern Illinois Soccer League (SISL)","http://www.sisl.org",,,1
	,"SoccerInCollege","http://www.soccerincollege.com",,,1
	,"The Family Sportsplex","http://www.familysportsplex.com",,,1
		])
	
dumpmenus()