<window>
  <backgroundcolor>0</backgroundcolor>
	<onload>ClearProperty(TVGuide.MondayList,Home)</onload>
	<onload>ClearProperty(TVGuide.TuesdayList,Home)</onload>
	<onload>ClearProperty(TVGuide.WednesdayList,Home)</onload>
	<onload>ClearProperty(TVGuide.ThursdayList,Home)</onload>
	<onload>ClearProperty(TVGuide.FridayList,Home)</onload>
	<onload>ClearProperty(TVGuide.SaturdayList,Home)</onload>
	<onload>ClearProperty(TVGuide.SundayList,Home)</onload>
	<onload condition="IsEmpty(Skin.String(PreviewThumb))">Skin.SetString(PreviewThumb,1)</onload>
	<controls>
	 <include>BackgroundItems</include>

	 <control type="group">
	  <include>Window_OpenClose_Animation</include>
    <animation type="Conditional" reversible="true" condition="Window.IsActive(ShutdownMenu) | Window.IsActive(addonsettings)">
      <effect type="fade" start="100" end="0" time="300" tween="cubic" easing="inout" />
      <effect type="slide" start="0,0" end="0,35" time="350" tween="cubic" easing="inout" />
    </animation>

		<control type="group">
			<include>FullscreenDimensions</include>
	    <include>Window_OpenClose_Animation</include>
		  <animation type="Conditional" reversible="false" condition="!ControlGroup(9000).HasFocus">
	      <effect type="fade" start="0" end="100" time="200" tween="sine" easing="inout"  />
	      <effect type="slide" start="0,55" end="0,0" time="250" tween="cubic" easing="inout" />
		  </animation>
		  <animation type="Conditional" reversible="false" condition="ControlGroup(9000).HasFocus">
	      <effect type="fade" start="100" end="0" time="200" tween="sine" easing="inout" />
	      <effect type="slide" start="0,0" end="0,55" time="250" tween="cubic" easing="inout" />
		  </animation>
			<control type="image">
				<description>background image</description>
				<texture background="true">windows/tvguide/bg.png</texture>
			  <visible>!Skin.HasSetting(HideExtraInfo)</visible>
			</control>
			<control type="image">
				<description>background image</description>
				<texture background="true">windows/tvguide/bg2.png</texture>
			  <visible>Skin.HasSetting(HideExtraInfo)</visible>
			</control>
		</control>

		<control type="group">
			<description>Extra Info</description>
			<posx>62</posx>
			<posy>128</posy>
	    <include>Window_OpenClose_Animation</include>
		  <visible>!Skin.HasSetting(HideExtraInfo)</visible>
		  <animation type="Conditional" reversible="false" condition="!ControlGroup(9000).HasFocus">
	      <effect type="fade" start="0" end="100" time="200" tween="cubic" easing="in"  />
	      <effect type="slide" start="0,55" end="0,0" time="250" tween="cubic" easing="out" />
		  </animation>
		  <animation type="Conditional" reversible="false" condition="ControlGroup(9000).HasFocus">
	      <effect type="fade" start="100" end="0" time="200" tween="cubic" easing="out" />
	      <effect type="slide" start="0,0" end="0,55" time="250" tween="cubic" easing="out" />
		  </animation>
			<!-- Preview Thumbs -->
			<control type="image">
				<description>Preview Thumb</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>315</width>
				<height>175</height>
				<aspectratio aligny="center" align="center">strecth</aspectratio>
				<texture background="true" fallback="thumbs/fallback_fanart_tp.png">$VAR[TVGuidePreviewThumb]</texture>
				<bordertexture border="10">dialogs/other/iconborder_black.png</bordertexture>
				<bordersize>7</bordersize>
        <fadetime>200</fadetime>
				<visible>!Stringcompare(Skin.String(PreviewThumb),3)</visible>
			</control>
			<control type="image">
				<description>Preview Thumb</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>315</width>
				<height>175</height>
				<aspectratio aligny="center" align="center">strecth</aspectratio>
				<texture background="true" border="10">dialogs/other/iconborder_black.png</texture>
				<visible>Stringcompare(Skin.String(PreviewThumb),3)</visible>
        <fadetime>200</fadetime>
			</control>
			<control type="image">
				<description>Preview Thumb</description>
				<posx>12</posx>
				<posy>35</posy>
				<width>291</width>
				<height>113</height>
				<aspectratio aligny="center" align="center">keep</aspectratio>
				<texture background="true" fallback="thumbs/fallback_fanart_tp.png">$VAR[TVGuidePreviewThumb]</texture>
				<visible>Stringcompare(Skin.String(PreviewThumb),3)</visible>
        <fadetime>200</fadetime>
			</control>
			<control type="image">
				<description>Studio Border</description>
				<posx>1020</posx>
				<posy>0</posy>
				<width>134</width>
				<height>80</height>
				<aspectratio aligny="center" align="center">strecth</aspectratio>
				<texture background="true" border="10">dialogs/other/iconborder_black.png</texture>
        <fadetime>100</fadetime>
				<visible>!Stringcompare(Skin.String(PreviewThumb),2)</visible>
			</control>
			<control type="image">
				<description>Studio</description>
				<posx>1020</posx>
				<posy>0</posy>
				<width>134</width>
				<height>80</height>
				<aspectratio aligny="center" align="center">strecth</aspectratio>
				<texture background="true" fallback="flags/studio/fallbackstudio.png" border="6">$VAR[TVGuideStudio]</texture>
				<colordiffuse>77ffffff</colordiffuse>
        <fadetime>100</fadetime>
				<visible>!Stringcompare(Skin.String(PreviewThumb),2)</visible>
			</control>
			
			<!-- Extra Info Labels -->
			<control type="label">
				<posx>325</posx>
				<posy>5</posy>
				<width>650</width>
				<height>35</height>
				<label>$VAR[NextAiredLabel]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>FontSize_36</font>
				<textcolor>white</textcolor>
        <include>VisibleFadeEffect2</include>
			</control>
			<control type="label">
				<posx>327</posx>
				<posy>35</posy>
				<width>650</width>
				<height>35</height>
				<label>$VAR[NextAiredGenre]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>FontSize_20</font>
				<textcolor>77white</textcolor>
        <include>VisibleFadeEffect2</include>
			</control>
			<control type="grouplist">
					<posx>327</posx>
					<posy>90</posy>
					<width>650</width>
	        <height>35</height>
				  <orientation>horizontal</orientation>
				<control type="label">
					<width min="10" max="650">auto</width>
					<height>35</height>
					<label>$LOCALIZE[209] $LOCALIZE[20359]:</label>
					<font>FontSize_18B</font>
				  <textcolor>77white</textcolor>
				</control>
				<control type="label">
					<width min="10" max="500">auto</width>
					<height>35</height>
				  <label fallback="195">$VAR[NextAiredNumber,,. ]$VAR[NextAiredTitle]</label>
					<font>FontSize_18</font>
				  <textcolor>77white</textcolor>
				  <scroll>false</scroll>
				</control>
			</control>
			<control type="grouplist">
					<posx>327</posx>
					<posy>115</posy>
					<width>650</width>
	        <height>35</height>
				  <orientation>horizontal</orientation>
				<control type="label">
					<width min="10" max="650">auto</width>
					<height>35</height>
					<label>$LOCALIZE[31214]:</label>
					<font>FontSize_18B</font>
				  <textcolor>77white</textcolor>
				</control>
				<control type="label">
					<width min="10" max="650">auto</width>
					<height>35</height>
				  <label fallback="195">$VAR[NextAiredDate]$VAR[NextAiredDay,  ]$VAR[NextAiredShortTime, at ]</label>
					<font>FontSize_18</font>
				  <textcolor>77white</textcolor>
				  <scroll>false</scroll>
				  <visible>!Stringcompare(Skin.String(PreviewThumb),2)</visible>
				</control>
				<control type="label">
					<width min="10" max="650">auto</width>
					<height>35</height>
				  <label fallback="195">$VAR[NextAiredDate]$VAR[NextAiredDay,  ]$VAR[NextAiredShortTime, at ]$VAR[NextAiredStudio, on ]</label>
					<font>FontSize_18</font>
				  <textcolor>77white</textcolor>
				  <scroll>false</scroll>
				  <visible>Stringcompare(Skin.String(PreviewThumb),2)</visible>
				</control>
			</control>
			<control type="grouplist">
					<posx>327</posx>
					<posy>140</posy>
					<width>650</width>
	        <height>35</height>
				  <orientation>horizontal</orientation>
				<control type="label">
					<width min="10" max="650">auto</width>
					<height>35</height>
					<label>$LOCALIZE[2050]:</label>
					<font>FontSize_18B</font>
				  <textcolor>77white</textcolor>
				</control>
				<control type="label">
					<width min="10" max="650">auto</width>
					<height>35</height>
				  <label fallback="195">$VAR[NextAiredRunTime]</label>
					<font>FontSize_18</font>
				  <textcolor>77white</textcolor>
				  <scroll>false</scroll>
				</control>
			</control>
			<!-- ClearArt -->
			<control type="image">
				<description>clearart</description>
				<posx>902</posx>
				<posy>45</posy>
				<width>250</width>
				<height>140</height>
				<aspectratio aligny="center" align="right">strecth</aspectratio>
				<texture background="true">$VAR[TVGuideClearart]</texture>
        <fadetime>100</fadetime>
				<colordiffuse>ddffffff</colordiffuse>
				<visible>Stringcompare(Skin.String(PreviewThumb),2)</visible>
			</control>
		</control>


		<control type="group">
			<include>Window_OpenClose_Animation</include>
		  <animation type="Conditional" reversible="false" condition="!ControlGroup(9000).HasFocus">
	      <effect type="slide" start="0,55" end="0,0" time="250" tween="cubic" easing="inout" />
		  </animation>
		  <animation type="Conditional" reversible="false" condition="ControlGroup(9000).HasFocus">
	      <effect type="slide" start="0,55" end="0,0" time="250" tween="cubic" easing="inout" />
		  </animation>
			<control type="image">
				<description>background image</description>
				<include>FullscreenDimensions</include>
				<texture background="true">windows/tvguide/bg2.png</texture>
			  <animation type="Conditional" condition="ControlGroup(9000).HasFocus">
		      <effect type="fade" start="0" end="100" time="200" tween="cubic" easing="inout" />
		      <effect type="slide" start="0,55" end="0,0" time="250" tween="cubic" easing="inout" />
			  </animation>
			  <visible>ControlGroup(9000).HasFocus</visible>
			</control>
	
			<control type="grouplist" id="2000">
				<posx>68</posx>
				<posy>317</posy>
				<width>1150</width>
				<height>660</height>
				<orientation>horizontal</orientation>
				<align>left</align>
				<itemgap>4</itemgap>
				<control type="group">
					<description>Monday</description>
					<width>160</width>
					<height>320</height>
					<control type="image">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<texture>buttons/settings_fo.png</texture>
					  <visible>Control.HasFocus(200)</visible>
		        <include>VisibleFadeEffect2</include>
			 <!-- <colordiffuse>90FFFFFF</colordiffuse> -->
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[11]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>white</textcolor>
					  <visible>Control.HasFocus(200)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[11]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>77white</textcolor>
					  <visible>!Control.HasFocus(200)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="panel" id="200">
						<posx>0</posx>
						<posy>39</posy>
						<width>160</width>
						<height>252</height>
				    <scrolltime tween="Cubic" easing="Out">350</scrolltime>
						<onup>9000</onup>
						<ondown>200</ondown>
						<onleft>200</onleft>
						<onright>201</onright>
						<include>TVGuideLayout</include>
					</control>
					<control type="image">
						<posx>70</posx>
						<posy>290</posy>
						<width>21</width>
						<height>18</height>
						<align>center</align>
						<aligny>center</aligny>
						<texture flipy="true">views/scrollbar/arrow.png</texture>
						<animation type="Conditional" reversible="false" condition="!Control.HasFocus(200)">
						  <effect type="fade" start="100" end="30" tween="sine" easing="inout" time="300"/>
						</animation>
						<animation type="Conditional" reversible="false" condition="Control.HasFocus(200)" pulse="true">
						  <effect type="fade" start="30" end="100" tween="sine" easing="inout" time="1200"/>
							<effect type="slide" start="0,0" end="0,3" tween="sine" easing="inout" time="1200"/>
						</animation>
					  <visible>Container(200).HasNext</visible>
				  </control>
				</control>
				<control type="group">
					<description>Tuesday</description>
					<width>160</width>
					<height>320</height>
					<control type="image">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<texture>buttons/settings_fo.png</texture>
					  <visible>Control.HasFocus(201)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[12]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>white</textcolor>
					  <visible>Control.HasFocus(201)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[12]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>77white</textcolor>
					  <visible>!Control.HasFocus(201)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="panel" id="201">
						<posx>0</posx>
						<posy>39</posy>
						<width>160</width>
						<height>252</height>
				    <scrolltime tween="Cubic" easing="Out">350</scrolltime>
						<onup>9000</onup>
						<ondown>201</ondown>
						<onleft>200</onleft>
						<onright>202</onright>
						<include>TVGuideLayout</include>
					</control>
					<control type="image">
						<posx>70</posx>
						<posy>290</posy>
						<width>21</width>
						<height>18</height>
						<align>center</align>
						<aligny>center</aligny>
						<texture flipy="true">views/scrollbar/arrow.png</texture>
						<animation type="Conditional" reversible="false" condition="!Control.HasFocus(201)">
						  <effect type="fade" start="100" end="30" tween="sine" easing="inout" time="300"/>
						</animation>
						<animation type="Conditional" reversible="false" condition="Control.HasFocus(201)" pulse="true">
						  <effect type="fade" start="30" end="100" tween="sine" easing="inout" time="1200"/>
							<effect type="slide" start="0,0" end="0,3" tween="sine" easing="inout" time="1200"/>
						</animation>
					  <visible>Container(201).HasNext</visible>
				  </control>
				</control>
				<control type="group">
					<description>Wednesday</description>
					<width>160</width>
					<height>320</height>
					<control type="image">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<texture>buttons/settings_fo.png</texture>
					  <visible>Control.HasFocus(202)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[13]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>white</textcolor>
					  <visible>Control.HasFocus(202)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[13]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>77white</textcolor>
					  <visible>!Control.HasFocus(202)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="panel" id="202">
						<posx>0</posx>
						<posy>39</posy>
						<width>160</width>
						<height>252</height>
				    <scrolltime tween="Cubic" easing="Out">350</scrolltime>
						<onup>9000</onup>
						<ondown>202</ondown>
						<onleft>201</onleft>
						<onright>203</onright>
						<include>TVGuideLayout</include>
					</control>
					<control type="image">
						<posx>70</posx>
						<posy>290</posy>
						<width>21</width>
						<height>18</height>
						<align>center</align>
						<aligny>center</aligny>
						<texture flipy="true">views/scrollbar/arrow.png</texture>
						<animation type="Conditional" reversible="false" condition="!Control.HasFocus(202)">
						  <effect type="fade" start="100" end="30" tween="sine" easing="inout" time="300"/>
						</animation>
						<animation type="Conditional" reversible="false" condition="Control.HasFocus(202)" pulse="true">
						  <effect type="fade" start="30" end="100" tween="sine" easing="inout" time="1200"/>
							<effect type="slide" start="0,0" end="0,3" tween="sine" easing="inout" time="1200"/>
						</animation>
					  <visible>Container(202).HasNext</visible>
				  </control>
				</control>
				<control type="group">
					<description>Thursday</description>
					<width>160</width>
					<height>320</height>
					<control type="image">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<texture>buttons/settings_fo.png</texture>
					  <visible>Control.HasFocus(203)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[14]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>white</textcolor>
					  <visible>Control.HasFocus(203)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[14]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>77white</textcolor>
					  <visible>!Control.HasFocus(203)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="panel" id="203">
						<posx>0</posx>
						<posy>39</posy>
						<width>160</width>
						<height>252</height>
				    <scrolltime tween="Cubic" easing="Out">350</scrolltime>
						<onup>9000</onup>
						<ondown>203</ondown>
						<onleft>202</onleft>
						<onright>204</onright>
						<include>TVGuideLayout</include>
					</control>
					<control type="image">
						<posx>70</posx>
						<posy>290</posy>
						<width>21</width>
						<height>18</height>
						<align>center</align>
						<aligny>center</aligny>
						<texture flipy="true">views/scrollbar/arrow.png</texture>
						<animation type="Conditional" reversible="false" condition="!Control.HasFocus(203)">
						  <effect type="fade" start="100" end="30" tween="sine" easing="inout" time="300"/>
						</animation>
						<animation type="Conditional" reversible="false" condition="Control.HasFocus(203)" pulse="true">
						  <effect type="fade" start="30" end="100" tween="sine" easing="inout" time="1200"/>
							<effect type="slide" start="0,0" end="0,3" tween="sine" easing="inout" time="1200"/>
						</animation>
					  <visible>Container(203).HasNext</visible>
				  </control>
				</control>
				<control type="group">
					<description>Friday</description>
					<width>160</width>
					<height>320</height>
					<control type="image">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<texture>buttons/settings_fo.png</texture>
					  <visible>Control.HasFocus(204)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[15]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>white</textcolor>
					  <visible>Control.HasFocus(204)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[15]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>77white</textcolor>
					  <visible>!Control.HasFocus(204)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="panel" id="204">
						<posx>0</posx>
						<posy>39</posy>
						<width>160</width>
						<height>252</height>
				    <scrolltime tween="Cubic" easing="Out">350</scrolltime>
						<onup>9000</onup>
						<ondown>204</ondown>
						<onleft>203</onleft>
						<onright>205</onright>
						<include>TVGuideLayout</include>
					</control>
					<control type="image">
						<posx>70</posx>
						<posy>290</posy>
						<width>21</width>
						<height>18</height>
						<align>center</align>
						<aligny>center</aligny>
						<texture flipy="true">views/scrollbar/arrow.png</texture>
						<animation type="Conditional" reversible="false" condition="!Control.HasFocus(204)">
						  <effect type="fade" start="100" end="30" tween="sine" easing="inout" time="300"/>
						</animation>
						<animation type="Conditional" reversible="false" condition="Control.HasFocus(204)" pulse="true">
						  <effect type="fade" start="30" end="100" tween="sine" easing="inout" time="1200"/>
							<effect type="slide" start="0,0" end="0,3" tween="sine" easing="inout" time="1200"/>
						</animation>
					  <visible>Container(204).HasNext</visible>
				  </control>
				</control>
				<control type="group">
					<description>Saturday</description>
					<width>160</width>
					<height>320</height>
					<control type="image">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<texture>buttons/settings_fo.png</texture>
					  <visible>Control.HasFocus(205)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[16]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>white</textcolor>
					  <visible>Control.HasFocus(205)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[16]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>77white</textcolor>
					  <visible>!Control.HasFocus(205)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="panel" id="205">
						<posx>0</posx>
						<posy>39</posy>
						<width>160</width>
						<height>252</height>
				    <scrolltime tween="Cubic" easing="Out">350</scrolltime>
						<onup>9000</onup>
						<ondown>205</ondown>
						<onleft>204</onleft>
						<onright>206</onright>
						<include>TVGuideLayout</include>
					</control>
					<control type="image">
						<posx>70</posx>
						<posy>290</posy>
						<width>21</width>
						<height>18</height>
						<align>center</align>
						<aligny>center</aligny>
						<texture flipy="true">views/scrollbar/arrow.png</texture>
						<animation type="Conditional" reversible="false" condition="!Control.HasFocus(205)">
						  <effect type="fade" start="100" end="30" tween="sine" easing="inout" time="300"/>
						</animation>
						<animation type="Conditional" reversible="false" condition="Control.HasFocus(205)" pulse="true">
						  <effect type="fade" start="30" end="100" tween="sine" easing="inout" time="1200"/>
							<effect type="slide" start="0,0" end="0,3" tween="sine" easing="inout" time="1200"/>
						</animation>
					  <visible>Container(205).HasNext</visible>
				  </control>
				</control>
				<control type="group">
					<description>Sunday</description>
					<width>160</width>
					<height>320</height>
					<control type="image">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<texture>buttons/settings_fo.png</texture>
					  <visible>Control.HasFocus(206)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[17]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>white</textcolor>
					  <visible>Control.HasFocus(206)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="label">
						<posx>0</posx>
						<posy>0</posy>
						<width>160</width>
						<height>35</height>
						<label>$LOCALIZE[17]</label>
						<align>center</align>
						<aligny>center</aligny>
						<font>FontSize_20</font>
						<textcolor>77white</textcolor>
					  <visible>!Control.HasFocus(206)</visible>
		        <include>VisibleFadeEffect2</include>
					</control>
					<control type="panel" id="206">
						<posx>0</posx>
						<posy>39</posy>
						<width>160</width>
						<height>252</height>
				    <scrolltime tween="Cubic" easing="Out">350</scrolltime>
						<onup>9000</onup>
						<ondown>206</ondown>
						<onleft>205</onleft>
						<onright>206</onright>
						<include>TVGuideLayout</include>
					</control>
					<control type="image">
						<posx>70</posx>
						<posy>290</posy>
						<width>21</width>
						<height>18</height>
						<align>center</align>
						<aligny>center</aligny>
						<texture flipy="true">views/scrollbar/arrow.png</texture>
						<animation type="Conditional" reversible="false" condition="!Control.HasFocus(206)">
						  <effect type="fade" start="100" end="30" tween="sine" easing="inout" time="300"/>
						</animation>
						<animation type="Conditional" reversible="false" condition="Control.HasFocus(206)" pulse="true">
						  <effect type="fade" start="30" end="100" tween="sine" easing="inout" time="1200"/>
							<effect type="slide" start="0,0" end="0,3" tween="sine" easing="inout" time="1200"/>
						</animation>
					  <visible>Container(206).HasNext</visible>
				  </control>
				</control>
			</control>
			<control type="group">
	      <description>Current weekday image</description>
	      <posx>68</posx>
	      <posy>317</posy>
	      <animation effect="slide" end="164,0" time="0" condition="stringcompare(System.Date(DDD),$LOCALIZE[12])">Conditional</animation>
	      <animation effect="slide" end="328,0" time="0" condition="stringcompare(System.Date(DDD),$LOCALIZE[13])">Conditional</animation>
	      <animation effect="slide" end="492,0" time="0" condition="stringcompare(System.Date(DDD),$LOCALIZE[14])">Conditional</animation>
	      <animation effect="slide" end="656,0" time="0" condition="stringcompare(System.Date(DDD),$LOCALIZE[15])">Conditional</animation>
	      <animation effect="slide" end="820,0" time="0" condition="stringcompare(System.Date(DDD),$LOCALIZE[16])">Conditional</animation>
	      <animation effect="slide" end="984,0" time="0" condition="stringcompare(System.Date(DDD),$LOCALIZE[17])">Conditional</animation>
				<control type="image">
					<posx>0</posx>
					<posy>0</posy>
					<width>160</width>
					<height>35</height>
					<texture>dialogs/selectdialog/selected.png</texture>
				</control>
	    </control>
	  </control>	    
	 </control>

	 <include>CommonItems</include>

   <!-- ==================== -->
   <!-- Top Options Controls -->
   <!-- ==================== -->
	 <control type="group"  id="9000">
			<posx>45</posx>
			<posy>25</posy>
      <include>TopOptionsSlideAnimations</include>
			<visible>!Skin.HasSetting(EnableKioskMode)</visible>
      <!-- Main Options -->
			<control type="grouplist" id="9111">
				<posx>0</posx>
				<posy>0</posy>
				<width>0</width>
				<height>0</height>
				<itemgap>0</itemgap>
				<align>left</align>
				<orientation>horizontal</orientation>
				<onleft>9111</onleft>
				<onright>9111</onright>
				<onup>noop</onup>
				<ondown>2000</ondown>
				<onback>2000</onback>
				<control type="radiobutton" id="10">
					<description>Fanart Toggle</description>
				  <include>TopButton</include>
					<label>-</label>
					<onclick>Skin.ToggleSetting(HideTVGuideFanart)</onclick>
					<selected>Skin.HasSetting(HideTVGuideFanart)</selected>
				</control>
				<control type="radiobutton" id="11">
					<description>ExtraInfo Toggle</description>
				  <include>TopButton</include>
					<label>-</label>
					<onclick>Skin.ToggleSetting(HideExtraInfo)</onclick>
					<selected>Skin.HasSetting(HideExtraInfo)</selected>
				</control>
				<control type="button" id="9">
					<description>Preview Thumb</description>
			    <onclick condition="Stringcompare(Skin.String(PreviewThumb),3)">Skin.SetString(PreviewThumb,1)</onclick>
			    <onclick condition="Stringcompare(Skin.String(PreviewThumb),2)">Skin.SetString(PreviewThumb,3)</onclick>
			    <onclick condition="Stringcompare(Skin.String(PreviewThumb),1)">Skin.SetString(PreviewThumb,2)</onclick>
			    <onclick condition="Stringcompare(Skin.String(PreviewThumb),3)">Skin.SetString(PreviewThumb,1)</onclick>
				  <include>TopButton</include>
		      <visible>!Skin.HasSetting(HideExtraInfo)</visible>
				</control>
				<control type="button" id="8">
					<description>Settings</description>
				  <label>5</label>
				  <include>TopButton</include>
				</control>
			</control>
      <!-- Main Options Labels -->
			<control type="grouplist">
			  <visible allowhiddenfocus="true">ControlGroup(9111).HasFocus</visible>
	      <animation type="Visible"  reversible="false">
          <effect type="fade" start="0" end="100" time="300" tween="sine" easing="in"  />
          <effect type="slide" start="0,-35" end="0,0" time="350" tween="cubic" easing="out" />
	      </animation>
	      <animation type="Hidden" reversible="false">
          <effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
          <effect type="slide" start="0,0" end="0,-35" time="350" tween="sine" easing="out" />
	      </animation>
		    <animation type="Conditional" reversible="true" condition="Window.IsActive(ShutdownMenu)">
		      <effect type="fade" start="100" end="0" time="300" tween="sine" easing="inout" />
		      <effect type="slide" start="0,0" end="0,35" time="350" tween="sine" easing="inout" />
		    </animation>
				<posx>0</posx>
				<posy>0</posy>
				<height>70</height>
				<width>1190</width>
				<itemgap>10</itemgap>
				<align>left</align>
				<orientation>horizontal</orientation>
				<control type="label">
				  <include>TopBigLabel</include>
				  <label>$LOCALIZE[33063]:</label>
				</control>
				<control type="label">
					<description>Fanart Toggle</description>
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[20445]: $LOCALIZE[31011]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(10)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(10)" reversible="true">Conditional</animation>
			    <visible>!SubString(Control.GetLabel(10),*)</visible>
				</control>
				<control type="label">
					<description>Fanart Toggle</description>
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[20445]: $LOCALIZE[31012]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(10)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(10)" reversible="true">Conditional</animation>
			    <visible>SubString(Control.GetLabel(10),*)</visible>
				</control>
				<control type="label">
					<description>ExtraInfo Toggle</description>
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[31220]: $LOCALIZE[31011]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(11)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(11)" reversible="true">Conditional</animation>
			    <visible>!SubString(Control.GetLabel(11),*)</visible>
				</control>
				<control type="label">
					<description>ExtraInfo Toggle</description>
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[31220]: $LOCALIZE[31012]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(11)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(11)" reversible="true">Conditional</animation>
			    <visible>SubString(Control.GetLabel(11),*)</visible>
				</control>
				<control type="label">
					<description>Preview Landscape</description>
				  <include>TopSmallLabel</include>
          <label>$LOCALIZE[31217]: $LOCALIZE[31218]</label>
					<visible>Stringcompare(Skin.String(PreviewThumb),1)</visible>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(9)" reversible="true">Conditional</animation>
          <animation effect="zoom" start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(9)" reversible="true">Conditional</animation>
		      <visible>!Skin.HasSetting(HideExtraInfo)</visible>
				</control>
				<control type="label">
					<description>Preview Fanart</description>
				  <include>TopSmallLabel</include>
          <label>$LOCALIZE[31217]: $LOCALIZE[20445]</label>
					<visible>Stringcompare(Skin.String(PreviewThumb),2)</visible>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(9)" reversible="true">Conditional</animation>
          <animation effect="zoom" start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(9)" reversible="true">Conditional</animation>
		      <visible>!Skin.HasSetting(HideExtraInfo)</visible>
				</control>
				<control type="label">
					<description>Preview Logo</description>
				  <include>TopSmallLabel</include>
          <label>$LOCALIZE[31217]: $LOCALIZE[31219]</label>
					<visible>Stringcompare(Skin.String(PreviewThumb),3)</visible>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(9)" reversible="true">Conditional</animation>
          <animation effect="zoom" start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(9)" reversible="true">Conditional</animation>
		      <visible>!Skin.HasSetting(HideExtraInfo)</visible>
				</control>
				<control type="label">
					<description>Settings</description>
				  <include>TopSmallLabel</include>
          <label>$INFO[Control.GetLabel(8)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(8)" reversible="true">Conditional</animation>
          <animation effect="zoom" start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(8)" reversible="true">Conditional</animation>
				</control>
			</control>
	 </control>


     <!-- ================ -->
     <!-- Top Content Info -->
     <!-- ================ -->
		 <control type="group">
				<posx>45</posx>
				<posy>25</posy>
			  <visible>!ControlGroup(9000).HasFocus + !Window.IsActive(ShutdownMenu)</visible>
			  <include>CommonSlideAnimations</include>
		    <include>CommonWeatherAndClock</include>
				<control type="grouplist">
					<posx>0</posx>
					<posy>0</posy>
					<height>70</height>
					<width>1000</width>
					<align>left</align>
					<itemgap>20</itemgap>
					<orientation>horizontal</orientation>
			    <include>CommonSlideAnimations</include>
					<control type="label">
					  <include>TopBigLabel</include>
						<label>4</label>
					</control>
			    <control type="fadelabel">
					  <description>Totals</description>
					  <include>TopZoomedSmallLabel</include>
				    <label>$INFO[Window(Home).Property(NextAired.Total),,  $LOCALIZE[31239]]</label>
				    <label>$INFO[Window(Home).Property(NextAired.TodayTotal),,  $LOCALIZE[31240]]</label>
			      <scroll>false</scroll>
			      <scrollout>false</scrollout>
			      <scrollspeed>100</scrollspeed>
			      <pauseatend>7000</pauseatend>
	          <visible>!IntegerGreaterThan(Window(Home).Property(NextAired.TodayTotal,0))</visible>
				    <animation effect="fade" start="0" end="100" time="400" tween="sine" easing="inout">Visible</animation>
				    <animation effect="fade" start="100" end="0" time="400" tween="sine" easing="inout">Hidden</animation>
					</control>
			    <control type="fadelabel">
					  <description>Totals</description>
					  <include>TopZoomedSmallLabel</include>
				    <label>$INFO[Window(Home).Property(NextAired.Total),,  $LOCALIZE[31239]]</label>
				    <label>31238</label>
			      <scroll>false</scroll>
			      <scrollout>false</scrollout>
			      <scrollspeed>100</scrollspeed>
			      <pauseatend>7000</pauseatend>
	          <visible>IntegerGreaterThan(Window(Home).Property(NextAired.TodayTotal,0))</visible>
				    <animation effect="fade" start="0" end="100" time="400" tween="sine" easing="inout">Visible</animation>
				    <animation effect="fade" start="100" end="0" time="400" tween="sine" easing="inout">Hidden</animation>
					</control>
				</control>
				<control type="label">
					<posx>2</posx>
					<posy>45</posy>
					<width>300</width>
					<height>20</height>
					<font>FontSize_18</font>
					<textcolor>blue</textcolor>
					<scroll>false</scroll>
					<align>left</align>
					<aligny>center</aligny>
					<label>$VAR[TVGuideNumItems]</label>
			    <include>CommonSlideAnimations</include>
				</control>				
		  </control>
	</controls>
</window>
