/**
 *  This code initializes the League, Division, and Team arrays.
 */

   var arrLeagues = new Array;
   var tIdx;
   var arDivisions = null, objCoord = null, objAgent = null;
   var objManager = null, arCoaches = null, arTeams = null;

   /**
    *  MAJOR League
    */
   arDivisions = new Array;

   //
   //  The Division
   //
   objCoord = new Adult( "Mike Daniels- YNLL President", "469-8352" );
   objAgent = new Adult( "Rory McVey- YNLL VP", "945-9904" );
   arTeams = new Array;
   tIdx = 0;

   
   objMgr = new Adult( "Mark Johnson", "949-7292" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Paul Saiz", "833-7019" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #A9F5A9; padding: 0.25em">Inter-league with UpperValley- games will count toward standings ' +
               ' as agreed by both leagues.</div>';
   arrNotes[1] = '<div style="background-color: #A9F5A9; padding: 0.25em">15 Apr Astros-vs-UV_Tigers ended in tie after 7 complete innings ' +
               ' Game will continue as per 4.12 if needed for standing results.</div>';
   
   //arrNotes[0] = '<div style="background-color: #FFF0F0; padding: 0.25em">2005 Indians</div>';
   arTeams[tIdx++]  = new Team( "Astros", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/astros_sm.gif",
                            "webimages/teams/astros.gif", arrNotes ); 
   
   
   objMgr = new Adult( "Brain Briskey ", "985-7871" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Not listed", "no number" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #A9F5A9; padding: 0.25em">Inter-league with UpperValley- games will count toward standings ' +
               ' as agreed by both leagues.</div>';
   
   //arrNotes[0] = '<div style="background-color: #FFF0F0; padding: 0.25em">2005 Indians</div>';
   arTeams[tIdx++]  = new Team( "Dodgers", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/dodgers_sm.gif",
                            "webimages/teams/dodgers.gif", arrNotes );
   
   
   objMgr = new Adult( "Chris Catton", "930-0609" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Scott Cleveringa", "961-1322" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #A9F5A9; padding: 0.25em">Inter-league with UpperValley- games will count toward standings ' +
               ' as agreed by both leagues.</div>';
   arTeams[tIdx++]  = new Team( "Marlins", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/marlins_sm.gif",
                            "webimages/teams/marlins.gif", arrNotes );
       
   
   objMgr = new Adult( "Jeff Brown", "949-9237" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Mike Saxton", "952-1716" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #A9F5A9; padding: 0.25em">Inter-league with UpperValley- games will count toward standings ' +
               ' as agreed by both leagues.</div>';
   
   //arrNotes[0] = '<div style="background-color: #FFF0F0; padding: 0.25em">8 Apr game against Twins has been ' +
   //            ' rescheduled for 18 Apr 6PM on RED field.</div>';
   arTeams[tIdx++]  = new Team( "RedSox", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/redsox_sm.gif",
                            "webimages/teams/redsox.gif", arrNotes );   
   
   
     objMgr = new Adult( "Harold Hutchinson", "969-0852" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Mike Welch", "833-9133" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #A9F5A9; padding: 0.25em">Inter-league with UpperValley- games will count toward standings ' +
               ' as agreed by both leagues.</div>';
   arTeams[tIdx++]  = new Team( "Twins", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/twins_sm.gif",
                            "webimages/teams/twins.gif", arrNotes );
   
   //Upper Valley major teams below
   
   objMgr = new Adult( "Bill Wells", "952-8958" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Ron Deaton", "961-7308" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #A9F5A9; padding: 0.25em">Inter-league with Yakima- games will count toward standings ' +
               ' as agreed by both leagues.</div>';
   arTeams[tIdx++]  = new Team( "UV_Astros", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/astros_sm.gif",
                            "webimages/teams/astros.gif", arrNotes );
   
   objMgr = new Adult( "Alan Eims", "698-5373" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Kevin Sliger", "307-8427" );
   arrNotes = new Array;
  arrNotes[0] = '<div style="background-color: #A9F5A9; padding: 0.25em">Inter-league with Yakima- games will count toward standings ' +
               ' as agreed by both leagues.</div>';
   arTeams[tIdx++]  = new Team( "UV_Reds", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/reds_sm.gif",
                            "webimages/teams/reds.gif", arrNotes );
   
   objMgr = new Adult( "Willie Whorton", "972-3399" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Mike Stillwaugh", "728-1918" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #A9F5A9; padding: 0.25em">Inter-league with Yakima- games will count toward standings ' +
               ' as agreed by both leagues.</div>';
   arrNotes[1] = '<div style="background-color: #A9F5A9; padding: 0.25em">15 Tigers-vs_Yak_Astros ended in tie after 7 complete innings ' +
               ' Game will continue as per 4.12 if needed for standing results.</div>';

   arTeams[tIdx++]  = new Team( "UV_Tigers", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/tigers_sm.gif",
                            "webimages/teams/tigers.gif", arrNotes );
   
      
   	  
	    

   arDivisions[0] = new Division( "", objCoord, objAgent, arTeams );

   arrLeagues[0] = new League( "Major", arDivisions );

   /**
    *  MINOR League
    */
   arDivisions = new Array;

   //
   //  The Division
   //
   objCoord = new Adult( "Mike Daniels- YNLL President", "469-8352" );
   objAgent = new Adult( "Rory McVey- YNLL VP", "945-9904" );
   arTeams = new Array;
   tIdx = 0;

   objMgr = new Adult( "Dave Fletcher", "453-2735" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "JD Cort", "966-2900" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #FFF0F0; padding: 0.25em"> 10 May game vs Braves' +
                 ' Rained Out, Will be rescheduled.</div>';
     //arrNotes[0] = '<div style="background-color: #FFF0F0; padding: 0.25em">At' +
   //              ' least one game has been rescheduled as of 27 April.</div>';
   arTeams[tIdx++]  = new Team( "Angels", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/angels_sm.gif",
                            "webimages/teams/angels.gif", arrNotes );


   objMgr = new Adult ( "Bernie Saiz", "575-7529" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Pat Stohr", "833-3286" );
   arCoaches[1] = new Adult( "Frank Frame", "961-5591" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #FFF0F0; padding: 0.25em"> 10 May game vs Angels' +
                 ' Rained Out, Will be rescheduled.</div>';
   
   
   arTeams[tIdx++]  = new Team( "Braves", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/braves_sm.gif",
                            "webimages/teams/braves.gif", arrNotes );
   
   
    objMgr = new Adult( "Neil Gregg", "NEED number" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Marcielleno Ramirez", "NEED number" );
   arrNotes = new Array;
   //arrNotes[0] = '<div style="background-color: #FFF0F0; padding: 0.25em"> 1 May game vs RedSox' +
     //            ' canceled, Rescheduled 26 May 6 pm Blue field.</div>';
   //arrNotes[1] = '<div style="background-color: #FFF0F0; padding: 0.25em"> 4 May game vs Angels' +
 //                ' Rained Out, Rescheduled to 28 May 6pm White field.</div>';				 
				 
   arTeams[tIdx++]  = new Team( "Cubs", objMgr, arCoaches, 0, 0, 0, 2,
                            "webimages/teams_sm/cubs_sm.gif",
                            "webimages/teams/cubs.gif", arrNotes );
 
 
   objMgr = new Adult( "Cesar Dominguez", "452-2656" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Jesse Beltran", "728-8448" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #FFF0F0; padding: 0.25em"> 10 May game vs Phillies' +
                 ' Rained Out, Will be rescheduled.</div>';
   //arrNotes[1] = '<div style="background-color: #FFF0F0; padding: 0.25em"> 4 May game vs Angels' +
 //                ' Rained Out, Rescheduled to 28 May 6pm White field.</div>';				 
				 
   arTeams[tIdx++]  = new Team( "Diamondbacks", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/diamondbacks_sm.gif",
                            "webimages/teams/diamondbacks.gif", arrNotes );
    
  
  objMgr = new Adult( "Dana Kallevig", "307-7382" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Ryan Frost", "945-7445" );
   arCoaches[1] = new Adult( "Peter Lopez", "248-5397" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #FFF0F0; padding: 0.25em"> 10 May game vs Reds' +
                 ' Rained Out, Will be rescheduled.</div>';
     arTeams[tIdx++]  = new Team( "Indians", objMgr, arCoaches, 0, 0, 0, 1,
                            "webimages/teams_sm/indians_sm.gif",
                            "webimages/teams/indians.gif", arrNotes );
   
  
   objMgr = new Adult( "Chester Adams", "388-9712" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "Jamie Covarrubias", "307-3653" );
   arCoaches[1] = new Adult( "Jeff Ketchum", "406-3348" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #FFF0F0; padding: 0.25em"> 10 May game vs Diamondbacks' +
                 ' Rained Out, Will be rescheduled.</div>';
 		 
   arTeams[tIdx++]  = new Team( "Phillies", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/phillies_sm.gif",
                            "webimages/teams/phillies.gif", arrNotes );
   
   
   objMgr = new Adult( "Tommy Pastrana", "Need number" );
   arCoaches = new Array;
   arCoaches[0] = new Adult( "John Mirelez", "NEED number" );
   arCoaches[1] = new Adult( "Donovan Anderson", "NEED number" );
   arrNotes = new Array;
   arrNotes[0] = '<div style="background-color: #FFF0F0; padding: 0.25em"> 10 May game vs Indians' +
                 ' Rained Out, Will be rescheduled.</div>';
   
   arTeams[tIdx++]  = new Team( "Reds", objMgr, arCoaches, 0, 0, 0, 0,
                            "webimages/teams_sm/reds_sm.gif",
                            "webimages/teams/reds.gif", arrNotes );
 
   
   
 
 


   arDivisions[0] = new Division( "", objCoord, objAgent, arTeams );

   arrLeagues[1] = new League( "Minor", arDivisions );
