// CYO Menu System

  var menuMgr = new NlsMenuManager("mgr");
  menuMgr.flowOverFormElement=true;
  menuMgr.defaultEffect = "aoslide";
  menuMgr.icPath="nlsmenu/img/";
  
  //create menu for about
  var menuAbout=menuMgr.createMenu("about");
  menuAbout.dropShadow("none");
  menuAbout.showIcon=false;
  menuAbout.showSubIcon=true;
  menuAbout.absWidth=150;
  menuAbout.addItem("1", "About Us", "about.html");
  menuAbout.addItem("2", "Mission Statement", "mission.html");
  menuAbout.addItem("3", "Contact Us", "contact.html");
  //menuAbout.addItem("4", "Important Dates", "imprtantdates.html");
   //menuAbout.addItem("5", "Our Program", "ourprogram.html");
   // menuAbout.addItem("6", "Player Photos", "playerphotos.html");
	menuAbout.addItem("7", "Bylaws", "bylaws/CYO By-laws 2010.htm"); 
	menuAbout.getItemById("7").target="_blank";
	//menuAbout.addItem("8", "President's Message", "presidentsmessage.html");
	menuAbout.addItem("9", "President Since...", "presidentsince.html");
	menuAbout.addItem("10", "Executive Info", "executiveinfo.html");
	
  
  //create menu for coach info
  var menuCoachInfo=menuMgr.createMenu("coachinfo");
  menuCoachInfo.dropShadow("none");
  menuCoachInfo.showIcon=false;
  menuCoachInfo.showSubIcon=true;
  menuCoachInfo.absWidth=150;
  menuCoachInfo.addItem("1", "League Forms", "forms.html");
  menuCoachInfo.addItem("2", "Coach/Trainers Clinics", "clinics.html");
  //menuCoachInfo.getItemById("2").target="_blank";
  menuCoachInfo.addItem("3", "League Rules", "RulesBylaws/CYORules0910.htm");
  menuCoachInfo.getItemById("3").target="_blank";
  menuCoachInfo.addItem("4", "Arena Maps", "arenamaps.html");
  menuCoachInfo.addItem("5", "Player Equipment List", "equipmentlist.html");
    menuCoachInfo.addItem("6", "Links", "links.html");
	 menuCoachInfo.addItem("7", "Coaches, Did You Know?", "didyouknow.html");
	  menuCoachInfo.addItem("8", "Office Information", "officeinfo.html");
	  menuCoachInfo.addItem("9", "So you Want to Coach / Trainer", "wanttocoach.html");

  
  //create menu for programs
  var menuProgram=menuMgr.createMenu("programs");
  menuProgram.dropShadow("none");
  menuProgram.showIcon=false;
  menuProgram.showSubIcon=true;
  menuProgram.absWidth=150;
  menuProgram.addItem("1", "Mite Hockey School Program", "mite.html");
  menuProgram.addItem("2", "Special Needs Program - The Heat", "heatprogram.html");
  //menuProgram.getItemById("2").target="_blank";
  menuProgram.addItem("3", "House League Program", "boysdivision.html");
  menuProgram.addItem("4", "Juvenile Division Program", "juvenile.htm");
  menuProgram.addItem("5", "CYO Select Program", "selectprogram.html");
  menuProgram.addItem("6", "CYO Minor Development(MD)Program", "MDhurricanes.html");


  //create menu for parishes
  var menuParishes=menuMgr.createMenu("parishes");
  menuParishes.dropShadow("none");
  menuParishes.showIcon=false;
  menuParishes.showSubIcon=true;
  menuParishes.absWidth=150;
  menuParishes.addItem("1", "Immaculee Conception", "ic.html");
  menuParishes.addItem("2", "St. Alfred", "stalfred.html");
  menuParishes.addItem("3", "St. Denis", "stdenis.html");
  menuParishes.addItem("4", "St. Julia", "stjulia.html");
    menuParishes.addItem("5", "St. Mary", "stmary.html");
	  menuParishes.addItem("6", "St. Patrick", "stpatrick.html");
	    menuParishes.addItem("7", "Star of the Sea", "sots.html");

  //create menu for house league
  var menuHouseleague=menuMgr.createMenu("houseleague");
  menuHouseleague.dropShadow("none");
  menuHouseleague.showIcon=false;
  menuHouseleague.showSubIcon=true;
  menuHouseleague.absWidth=150;
  menuHouseleague.addItem("1", "Mite Schedule", "schedules/Mite Schedule.htm");
  menuHouseleague.getItemById("1").target="_blank";
  menuHouseleague.addItem("2", "Heat Schedule", "http://www.cyohockey.on.ca/cyoheat/schedule.html");
  menuHouseleague.getItemById("2").target="_blank";
  //menuHouseleague.addItem("3", "House League Schedule", "boysdivision.html");
  //menuHouseleague.getItemById("3").target="_blank";
  menuHouseleague.addItem("3", "League Schedules/Standings", "http://allplayers.bladenet.net/allplayers/index.do?associationCode=CA00001511&seasonNumber=0&scheduleGroupNumber=1");
  menuHouseleague.getItemById("3").target="_blank";
  //menuHouseleague.addItem("5", "League Standings", "../standings/boys.htm");
  //menuHouseleague.getItemById("5").target="_blank";
  //menuHouseleague.addItem("6", "Playoffs Schedules/Standings", "playoffs.html");
  
  //create menu for travel hockey
  var menuTravelhockey=menuMgr.createMenu("travelhockey");
  menuTravelhockey.dropShadow("none");
  menuTravelhockey.showIcon=false;
  menuTravelhockey.showSubIcon=true;
  menuTravelhockey.absWidth=150;
  menuTravelhockey.addItem("1", "CYO MD Hurricanes", "http://www.hurricaneshockey.ca/");
  menuTravelhockey.getItemById("1").target="_blank";
  //menuTravelhockey.addItem("2", "SCFHA Girls Chaos", "http://www.scfha.com/chaos/index.html");
  //menuTravelhockey.getItemById("2").target="_blank";
  menuTravelhockey.addItem("2", "CYO Select Program", "selectprogram.html");
  
  //create menu for tournaments
  var menuTournaments=menuMgr.createMenu("tournaments");
  menuTournaments.dropShadow("none");
  menuTournaments.showIcon=false;
  menuTournaments.showSubIcon=true;
  menuTournaments.absWidth=150;
  menuTournaments.addItem("1", "CYO John MacDonald MD Tournament", "http://www.johnmacdonaldtournament.com");
  menuTournaments.getItemById("1").target="_blank";
  menuTournaments.addItem("2", "Kevin Fegan Memorial House League Tournament ", "http://www.kevinfegantournament.com");
  menuTournaments.getItemById("2").target="_blank";
  //menuTournaments.addItem("3", "CYO St.Julia Tournament", "http://www.esportsdesk.com/leagues/pick_league.cfm?clientID=1562&leagueID=0");
  //menuTournaments.getItemById("3").target="_blank";
  //menuTournaments.addItem("2", "CYO Championship Weekend", "championshipweekend.html");
  //menuTournaments.addItem("3", "Alliance House League Select Championship", "http://www.cyohockey.on.ca/AllianceSelect/AllianceSelectChampionships.htm");
  
  //add submenu tournament1 to the first menu item
  menuHouseleague.addSubmenu("3","houseleague1");
  menuHouseleague.addSubmenu("4","houseleague2");
  menuHouseleague.addSubmenu("5","houseleague3");
  //create menu for third item of houseleague (houseleague1)
  var menuHouseleague1 = menuMgr.createMenu("houseleague1");
  menuHouseleague1.dropShadow("none");
  menuHouseleague1.showIcon=false;
  menuHouseleague1.showSubIcon=true;
  menuHouseleague1.absWidth=150;
  
  //menuHouseleague1.addItem("1", "Tyke", "schedules/tyke.htm");
  //menuHouseleague1.addItem("2", "Novice", "schedules/novice.htm");
  //menuHouseleague1.addItem("3", "Atom", "schedules/atom.htm");
  //menuHouseleague1.addItem("4", "Peewee", "schedules/peewee.htm");
  //menuHouseleague1.addItem("5", "Bantam", "schedules/bantam.htm");
  //menuHouseleague1.addItem("6", "Midget", "schedules/midget.htm");
  //menuHouseleague1.addItem("7", "Juvenile", "schedules/Juvenile.htm");
  //menuHouseleague1.addItem("8", "Alumni", "schedules/alumnischedule.html");
  //menuHouseleague1.addItem("9", "Novice Girls", "schedules/novicegirls.htm");
  //menuHouseleague1.addItem("10", "Atom Girls", "schedules/atomgirls.htm");
  //menuHouseleague1.addItem("11", "Peewee Girls", "schedules/peeweegirls.htm");
  //menuHouseleague1.addItem("12", "Bantam Girls", "schedules/bantamgirls1.htm");
  //menuHouseleague1.addItem("13", "Midget Girls", "schedules/midgetgirls.htm");
  //menuHouseleague1.addItem("14", "Mite Schedule", "schedules/mite.htm");
  //menuHouseleague1.addItem("15", "Heat Schedule", "http://www.cyohockey.on.ca/cyoheat/schedule.html");
  //menuHouseleague1.getItemById("15").target="_blank";
  //menuHouseleague1.addItem("8", "Alumni", "schedules/alumnischedule.html");
  
  var menuHouseleague2 = menuMgr.createMenu("houseleague2");
  menuHouseleague2.dropShadow("none");
  menuHouseleague2.showIcon=false;
  menuHouseleague2.showSubIcon=true;
  menuHouseleague2.absWidth=150;
  //menuHouseleague2.addItem("1", "Girls", "standings/girls.htm");
  //menuHouseleague2.addItem("2", "Co-ed", "standings/boys.htm");
  
  var menuHouseleague3 = menuMgr.createMenu("houseleague3");
  menuHouseleague3.dropShadow("none");
  menuHouseleague3.showIcon=false;
  menuHouseleague3.showSubIcon=true;
  menuHouseleague3.absWidth=150;
  
  //menuHouseleague3.addItem("1", "Tyke Playoffs", "schedules/playoffs/tykeplayoffs.htm");
  //menuHouseleague3.addItem("2", "Novice Playoffs", "schedules/playoffs/noviceplayoffs.htm");
  //menuHouseleague3.addItem("3", "Atom Playoffs", "schedules/playoffs/atomplayoffs.htm");
  //menuHouseleague3.addItem("4", "Peewee Playoffs", "schedules/playoffs/peeweeplayoffs.htm");
  //menuHouseleague3.addItem("5", "Bantam Playoffs", "schedules/playoffs/bantamplayoffs.htm");
  //menuHouseleague3.addItem("6", "Midget Playoffs", "schedules/playoffs/midgetplayoffs.htm");
  //menuHouseleague3.addItem("7", "Juvenile Playoffs", "schedules/playoffs/juvenileplayoffs.htm");
  //menuHouseleague1.addItem("8", "Alumni", "schedules/alumnischedule.html");
  //menuHouseleague3.addItem("9", "Novice Girls", "schedules/novicegirls.htm");
  //menuHouseleague3.addItem("9", "", "");
  //menuHouseleague3.addItem("10", "Atom Girls Playoffs", "schedules/playoffs/atomgirlsplayoffs.htm");
  //menuHouseleague3.addItem("11", "Peewee Girls Playoffs", "schedules/playoffs/peeweegirlsplayoffs.htm");
  //menuHouseleague3.addItem("12", "Bantam Girls Playoffs", "schedules/playoffs/bantamgirlsplayoffs.htm");
  //menuHouseleague3.addItem("13", "Midget Girls Playoffs", "schedules/playoffs/midgetgirlsplayoffs.htm");
    //menuHouseleague1.addItem("8", "Alumni", "schedules/alumnischedule.html");