<?xml version="1.0" encoding="UTF-8"?>
<window>
	<onload>SetProperty(Window.HasSettings,True,home)</onload>
	<onload>ClearProperty(MediaMenu,Home)</onload>
	<onunload>ClearProperty(Window.HasSettings,Home)</onunload>
	<controls>
		<include>CommonBackground</include>
		<control type="group">
			<left>0</left>
			<top>128</top>
			<include>Window_OpenClose_Animation</include>
			<include>SystemLeftPanel</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>-</pagecontrol>
				<scrolltime tween="quadratic">300</scrolltime>
				<itemlayout height="90" width="356">
					<control type="image">
						<top>30</top>
						<width>356</width>
						<height>60</height>
						<texture border="1">separator2.png</texture>
					</control>
					<control type="group">
						<visible>!StringCompare(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>$VAR[ThemeLabelColor]</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>$VAR[ThemeLabelColor]</selectedcolor>
							<align>right</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label2]</label>
						</control>
					</control>
					<control type="group">
						<visible>StringCompare(System.Date(ddd),ListItem.Property(day))</visible>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15_bold</font>
							<textoffsetx>20</textoffsetx>
							<textcolor>$VAR[ThemeLabelColor]</textcolor>
							<selectedcolor>$VAR[ThemeLabelColor]</selectedcolor>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15</font>
							<textoffsetx>20</textoffsetx>
							<textcolor>$VAR[ThemeLabelColor]</textcolor>
							<selectedcolor>$VAR[ThemeLabelColor]</selectedcolor>
							<align>right</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label2]</label>
						</control>
					</control>
				</itemlayout>
				<focusedlayout height="90" width="356">
					<control type="image">
						<top>30</top>
						<width>356</width>
						<height>60</height>
						<texture border="1">separator2.png</texture>
					</control>
					<control type="image">
						<left>0</left>
						<top>0</top>
						<width>356</width>
						<height>90</height>
						<texture colordiffuse="$VAR[HighlightBarColor]" border="4">listselect_fo.png</texture>
						<visible>Control.HasFocus(9000)</visible>
						<include>VisibleFadeEffect</include>
					</control>
					<control type="group">
						<visible>!StringCompare(System.Date(ddd),ListItem.Property(day))</visible>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15_bold</font>
							<textoffsetx>20</textoffsetx>
							<selectedcolor>$VAR[ThemeLabelColor]</selectedcolor>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15</font>
							<textoffsetx>20</textoffsetx>
							<selectedcolor>$VAR[ThemeLabelColor]</selectedcolor>
							<align>right</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label2]</label>
						</control>
					</control>
					<control type="group">
						<visible>StringCompare(System.Date(ddd),ListItem.Property(day))</visible>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15_bold</font>
							<textoffsetx>20</textoffsetx>
							<textcolor>$VAR[ThemeLabelColor]</textcolor>
							<selectedcolor>$VAR[ThemeLabelColor]</selectedcolor>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="label">
							<width>356</width>
							<height>90</height>
							<font>font15</font>
							<textoffsetx>20</textoffsetx>
							<textcolor>$VAR[ThemeLabelColor]</textcolor>
							<selectedcolor>$VAR[ThemeLabelColor]</selectedcolor>
							<align>right</align>
							<aligny>center</aligny>
							<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>-</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>-</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>-</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>-</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>-</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>-</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>-</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-nox-logo.png</texture>
			</control>
			<include>SystemRightPanel</include>
			<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 border="1">-</texturesliderbackground>
					<texturesliderbar border="6,0,6,0">scrollbar/texturesliderbar_hor.png</texturesliderbar>
					<texturesliderbarfocus border="6,0,6,0">scrollbar/texturesliderbarfocus_hor.png</texturesliderbarfocus>
					<textureslidernib>-</textureslidernib>
					<textureslidernibfocus>-</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>SettingsFadeEffect</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>SettingsFadeEffect</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>SettingsFadeEffect</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>SettingsFadeEffect</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>SettingsFadeEffect</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>SettingsFadeEffect</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>SettingsFadeEffect</include>
					<onright>206</onright>
					<include>TVNextAiredListCommonLayout</include>
				</control>
			</control>
		</control>
		<include>Topbar</include>
		<control type="group">
			<left>-440</left>
			<animation effect="slide" start="440,0" end="0,0" time="400" tween="quadratic" easing="out" condition="IsEmpty(Window(home).Property(MediaMenu))">Conditional</animation>
			<control type="image">
				<width>432</width>
				<height>1080</height>
				<texture border="40">mediamenu_back.png</texture>
			</control>
			<control type="button" id="8999">
				<description>Close Window button</description>
				<left>350</left>
				<top>0</top>
				<width>64</width>
				<height>48</height>
				<label></label>
				<font>CloseButton</font>
				<textcolor>grey</textcolor>
				<focusedcolor>$VAR[ThemeLabelColor]</focusedcolor>
				<onclick>ClearProperty(MediaMenu,Home)</onclick>
				<onclick>SetFocus(50)</onclick>
				<texturefocus>-</texturefocus>
				<texturenofocus>-</texturenofocus>
				<align>center</align>
				<aligny>center</aligny>
				<visible>system.getbool(input.enablemouse)</visible>
			</control>
			<control type="image">
				<description>LOGO</description>
				<left>0</left>
				<top>0</top>
				<width>400</width>
				<height>120</height>
				<aspectratio>keep</aspectratio>
				<texture>aeon-nox-logo.png</texture>
			</control>
			<control type="grouplist" id="9050">
				<left>0</left>
				<top>100</top>
				<width>400</width>
				<height>1080</height>
				<itemgap>0</itemgap>
				<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>$VAR[ThemeLabelColor]</textcolor>
					<aligny>center</aligny>
				</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>