/***********************************************************************************
*	Remove comments for faster loading	          *		
***********************************************************************************/

	var NoOffFirstLineMenus=11;			// Number of first level items
										// *** TOP MENU ***
	var LowBgColor='orange';			// Background color when mouse is not over			(white)
	var HighBgColor='orange';			// Background color when mouse is over				(maroon)
	var FontLowColor='black';			// Font color when mouse is not over				(maroon)
	var FontHighColor='black';			// Font color when mouse is over					(yellow)
	var BorderColor='orange';			// Border color										(maroon)
										// *** SUB MENUS ***
	var LowSubBgColor='orange';			// Background color when mouse is not over on subs	(white)
	var HighSubBgColor='orange';		// Background color when mouse is over on subs		(yellow)
	var FontSubLowColor='white';		// Font color subs when mouse is not over			(maroon)
	var FontSubHighColor='black';		// Font color subs when mouse is over				(maroon)
	var BorderSubColor='maroon';		// Border color for subs							(maroon)

	var BorderWidth=1;					// Border width										(1)
	var BorderBtwnElmnts=1;				// Border between elements 1 or 0					(1)
	var FontFamily="MS Trebuchet,Arial,technical"	// Font family menu items
	var FontSize=9;						// Font size menu items								(9)
	var FontBold=0;						// Bold menu items 1 or 0
	var FontItalic=0;					// Italic menu items 1 or 0
	var MenuTextCentered='center';		// Item text position 'left', 'center' or 'right'
	var MenuCentered='center';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static (TOP)
	var ChildOverlap=.2;					// horizontal overlap child/ parent					(.2)
	var ChildVerticalOverlap=0;			// vertical overlap child/ parent					(.2)
	var StartTop=110;				    // Menu offset x coordinate							(240)
	var StartLeft=0;					// Menu offset y coordinate							(1)
	var VerCorrect=0;					// Multiple frames y correction
	var HorCorrect=0;					// Multiple frames x correction
	var LeftPaddng=0;					// Left padding
	var TopPaddng=3;					// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=500;				// delay before menu folds in
	var TakeOverBgColor=1;				// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;						// Hide first level when loading new document 1 or 0
	var MenuWrap=0;						// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;					// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;				// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=1;				// menu tree checking on or off 1 or 0
	var ShowArrow=1;					// Uses arrow gifs when 1
	var KeepHilite=1;					// Keep selected path highligthed
//	var Arrws=['../images/tri.gif',5,10,'../images/tridown.gif',10,5,'../images/trileft.gif',5,10];	// Arrow source, width and height
	var Arrws=['../images/tri.gif',5,10,'',0,0,'',0,0];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

//The following function is added by Alex for the new window popup
function openWindow(url,winname,winstyle) {
	if (!winstyle) winstyle = "";
	newWindow = window.open(url, winname, winstyle);
	newWindow.focus();
}

// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

// Commented by Alex
// to have popup window: just put "javascript:openWindow(url,windowName,popupStyle);"
// windowName where the window name example: a special name if you want to open with same poopup window, left it blank "" if you want to open the link with a new window everytime.
// popupStyle where support by window.open's style e.g. 'height=600,width=800,top=0,left=0,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no'

Menu1=new Array("Leagues","","",7,22,70);
	//Menu1_1=new Array("About Us","http://www.playbaseball.ca/aboutus/ab-index.htm","",0,20,110);
	//Menu1_2=new Array("Our Leagues >","","",8);
		Menu1_1=new Array("T-Ball","http://www.playbaseball.ca/hl/T-Ball.html","",0,20,100);
		Menu1_2=new Array("Jr. Rookie","http://www.playbaseball.ca/hl/Jr.Rookie.html","",0);
		Menu1_3=new Array("Rookie","http://www.playbaseball.ca/hl/Rookie.html","",0);
		Menu1_4=new Array("Mosquito","http://www.playbaseball.ca/hl/Mosquito.html","",0);
		Menu1_5=new Array("PeeWee","http://www.playbaseball.ca/hl/PWB.html","",0);
		Menu1_6=new Array("Bantam","http://www.playbaseball.ca/hl/PWB.html","",0);
		Menu1_7=new Array("Rep","http://www.playbaseball.ca/hl/REP.html","",0);
	//Menu1_8=new Array("Rep & Select","","",0);
	//Menu1_9=new Array("New Addition", "javascript:openWindow('http://www.google.com','newWin');","",0);
	//Menu1_3=new Array("Disciplinary","","",0);
	//Menu1_4=new Array("","",0);

