<?xml version="1.0" encoding="UTF-8"?>
<window>
	
	<onload>ClearProperty(MediaMenu,Home)</onload>
	
	
	<controls>
		<include>CommonBackground</include>
								<control type="image">
					<left>-30</left>
					<top>-30</top>
					<width>2040</width>
					<height>1277</height>
					<texture background="true">black.png</texture>
					<animation effect="fade" end="85" condition="true">Conditional</animation>
				</control>
		<control type="group">
			<top>128</top>
			<include>WindowOpenCloseAnimation</include>
			<control type="list" id="9000">
				<left>82</left>
				<top>32</top>
				<width>356</width>
				<height>720</height>
				<onleft>SetProperty(MediaMenu,True,home)</onleft>
				<onleft>8</onleft>
				<onright condition="Container(9000).HasFocus(1)">200</onright>
				<onright condition="Container(9000).HasFocus(2)">201</onright>
				<onright condition="Container(9000).HasFocus(3)">202</onright>
				<onright condition="Container(9000).HasFocus(4)">203</onright>
				<onright condition="Container(9000).HasFocus(5)">204</onright>
				<onright condition="Container(9000).HasFocus(6)">205</onright>
				<onright condition="Container(9000).HasFocus(7)">206</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
				<pagecontrol />
				<scrolltime tween="quadratic">300</scrolltime>
				<itemlayout height="90" width="356">
					<control type="group">
						<visible>!String.IsEqual(System.Date(ddd),ListItem.Property(day))</visible>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15_bold</font>
							<textoffsetx>20</textoffsetx>
							<textcolor>grey2</textcolor>
							<selectedcolor>selected</selectedcolor>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15</font>
							<textoffsetx>20</textoffsetx>
							<textcolor>grey2</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>right</align>
							<label>$INFO[ListItem.Label2]</label>
						</control>
					</control>
					<control type="group">
						<visible>String.IsEqual(System.Date(ddd),ListItem.Property(day))</visible>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15_bold</font>
							<textoffsetx>20</textoffsetx>
							<textcolor>selected</textcolor>
							<selectedcolor>selected</selectedcolor>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15</font>
							<textoffsetx>20</textoffsetx>
							<textcolor>selected</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>right</align>
							<label>$INFO[ListItem.Label2]</label>
						</control>
					</control>
				</itemlayout>
				<focusedlayout height="90" width="356">
					<control type="image">
						<width>356</width>
						<height>90</height>
						<texture border="4">listselect_fo.png</texture>
						<visible>Control.HasFocus(9000)</visible>
						<include>VisibleFadeAnimation</include>
					</control>
					<control type="group">
						<visible>!String.IsEqual(System.Date(ddd),ListItem.Property(day))</visible>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15_bold</font>
							<textoffsetx>20</textoffsetx>
							<selectedcolor>selected</selectedcolor>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15</font>
							<textoffsetx>20</textoffsetx>
							<selectedcolor>selected</selectedcolor>
							<align>right</align>
							<label>$INFO[ListItem.Label2]</label>
						</control>
					</control>
					<control type="group">
						<visible>String.IsEqual(System.Date(ddd),ListItem.Property(day))</visible>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15_bold</font>
							<textoffsetx>20</textoffsetx>
							<textcolor>selected</textcolor>
							<selectedcolor>selected</selectedcolor>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15</font>
							<textoffsetx>20</textoffsetx>
							<textcolor>selected</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>right</align>
							<label>$INFO[ListItem.Label2]</label>
						</control>
					</control>
				</focusedlayout>
				<content>
					<item id="1">
						<label>$INFO[Container(200).NumItems,$LOCALIZE[41] (,)]</label>
						<label2>$INFO[Window(Home).Property(NextAired.1.Date)]</label2>
						<property name="day">$LOCALIZE[41]</property>
						<onclick>noop</onclick>
						<icon />
					</item>
					<item id="2">
						<label>$INFO[Container(201).NumItems,$LOCALIZE[42] (,)]</label>
						<label2>$INFO[Window(Home).Property(NextAired.2.Date)]</label2>
						<property name="day">$LOCALIZE[42]</property>
						<onclick>noop</onclick>
						<icon />
					</item>
					<item id="3">
						<label>$INFO[Container(202).NumItems,$LOCALIZE[43] (,)]</label>
						<label2>$INFO[Window(Home).Property(NextAired.3.Date)]</label2>
						<property name="day">$LOCALIZE[43]</property>
						<onclick>noop</onclick>
						<icon />
					</item>
					<item id="4">
						<label>$INFO[Container(203).NumItems,$LOCALIZE[44] (,)]</label>
						<label2>$INFO[Window(Home).Property(NextAired.4.Date)]</label2>
						<property name="day">$LOCALIZE[44]</property>
						<onclick>noop</onclick>
						<icon />
					</item>
					<item id="5">
						<label>$INFO[Container(204).NumItems,$LOCALIZE[45] (,)]</label>
						<label2>$INFO[Window(Home).Property(NextAired.5.Date)]</label2>
						<property name="day">$LOCALIZE[45]</property>
						<onclick>noop</onclick>
						<icon />
					</item>
					<item id="6">
						<label>$INFO[Container(205).NumItems,$LOCALIZE[46] (,)]</label>
						<label2>$INFO[Window(Home).Property(NextAired.6.Date)]</label2>
						<property name="day">$LOCALIZE[46]</property>
						<onclick>noop</onclick>
						<icon />
					</item>
					<item id="7">
						<label>$INFO[Container(206).NumItems,$LOCALIZE[47] (,)]</label>
						<label2>$INFO[Window(Home).Property(NextAired.7.Date)]</label2>
						<property name="day">$LOCALIZE[47]</property>
						<onclick>noop</onclick>
						<icon />
					</item>
				</content>
			</control>
			<control type="image">
				<description>LOGO</description>
				<left>82</left>
				<top>752</top>
				<width>356</width>
				<height>120</height>
				<aspectratio>keep</aspectratio>
				<texture>aeon-tajo.png</texture>
			</control>
			<control type="group" id="9001">
				<control type="scrollbar" id="60">
					<left>522</left>
					<top>18</top>
					<width>1316</width>
					<height>12</height>
					<onup>9001</onup>
					<ondown condition="Container(9000).HasFocus(1)">200</ondown>
					<ondown condition="Container(9000).HasFocus(2)">201</ondown>
					<ondown condition="Container(9000).HasFocus(3)">202</ondown>
					<ondown condition="Container(9000).HasFocus(4)">203</ondown>
					<ondown condition="Container(9000).HasFocus(5)">204</ondown>
					<ondown condition="Container(9000).HasFocus(6)">205</ondown>
					<ondown condition="Container(9000).HasFocus(7)">206</ondown>
					<onleft>9000</onleft>
					<texturesliderbackground />
					<texturesliderbar border="6,0,6,0">scrollbar/texturesliderbar_hor.png</texturesliderbar>
					<texturesliderbarfocus border="6,0,6,0">scrollbar/texturesliderbarfocus_hor.png</texturesliderbarfocus>
					<textureslidernib />
					<textureslidernibfocus />
					<showonepage>false</showonepage>
					<orientation>horizontal</orientation>
					<animation effect="fade" start="100" end="0" time="500" delay="500" condition="!Control.HasFocus(60) + !Container.Scrolling">Conditional</animation>
				</control>
				<control type="panel" id="200">
					<visible allowhiddenfocus="true">[Control.HasFocus(9000) + Container(9000).HasFocus(1)] | Control.HasFocus(200) | [Container(9000).HasFocus(1) + Control.HasFocus(60)]</visible>
					<include>SettingsFadeAnimation</include>
					<onright>200</onright>
					<include>TVNextAiredListCommonLayout</include>
				</control>
				<control type="panel" id="201">
					<visible allowhiddenfocus="true">[Control.HasFocus(9000) + Container(9000).HasFocus(2)] | Control.HasFocus(201) | [Container(9000).HasFocus(2) + Control.HasFocus(60)]</visible>
					<include>SettingsFadeAnimation</include>
					<onright>201</onright>
					<include>TVNextAiredListCommonLayout</include>
				</control>
				<control type="panel" id="202">
					<visible allowhiddenfocus="true">[Control.HasFocus(9000) + Container(9000).HasFocus(3)] | Control.HasFocus(202) | [Container(9000).HasFocus(3) + Control.HasFocus(60)]</visible>
					<include>SettingsFadeAnimation</include>
					<onright>202</onright>
					<include>TVNextAiredListCommonLayout</include>
				</control>
				<control type="panel" id="203">
					<visible allowhiddenfocus="true">[Control.HasFocus(9000) + Container(9000).HasFocus(4)] | Control.HasFocus(203) | [Container(9000).HasFocus(4) + Control.HasFocus(60)]</visible>
					<include>SettingsFadeAnimation</include>
					<onright>203</onright>
					<include>TVNextAiredListCommonLayout</include>
				</control>
				<control type="panel" id="204">
					<visible allowhiddenfocus="true">[Control.HasFocus(9000) + Container(9000).HasFocus(5)] | Control.HasFocus(204) | [Container(9000).HasFocus(5) + Control.HasFocus(60)]</visible>
					<include>SettingsFadeAnimation</include>
					<onright>204</onright>
					<include>TVNextAiredListCommonLayout</include>
				</control>
				<control type="panel" id="205">
					<visible allowhiddenfocus="true">[Control.HasFocus(9000) + Container(9000).HasFocus(6)] | Control.HasFocus(205) | [Container(9000).HasFocus(6) + Control.HasFocus(60)]</visible>
					<include>SettingsFadeAnimation</include>
					<onright>205</onright>
					<include>TVNextAiredListCommonLayout</include>
				</control>
				<control type="panel" id="206">
					<visible allowhiddenfocus="true">[Control.HasFocus(9000) + Container(9000).HasFocus(7)] | Control.HasFocus(206) | [Container(9000).HasFocus(7) + Control.HasFocus(60)]</visible>
					<include>SettingsFadeAnimation</include>
					<onright>206</onright>
					<include>TVNextAiredListCommonLayout</include>
				</control>
			</control>
		</control>
		
		<control type="group">
			<left>-440</left>
			<animation effect="slide" start="440,0" end="0,0" time="400" tween="quadratic" easing="out" condition="String.IsEmpty(Window(home).Property(MediaMenu))">Conditional</animation>
			<control type="button" id="8999">
				<description>Close Window button</description>
				<left>350</left>
				<width>64</width>
				<height>48</height>
				<label></label>
				<font>CloseButton</font>
				<textcolor>grey</textcolor>
				<focusedcolor>themecolor</focusedcolor>
				<onclick>ClearProperty(MediaMenu,Home)</onclick>
				<onclick>SetFocus(50)</onclick>
				<texturefocus />
				<texturenofocus />
				<align>center</align>
				<visible>system.getbool(input.enablemouse)</visible>
			</control>
			<control type="image">
				<description>LOGO</description>
				<width>400</width>
				<height>120</height>
				<aspectratio>keep</aspectratio>
				<texture>aeon-tajo.png</texture>
			</control>
			<control type="grouplist" id="9050">
				<top>100</top>
				<width>400</width>
				<height>1080</height>
				<control type="label" id="20001">
					<width>400</width>
					<height>52</height>
					<textoffsetx>15</textoffsetx>
					<font>font13_title</font>
					<label>$INFO[System.AddonTitle(script.tv.show.next.aired)]</label>
					<textcolor>themecolor</textcolor>
				</control>
				<control type="button" id="8">
					<description>Settings</description>
					<textwidth>352</textwidth>
					<onright>ClearProperty(MediaMenu,Home)</onright>
					<onup>8</onup>
					<ondown>8</ondown>
					<onback>ClearProperty(MediaMenu,Home)</onback>
					<onback>2000</onback>
					<include>ButtonCommonValues</include>
					<label>5</label>
					<onright>2000</onright>
				</control>
			</control>
		</control>
	</controls>
</window>