<includes>

  <!-- TV Guide Layout -->
	<include name="TVGuideLayout">
		<itemlayout width="160" height="84">
			<control type="image">
				<description>Banner</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>160</width>
				<height>90</height>
				<aspectratio aligny="top" align="center">keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Art(banner))]</texture>
				<bordertexture border="4">dialogs/other/iconborder.png</bordertexture>
				<bordersize>4</bordersize>
			</control>
			<control type="label">
				<description>Episode Number</description>
				<posx>80</posx>
				<posy>29</posy>
				<width>150</width>
				<height>35</height>
				<label>$INFO[ListItem.Property(NextNumber),$LOCALIZE[20359] ]</label>
				<textcolor>77white</textcolor>
				<font>FontSize_16</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Next air date/time</description>
				<posx>80</posx>
				<posy>49</posy>
				<width>150</width>
				<height>35</height>
				<label>$INFO[ListItem.Property(NextDate)]$INFO[ListItem.Property(ShortTime), (,)]</label>
				<textcolor>77white</textcolor>
				<font>FontSize_16</font>
				<align>center</align>
			</control>
		</itemlayout>
		<focusedlayout width="160" height="84">
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>160</width>
				<height>80</height>
				<texture border="20">buttons/settings_fo.png</texture>
	      <include>VisibleFadeEffect2</include>
			</control>
			<control type="image">
				<description>Banner</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>160</width>
				<height>90</height>
				<aspectratio aligny="top" align="center">strecth</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Art(banner))]</texture>
				<bordertexture border="4">dialogs/other/iconborder.png</bordertexture>
				<bordersize>4</bordersize>
			</control>
			<control type="label">
				<description>Episode Number</description>
				<posx>80</posx>
				<posy>29</posy>
				<width>150</width>
				<height>35</height>
				<label>$INFO[ListItem.Property(NextNumber),$LOCALIZE[20359] ]</label>
				<textcolor>white</textcolor>
				<font>FontSize_16</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Next air date/time</description>
				<posx>80</posx>
				<posy>49</posy>
				<width>150</width>
				<height>35</height>
				<label>$INFO[ListItem.Property(NextDate)]$INFO[ListItem.Property(ShortTime), (,)]</label>
				<textcolor>white</textcolor>
				<font>FontSize_16</font>
				<align>center</align>
			</control>
		</focusedlayout>
	</include>


  <!-- TV Guide Art -->
	<variable name="TVGuidePreviewThumb">
		<value condition="Skin.String(PreviewThumb,1)">$VAR[TVGuideLandscape]</value>
		<value condition="Skin.String(PreviewThumb,2)">$VAR[TVGuideFanart]</value>
		<value condition="Skin.String(PreviewThumb,3)">$VAR[TVGuideLogo]</value>
	</variable>
	<variable name="TVGuideFanart">
    <value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(Fanart)]</value>
    <value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(Fanart)]</value>
    <value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(Fanart)]</value>
    <value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(Fanart)]</value>
    <value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(Fanart)]</value>
    <value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(Fanart)]</value>
    <value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(Fanart)]</value>
	</variable>
	<variable name="TVGuideLandscape">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(Art(landscape))]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(Art(landscape))]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(Art(landscape))]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(Art(landscape))]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(Art(landscape))]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(Art(landscape))]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(Art(landscape))]</value>
	</variable>
	<variable name="TVGuideLogo">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(Art(clearlogo))]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(Art(clearlogo))]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(Art(clearlogo))]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(Art(clearlogo))]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(Art(clearlogo))]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(Art(clearlogo))]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(Art(clearlogo))]</value>
	</variable>
	<variable name="TVGuideClearart">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(Art(clearart))]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(Art(clearart))]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(Art(clearart))]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(Art(clearart))]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(Art(clearart))]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(Art(clearart))]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(Art(clearart))]</value>
	</variable>
	<variable name="TVGuideStudio">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(Network),flags/studio/,.png]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(Network),flags/studio/,.png]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(Network),flags/studio/,.png]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(Network),flags/studio/,.png]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(Network),flags/studio/,.png]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(Network),flags/studio/,.png]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(Network),flags/studio/,.png]</value>
	</variable>
	

  <!-- TV Guide Labels -->	
	<variable name="NextAiredLabel">
    <value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Label]</value>
    <value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Label]</value>
    <value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Label]</value>
    <value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Label]</value>
    <value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Label]</value>
    <value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Label]</value>
    <value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Label]</value>	
	</variable>
	<variable name="NextAiredGenre">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(Genre)]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(Genre)]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(Genre)]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(Genre)]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(Genre)]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(Genre)]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(Genre)]</value>
	</variable>
	<variable name="NextAiredTitle">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(NextTitle)]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(NextTitle)]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(NextTitle)]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(NextTitle)]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(NextTitle)]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(NextTitle)]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(NextTitle)]</value>
	</variable>
	<variable name="NextAiredNumber">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(NextNumber)]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(NextNumber)]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(NextNumber)]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(NextNumber)]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(NextNumber)]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(NextNumber)]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(NextNumber)]</value>
	</variable>
	<variable name="NextAiredDay">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(AirDay)]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(AirDay)]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(AirDay)]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(AirDay)]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(AirDay)]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(AirDay)]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(AirDay)]</value>
	</variable>
	<variable name="NextAiredDate">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(NextDate)]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(NextDate)]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(NextDate)]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(NextDate)]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(NextDate)]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(NextDate)]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(NextDate)]</value>
	</variable>	
	<variable name="NextAiredShortTime">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(ShortTime)]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(ShortTime)]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(ShortTime)]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(ShortTime)]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(ShortTime)]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(ShortTime)]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(ShortTime)]</value>
	</variable>
	<variable name="NextAiredRunTime">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(RunTime),,$LOCALIZE[12391]]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(RunTime),,$LOCALIZE[12391]]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(RunTime),,$LOCALIZE[12391]]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(RunTime),,$LOCALIZE[12391]]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(RunTime),,$LOCALIZE[12391]]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(RunTime),,$LOCALIZE[12391]]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(RunTime),,$LOCALIZE[12391]]</value>
	</variable>
	<variable name="NextAiredStudio">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(Network)]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(Network)]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(Network)]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(Network)]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(Network)]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(Network)]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(Network)]</value>
	</variable>
	<variable name="TVGuideNumItems">
		<value condition="ControlGroup(2000).HasFocus(200)">$INFO[Container(200).ListItem.Property(NextDate)] $INFO[Container(200).NumItems,(, Shows)]</value>
		<value condition="ControlGroup(2000).HasFocus(201)">$INFO[Container(201).ListItem.Property(NextDate)] $INFO[Container(201).NumItems,(, Shows)]</value>
		<value condition="ControlGroup(2000).HasFocus(202)">$INFO[Container(202).ListItem.Property(NextDate)] $INFO[Container(202).NumItems,(, Shows)]</value>
		<value condition="ControlGroup(2000).HasFocus(203)">$INFO[Container(203).ListItem.Property(NextDate)] $INFO[Container(203).NumItems,(, Shows)]</value>
		<value condition="ControlGroup(2000).HasFocus(204)">$INFO[Container(204).ListItem.Property(NextDate)] $INFO[Container(204).NumItems,(, Shows)]</value>
		<value condition="ControlGroup(2000).HasFocus(205)">$INFO[Container(205).ListItem.Property(NextDate)] $INFO[Container(205).NumItems,(, Shows)]</value>
		<value condition="ControlGroup(2000).HasFocus(206)">$INFO[Container(206).ListItem.Property(NextDate)] $INFO[Container(206).NumItems,(, Shows)]</value>
	</variable>	


</includes>

				
				
				