Menu2=new Array("Contact", "http://www.playbaseball.ca/contact/cu-index.htm","",5,20,70);
	Menu2_1=new Array("Ask a question", "http://www.playbaseball.ca/contact/cu-index.htm","",0,20,100);
	Menu2_2=new Array("Register Online", "http://www.playbaseball.ca/register2010/regonline_2010_new.php","",0);
	Menu2_3=new Array("Executive Board","http://www.playbaseball.ca/aboutus/ex-index.htm","",0);
	Menu2_4=new Array("About Us","http://www.playbaseball.ca/aboutus/ab-index.htm","",0);
	Menu2_5=new Array("Volunteer >","","",6);	
		Menu2_5_1=new Array("Coach a Team","","",0,20,150);
		Menu2_5_2=new Array("Umpire","http://www.playbaseball.ca/volunteer/vol-umpire.htm","",0);
		Menu2_5_3=new Array("Evaluations","","",0);
		Menu2_5_4=new Array("Rep & Select Help","","",0);
		Menu2_5_5=new Array("Bengals Sportswriter","","",0);
		Menu2_5_6=new Array("Bengals Photographer","","",0);
	  
Menu3=new Array("Maps & Forms","","",12,20,95);
	Menu3_1=new Array("Directions To Springbrook", "javascript:openWindow('http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Townline+and+C+Line,+Orangeville,+ontario&sll=43.898078,-80.109022&sspn=0.013978,0.033023&ie=UTF8hq=&hnear=Orangeville+Caledon+Townline+%26+C+Line,+Orangeville,+Ontario,+Canada&t=h&z=17','newWin');","", 0, 20, 210);
	Menu3_2=new Array("Directions To Princess of Wales", "javascript:openWindow('http://maps.google.com/maps?f=d&hl=en&geocode=&saddr=&daddr=Princess+of+Wales+Park,+Orangeville,+ON&sll=43.8996,-80.10774&sspn=0.008566,0.023389&ie=UTF8&ll=43.899763,-80.130007&spn=0.008566,0.023389&z=16','newWin');","",0);
	Menu3_3=new Array("Directions To Parkinson", "javascript:openWindow('http://maps.google.com/maps/ms?msa=0&msid=102972819140609830743.000001127354d920b3377&ie=UTF8&ll=43.911188,-80.103464&spn=0.013232,0.027122&z=15','newWin');","",0);
	Menu3_4=new Array("Directions To Alton Community Park", "javascript:openWindow('http://maps.google.com/maps?f=q&hl=en&geocode=&q=alton+community+park,+alton,+ontario&ie=UTF8&ll=43.859921,-80.064411&spn=0.00673,0.014334&z=16','newWin');","",0);
	Menu3_5=new Array("Field Maps & Locations", "","",0);
	Menu3_6=new Array("Children's Fitness Tax Credit", "javascript:openWindow('http://www.cra-arc.gc.ca/fitness','newWin');","",0);
	Menu3_7=new Array("Code of Conduct","","",0);
	Menu3_8=new Array("Parental Consent & Release","","",0);
	Menu3_9=new Array("Volunteer Application","","",0);
	Menu3_10=new Array("Sponsorship Application","","",0);
	Menu3_11=new Array("Scorebook Page","","",0);
	Menu3_12=new Array("Scorebook Pitch Count","","",0);

