 The teams were drawn into eight groups of six teams and one group of five, with the nine group winners qualifying directly for the final tournament.The eight best runners-up (determined by records against the first-, third-, fourth- and fifth-placed teams in their groups to ensure equity between different groups) were drawn in two-legged play-offs that determined the remaining four qualifying nations.The July 2011 FIFA World Rankings were used to seed the teams.