/**
 *  This code initializes the Menu and Listbox arrays.
 *
 */

   var aIdx = 0;
   var arTnmts = new Array;
   arTnmts[ aIdx++ ] = new Item( '-------' );
   //arTnmts[ aIdx++ ] = new Item( '2007 Placement List', 'tournaments/City Tournaments Placement 2007.html' );
   arTnmts[ aIdx++ ] = new Item( '-------' );
   //arTnmts[ aIdx++ ] = new Item( 'Yakima', 'tournaments/2007/City Tournament - Yakima.html' );
   //arTnmts[ aIdx++ ] = new Item( '* Majors Bracket', 'tournaments/2007/Yakima Majors 2007.html' );
   //arTnmts[ aIdx++ ] = new Item( '* Minors Bracket', 'tournaments/2007/Yakima Minors 2007.html' );
   //arTnmts[ aIdx++ ] = new Item( '-------' );
   //arTnmts[ aIdx++ ] = new Item( 'Selah', 'tournaments/2007/City Tournament - Selah.html' );
   //arTnmts[ aIdx++ ] = new Item( '* Majors Bracket', 'tournaments/2007/Selah Majors 2007.html' );
   //arTnmts[ aIdx++ ] = new Item( '* Minors Bracket', 'tournaments/2007/Selah Minors 2007.html' );
   //arTnmts[ aIdx++ ] = new Item( '-------' );
   //arTnmts[ aIdx++ ] = new Item( 'Upper Valley', 'tournaments/2007/City Tournament - Upper Valley.html' );
   //arTnmts[ aIdx++ ] = new Item( '* Majors Bracket', 'tournaments/2007/UV Majors 2007.html' );
   //arTnmts[ aIdx++ ] = new Item( '* Minors Bracket', 'tournaments/2007/UV Minors 2007.html' );
   //arTnmts[ aIdx++ ] = new Item( '-------' );
   //arTnmts[ aIdx++ ] = new Item( 'East Valley', 'tournaments/2007/City Tournament - East Valley.html' );
   //arTnmts[ aIdx++ ] = new Item( '* Majors Bracket', 'tournaments/2007/EV Majors 2007.html' );
   //arTnmts[ aIdx++ ] = new Item( '* Minors Bracket', 'tournaments/2007/EV Minors 2007.html' );

   var aIdx = 0;
   var arTms = new Array;
   for ( var lIdx = 0; lIdx < arrLeagues.length; lIdx++ )
   {
     for ( var dIdx = 0; dIdx < arrLeagues[ lIdx ].divisions.length; dIdx++ )
     {
       var division = arrLeagues[ lIdx ].divisions[ dIdx ];
       arTms[ aIdx++ ] = new Item( '-------' );
       arTms[ aIdx++ ] = new Item( arrLeagues[ lIdx ].name.toUpperCase() + ' ' +
                                   division.name.toUpperCase() );
       arTms[ aIdx++ ] = new Item( '-------' );
       for ( var tIdx = 0; tIdx < division.teams.length; tIdx++ )
         arTms[ aIdx++ ] = new Item( division.teams[ tIdx ].name,
                                     'team_info.html?l=' + lIdx + '&d=' + dIdx +
                                     '&t=' + division.teams[ tIdx ].name + '' );
     }
	 }

   aIdx = 0;
   var arContacts = new Array;
   arContacts[ aIdx++ ] = new Item( '-------' );
   //arContacts[ aIdx++ ] = new Item( 'Coaches', 'coaches.html' );
   arContacts[ aIdx++ ] = new Item( 'Officers', '2010officers.html' );

   aIdx = 0;
   var arArchives = new Array;
   arArchives[ aIdx++ ] = new Item( '-------' );
   //arArchives[ aIdx++ ] = new Item( '2004' );
   //arArchives[ aIdx++ ] = new Item( '-------' );
   //arArchives[ aIdx++ ] = new Item( 'Results', 'Archives/2004/team_results.html' );
   //arArchives[ aIdx++ ] = new Item( 'Standings', 'Archives/2004/standings.html' );
   //arArchives[ aIdx++ ] = new Item( 'Personnel', 'Archives/2004/2004officers.html' );
   //arArchives[ aIdx++ ] = new Item( '2004 Calendar', 'Archives/2004/Events_2004.html' ); 
   //arArchives[ aIdx++ ] = new Item( '-------' );
   //arArchives[ aIdx++ ] = new Item( 'Tournament Results' );
   //arArchives[ aIdx++ ] = new Item( '* Majors', 'tournaments/2004/Yakima Majors 2004.htm' );
   //arArchives[ aIdx++ ] = new Item( '* Minors', 'tournaments/2004/Yakima Minors 2004.htm' );
   //arArchives[ aIdx++ ] = new Item( '-------' ); 
   //arArchives[ aIdx++ ] = new Item( '2003' );
   //arArchives[ aIdx++ ] = new Item( '-------' );
   //arArchives[ aIdx++ ] = new Item( 'Results', 'Archives/team_results_2003.html' );
   //arArchives[ aIdx++ ] = new Item( 'Standings', 'Archives/standings_2003.html' );
   //arArchives[ aIdx++ ] = new Item( 'Personnel', 'Archives/personnel_2003.html' );
   //arArchives[ aIdx++ ] = new Item( 'Master Schedule', 'calendars/Master Schedule 2003.htm' );
   //arArchives[ aIdx++ ] = new Item( 'League Calendar', 'javascript:openCalendar("League%202003");' );
   //arArchives[ aIdx++ ] = new Item( '-------' );
   //arArchives[ aIdx++ ] = new Item( 'Tournament Results' );
   //arArchives[ aIdx++ ] = new Item( '* Majors', 'tournaments/2003/Yakima Major Updates.htm' );
   //arArchives[ aIdx++ ] = new Item( '* Minors', 'tournaments/2003/Yakima Minor Updates.htm' );
   //arArchives[ aIdx++ ] = new Item( '-------' );
   //arArchives[ aIdx++ ] = new Item( '2002' );
   //arArchives[ aIdx++ ] = new Item( '-------' );
   //arArchives[ aIdx++ ] = new Item( 'Teams', 'Archives/team_info_2002.html' );
   //arArchives[ aIdx++ ] = new Item( 'Standings', 'Archives/standings_2002.html' );
 
 aIdx = 0;
   var arForms = new Array;
   arForms[ aIdx++ ] = new Item( '-------' );
   arForms[ aIdx++ ] = new Item( '2010 Age Chart', 'Forms/AgeChart.pdf' );
   arForms[ aIdx++ ] = new Item( 'Volunteer Application', 'Forms/2010 Volunteer_App.pdf' );
   //arForms[ aIdx++ ] = new Item( 'Safety Manual', 'Forms/2005SafetyManual.pdf' );
   //arForms[ aIdx++ ] = new Item( 'Evaluation', 'Forms/Evaluation.html' );
   //arForms[ aIdx++ ] = new Item( 'Sponsor Agreement Form', 'Forms/SponsorForm.html' );
   //arForms[ aIdx++ ] = new Item( 'Form II(d)', 'Forms/regii(d).pdf' );
   //arForms[ aIdx++ ] = new Item( 'Form IV(h)', 'Forms/regiv(h).pdf' );
   
   
 
   aIdx = 0;
   var arConStand = new Array;
   arConStand[ aIdx++ ] = new Item( '-------' );
   arConStand[ aIdx++ ] = new Item( 'Concession Schedule', 'Schedules/2010/ConcessionSchedule.html' );
   //arConStand[ aIdx++ ] = new Item( 'May Schedule', 'Schedules/2008/MayConcession.doc' );
   // arConStand[ aIdx++ ] = new Item( 'Menu', 'Announcements/ConStand Menu 2004.html' );
   
       
   aIdx = 0;
   var arrCalItems = new Array;
   arrCalItems[ aIdx++ ] = new Item( 'Calendars' );
   arrCalItems[ aIdx++ ] = new Item( '2010 Events ',
                                'calendars/Events2010.html' );
   arrCalItems[ aIdx++ ] = new Item( 'MAJORS Schedule ',
                                'Schedules/2010/MajCombined.htm' );
   arrCalItems[ aIdx++ ] = new Item( 'MINORS Schedule ',
                                'Schedules/2010/MinCombined.htm' );
  arrCalItems[ aIdx++ ] = new Item( 'FARM Schedule ',
                               'Schedules/2010/FarmLeague.htm' );

   aIdx = 0;
   var arMinutes = new Array;
   //arMinutes[ aIdx++ ] = new Item( '09 May 2005', 'Minutes/2005-05-09.pdf' );
   //arMinutes[ aIdx++ ] = new Item( '11 April 2005', 'Minutes/2005-04-11.pdf' );
   
     
   aIdx = 0;
   var arrMtgItems = new Array;
   arrMtgItems[ aIdx++ ] = new Item( 'Meeting Minutes' );
   //arrMtgItems[ aIdx++ ] = new Item( '12 Dec 2005', 'Minutes/2005-12-12.html' );
   //arrMtgItems[ aIdx++ ] = new Item( '14 Nov 2005', 'Minutes/2005-11-14.html' );
   
         
   aIdx = 0;
   var arRules = new Array;
   arRules[ aIdx++ ] = new Item( '-------' );
   //arRules[ aIdx++ ] = new Item( 'Local Rules',
   //                            'Rules and Procedures/Local Rules.html' );
   //arRules[ aIdx++ ] = new Item( 'Coaches Rules',
   //                            'Rules and Procedures/Coaches Rules.html' );
   //arRules[ aIdx++ ] = new Item( 'City Tournament Rules',
   //                            'Rules and Procedures/City Tournament Rules.html' );
   arRules[ aIdx++ ] = new Item( '-------' );
   arRules[ aIdx++ ] = new Item( 'PROCEDURES' );
   arRules[ aIdx++ ] = new Item( '-------' );
   //arRules[ aIdx++ ] = new Item( 'Becoming a Coach',
   //                            'Rules and Procedures/Coach Procedures.html' );
   //arRules[ aIdx++ ] = new Item( 'The Draft',
   //                            'Rules and Procedures/Draft Procedures.html' );
   //arRules[ aIdx++ ] = new Item( 'All-Star Selection',
  //                             'Rules and Procedures/All-Star Selection.html' );
   //arRules[ aIdx++ ] = new Item( 'Grievances',
  //                             'Rules and Procedures/Grievance Procedures.html' );
   //arRules[ aIdx++ ] = new Item( 'Discipline',
  //                             'Rules and Procedures/Disciplinary Procedures.html' );
   arRules[ aIdx++ ] = new Item( 'Roberts Rules',
                               'Rules and Procedures/Roberts Rules.html' );
   arRules[ aIdx++ ] = new Item( '-------' );
   arRules[ aIdx++ ] = new Item( 'DEFINITIONS' );
   arRules[ aIdx++ ] = new Item( '-------' );
   //arRules[ aIdx++ ] = new Item( 'Constitution',
   //                            'Rules and Procedures/Constitution.html' );
   //arRules[ aIdx++ ] = new Item( 'Division Boundaries',
   //                            'Rules and Procedures/Division Boundaries.html' );
   //arRules[ aIdx++ ] = new Item( 'League Descriptions',
   //                            'Rules and Procedures/League Descriptions.html' );
 
   aIdx = 0;
   var arrGenItems = new Array;
   arrGenItems[ aIdx++ ] = new Item( 'General' );
   arrGenItems[ aIdx++ ] = new Item( 'National Little League', 'http://www.littleleague.org/' );
   arrGenItems[ aIdx++ ] = new Item( 'Northwest Region', 'http://www.unpage.org/northwest/' );
   arrGenItems[ aIdx++ ] = new Item( 'WA Little Leagues', 'http://www.unpage.org/links/' );
   
     
     aIdx = 0;
   var arrMainItems = new Array;
   arrMainItems[ aIdx++ ] = new Item( 'YNLL','index.html' );
   arrMainItems[ aIdx++ ] = new Item( getListBox( arTnmts, 'TOURNAMENTS' ) );
   arrMainItems[ aIdx++ ] = new Item( getListBox( arTms, 'TEAMS' ) );
   arrMainItems[ aIdx++ ] = new Item( 'FARM LEAGUE','FarmLeague/2010FLTeams.html' );
   arrMainItems[ aIdx++ ] = new Item( 'Results','team_results.html' );
   arrMainItems[ aIdx++ ] = new Item( 'Standings','standings.html' );
   arrMainItems[ aIdx++ ] = new Item( 'Fields','fields.html' );
   arrMainItems[ aIdx++ ] = new Item( getListBox( arForms, 'LEAGUE FORMS' ) );  
   arrMainItems[ aIdx++ ] = new Item( getListBox( arConStand, 'CONCESSION STAND' ) );
   arrMainItems[ aIdx++ ] = new Item( getListBox( arContacts, 'CONTACT US' ) );
   arrMainItems[ aIdx++ ] = new Item( 'Coach Info','coach_info.html' );
   arrMainItems[ aIdx++ ] = new Item( 'Umpire Info','Umpire Information/umpire_info.html' );
   arrMainItems[ aIdx++ ] = new Item( 'Umpire Schedule','Umpire Information/umpire_schedule.html' );
   arrMainItems[ aIdx++ ] = new Item( 'Umpire Rules','Umpire Information/umpire_rules.html' );
   arrMainItems[ aIdx++ ] = new Item( 'FAQ','FAQ.html' );
    arrMainItems[ aIdx++ ] = new Item( getListBox( arArchives, 'ARCHIVES' ) );
   arrMainItems[ aIdx++ ] = new Item( getListBox( arRules, 'RULES, ETC.' ) );
   
   