<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="CommonBackground">
		<control type="image">
			<depth>DepthBackground</depth>
			<description>Normal Default Background Image</description>
			<include>BackgroundDimensions</include>
			<aspectratio>scale</aspectratio>
			<texture fallback="special://skin/extras/default/SKINDEFAULT.jpg">$INFO[Skin.CurrentTheme,special://skin/extras/themes/,.jpg]</texture>
			<visible>![Skin.HasSetting(UseCustomBackground) + !String.IsEmpty(Skin.String(CustomBackgroundPath))]</visible>
			<include>VisibleFadeEffect</include>
			<visible>!Skin.HasSetting(SeparateBackground)</visible>
		</control>
		<control type="image">
			<depth>DepthBackground</depth>
			<description>User Set Background Image</description>
			<include>BackgroundDimensions</include>
			<aspectratio>scale</aspectratio>
			<texture>$INFO[Skin.String(CustomBackgroundPath)]</texture>
			<visible>Skin.HasSetting(UseCustomBackground) + !String.IsEmpty(Skin.String(CustomBackgroundPath))</visible>
			<include>VisibleFadeEffect</include>
			<visible>!Skin.HasSetting(SeparateBackground)</visible>
		</control>
		<control type="group">
			<visible>Window.IsVisible(Home) + Skin.HasSetting(SeparateBackground)</visible>
			<control type="multiimage" id="90000">
				<posx>0</posx>
				<posy>0</posy>
				<width>1280</width>
				<height>720</height>
				<imagepath background="true">$VAR[HomeBackground]</imagepath>
				<timeperimage>10000</timeperimage>
				<randomize>true</randomize>
				<fadetime>1000</fadetime>
				<include>VisibleFadeEffect</include>
				<visible>String.IsEmpty(Skin.String(HomeFanart.path)) | String.IsEmpty(Control.GetLabel(90001))</visible>
			</control>
			<control type="multiimage" id="90001">
				<posx>0</posx>
				<posy>0</posy>
				<width>1280</width>
				<height>720</height>
				<imagepath background="true">$INFO[Skin.String(HomeFanart.path)]$VAR[HomeMenuType]$INFO[Skin.String(HomeFanart.ext)]</imagepath>
				<timeperimage>10000</timeperimage>
				<randomize>true</randomize>
				<fadetime>1000</fadetime>
				<include>VisibleFadeEffect</include>
				<visible>!String.IsEmpty(Skin.String(HomeFanart.path))</visible>
			</control>
		</control>
		<control type="image">
			<depth>DepthBackground</depth>
			<include>BackgroundDimensions</include>
			<aspectratio>scale</aspectratio>
			<texture background="true">$VAR[FanartBackground]</texture>
			<include>backgroundfade</include>
			<fadetime>FanartCrossfadeTime</fadetime>
			<visible>!Skin.HasSetting(HideBackGroundFanart)</visible>
			<include>Window_OpenClose_Animation</include>
			<visible>![Player.HasVideo + !Skin.HasSetting(ShowBackgroundVideo)] | [Player.HasVideo + Window.IsActive(movieinformation)]</visible>
		</control>
		<control type="image">
			<include>BackgroundDimensions</include>
			<texture>special://skin/extras/default/media-overlay.jpg</texture>
			<visible>[Player.HasVideo + !Slideshow.IsActive + !Window.IsActive(movieinformation) + !Skin.HasSetting(ShowBackgroundVideo)] + !Window.IsVisible(TVChannels) + !Window.IsVisible(RadioChannels)</visible>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="visualisation">
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<visible>Player.HasAudio + !Skin.HasSetting(ShowBackgroundVis)</visible>
			<visible>String.IsEmpty(Window(Videos).Property(PlayingBackgroundMedia))</visible>
		</control>
		<control type="videowindow">
			<depth>DepthBackground</depth>
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<visible>Player.HasVideo + !Slideshow.IsActive + !Window.IsActive(movieinformation) + !Skin.HasSetting(ShowBackgroundVideo) + !Window.IsVisible(TVChannels) + !Window.IsVisible(RadioChannels)</visible>
		</control>
		<control type="image">
			<depth>DepthBackground</depth>
			<left>-20</left>
			<top>-40</top>
			<width>1320</width>
			<height>120</height>
			<texture flipy="true" border="1">HomeNowPlayingBack.png</texture>
			<visible>[Player.HasVideo + !Slideshow.IsActive + !Window.IsActive(movieinformation) + !Skin.HasSetting(ShowBackgroundVideo)] | [Player.HasAudio + ![Skin.HasSetting(ShowBackgroundVis) | !String.IsEmpty(Window(Videos).Property(PlayingBackgroundMedia))]] | [!Skin.HasSetting(HideBackGroundFanart) + !String.IsEmpty(ListItem.Property(Fanart_Image))]</visible>
			<include>VisibleFadeEffect</include>
		</control>
	</include>
	<include name="ContentPanelBackgrounds">
		<control type="image">
			<depth>DepthFloor</depth>
			<left>-20</left>
			<top/>
			<bottom>0</bottom>
			<width>1320</width>
			<height>100</height>
			<texture>floor.png</texture>
			<animation effect="rotatex" end="45" time="0" center="620,0" condition="true">Conditional</animation>
			<animation effect="slide" start="0,10" end="0,0" time="150" condition="Window.Previous(Home)">WindowOpen</animation>
			<animation effect="slide" start="0,0" end="0,10" time="150" condition="Window.Next(Home)">WindowClose</animation>
			<visible>!Skin.HasSetting(NoFloorAll)</visible>
		</control>
		<control type="group">
			<include>Window_OpenClose_Animation</include>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(50)</visible>
				<control type="image">
					<left>50</left>
					<top>60</top>
					<width>750</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>750</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(504) | Control.IsVisible(550) | Control.IsVisible(512)</visible>
				<control type="image">
					<left>50</left>
					<top>60</top>
					<width>640</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>640</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
				<control type="image">
					<left>700</left>
					<top>60</top>
					<width>530</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>700</left>
					<top>652</top>
					<width>530</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(551) | Control.IsVisible(560) | Control.IsVisible(511) | Control.IsVisible(506) | Control.IsVisible(507) | Control.IsVisible(513)</visible>
				<control type="image">
					<left>50</left>
					<top>60</top>
					<width>840</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>840</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
				<control type="image">
					<left>900</left>
					<top>60</top>
					<width>330</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>900</left>
					<top>652</top>
					<width>330</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(501)</visible>
				<control type="image">
					<left>50</left>
					<top>50</top>
					<width>1180</width>
					<height>610</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>1180</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(503)</visible>
				<control type="image">
					<left>50</left>
					<top>230</top>
					<width>640</width>
					<height>430</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>640</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
				<control type="image">
					<left>700</left>
					<top>230</top>
					<width>550</width>
					<height>430</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>700</left>
					<top>652</top>
					<width>550</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(51) | Control.IsVisible(500) | Control.IsVisible(505)</visible>
				<control type="image">
					<left>75</left>
					<top>60</top>
					<width>1130</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>75</left>
					<top>652</top>
					<width>1130</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(514)</visible>
				<control type="image">
					<left>50</left>
					<top>60</top>
					<width>490</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>490</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
				<control type="image">
					<left>550</left>
					<top>60</top>
					<width>680</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>550</left>
					<top>652</top>
					<width>680</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(515)</visible>
				<control type="image">
					<left>50</left>
					<top>60</top>
					<width>400</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>400</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
				<control type="image">
					<left>460</left>
					<top>60</top>
					<width>770</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>460</left>
					<top>652</top>
					<width>770</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					<visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(530)</visible>
				<control type="image">
					<posx>30</posx>
					<posy>230</posy>
					<width>1230</width>
					<height>430</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<posx>30</posx>
					<posy>652</posy>
					<width>1230</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
					 <visible>!Skin.HasSetting(NoFloorAll)</visible>
				</control>
			</control>
		</control>
	</include>
	<include name="CommonCustomBackground">
		<control type="group">
			<visible>!Window.IsVisible(Home) + Skin.HasSetting(SeparateBackground)</visible>
			<control type="multiimage" id="90002">
				<description>User Separate Background Image</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>1280</width>
				<height>720</height>
				<imagepath background="true">$INFO[Window(Home).Property(MenuBackground)]</imagepath>
				<timeperimage>10000</timeperimage>
				<randomize>true</randomize>
				<fadetime>1000</fadetime>
				<visible>String.IsEmpty(Skin.String(HomeFanart.path)) | String.IsEmpty(Control.GetLabel(90003))</visible>
			</control>
			<control type="multiimage" id="90003">
				<description>User Separate Background Image HomeFanart</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>1280</width>
				<height>720</height>
				<imagepath background="true">$INFO[Skin.String(HomeFanart.path)]$INFO[Window(Home).Property(MenuItemActive)]$INFO[Skin.String(HomeFanart.ext)]</imagepath>
				<timeperimage>10000</timeperimage>
				<randomize>true</randomize>
				<fadetime>1000</fadetime>
				<visible>!String.IsEmpty(Skin.String(HomeFanart.path))</visible>
			</control>
		</control>
	</include>
	<include name="PreviewPVRBackground">
		<control type="group">
			<visible>!Player.HasVideo</visible>
			<control type="group">
				<visible>!Skin.HasSetting(SeparateBackground)</visible>
				<control type="image">
					<left>5</left>
					<top>5</top>
					<width>680</width>
					<height>390</height>
					<texture fallback="special://skin/extras/default/SKINDEFAULT.jpg">$INFO[Skin.CurrentTheme,special://skin/extras/themes/,.jpg]</texture>
					<include>VisibleFadeEffect</include>
					<visible>![Skin.HasSetting(UseCustomBackground) + !String.IsEmpty(Skin.String(CustomBackgroundPath))]</visible>
				</control>
				<control type="image">
					<left>5</left>
					<top>5</top>
					<width>680</width>
					<height>390</height>
					<texture>$INFO[Skin.String(CustomBackgroundPath)]</texture>
					<include>VisibleFadeEffect</include>
					<visible>Skin.HasSetting(UseCustomBackground) + !String.IsEmpty(Skin.String(CustomBackgroundPath))</visible>
				</control>
			</control>
			<control type="group">
				<visible>Skin.HasSetting(SeparateBackground)</visible>
				<control type="image">
					<left>5</left>
					<top>5</top>
					<width>680</width>
					<height>390</height>
					<texture>$INFO[Window(Home).Property(MenuBackground)]</texture>
					<include>VisibleFadeEffect</include>
					<visible>String.IsEmpty(Skin.String(HomeFanart.path))</visible>
				</control>
				<control type="image">
					<left>5</left>
					<top>5</top>
					<width>680</width>
					<height>390</height>
					<texture>$INFO[Skin.String(HomeFanart.path)]$INFO[Window(Home).Property(MenuItemActive)]$INFO[Skin.String(HomeFanart.ext)]</texture>
					<include>VisibleFadeEffect</include>
					<visible>!String.IsEmpty(Skin.String(HomeFanart.path))</visible>
				</control>
			</control>
		</control>
	</include>
</includes>
