<?xml version="1.0" encoding="UTF-8"?>
<window>
	<controls>
		<include>fake-overlay</include>
		<control type="image"><!-- Solid background use as base to other background images -->
			<include>fullscreenimage</include>
			<texture>background.png</texture>
		</control>
		<control type="image"><!-- Custom background -->
			<include>fullscreenimage</include>
			<texture>$INFO[Skin.String(background-custom)]</texture>
			<aspectratio>stretch</aspectratio>
			<colordiffuse>$VAR[BackgndImageVisibity]</colordiffuse>
			<visible>!String.IsEmpty(Skin.String(background-custom))</visible>
		</control>
		<control type="image"><!-- Fanart background -->
			<include>fullscreenimage</include>
			<texture background="true">$VAR[NextAiredFanart]</texture>
			<aspectratio>scale</aspectratio>
			<colordiffuse>$VAR[BackgndImageVisibity]</colordiffuse>
			<visible>!String.IsEmpty(Window(home).Property(TVGuide.BackgroundFanart)) + !Skin.HasSetting(background-fanarts)</visible>
		</control>
		<include content="screen-name">
			<param name="screenlabel" value="$LOCALIZE[31956]"/>
			<param name="listitems" value="Window(home).Property(NextAired.Total)"/>
		</include>
		<control type="group"><!-- Monday -->
			<left>30</left>
			<top>105</top>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>150</width>
				<height>945</height>
				<texture border="3">epg-genres/0.png</texture>
				<colordiffuse>5FFFFFFF</colordiffuse>
			</control>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/0.png</texture>
				<colordiffuse>4FFFFFFF</colordiffuse>
			</control>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/112.png</texture>
				<colordiffuse>4FFFFFFF</colordiffuse>
				<visible>String.IsEqual(System.Date(ddd),$LOCALIZE[41])</visible>
			</control>
			<control type="label">
				<left>0</left>
				<top>0</top>
				<width>150</width>
				<height>45</height>
				<label>[B]$LOCALIZE[41][/B]</label>
				<align>right</align>
			</control>
			<control type="list" id="200">
				<include file="Includes_Addons.xml">NextAiredList</include>
				<onup>206</onup>
				<ondown>201</ondown>
				<itemlayout width="270">
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</itemlayout>
				<focusedlayout width="270">
					<control type="image">
						<left>-2</left>
						<top>0</top>
						<width>270</width>
						<height>135</height>
						<texture border="3">epg-genres/112.png</texture>
						<colordiffuse>9FFFFFFF</colordiffuse>
						<visible>Control.HasFocus(200)</visible>
					</control>
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</focusedlayout>
			</control>
		</control>
		<control type="group"><!-- Tuesday -->
			<left>30</left>
			<top>240</top>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/0.png</texture>
				<colordiffuse>AFFFFFFF</colordiffuse>
			</control>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/112.png</texture>
				<colordiffuse>4FFFFFFF</colordiffuse>
				<visible>String.IsEqual(System.Date(ddd),$LOCALIZE[42])</visible>
			</control>
			<control type="image">
				<left>14</left>
				<top>-3</top>
				<width>1228</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="label">
				<left>0</left>
				<top>0</top>
				<width>150</width>
				<height>45</height>
				<label>[B]$LOCALIZE[42][/B]</label>
				<align>right</align>
			</control>
			<control type="list" id="201">
				<include file="Includes_Addons.xml">NextAiredList</include>
				<onup>200</onup>
				<ondown>202</ondown>
				<itemlayout width="270">
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</itemlayout>
				<focusedlayout width="270">
					<control type="image">
						<left>-2</left>
						<top>0</top>
						<width>270</width>
						<height>135</height>
						<texture border="3">epg-genres/112.png</texture>
						<colordiffuse>9FFFFFFF</colordiffuse>
						<visible>Control.HasFocus(201)</visible>
					</control>
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</focusedlayout>
			</control>
		</control>
		<control type="group"><!-- Wednesday -->
			<left>30</left>
			<top>375</top>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/0.png</texture>
				<colordiffuse>4FFFFFFF</colordiffuse>
			</control>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/112.png</texture>
				<colordiffuse>4FFFFFFF</colordiffuse>
				<visible>String.IsEqual(System.Date(ddd),$LOCALIZE[43])</visible>
			</control>
			<control type="image">
				<left>14</left>
				<top>-3</top>
				<width>1228</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="label">
				<left>0</left>
				<top>0</top>
				<width>150</width>
				<height>45</height>
				<label>[B]$LOCALIZE[43][/B]</label>
				<align>right</align>
			</control>
			<control type="list" id="202">
				<include file="Includes_Addons.xml">NextAiredList</include>
				<onup>201</onup>
				<ondown>203</ondown>
				<itemlayout width="270">
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</itemlayout>
				<focusedlayout width="270">
					<control type="image">
						<left>-2</left>
						<top>0</top>
						<width>270</width>
						<height>135</height>
						<texture border="3">epg-genres/112.png</texture>
						<colordiffuse>9FFFFFFF</colordiffuse>
						<visible>Control.HasFocus(202)</visible>
					</control>
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</focusedlayout>
			</control>
		</control>
		<control type="group"><!-- Thursday -->
			<left>30</left>
			<top>510</top>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/0.png</texture>
				<colordiffuse>AFFFFFFF</colordiffuse>
			</control>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/112.png</texture>
				<colordiffuse>4FFFFFFF</colordiffuse>
				<visible>String.IsEqual(System.Date(ddd),$LOCALIZE[44])</visible>
			</control>
			<control type="image">
				<left>14</left>
				<top>-3</top>
				<width>1228</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="label">
				<left>0</left>
				<top>0</top>
				<width>150</width>
				<height>45</height>
				<label>[B]$LOCALIZE[44][/B]</label>
				<align>right</align>
			</control>
			<control type="list" id="203">
				<include file="Includes_Addons.xml">NextAiredList</include>
				<onup>202</onup>
				<ondown>204</ondown>
				<itemlayout width="270">
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</itemlayout>
				<focusedlayout width="270">
					<control type="image">
						<left>-2</left>
						<top>0</top>
						<width>270</width>
						<height>135</height>
						<texture border="3">epg-genres/112.png</texture>
						<colordiffuse>9FFFFFFF</colordiffuse>
						<visible>Control.HasFocus(203)</visible>
					</control>
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</focusedlayout>
			</control>
		</control>
		<control type="group"><!-- Friday -->
			<left>30</left>
			<top>645</top>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/0.png</texture>
				<colordiffuse>4FFFFFFF</colordiffuse>
			</control>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/112.png</texture>
				<colordiffuse>4FFFFFFF</colordiffuse>
				<visible>String.IsEqual(System.Date(ddd),$LOCALIZE[45])</visible>
			</control>
			<control type="image">
				<left>14</left>
				<top>-3</top>
				<width>1228</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="label">
				<left>0</left>
				<top>0</top>
				<width>150</width>
				<height>45</height>
				<label>[B]$LOCALIZE[45][/B]</label>
				<align>right</align>
			</control>
			<control type="list" id="204">
				<include file="Includes_Addons.xml">NextAiredList</include>
				<onup>203</onup>
				<ondown>205</ondown>
				<itemlayout width="255">
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</itemlayout>
				<focusedlayout width="270">
					<control type="image">
						<left>-2</left>
						<top>0</top>
						<width>270</width>
						<height>135</height>
						<texture border="3">epg-genres/112.png</texture>
						<colordiffuse>9FFFFFFF</colordiffuse>
						<visible>Control.HasFocus(204)</visible>
					</control>
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</focusedlayout>
			</control>
		</control>
		<control type="group"><!-- Saturday -->
			<left>30</left>
			<top>780</top>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/0.png</texture>
				<colordiffuse>AFFFFFFF</colordiffuse>
			</control>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/112.png</texture>
				<colordiffuse>4FFFFFFF</colordiffuse>
				<visible>String.IsEqual(System.Date(ddd),$LOCALIZE[46])</visible>
			</control>
			<control type="image">
				<left>14</left>
				<top>-3</top>
				<width>1228</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="label">
				<left>0</left>
				<top>0</top>
				<width>150</width>
				<height>45</height>
				<label>[B]$LOCALIZE[46][/B]</label>
				<align>right</align>
			</control>
			<control type="list" id="205">
				<include file="Includes_Addons.xml">NextAiredList</include>
				<onup>204</onup>
				<ondown>206</ondown>
				<itemlayout width="270">
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</itemlayout>
				<focusedlayout width="270">
					<control type="image">
						<left>-2</left>
						<top>0</top>
						<width>270</width>
						<height>135</height>
						<texture border="3">epg-genres/112.png</texture>
						<colordiffuse>9FFFFFFF</colordiffuse>
						<visible>Control.HasFocus(205)</visible>
					</control>
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</focusedlayout>
			</control>
		</control>
		<control type="group"><!-- Sunday -->
			<left>30</left>
			<top>915</top>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/0.png</texture>
				<colordiffuse>4FFFFFFF</colordiffuse>
			</control>
			<control type="image">
				<left>14</left>
				<top>0</top>
				<width>1230</width>
				<height>136</height>
				<texture border="3">epg-genres/112.png</texture>
				<colordiffuse>4FFFFFFF</colordiffuse>
				<visible>String.IsEqual(System.Date(ddd),$LOCALIZE[47])</visible>
			</control>
			<control type="image">
				<left>14</left>
				<top>-3</top>
				<width>1228</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="label">
				<left>0</left>
				<top>0</top>
				<width>150</width>
				<height>45</height>
				<label>[B]$LOCALIZE[47][/B]</label>
				<align>right</align>
			</control>
			<control type="list" id="206">
				<include file="Includes_Addons.xml">NextAiredList</include>
				<onup>205</onup>
				<ondown>200</ondown>
				<itemlayout width="270">
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</itemlayout>
				<focusedlayout width="270">
					<control type="image">
						<left>-2</left>
						<top>0</top>
						<width>270</width>
						<height>135</height>
						<texture border="3">epg-genres/112.png</texture>
						<colordiffuse>9FFFFFFF</colordiffuse>
						<visible>Control.HasFocus(206)</visible>
					</control>
					<include file="Includes_Addons.xml">NextAiredItems</include>
				</focusedlayout>
			</control>
		</control>
		<control type="group"><!-- Next Aired Episode description -->
			<left>1275</left>
			<top>172</top>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>705</width>
				<height>810</height>
				<texture border="3">epg-genres/0.png</texture>
				<colordiffuse>4F000000</colordiffuse>
			</control>
			<control type="image" id="7018"><!-- Next Aired Logo -->
				<left>114</left>
				<top>-38</top>
				<width>387</width>
				<height>150</height>
				<texture>$VAR[NextAiredImage3]</texture>
			</control>
			<control type="label"><!-- Next TVShow Title -->
				<left>0</left>
				<top>0</top>
				<width>615</width>
				<height>135</height>
				<label>$VAR[NextAiredLabel1]</label>
				<font>apptv30</font>
				<align>center</align>
				<wrapmultiline>true</wrapmultiline>
				<visible>String.IsEmpty(Control.GetLabel(7018))</visible>
			</control>
			<control type="image"><!-- Next Aired Poster -->
				<left>192</left>
				<top>142</top>
				<width>231</width>
				<height>330</height>
				<texture>$VAR[NextAiredImage1]</texture>
				<visible>String.IsEmpty(Window(home).Property(TVGuide.PreviewThumbs)) + [String.IsEqual(Window(home).Property(TVGuide.ThumbType),0) | String.IsEqual(Window(home).Property(TVGuide.ThumbType),2)]</visible>
			</control>
			<control type="image"><!-- Next Aired Banner -->
				<left>50</left>
				<top>210</top>
				<width>366</width>
				<height>68</height>
				<texture>$VAR[NextAiredImage5]</texture>
				<visible>String.IsEmpty(Window(home).Property(TVGuide.PreviewThumbs)) + String.IsEqual(Window(home).Property(TVGuide.ThumbType),1)</visible>
			</control>
			<control type="image"><!-- Next Aired Landscape Thumb -->
				<left>34</left>
				<top>150</top>
				<width>396</width>
				<height>255</height>
				<aspectratio>keep</aspectratio>
				<texture>$VAR[NextAiredImage2]</texture>
				<visible>!String.IsEmpty(Window(home).Property(TVGuide.PreviewThumbs))</visible>
			</control>
			<control type="label"><!-- Next Aired Episode Title -->
				<left>0</left>
				<top>495</top>
				<width>615</width>
				<height>135</height>
				<label>$VAR[NextAiredLabel2]</label>
				<align>center</align>
				<wrapmultiline>true</wrapmultiline>
			</control>
			<control type="label"><!-- Next Aired Run Time -->
				<left>0</left>
				<top>654</top>
				<width>615</width>
				<height>36</height>
				<label>$VAR[NextAiredLabel3]</label>
				<font>apptv23</font>
				<align>center</align>
				<wrapmultiline>true</wrapmultiline>
			</control>
			<control type="label"><!-- Next Aired Genre -->
				<left>0</left>
				<top>720</top>
				<width>615</width>
				<height>66</height>
				<label>$VAR[NextAiredLabel4]</label>
				<font>apptv22</font>
				<align>center</align>
				<wrapmultiline>true</wrapmultiline>
			</control>
			<control type="label"><!-- Next Aired Time and Date -->
				<left>0</left>
				<top>816</top>
				<width>615</width>
				<height>33</height>
				<label>$VAR[NextAiredLabel5]</label>
				<align>center</align>
				<wrapmultiline>true</wrapmultiline>
			</control>
		</control>
		<control type="button" id="8">
			<left>-15</left>
			<top>-15</top>
			<width>1</width>
			<height>1</height>
		</control>
	</controls>
</window>