<includes>
	<include name="CommonBackground">
		<control type="image">
			<description>Normal Default Background Image</description>
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<aspectratio>scale</aspectratio>
			<texture>$INFO[Skin.CurrentTheme,special://skin/backgrounds/,.jpg]</texture>
			<visible>![Skin.HasSetting(UseCustomBackground) + !IsEmpty(Skin.String(CustomBackgroundPath))]</visible>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="image">
			<description>User Set Background Image</description>
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<aspectratio>scale</aspectratio>
			<texture>$INFO[Skin.String(CustomBackgroundPath)]</texture>
			<visible>Skin.HasSetting(UseCustomBackground) + !IsEmpty(Skin.String(CustomBackgroundPath))</visible>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<aspectratio>scale</aspectratio>
			<texture background="true">$INFO[ListItem.Art(fanart)]</texture>
			<include>backgroundfade</include>
			<fadetime>FanartCrossfadeTime</fadetime>
			<visible>!Skin.HasSetting(HideBackGroundFanart) + !IsEmpty(ListItem.Property(Fanart_Image))</visible>
			<include>Window_OpenClose_Animation</include>
			<visible>![Player.HasVideo + !Skin.HasSetting(ShowBackgroundVideo)]</visible>
		</control>
		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<texture>special://skin/backgrounds/media-overlay.jpg</texture>
			<visible>[Player.HasVideo + !Skin.HasSetting(ShowBackgroundVideo)] + ![Window.IsVisible(PVR) + [Control.IsVisible(11) | Control.IsVisible(12)]]</visible>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="visualisation">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<visible>Player.HasAudio + !Skin.HasSetting(ShowBackgroundVis) + ![Window.IsVisible(PVR) + [Control.IsVisible(11) | Control.IsVisible(12)]]</visible>
			<visible>!SubString(Window(videolibrary).Property(TvTunesIsAlive),True)</visible>
		</control>
		<control type="videowindow">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<visible>Player.HasVideo + !Skin.HasSetting(ShowBackgroundVideo) + ![Window.IsVisible(PVR) + [Control.IsVisible(11) | Control.IsVisible(12)]]</visible>
		</control>
		<control type="image">
			<posx>0</posx>
			<posy>-40</posy>
			<width>1280</width>
			<height>120</height>
			<texture flipy="true">HomeNowPlayingBack.png</texture>
			<visible>[Player.HasVideo + !Skin.HasSetting(ShowBackgroundVideo)] | [Player.HasAudio + ![Skin.HasSetting(ShowBackgroundVis) | SubString(Window(videolibrary).Property(TvTunesIsAlive),True)]] | [!Skin.HasSetting(HideBackGroundFanart) + !IsEmpty(ListItem.Property(Fanart_Image))]</visible>
			<include>VisibleFadeEffect</include>
		</control>
	</include>
	<include name="ContentPanelBackgrounds">
		<control type="image">
			<posx>0</posx>
			<posy>100r</posy>
			<width>1280</width>
			<height>100</height>
			<texture>floor.png</texture>
			<animation effect="slide" start="0,10" end="0,0" time="200" condition="Window.Previous(Home)">WindowOpen</animation>
			<animation effect="slide" start="0,0" end="0,10" time="200" condition="Window.Next(Home)">WindowClose</animation>
		</control>
		<control type="group">
			<include>Window_OpenClose_Animation</include>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(50)</visible>
				<control type="image">
					<posx>50</posx>
					<posy>60</posy>
					<width>750</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>50</posx>
					<posy>652</posy>
					<width>750</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(504) | Control.IsVisible(550) | Control.IsVisible(512)</visible>
				<control type="image">
					<posx>50</posx>
					<posy>60</posy>
					<width>640</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>50</posx>
					<posy>652</posy>
					<width>640</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<posx>700</posx>
					<posy>60</posy>
					<width>530</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>700</posx>
					<posy>652</posy>
					<width>530</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(551) | Control.IsVisible(560) | Control.IsVisible(511) | Control.IsVisible(506) | Control.IsVisible(513)</visible>
				<control type="image">
					<posx>50</posx>
					<posy>60</posy>
					<width>840</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>50</posx>
					<posy>652</posy>
					<width>840</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<posx>900</posx>
					<posy>60</posy>
					<width>330</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>900</posx>
					<posy>652</posy>
					<width>330</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(501)</visible>
				<control type="image">
					<posx>50</posx>
					<posy>50</posy>
					<width>1180</width>
					<height>610</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>50</posx>
					<posy>652</posy>
					<width>1180</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(503)</visible>
				<control type="image">
					<posx>50</posx>
					<posy>230</posy>
					<width>640</width>
					<height>430</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>50</posx>
					<posy>652</posy>
					<width>640</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<posx>700</posx>
					<posy>230</posy>
					<width>550</width>
					<height>430</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>700</posx>
					<posy>652</posy>
					<width>550</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(51) | Control.IsVisible(500) | Control.IsVisible(505)</visible>
				<control type="image">
					<posx>75</posx>
					<posy>60</posy>
					<width>1130</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>75</posx>
					<posy>652</posy>
					<width>1130</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(514)</visible>
				<control type="image">
					<posx>50</posx>
					<posy>60</posy>
					<width>490</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>50</posx>
					<posy>652</posy>
					<width>490</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<posx>550</posx>
					<posy>60</posy>
					<width>680</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>550</posx>
					<posy>652</posy>
					<width>680</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(515)</visible>
				<control type="image">
					<posx>50</posx>
					<posy>60</posy>
					<width>400</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>50</posx>
					<posy>652</posy>
					<width>400</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<posx>460</posx>
					<posy>60</posy>
					<width>770</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>460</posx>
					<posy>652</posy>
					<width>770</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
		</control>
	</include>
	<include name="ContentPanelBackgroundsPVR">
		<control type="image">
			<posx>0</posx>
			<posy>100r</posy>
			<width>1280</width>
			<height>100</height>
			<texture>floor.png</texture>
			<animation effect="fade" time="250" condition="Window.Previous(Home)">WindowOpen</animation>
			<animation effect="fade" time="250" condition="Window.Next(Home)">WindowClose</animation>
		</control>
		<control type="group">
			<include>Window_OpenClose_Animation</include>		
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(10) | Control.IsVisible(14) | Control.IsVisible(15) | Control.IsVisible(16) | Control.IsVisible(17)</visible>
				<control type="image">
					<posx>55</posx>
					<posy>60</posy>
					<width>1170</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>55</posx>
					<posy>652</posy>
					<width>1170</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(11) | Control.IsVisible(12)</visible>
				<control type="image">
					<posx>50</posx>
					<posy>60</posy>
					<width>450</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>50</posx>
					<posy>652</posy>
					<width>450</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<posx>510</posx>
					<posy>60</posy>
					<width>730</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>510</posx>
					<posy>652</posy>
					<width>730</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(13)</visible>
				<control type="image">
					<posx>50</posx>
					<posy>60</posy>
					<width>840</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>50</posx>
					<posy>652</posy>
					<width>840</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<posx>900</posx>
					<posy>60</posy>
					<width>330</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>900</posx>
					<posy>652</posy>
					<width>330</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
		</control>
	</include>

</includes>
