<?xml version="1.0" encoding="UTF-8"?>
<cup>
  <name>League Cup</name>
  <short_name>League C.</short_name>
  <symbol>flag_ireland.png</symbol>
  <sid>ireland_league</sid>
  <last_week>25</last_week>
  <week_gap>4</week_gap>
  <property>national</property>

  <cup_rounds>
    <cup_round>
      <home_away>0</home_away>

      <choose_teams>
        <choose_team>
          <choose_team_sid>ireland3a</choose_team_sid>
	  <number_of_teams>1</number_of_teams>
	  <start_idx>1</start_idx>
	  <end_idx>8</end_idx>
	  <randomly>1</randomly>
        </choose_team>

        <choose_team>
          <choose_team_sid>ireland3b</choose_team_sid>
	  <number_of_teams>1</number_of_teams>
	  <start_idx>1</start_idx>
	  <end_idx>8</end_idx>
	  <randomly>1</randomly>
        </choose_team>

        <choose_team>
          <choose_team_sid>ireland2</choose_team_sid>
        </choose_team>

        <choose_team>
          <choose_team_sid>ireland1</choose_team_sid>
	  <number_of_teams>8</number_of_teams>
	  <start_idx>5</start_idx>
	  <end_idx>12</end_idx>
	  <randomly>1</randomly>
        </choose_team>
      </choose_teams>
      <byes>4</byes>
      <delay>-6</delay>
    </cup_round>

    <cup_round>
      <home_away>0</home_away>

      <choose_teams>
        <choose_team>
          <choose_team_sid>ireland1</choose_team_sid>
	  <number_of_teams>4</number_of_teams>
	  <start_idx>1</start_idx>
	  <end_idx>4</end_idx>
	  <randomly>1</randomly>
        </choose_team>
      </choose_teams>
      <byes>0</byes>
      <delay>-7</delay>
    </cup_round>

    <cup_round>
      <home_away>0</home_away>
      <delay>-4</delay>
    </cup_round>

    <cup_round>
      <home_away>0</home_away>
      <delay>-2</delay>
    </cup_round>

    <cup_round>
      <home_away>0</home_away>
    </cup_round>
  </cup_rounds>
</cup>