<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window type="window">
	<depth>0.52</depth>
	<animation type="WindowOpen" reversible="false">
		<effect type="zoom" start="80" end="100" center="960,540" delay="160" tween="back" time="240" />
		<effect type="fade" delay="160" end="100" time="240" />
	</animation>
	<animation type="WindowClose" reversible="false">
		<effect type="zoom" start="100" end="80" center="960,540" easing="in" tween="back" time="240" />
		<effect type="fade" start="100" end="0" time="240" />
	</animation>
	<defaultcontrol always="true">32503</defaultcontrol>
	<controls>
		<control type="group">
			<left>60</left>
			<top>10</top>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>1158</width>
				<height>683</height>
				<texture border="2">dialog-bg-solid.png</texture>
			</control>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>1158</width>
				<height>70</height>
				<texture colordiffuse="FF12B2E7" border="2">white70.png</texture>
			</control>
			<control type="label" id="32500">
				<textoffsetx>70</textoffsetx>
				<left>-30</left>
				<top>0</top>
				<width>969</width>
				<height>70</height>
				<font>font20_title</font>
				<label>Match Center - Match History</label>
				<align>left</align>
				<aligny>center</aligny>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="button">
				<left>-1920</left>
				<top>-1080</top>
				<width>5760</width>
				<height>3240</height>
				<texturefocus>-</texturefocus>
				<texturenofocus>-</texturenofocus>
				<onclick>Action(close)</onclick>
			</control>
			<control type="button">
				<description>button overlay to avoid closing in dialog area</description>
				<left>0</left>
				<top>0</top>
				<width>969</width>
				<height>283</height>
				<texturefocus>-</texturefocus>
				<texturenofocus>-</texturenofocus>
				<onclick>noop</onclick>
			</control>
			<control type="radiobutton" id="32504">
				<left>1139</left>
				<top>11</top>
				<width>48</width>
				<height>48</height>
				<radiowidth>48</radiowidth>
				<radioheight>48</radioheight>
				<texturefocus>-</texturefocus>
				<texturenofocus>-</texturenofocus>
				<label></label>
				<onup>32503</onup>
				<ondown>32503</ondown>
				<animation effect="slide" end="-70,0" time="0" condition="true">Conditional</animation>
				<textureradioofffocus colordiffuse="EEFFFFFF">close.png</textureradioofffocus>
				<textureradiooffnofocus colordiffuse="EEFFFFFF">logo.png</textureradiooffnofocus>
				<textureradioonfocus colordiffuse="EEFFFFFF">close.png</textureradioonfocus>
				<textureradioonnofocus colordiffuse="EEFFFFFF">logo.png</textureradioonnofocus>
				<onclick>Action(close)</onclick>
			</control>
		</control>
		<control type="group">
			<visible>!IsEmpty(Window(home).Property(has_history))+IsEmpty(Window(home).Property(loading-script-matchcenter-history))</visible>
			<control type="label">
				<description>Next Matches</description>
				<posx>75</posx>
				<posy>85</posy>
				<width>200</width>
				<height>35</height>
				<label>$ADDON[script.matchcenter 32043]</label>
				<font>font16</font>
				<align>left</align>
				<textcolor>selected</textcolor>
				<shadowcolor>AA000000</shadowcolor>
			</control>
			<control type="label">
				<description>Latest Matches:</description>
				<posx>650</posx>
				<posy>85</posy>
				<width>200</width>
				<height>35</height>
				<label>$ADDON[script.matchcenter 32044]</label>
				<font>font16</font>
				<align>left</align>
				<textcolor>selected</textcolor>
				<shadowcolor>AA000000</shadowcolor>
			</control>
			<control type="panel" id="32502">
				<left>65</left>
				<top>125</top>
				<width>575</width>
				<height>570</height>
				<onup>32504</onup>
				<ondown>32502</ondown>
				<onleft>32503</onleft>
				<onright>32503</onright>
				<scrolltime>200</scrolltime>
				<itemlayout height="114" width="578">
					<control type="image">
						<left>-25</left>
						<top>-20</top>
						<width>1177</width>
						<height>150</height>
						<texture border="40">button-nofo.png</texture>
					</control>
					<control type="image">
						<description>Home Team Badge</description>
						<left>15</left>
						<top>5</top>
						<width>100</width>
						<height>100</height>
						<texture>$INFO[ListItem.Property(hometeambadge)]</texture>
						<include>VisibleFadeEffect</include>
					</control>
					<control type="label">
						<description>Home Team Name</description>
						<posx>120</posx>
						<posy>45</posy>
						<width>140</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(hometeamname)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>grey</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Competition</description>
						<posx>135</posx>
						<posy>10</posy>
						<width>300</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(competitionandround)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>selected</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>VS</description>
						<posx>270</posx>
						<posy>40</posy>
						<width>40</width>
						<height>35</height>
						<label>[B]VS[/B]</label>
						<font>font14</font>
						<align>left</align>
						<textcolor>white</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Date</description>
						<posx>175</posx>
						<posy>80</posy>
						<width>230</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(date)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>selected</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Away Team Name</description>
						<posx>315</posx>
						<posy>45</posy>
						<width>140</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(awayteamname)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>grey</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="image">
						<description>Away Team Badge</description>
						<left>465</left>
						<top>5</top>
						<width>100</width>
						<height>100</height>
						<texture>$INFO[ListItem.Property(awayteambadge)]</texture>
						<include>VisibleFadeEffect</include>
					</control>
				</itemlayout>
				<focusedlayout height="114" width="578">
					<control type="image">
						<left>-25</left>
						<top>-20</top>
						<width>1177</width>
						<height>150</height>
						<texture border="40">button-nofo.png</texture>
					</control>
					<control type="image">
						<left>-20</left>
						<top>-20</top>
						<width>616</width>
						<height>150</height>
						<texture border="40" colordiffuse="FF12B2E7">button-fo.png</texture>
						<animation effect="fade" start="100" end="0" time="0">Unfocus</animation>
					</control>
					<control type="image">
						<description>Home Team Badge</description>
						<left>15</left>
						<top>5</top>
						<width>100</width>
						<height>100</height>
						<texture>$INFO[ListItem.Property(hometeambadge)]</texture>
						<include>VisibleFadeEffect</include>
					</control>
					<control type="label">
						<description>Home Team Name</description>
						<posx>120</posx>
						<posy>45</posy>
						<width>140</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(hometeamname)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>white</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Competition</description>
						<posx>135</posx>
						<posy>10</posy>
						<width>300</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(competitionandround)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>selected</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>VS</description>
						<posx>270</posx>
						<posy>40</posy>
						<width>40</width>
						<height>35</height>
						<label>[B]VS[/B]</label>
						<font>font14</font>
						<align>left</align>
						<textcolor>white</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Date</description>
						<posx>175</posx>
						<posy>80</posy>
						<width>230</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(date)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>selected</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Away Team Name</description>
						<posx>315</posx>
						<posy>45</posy>
						<width>140</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(awayteamname)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>white</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="image">
						<description>Away Team Badge</description>
						<left>465</left>
						<top>5</top>
						<width>100</width>
						<height>100</height>
						<texture>$INFO[ListItem.Property(awayteambadge)]</texture>
						<include>VisibleFadeEffect</include>
					</control>
				</focusedlayout>
			</control>
			<control type="panel" id="32503">
				<left>640</left>
				<top>125</top>
				<width>575</width>
				<height>570</height>
				<onup>32504</onup>
				<ondown>32503</ondown>
				<onleft>32502</onleft>
				<onright>32502</onright>
				<scrolltime>200</scrolltime>
				<itemlayout height="114" width="578">
					<control type="image">
						<left>-25</left>
						<top>-20</top>
						<width>1177</width>
						<height>150</height>
						<texture border="40">button-nofo.png</texture>
					</control>
					<control type="image">
						<description>Home Team Badge</description>
						<left>15</left>
						<top>5</top>
						<width>100</width>
						<height>100</height>
						<texture>$INFO[ListItem.Property(hometeambadge)]</texture>
						<include>VisibleFadeEffect</include>
					</control>
					<control type="label">
						<description>Home Team Name</description>
						<posx>120</posx>
						<posy>45</posy>
						<width>140</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(hometeamname)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>grey</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Competition</description>
						<posx>135</posx>
						<posy>10</posy>
						<width>300</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(competitionandround)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>selected</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>result</description>
						<posx>270</posx>
						<posy>40</posy>
						<width>40</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(result)]</label>
						<font>font14</font>
						<align>left</align>
						<textcolor>white</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Date</description>
						<posx>175</posx>
						<posy>80</posy>
						<width>230</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(date)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>selected</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Away Team Name</description>
						<posx>315</posx>
						<posy>45</posy>
						<width>140</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(awayteamname)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>grey</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="image">
						<description>Away Team Badge</description>
						<left>465</left>
						<top>5</top>
						<width>100</width>
						<height>100</height>
						<texture>$INFO[ListItem.Property(awayteambadge)]</texture>
						<include>VisibleFadeEffect</include>
					</control>
				</itemlayout>
				<focusedlayout height="114" width="578">
					<control type="image">
						<left>-25</left>
						<top>-20</top>
						<width>1177</width>
						<height>150</height>
						<texture border="40">button-nofo.png</texture>
					</control>
					<control type="image">
						<left>-20</left>
						<top>-20</top>
						<width>616</width>
						<height>150</height>
						<texture border="40" colordiffuse="FF12B2E7">button-fo.png</texture>
						<animation effect="fade" start="100" end="0" time="0">Unfocus</animation>
					</control>
					<control type="image">
						<description>Home Team Badge</description>
						<left>15</left>
						<top>5</top>
						<width>100</width>
						<height>100</height>
						<texture>$INFO[ListItem.Property(hometeambadge)]</texture>
						<include>VisibleFadeEffect</include>
					</control>
					<control type="label">
						<description>Home Team Name</description>
						<posx>120</posx>
						<posy>45</posy>
						<width>140</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(hometeamname)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>white</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Competition</description>
						<posx>135</posx>
						<posy>10</posy>
						<width>300</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(competitionandround)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>selected</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>result</description>
						<posx>270</posx>
						<posy>40</posy>
						<width>40</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(result)]</label>
						<font>font14</font>
						<align>left</align>
						<textcolor>white</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Date</description>
						<posx>175</posx>
						<posy>80</posy>
						<width>230</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(date)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>selected</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="label">
						<description>Away Team Name</description>
						<posx>315</posx>
						<posy>45</posy>
						<width>140</width>
						<height>35</height>
						<label>$INFO[ListItem.Property(awayteamname)]</label>
						<font>font12</font>
						<align>center</align>
						<textcolor>white</textcolor>
						<shadowcolor>AA000000</shadowcolor>
					</control>
					<control type="image">
						<description>Away Team Badge</description>
						<left>465</left>
						<top>5</top>
						<width>100</width>
						<height>100</height>
						<texture>$INFO[ListItem.Property(awayteambadge)]</texture>
						<include>VisibleFadeEffect</include>
					</control>
				</focusedlayout>
			</control>
		</control>
		<!--Busy control-->
		<control type="image" id="32540">
			<description>Busy animation</description>
			<posx>450</posx>
			<posy>310</posy>
			<width>120</width>
			<height>120</height>
			<texture></texture>
			<aspectratio>keep</aspectratio>
			<animation effect="rotate" start="0" end="360" center="510,370" time="1200" loop="true" condition="true">conditional</animation>
			<visible>!IsEmpty(Window(home).Property(loading-script-matchcenter-history))</visible>
		</control>
		<control type="label">
			<top>330</top>
			<left>400</left>
			<width>650</width>
			<height>90</height>
			<font>font35_title</font>
			<textcolor>FFF0F0F0</textcolor>
			<aligny>center</aligny>
			<align>center</align>
			<label>$ADDON[script.matchcenter 32016]</label>
			<visible>!IsEmpty(Window(home).Property(loading-script-matchcenter-history))</visible>
		</control>
	</controls>
</window>
