function init(pv_teams) {
  for (var i = 0, max = pv_teams.length; i < max; i++) {
    records[pv_teams[i].team] = {
      'win': 0,
      'loss': 0,
      'tie': 0,
      'start_rank': pv_teams[i].rank
    }
  }
}
// set the teams up and build initial records table
set the teams up and build initial records table
set the teams up and build initial records table
function init(pv_teams) {
  for (var i = 0, max = pv_teams.length; i < max; i++) {
    records[pv_teams[i].team] = {
      'win': 0,
      'loss': 0,
      'tie': 0,
      'start_rank': pv_teams[i].rank
    }
  }
}
function init ( pv_teams ) { for ( var i = 0 , max = pv_teams . length ; i < max ; i ++ ) { records [ pv_teams [ i ] . team ] = { 'win' : 0 , 'loss' : 0 , 'tie' : 0 , 'start_rank' : pv_teams [ i ] . rank } } }
set the teams up and build initial records table
set the teams up and build initial records table