diff --git a/support_files/definitions/brazil/cup_supercup_brazil_intercontinental.xml b/support_files/definitions/brazil/cup_supercup_brazil_intercontinental.xml
index 29569b2f..acb450db 100644
--- a/support_files/definitions/brazil/cup_supercup_brazil_intercontinental.xml
+++ b/support_files/definitions/brazil/cup_supercup_brazil_intercontinental.xml
@@ -22,7 +22,7 @@
- italy1 germany1 england1 france1 spain1_short
+ italy1 germany1 england1 france1 spain1
russia1_short netherlands1_short portugal1_short
1
1
diff --git a/support_files/definitions/europe/cup_europe_champ_league.xml b/support_files/definitions/europe/cup_europe_champ_league.xml
index ab46d616..385bac5a 100644
--- a/support_files/definitions/europe/cup_europe_champ_league.xml
+++ b/support_files/definitions/europe/cup_europe_champ_league.xml
@@ -92,7 +92,7 @@
- spain1_short
+ spain1
1
1
1
diff --git a/support_files/definitions/europe/cup_europe_cwc.xml b/support_files/definitions/europe/cup_europe_cwc.xml
index 1e794eaa..c020a2cb 100644
--- a/support_files/definitions/europe/cup_europe_cwc.xml
+++ b/support_files/definitions/europe/cup_europe_cwc.xml
@@ -91,7 +91,7 @@
- spain1_short
+ spain1
1
1
1
diff --git a/support_files/definitions/europe/cup_europe_uefa.xml b/support_files/definitions/europe/cup_europe_uefa.xml
index 0a684b9a..760dba58 100644
--- a/support_files/definitions/europe/cup_europe_uefa.xml
+++ b/support_files/definitions/europe/cup_europe_uefa.xml
@@ -29,7 +29,7 @@
england1 france1 germany1 greece1_short
italy1 netherlands1_short portugal1_short russia1_short
- scotland1 spain1_short switzerland1_short turkey1_short
+ scotland1 spain1 switzerland1_short turkey1_short
ukraine1_short belgium1 czech1_short
denmark1_short
29
diff --git a/support_files/definitions/ireland/cup_ireland_cl.xml b/support_files/definitions/ireland/cup_ireland_cl.xml
index b47b37fd..2da93ef7 100644
--- a/support_files/definitions/ireland/cup_ireland_cl.xml
+++ b/support_files/definitions/ireland/cup_ireland_cl.xml
@@ -91,7 +91,7 @@
- spain1_short
+ spain1
1
1
1
diff --git a/support_files/definitions/ireland/cup_ireland_uefa.xml b/support_files/definitions/ireland/cup_ireland_uefa.xml
index 72d3f70c..daf77ff2 100644
--- a/support_files/definitions/ireland/cup_ireland_uefa.xml
+++ b/support_files/definitions/ireland/cup_ireland_uefa.xml
@@ -27,7 +27,7 @@
england1 france1 germany1 greece1_short
italy1 netherlands1_short portugal1_short russia1_short
- scotland1 spain1_short switzerland1_short turkey1_short
+ scotland1 spain1 switzerland1_short turkey1_short
ukraine1_short belgium1 czech1_short
denmark1_short
31
diff --git a/support_files/definitions/spain/country_spain.xml b/support_files/definitions/spain/country_spain.xml
new file mode 100644
index 00000000..d520fa86
--- /dev/null
+++ b/support_files/definitions/spain/country_spain.xml
@@ -0,0 +1,29 @@
+
+
+ Spain
+ flag_spain.png
+ spain
+
+ spain1
+ spain2
+ spain3a
+ spain3b
+ spain3c
+ spain3d
+
+
+
+ spain_cdr
+ spain_rfef
+ europe_uefa
+ europe_cwc
+ europe_champ_league
+ supercup_europe_uefa
+ supercup_europe_intercontinental
+ spain_prom_games_1
+ spain_prom_games_2
+ spain_prom_games_3
+ spain_prom_games_4
+
+
+
diff --git a/support_files/definitions/spain/cup_spain_cdr.xml b/support_files/definitions/spain/cup_spain_cdr.xml
new file mode 100644
index 00000000..8cb59feb
--- /dev/null
+++ b/support_files/definitions/spain/cup_spain_cdr.xml
@@ -0,0 +1,60 @@
+
+
+ Copa del Rey
+ Copa del Rey
+ flag_spain.png
+ spain_cdr
+ 44
+ 4
+ national
+
+
+
+
+ 1
+ 0
+
+
+ spain_rfef
+ 1
+ 1
+ 1
+
+
+
+
+
+
+
+
+ spain2
+ 18
+ 1
+ 18
+
+
+
+
+
+
+
+ spain1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 1
+
+
+
diff --git a/support_files/definitions/spain/cup_spain_prom_games_1.xml b/support_files/definitions/spain/cup_spain_prom_games_1.xml
new file mode 100644
index 00000000..18cb2b16
--- /dev/null
+++ b/support_files/definitions/spain/cup_spain_prom_games_1.xml
@@ -0,0 +1,43 @@
+
+
+ Liguilla de ascenso I
+ Lig. de asc. I
+ flag_spain.png
+ spain_prom_games_1
+ 1000
+ national
+ highlight2
+
+
+
+ 1
+ 1
+
+
+ spain3a
+ 1
+ 1
+ 1
+
+
+ spain3a
+ 1
+ 2
+ 2
+
+
+ spain3a
+ 1
+ 3
+ 3
+
+
+ spain3a
+ 1
+ 4
+ 4
+
+
+
+
+
diff --git a/support_files/definitions/spain/cup_spain_prom_games_2.xml b/support_files/definitions/spain/cup_spain_prom_games_2.xml
new file mode 100644
index 00000000..510069bd
--- /dev/null
+++ b/support_files/definitions/spain/cup_spain_prom_games_2.xml
@@ -0,0 +1,43 @@
+
+
+ Liguilla de ascenso II
+ Lig. de asc. II
+ flag_spain.png
+ spain_prom_games_2
+ 1000
+ national
+ highlight2
+
+
+
+ 1
+ 1
+
+
+ spain3b
+ 1
+ 1
+ 1
+
+
+ spain3b
+ 1
+ 2
+ 2
+
+
+ spain3b
+ 1
+ 3
+ 3
+
+
+ spain3b
+ 1
+ 4
+ 4
+
+
+
+
+
diff --git a/support_files/definitions/spain/cup_spain_prom_games_3.xml b/support_files/definitions/spain/cup_spain_prom_games_3.xml
new file mode 100644
index 00000000..ddda80da
--- /dev/null
+++ b/support_files/definitions/spain/cup_spain_prom_games_3.xml
@@ -0,0 +1,43 @@
+
+
+ Liguilla de ascenso III
+ Lig. de asc. III
+ flag_spain.png
+ spain_prom_games_3
+ 1000
+ national
+ highlight2
+
+
+
+ 1
+ 1
+
+
+ spain3c
+ 1
+ 1
+ 1
+
+
+ spain3c
+ 1
+ 2
+ 2
+
+
+ spain3c
+ 1
+ 3
+ 3
+
+
+ spain3c
+ 1
+ 4
+ 4
+
+
+
+
+
diff --git a/support_files/definitions/spain/cup_spain_prom_games_4.xml b/support_files/definitions/spain/cup_spain_prom_games_4.xml
new file mode 100644
index 00000000..fb2f99c9
--- /dev/null
+++ b/support_files/definitions/spain/cup_spain_prom_games_4.xml
@@ -0,0 +1,43 @@
+
+
+ Liguilla de ascenso IV
+ Lig. de asc. IV
+ flag_spain.png
+ spain_prom_games_4
+ 1000
+ national
+ highlight2
+
+
+
+ 1
+ 1
+
+
+ spain3d
+ 1
+ 1
+ 1
+
+
+ spain3d
+ 1
+ 2
+ 2
+
+
+ spain3d
+ 1
+ 3
+ 3
+
+
+ spain3d
+ 1
+ 4
+ 4
+
+
+
+
+
diff --git a/support_files/definitions/spain/cup_spain_rfef.xml b/support_files/definitions/spain/cup_spain_rfef.xml
new file mode 100644
index 00000000..0b9bff54
--- /dev/null
+++ b/support_files/definitions/spain/cup_spain_rfef.xml
@@ -0,0 +1,64 @@
+
+
+ Copa RFEF
+ Copa RFEF
+ flag_spain.png
+ spain_rfef
+ 36
+ 3
+ national
+
+
+
+
+
+ spain2
+ 4
+ 19
+ 22
+
+
+ spain3a
+ 15
+ 1
+ 15
+
+
+ spain3b
+ 15
+ 1
+ 15
+
+
+ spain3c
+ 15
+ 1
+ 15
+
+
+ spain3d
+ 15
+ 1
+ 15
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 1
+
+
+
diff --git a/support_files/definitions/spain/league_spain1.xml b/support_files/definitions/spain/league_spain1.xml
new file mode 100644
index 00000000..0c91d04c
--- /dev/null
+++ b/support_files/definitions/spain/league_spain1.xml
@@ -0,0 +1,86 @@
+
+
+
+ spain1
+ Primera División
+ 1ª Div.
+ flag_spain.png
+ 1
+ 1
+ 8000
+
+ 1
+
+
+
+ 18
+ 20
+ spain2
+ relegation
+
+
+
+
+
+ Alavés
+
+
+ At. Madrid
+
+
+ Athletic
+
+
+ Barcelona
+
+
+ Betis
+
+
+ Cádiz
+
+
+ Celta
+
+
+ Deportivo
+
+
+ Espanyol
+
+
+ Getafe
+
+
+ Málaga
+
+
+ Mallorca
+
+
+ Osasuna
+
+
+ R. Madrid
+
+
+ R. Sociedad
+
+
+ Racing
+
+
+ Sevilla
+
+
+ Valencia
+
+
+ Villarreal
+
+
+ Zaragoza
+
+
+
+
diff --git a/support_files/definitions/spain/league_spain2.xml b/support_files/definitions/spain/league_spain2.xml
new file mode 100644
index 00000000..f0e6b63b
--- /dev/null
+++ b/support_files/definitions/spain/league_spain2.xml
@@ -0,0 +1,101 @@
+
+
+
+ spain2
+ Segunda División
+ 2ª Div.
+ flag_spain.png
+ 1
+ 1
+ 7000
+
+ 2
+
+
+
+
+ 1
+ 3
+ spain1
+ promotion
+
+
+
+ 19
+ 22
+ spain3a spain3b spain3c spain3d
+ relegation
+
+
+
+
+
+
+ Albacete
+
+
+ Almería
+
+
+ Castellón
+
+
+ Ciudad Murcia
+
+
+ Eibar
+
+
+ Ejido
+
+
+ Elche
+
+
+ Gimnástic
+
+
+ Hércules
+
+
+ Levante
+
+
+ Lleida
+
+
+ Lorca
+
+
+ Málaga B
+
+
+ Murcia
+
+
+ Numancia
+
+
+ R. Ferrol
+
+
+ R. Madrid B
+
+
+ Recreativo
+
+
+ Sporting
+
+
+ Tenerife
+
+
+ Valladolid
+
+
+ Xerez
+
+
+
+
diff --git a/support_files/definitions/spain/league_spain3a.xml b/support_files/definitions/spain/league_spain3a.xml
new file mode 100644
index 00000000..50fa7eb7
--- /dev/null
+++ b/support_files/definitions/spain/league_spain3a.xml
@@ -0,0 +1,84 @@
+
+
+
+ spain3a
+ Segunda División B GI
+ 2ª Div. B GI
+ flag_spain.png
+ 1
+ 1
+ 6000
+
+ 3
+
+
+
+ spain2
+ spain_prom_games_1
+
+
+
+
+
+ Alcála de Henares
+
+
+ Alcorcón
+
+
+ At. Madrid B
+
+
+ Castillo
+
+
+ Celta B
+
+
+ Fuenlabrada
+
+
+ Lanzarote
+
+
+ Las Palmas
+
+
+ Leganés
+
+
+ Melilla
+
+
+ Móstoles
+
+
+ Negreira
+
+
+ Ourense
+
+
+ Pajara-Playas de Jandia
+
+
+ Pontevedra
+
+
+ Rayo Vallecano
+
+
+ San Isidro
+
+
+ San Sebastián de los Reyes
+
+
+ Universidad
+
+
+ Vecindario
+
+
+
+
diff --git a/support_files/definitions/spain/league_spain3b.xml b/support_files/definitions/spain/league_spain3b.xml
new file mode 100644
index 00000000..6b70c98b
--- /dev/null
+++ b/support_files/definitions/spain/league_spain3b.xml
@@ -0,0 +1,84 @@
+
+
+
+ spain3b
+ Segunda División B GII
+ 2ª Div. B GII
+ flag_spain.png
+ 1
+ 1
+ 6000
+
+ 3
+
+
+
+ spain2
+ spain_prom_games_2
+
+
+
+
+
+ Alavés B
+
+
+ Amurrio
+
+
+ Athletic B
+
+
+ Barakaldo
+
+
+ Burgos
+
+
+ C. Durango
+
+
+ C. Leonesa
+
+
+ Lemona
+
+
+ Luanco
+
+
+ Palencia
+
+
+ Ponferrada
+
+
+ Portugalete
+
+
+ R. Oviedo
+
+
+ R. Racing
+
+
+ R. Sociedad B
+
+
+ R. Unión
+
+
+ Salamanca
+
+
+ Valladolid B
+
+
+ Zalla
+
+
+ Zarnora
+
+
+
+
diff --git a/support_files/definitions/spain/league_spain3c.xml b/support_files/definitions/spain/league_spain3c.xml
new file mode 100644
index 00000000..da5de78d
--- /dev/null
+++ b/support_files/definitions/spain/league_spain3c.xml
@@ -0,0 +1,84 @@
+
+
+
+ spain3c
+ Segunda División B GIII
+ 2ª Div. B GIII
+ flag_spain.png
+ 1
+ 1
+ 6000
+
+ 3
+
+
+
+ spain2
+ spain_prom_games_3
+
+
+
+
+
+ Alcoyano
+
+
+ Alfaro
+
+
+ Alicante
+
+
+ Badalona
+
+
+ Barcelona B
+
+
+ Benidorm
+
+
+ Figueres
+
+
+ Gramanet
+
+
+ Huesca
+
+
+ L'Hospitalet
+
+
+ Levante B
+
+
+ Osasuna B
+
+
+ Peralt
+
+
+ R. Rioja
+
+
+ Reus
+
+
+ Sabadell
+
+
+ Sant Andreu
+
+
+ Terrassa
+
+
+ Villajoyosa
+
+
+ Zaragoza B
+
+
+
+
diff --git a/support_files/definitions/spain/league_spain3d.xml b/support_files/definitions/spain/league_spain3d.xml
new file mode 100644
index 00000000..60f3fb29
--- /dev/null
+++ b/support_files/definitions/spain/league_spain3d.xml
@@ -0,0 +1,84 @@
+
+
+
+ spain3d
+ Segunda División B GIV
+ 2ª Div. B GIV
+ flag_spain.png
+ 1
+ 1
+ 6000
+
+ 3
+
+
+
+ spain2
+ spain_prom_games_4
+
+
+
+
+
+ Águilas
+
+
+ Alcalá
+
+
+ Algeciras
+
+
+ Almansa
+
+
+ Badajoz
+
+
+ Baza
+
+
+ Cartagena
+
+
+ Ceuta
+
+
+ Conquense
+
+
+ Córdoba
+
+
+ Diter Zafra
+
+
+ Écija
+
+
+ Extremadura
+
+
+ Jaén
+
+
+ Linares
+
+
+ Marbella
+
+
+ Mérida
+
+
+ Sevilla B
+
+
+ Talavera
+
+
+ Villanueva
+
+
+
+
diff --git a/support_files/definitions/wales/cup_wales_cl.xml b/support_files/definitions/wales/cup_wales_cl.xml
index 7d39da38..d71b0fbc 100644
--- a/support_files/definitions/wales/cup_wales_cl.xml
+++ b/support_files/definitions/wales/cup_wales_cl.xml
@@ -91,7 +91,7 @@
- spain1_short
+ spain1
1
1
1
diff --git a/support_files/definitions/wales/cup_wales_uefa.xml b/support_files/definitions/wales/cup_wales_uefa.xml
index 4576b723..9ae9829f 100644
--- a/support_files/definitions/wales/cup_wales_uefa.xml
+++ b/support_files/definitions/wales/cup_wales_uefa.xml
@@ -27,7 +27,7 @@
england1 france1 germany1 greece1_short
italy1 netherlands1_short portugal1_short russia1_short
- scotland1 spain1_short switzerland1_short turkey1_short
+ scotland1 spain1 switzerland1_short turkey1_short
ukraine1_short belgium1 czech1_short
denmark1_short
31
diff --git a/support_files/pixmaps/symbols/flag_spain.png b/support_files/pixmaps/symbols/flag_spain.png
new file mode 100644
index 00000000..64a2434a
Binary files /dev/null and b/support_files/pixmaps/symbols/flag_spain.png differ