/**
 *  This code initializes the Games and Notes arrays.
 *
 * Modifications:
 *
 *  Name    Date         Description
 *  ------  -------      ------------
 *  Bill C  2010 Jan 20  Copy YNLL web to UVLL and edit files
 *  UVLL SCORES
 */

   var dtGamesThrough = " 31 May 2011 ";
   var gIdx, nIdx;
   var arGames, arNotes;

   /**
    *  MAJOR League
    */

   /**
    *  The Division
    */

   arGames = new Array;
   gIdx = 0;
   //                              Date         Away      Home Away  Home    Note
   //                                           Team      Team Score Score
   arGames[gIdx++] = new Game( "4/05/2011", "Cubs", "Reds", 3, 5 );
   arGames[gIdx++] = new Game( "4/07/2011", "Astros", "Cubs", 6, 6 );
   arGames[gIdx++] = new Game( "4/12/2011", "Reds", "Astros", 14, 4 );
   arGames[gIdx++] = new Game( "4/14/2011", "Cubs", "Yak_Orioles", 6, 1 );
   arGames[gIdx++] = new Game( "4/14/2011", "Yak_RedSox", "Reds", 8, 16 );
   arGames[gIdx++] = new Game( "4/14/2011", "Astros", "Yak_Braves", 7, 5 );
   arGames[gIdx++] = new Game( "4/19/2011", "Reds", "Cubs", 2, 7 );
   arGames[gIdx++] = new Game( "4/21/2011", "Cubs", "Yak_Rangers", 7, 3 );
   arGames[gIdx++] = new Game( "4/21/2011", "Reds", "Yak_Cardinals", 2, 1 );
   arGames[gIdx++] = new Game( "4/21/2011", "Yak_Orioles", "Astros", 10, 0 );
   arGames[gIdx++] = new Game( "4/26/2011", "Cubs", "Astros", 10, 0 );
   arGames[gIdx++] = new Game( "4/28/2011", "Astros", "Yak_Rangers", 1, 8 );
   arGames[gIdx++] = new Game( "4/28/2011", "Yak_Braves", "Reds", 6, 14 );
   arGames[gIdx++] = new Game( "5/03/2011", "Astros", "Reds", 1, 14 );
   arGames[gIdx++] = new Game( "5/05/2011", "Yak_Cardinals", "Cubs", 4, 2 );
   arGames[gIdx++] = new Game( "5/05/2011", "Reds", "Yak_Orioles", 12, 1 );
   arGames[gIdx++] = new Game( "5/05/2011", "Astros", "Yak_RedSox", 6, 5 );
   arGames[gIdx++] = new Game( "5/10/2011", "Cubs", "Reds", 3, 10 );
   arGames[gIdx++] = new Game( "5/12/2011", "Astros", "Cubs", 1, 13 );
   arGames[gIdx++] = new Game( "5/17/2011", "Reds", "Astros", 3, 2 );
   arGames[gIdx++] = new Game( "5/19/2011", "Yak_Cardinals", "Astros", 7, 4 );
   arGames[gIdx++] = new Game( "5/19/2011", "Cubs", "Yak_Braves", 6, 1 );
   arGames[gIdx++] = new Game( "5/19/2011", "Reds", "Yak_Rangers", 6, 3 );
   arGames[gIdx++] = new Game( "5/24/2011", "Reds", "Cubs", 5, 4 );
   arGames[gIdx++] = new Game( "5/31/2011", "Cubs", "Yak_RedSox", 7, 6 );
   
   
   
   arNotes = new Array;
   nIdx = 0;
   arNotes[nIdx++] = "The 7 April Astros vs Cubs game was tied after 6 complete innings" +
                     " Game will continue if needed for standing results as per rule 4.12.";
   arNotes[nIdx++] = "The 31 May RedSox @ UV_Cubs was rescheduled from 28 April.";					 
					 
   
   //arNotes[nIdx++] = "NO SCORE REPORTED FOR 20 May Tigers-Yak_Dodgers, but was notified that Tigers won." +
   // " I put in 1-0 so standings can show correct records.";	
   
   
	  	 
   
   //
   //
   arrLeagues[MAJOR].divisions[ZERO].games = arGames;
   arrLeagues[MAJOR].divisions[ZERO].notes = arNotes;

   /**
    *  Inter-division games
    *
    *    Note: The team names in this section must start with a division indicator;
    *            the first letter of each division name is sufficient. For example,
    *            use "W Cardinals" for the West Cardinals.
    */

//   arGames = new Array;
//   gIdx = 0;
   //                              Date         Away      Home Away  Home    Note
   //                                           Team      Team Score Score
   