Menu4=new Array("Fun Stuff","","",5,20,70);
	Menu4_1=new Array("Contests","","",0,20,180);
	Menu4_2=new Array("Games - Miniclip.com Baseball","javascript:openWindow('http://www.miniclip.com/games/baseball/en/','newWin','toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes,location=yes,status=yes');","",0);
	Menu4_3=new Array("Bengals Sportswriters >", "", "", 4);
	  Menu4_3_1=new Array("Current Articles","","",0,20,150);
	  Menu4_3_2=new Array("About the program","","",0);
	  Menu4_3_3=new Array("Guidelines","","",0);
	  Menu4_3_4=new Array("Submit articles","","",0);	
	Menu4_4=new Array("Photos >","","",3);
	  Menu4_4_1=new Array("Gallery","http://www.playbaseball.ca/jetphoto/index.html","",0,20,150);
	  Menu4_4_2=new Array("Guidelines","","",0);
	  Menu4_4_3=new Array("Submit Photos","","",0);
	Menu4_5=new Array("Player Tips & Advice >","","",2);
		Menu4_5_1=new Array("The Right Bat","javascript:openWindow('http://www.littleleague.org/coachsbox/06jan/smith_grip.htm','newWin');","",0,20,140);
		Menu4_5_2=new Array("Harold Reynolds' Tips >","","",3);
			Menu4_5_2_1=new Array("Improve your Swing","javascript:openWindow('http://www.littleleague.org/coachsbox/06jan/HRtip_06jan.htm','newWin');","",0,20,140);
			Menu4_5_2_2=new Array("Improve your Fielding","javascript:openWindow('http://www.littleleague.org/coachsbox/06feb/HRtip_06feb.htm','newWin');","",0);
			Menu4_5_2_3=new Array("Building Arm Strength","javascript:openWindow('http://www.littleleague.org/coachsbox/06apr/HRtip_06apr.htm','newWin');","",0);


Menu5=new Array("Sponsorship","","",2,20,95);		
	Menu5_1=new Array("Why Sponsor the OMBA?","","",0,20,145);
	Menu5_2=new Array("Links to Our Sponsors","","",0);

Menu6=new Array("Links","","",5,20,70);
	Menu6_1=new Array("Ontario Baseball Assoc.", "javascript:openWindow('http://www.baseballontario.com','newWin');","",0,20,190);
	Menu6_2=new Array("York Simcoe Baseball Assoc.", "javascript:openWindow('http://yorksimcoebaseball.com/','newWin');","",0);
	Menu6_3=new Array("Baseball Canada", "javascript:openWindow('http://www.baseball.ca/','newWin');","",0);
	Menu6_4=new Array("Blue Jays Baseball", "javascript:openWindow('http://bluejays.mlb.com/','newWin');","",0);
	Menu6_5=new Array("Rep Team Sites >","","",3);
		Menu6_5_1=new Array("Rep Site - Bengals Bantam","javascript:openWindow('http://www.eteamz.com/94bengals','newWin');","",0,20,190);
		Menu6_5_2=new Array("Rep Site - Bengals Midget","javascript:openWindow('http://www.leaguelineup.com/welcome.asp?url=midget-bengals','newWin');","",0);
		Menu6_5_3=new Array("Rep Site - Bengals PeeWee","javascript:openWindow('http://www.eteamz.com/OrangevilleBengalsPeeWeeRepBaseball/','newWin');","",0);

Menu7=new Array("Message Ctr","","",8,20,95);
	Menu7_1=new Array("Ask a question...","http://www.playbaseball.ca/contact/cu-index.htm","",0,20,200);
	Menu7_2=new Array("FAQ - Frequently Asked Questions","","",0);
	Menu7_3=new Array("Lost & Found","http://www.playbaseball.ca/admin/lostfound.htm","",0);
	Menu7_4=new Array("Recommendations","","",0);
	Menu7_5=new Array("Surveys","","",0);
	Menu7_6=new Array("Rainouts","","",0);
	Menu7_7=new Array("Team Alerts","","",0);
	Menu7_8=new Array("Schedule Conflicts", "", "", 0);