//    arGames[gIdx++] = new Game( "4/14/2007", "N White Sox", "S Pirates", 15, 2 );
 
   //arNotes[nIdx++] = "The 4 May  S Indians @ N Cubs game was tied after 9 complete innings" +
   //                  " Game will continue if needed for standing results as per rule 4.12.";

//   arrLeagues[MAJOR].games = arGames;


   /**
    *  MINOR League
    */

   /**
    *  The Division
    */

   arGames = new Array;
   gIdx = 0;
   //                              Date         Away      Home Away  Home    Note
   //                                           Team      Team Score Score
   arGames[gIdx++] = new Game( "4/04/2011", "DevilRays", "Twins", 5, 5 );
   arGames[gIdx++] = new Game( "4/04/2011", "RedSox", "Dodgers", 12, 0 );
   arGames[gIdx++] = new Game( "4/06/2011", "Angels", "Twins", 6, 6 );
   arGames[gIdx++] = new Game( "4/06/2011", "RedSox", "DevilRays", 9, 2 );
   arGames[gIdx++] = new Game( "4/11/2011", "DevilRays", "Angels", 9, 10 );
   arGames[gIdx++] = new Game( "4/11/2011", "Twins", "Dodgers", 8, 5 );
   arGames[gIdx++] = new Game( "4/13/2011", "Dodgers", "DevilRays", 8, 10 );
   arGames[gIdx++] = new Game( "4/13/2011", "RedSox", "Angels", 6, 5 );
   arGames[gIdx++] = new Game( "4/18/2011", "Twins", "RedSox", 6, 16 );
   arGames[gIdx++] = new Game( "4/18/2011", "Angels", "Dodgers", 11, 1 );
   arGames[gIdx++] = new Game( "4/20/2011", "Dodgers", "RedSox", 1, 11 );
   arGames[gIdx++] = new Game( "4/20/2011", "DevilRays", "Twins", 13, 4 );
   arGames[gIdx++] = new Game( "4/25/2011", "Twins", "Angels", 12, 15 );
   arGames[gIdx++] = new Game( "4/27/2011", "Angels", "DevilRays", 3, 9 );
   arGames[gIdx++] = new Game( "5/02/2011", "Angels", "RedSox", 0, 6 );
   arGames[gIdx++] = new Game( "5/02/2011", "DevilRays", "Dodgers", 12, 3 ); 
   arGames[gIdx++] = new Game( "5/04/2011", "RedSox", "Twins", 11, 3 );
   arGames[gIdx++] = new Game( "5/04/2011", "Dodgers", "Angels", 5, 6 );
   arGames[gIdx++] = new Game( "5/07/2011", "DevilRays", "RedSox", 0, 14 );
   arGames[gIdx++] = new Game( "5/09/2011", "DevilRays", "Angels", 8, 9 );
   arGames[gIdx++] = new Game( "5/11/2011", "Twins", "DevilRays", 6, 7 );
   arGames[gIdx++] = new Game( "5/11/2011", "RedSox", "Dodgers", 15, 2 );
   arGames[gIdx++] = new Game( "5/16/2011", "Angels", "Twins", 8, 5 );
   arGames[gIdx++] = new Game( "5/18/2011", "RedSox", "Angels", 10, 2 );
   arGames[gIdx++] = new Game( "5/25/2011", "Angels", "Dodgers", 11, 1 );
   

   arNotes = new Array;
   nIdx = 0;
   //
   arNotes[nIdx++] = "The 4 April  DevilRays vs Twins game was tied after 6 complete innings" +
                     " Game will continue if needed for standing results as per rule 4.12.";
   arNotes[nIdx++] = "The 6 April  Angels vs Twins game was tied after 6 complete innings" +
                     " Game will continue if needed for standing results as per rule 4.12.";
   arNotes[nIdx++] = "The 25 April games were rained out, Minors DevilRays-RedSox played May 7 with RedSox win." +
                     " Twins-Angels will be made up.";	 
   
  
  		 
					 
   
   

   arrLeagues[MINOR].divisions[ZERO].games = arGames;
   arrLeagues[MINOR].divisions[ZERO].notes = arNotes;

   /**
    *  Inter-division games
    *
    *    Note: The team names in this section must start with a division indicator;
    *            the first letter of each division name is sufficient. For example,
    *            use "W Cardinals" for the West Cardinals.
    */

//   arGames = new Array;
//   gIdx = 0;
   //                              Date         Away      Home Away  Home    Note
   //                                           Team      Team Score Score
//   arGames[gIdx++] = new Game( "4/12/2007", "S Mets", "N Giants", 5, 8 );

//   arNotes = new Array;
//   nIdx = 0;
   //
   //
   

//   arrLeagues[MINOR].games = arGames;