Menu8=new Array("Rules","","",2,20,70);
	Menu8_1=new Array("2010 House League Rules","javascript:openWindow('http://www.playbaseball.ca/hl/OMBA_HL Rules_2010-v1.pdf','newWin');","",0,20,190);
	Menu8_2=new Array("Rep Rules","","",0);

Menu9=new Array("Schedule","","",7,20,70);
	Menu9_1=new Array("T-Ball","javascript:openWindow('http://www.playbaseball.ca/hl/2010-OMBA-HL-Schedule-TB-R2.pdf','newWin');","",0,20,120);
	Menu9_2=new Array("HL Jr Rookie","javascript:openWindow('http://www.playbaseball.ca/hl/2010-OMBA-HL-Schedule-JR-R1.pdf','newWin');","",0);
	Menu9_3=new Array("HL Rookie","javascript:openWindow('http://www.playbaseball.ca/hl/2010-OMBA-HL-Schedule-R-R1.pdf','newWin');","",0);
	Menu9_4=new Array("HL Mosquito","javascript:openWindow('http://www.playbaseball.ca/hl/2010-OMBA-HL-Schedule-M-R1.pdf','newWin');","",0);
	Menu9_5=new Array("HL PeeWee Bantam","javascript:openWindow('http://www.playbaseball.ca/hl/2010-OMBA-HL-Schedule-PB-R3-July11.pdf','newWin');","",0);
	Menu9_6=new Array("Rescheduled Games","","",0);
	Menu9_7=new Array("PLAYOFFS >","","",3);
		Menu9_7_1=new Array("A Playoffs","","",0,20,120);
		Menu9_7_2=new Array("B Playoffs","","",0);
		Menu9_7_3=new Array("C Playoffs","","",0,20,120);

Menu10=new Array("Standings","","",6,20,70);
	Menu10_1=new Array("T-Ball","","",0,20,120);
	Menu10_2=new Array("HL Rookie","javascript:openWindow('http://www.playbaseball.ca/hl/ombahl-standings-2010.pdf','newWin');","",0);
	Menu10_3=new Array("HL Mosquito","javascript:openWindow('http://www.playbaseball.ca/hl/ombahl-standings-2010.pdf','newWin');","",0);
	Menu10_4=new Array("HL PeeWee Bantam","javascript:openWindow('http://www.playbaseball.ca/hl/ombahl-standings-2010.pdf','newWin');","",0);
	Menu10_5=new Array("Rep & Select >","","",4);
		Menu10_5_1=new Array("Rep - PeeWee","javascript:openWindow('http://www.yorksimcoebaseball.com/Club/StandingsDetail.aspx?TeamId=1684&DivisionId=8&TierId=2&Year=2008','newWin');","",0,20,120);
		Menu10_5_2=new Array("Rep - Minor Bantam","javascript:openWindow('http://www.yorksimcoebaseball.com/Club/StandingsDetail.aspx?TeamId=1600&DivisionId=3&TierId=2&Year=2008','newWin');","",0);
		Menu10_5_3=new Array("Rep - Major Bantam","javascript:openWindow('http://www.yorksimcoebaseball.com/Club/StandingsDetail.aspx?TeamId=1552&DivisionId=1&TierId=2&Year=2008','newWin');","",0);
		Menu10_5_4=new Array("Rep - Midget","javascript:openWindow('http://www.yorksimcoebaseball.com/Club/StandingsDetail.aspx?TeamId=1564&DivisionId=2&TierId=&Year=2008','newWin');","",0);
	Menu10_6=new Array("PLAYOFFS >","","",3);
		Menu10_6_1=new Array("House League","","",0,20,120);
		Menu10_6_2=new Array("New Addition","","",0);
		Menu10_6_3=new Array("New Addition2","","",0);

Menu11=new Array("Tournaments","","",4,20,95);
	Menu11_1=new Array("Info & Registration","http://www.playbaseball.ca/tournaments/tmain.htm","",0,20,120);
	Menu11_2=new Array("Minor Bantam","","",0);
	Menu11_3=new Array("Midget","","",0);
	Menu11_4=new Array("Addition","","",0);