<window id="0">
	<defaultcontrol always="true">9000</defaultcontrol>
	<allowoverlay>no</allowoverlay>	
	<controls>
		<control type="videowindow">
			<posx>356</posx>
			<posy>100</posy>
			<width>924</width>
			<height>520</height>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="visualisation">
			<posx>356</posx>
			<posy>100</posy>
			<width>924</width>
			<height>520</height>
			<visible>Player.HasAudio</visible>
		</control>
		<control type="multiimage">
			<posx>356</posx>
			<posy>100</posy>
			<width>924</width>
			<height>520</height>
			<imagepath background="true">$INFO[Container(9000).ListItem.Icon]</imagepath>
			<timeperimage>7000</timeperimage>
			<randomize>true</randomize>
			<fadetime>FanartCrossfadeTime</fadetime>
			<visible>!Player.HasMedia</visible>
		</control>
		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<texture>Background-Home.png</texture>
		</control>
		<!-- weather Info -->
		<control type="group">
			<posx>600r</posx>
			<posy>450</posy>
			<visible>Container(9000).HasFocus(5) + Weather.IsFetched + !Skin.HasSetting(homepageWeatherinfo) + !IsEmpty(Weather.Plugin)</visible>
			<include>homestatsinfo</include>
			<control type="image">
				<description>gradient</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>600</width>
				<height>130</height>
				<texture>gradient.png</texture>
			</control>
			<control type="image">
				<description>back image</description>
				<posx>160r</posx>
				<posy>0</posy>
				<width>130</width>
				<height>130</height>
				<texture>homeinfo-blank.png</texture>
			</control>
			<control type="image">
				<description>Weather image</description>
				<posx>150r</posx>
				<posy>10</posy>
				<width>110</width>
				<height>110</height>
				<texture>$INFO[Weather.Conditions]</texture>
			</control>
			<control type="label">
				<description>Weather label</description>
				<posx>170r</posx>
				<posy>5</posy>
				<height>30</height>
				<width>500</width>
				<label>[B]$LOCALIZE[20088][/B]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<description>location label</description>
				<posx>170r</posx>
				<posy>37</posy>
				<height>30</height>
				<width>500</width>
				<label>$INFO[Window(Weather).Property(Location)]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font18</font>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<description>Conditions Label</description>
				<posx>170r</posx>
				<posy>70</posy>
				<height>30</height>
				<width>500</width>
				<label>$INFO[Window(Weather).Property(Current.Condition)]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<description>Temp Label</description>
				<posx>170r</posx>
				<posy>95</posy>
				<height>30</height>
				<width>500</width>
				<label>$LOCALIZE[143] $INFO[Window(Weather).Property(Current.Temperature)]$INFO[System.TemperatureUnits]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
				<visible>!IsEmpty(Window(Weather).Property(Current.Temperature))</visible>
			</control>
		</control>
		<!-- Music Info -->
		<control type="group">
			<posx>600r</posx>
			<posy>450</posy>
			<include>homeaudioinfo</include>
			<control type="image">
				<description>gradient</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>600</width>
				<height>130</height>
				<texture>gradient.png</texture>
			</control>
			<control type="image">
				<description>Cover image</description>
				<posx>160r</posx>
				<posy>0</posy>
				<width>130</width>
				<height>130</height>
				<texture>$INFO[MusicPlayer.Cover]</texture>
			</control>
			<control type="label">
				<description>Artist label</description>
				<posx>180r</posx>
				<posy>5</posy>
				<height>30</height>
				<width>500</width>
				<label>$INFO[MusicPlayer.Artist]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<description>Title label</description>
				<posx>180r</posx>
				<posy>37</posy>
				<height>30</height>
				<width>500</width>
				<label>$INFO[MusicPlayer.Title]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font18</font>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<description>Album Label</description>
				<posx>180r</posx>
				<posy>70</posy>
				<height>30</height>
				<width>500</width>
				<label>$INFO[MusicPlayer.Album]$INFO[musicplayer.discnumber, - $LOCALIZE[427]:]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<description>Time Label</description>
				<posx>180r</posx>
				<posy>95</posy>
				<height>30</height>
				<width>500</width>
				<label>$INFO[MusicPlayer.Time]$INFO[MusicPlayer.Duration, / ]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
			</control>
		</control>
		<!-- Video Info -->
		<control type="group">
			<posx>600r</posx>
			<posy>450</posy>
			<include>homevideoinfo</include>
			<control type="image">
				<description>gradient</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>600</width>
				<height>130</height>
				<texture>gradient.png</texture>
			</control>
			<control type="image">
				<description>Cover image</description>
				<posx>160r</posx>
				<posy>0</posy>
				<width>150</width>
				<height>130</height>
				<aspectratio align="left">keep</aspectratio>
				<texture>$INFO[VideoPlayer.cover]</texture>
			</control>
			<control type="label">
				<description>Director label</description>
				<posx>180r</posx>
				<posy>5</posy>
				<height>30</height>
				<width>500</width>
				<label>$INFO[VideoPlayer.Director]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
				<visible>!videoplayer.content(episodes) + !videoplayer.content(musicvideos)</visible>
			</control>
			<control type="label">
				<description>TV Show Title label</description>
				<posx>180r</posx>
				<posy>5</posy>
				<height>30</height>
				<width>500</width>
				<label>$INFO[VideoPlayer.tvshowtitle]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
				<visible>videoplayer.content(episodes)</visible>
			</control>
			<control type="label">
				<description>Music Video Artist label</description>
				<posx>180r</posx>
				<posy>5</posy>
				<height>30</height>
				<width>500</width>
				<label>$INFO[VideoPlayer.Artist]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
				<visible>videoplayer.content(musicvideos)</visible>
			</control>
			<control type="label">
				<description>Title label</description>
				<posx>180r</posx>
				<posy>37</posy>
				<height>30</height>
				<width>500</width>
				<label>$INFO[VideoPlayer.Title]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font18</font>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<description>Genre label</description>
				<posx>180r</posx>
				<posy>70</posy>
				<height>30</height>
				<width>500</width>
				<info>VideoPlayer.Genre</info>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
				<visible>!videoplayer.content(episodes) + !videoplayer.content(musicvideos)</visible>
			</control>
			<control type="label">
				<posx>180r</posx>
				<posy>70</posy>
				<height>30</height>
				<width>500</width>
				<info>VideoPlayer.Album</info>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
				<visible>videoplayer.content(musicvideos)</visible>
			</control>
			<control type="label">
				<description>Season and Episode label</description>
				<posx>180r</posx>
				<posy>70</posy>
				<height>30</height>
				<width>500</width>
				<label>$LOCALIZE[20373] $INFO[VideoPlayer.Season] - $LOCALIZE[20359] $INFO[VideoPlayer.episode]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
				<visible>videoplayer.content(episodes)</visible>
			</control>
			<control type="label">
				<description>Time Label</description>
				<posx>180r</posx>
				<posy>95</posy>
				<height>30</height>
				<width>500</width>
				<label>$INFO[VideoPlayer.Time]$INFO[VideoPlayer.Duration, / ]</label>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<shadowcolor>black</shadowcolor>
			</control>
		</control>
		<control type="group">
			<include>Window_OpenClose_Home_Panel_Animation</include>
			<control type="image">
				<posx>70</posx>
				<posy>170</posy>
				<width>450</width>
				<height>400</height>
				<texture>Home-Menu-Back.png</texture>
			</control>
			<control type="button" id="10">
				<description>Up Arrow</description>
				<posx>155</posx>
				<posy>140</posy>
				<width>40</width>
				<height>30</height>
				<texturefocus>arrow-big-up.png</texturefocus>
				<texturenofocus>arrow-big-up.png</texturenofocus>
				<onclick>Control.Move(9000,-1)</onclick>
				<visible>Container(9000).HasPrevious</visible>
				<include>VisibleFadeEffect</include>
			</control>
			<control type="button" id="11">
				<description>Down Arrow</description>
				<posx>155</posx>
				<posy>540</posy>
				<width>40</width>
				<height>30</height>
				<texturefocus>arrow-big-down.png</texturefocus>
				<texturenofocus>arrow-big-down.png</texturenofocus>
				<onclick>Control.Move(9000,1)</onclick>
				<visible>Container(9000).HasNext</visible>
				<include>VisibleFadeEffect</include>
			</control>
			<control type="list" id="9000">
				<posx>115</posx>
				<posy>180</posy>
				<width>345</width>
				<height>342</height>
				<onleft>20</onleft>
				<onright>22</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
				<pagecontrol>-</pagecontrol>
				<scrolltime>200</scrolltime>
				<itemlayout height="57" width="345">
					<control type="image">
						<posx>20</posx>
						<posy>22</posy>
						<width>26</width>
						<height>26</height>
						<texture>home-button.png</texture>
					</control>
					<control type="label">
						<posx>80</posx>
						<posy>10</posy>
						<width>265</width>
						<height>47</height>
						<font>font20</font>
						<textcolor>white</textcolor>
						<align>left</align>
						<aligny>center</aligny>
						<label>[B]$INFO[ListItem.Label][/B]</label>
					</control>
					<control type="image">
						<posx>0</posx>
						<posy>57</posy>
						<width>330</width>
						<height>6</height>
						<texture>Home-Menu-Back-Divider.png</texture>
					</control>
				</itemlayout>
				<focusedlayout height="57" width="345">
					<control type="image">
						<posx>20</posx>
						<posy>22</posy>
						<width>26</width>
						<height>26</height>
						<texture>home-button.png</texture>
					</control>
					<control type="image">
						<posx>23</posx>
						<posy>25</posy>
						<width>16</width>
						<height>17</height>
						<texture>home-button-focus.gif</texture>
						<visible>Control.HasFocus(9000) | Control.HasFocus(10) | Control.HasFocus(11)</visible>
					</control>
					<control type="label">
						<posx>80</posx>
						<posy>10</posy>
						<width>265</width>
						<height>47</height>
						<font>font20</font>
						<textcolor>white</textcolor>
						<align>left</align>
						<aligny>center</aligny>
						<label>[B]$INFO[ListItem.Label][/B]</label>
					</control>
					<control type="image">
						<posx>0</posx>
						<posy>57</posy>
						<width>330</width>
						<height>6</height>
						<texture>Home-Menu-Back-Divider.png</texture>
					</control>
				</focusedlayout>
				<content>
					<item id="1">
						<label>3</label>
						<onclick>ActivateWindow(Videos)</onclick>
						<icon>special://skin/backgrounds/videos.jpg</icon>
						<thumb>$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</thumb>
						<visible>!Skin.HasSetting(homepageVideoButtonAlwaysFilemode)</visible>
						<visible>!Skin.HasSetting(homepageHideVideoButton)</visible>
					</item>
					<item id="1">
						<label>3</label>
						<onclick>ActivateWindow(Videos,Files)</onclick>
						<icon>special://skin/backgrounds/videos.jpg</icon>
						<thumb>$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</thumb>
						<visible>Skin.HasSetting(homepageVideoButtonAlwaysFilemode)</visible>
						<visible>!Skin.HasSetting(homepageHideVideoButton)</visible>
					</item>
					<item id="9">
						<label>20342</label>
						<onclick>ActivateWindow(Videos,MovieTitles,return)</onclick>
						<icon>special://skin/backgrounds/movies.jpg</icon>
						<thumb>$INFO[Skin.String(Home_Custom_Back_Movies_Folder)]</thumb>
						<visible>Library.HasContent(Movies)</visible>
						<visible>!Skin.HasSetting(homepageHideMoviesButton)</visible>
					</item>
					<item id="10">
						<label>20343</label>
						<onclick>ActivateWindow(Videos,TVShowTitles,return)</onclick>
						<icon>special://skin/backgrounds/tvshow.jpg</icon>
						<thumb>$INFO[Skin.String(Home_Custom_Back_TVShow_Folder)]</thumb>
						<visible>Library.HasContent(TVShows)</visible>
						<visible>!Skin.HasSetting(homepageHideTVShowButton)</visible>
					</item>
					<item id="2">
						<label>2</label>
						<onclick>ActivateWindow(Music)</onclick>
						<icon>special://skin/backgrounds/music.jpg</icon>
						<thumb>$INFO[Skin.String(Home_Custom_Back_Music_Folder)]</thumb>
						<visible>Library.HasContent(Music)</visible>
						<visible>!Skin.HasSetting(homepageHideMusicButton)</visible>
					</item>
					<item id="2">
						<label>2</label>
						<onclick>ActivateWindow(MusicFiles)</onclick>
						<icon>special://skin/backgrounds/music.jpg</icon>
						<thumb>$INFO[Skin.String(Home_Custom_Back_Music_Folder)]</thumb>
						<visible>!Library.HasContent(Music)</visible>
						<visible>!Skin.HasSetting(homepageHideMusicButton)</visible>
					</item>
					<item id="3">
						<label>1</label>
						<onclick>ActivateWindow(Pictures)</onclick>
						<icon>special://skin/backgrounds/pictures.jpg</icon>
						<thumb>$INFO[Skin.String(Home_Custom_Back_Pictures_Folder)]</thumb>
						<visible>!Skin.HasSetting(homepageHidePictureButton)</visible>
					</item>
					<item id="4">
						<label>0</label>
						<onclick>ActivateWindow(Programs,Addons,return)</onclick>
						<icon>special://skin/backgrounds/programs.jpg</icon>
						<thumb>$INFO[Skin.String(Home_Custom_Back_Programs_Folder)]</thumb>
						<visible>!Skin.HasSetting(homepageHideProgramButton)</visible>
					</item>
					<item id="5">
						<label>8</label>
						<onclick>ActivateWindow(Weather)</onclick>
						<icon>special://skin/backgrounds/weather.jpg</icon>
						<thumb>$INFO[Skin.String(Home_Custom_Back_Weather_Folder)]</thumb>
						<visible>!Skin.HasSetting(homepageHideWeatherButton) + !IsEmpty(Weather.Plugin)</visible>
					</item>
					<item id="7">
						<label>5</label>
						<onclick>ActivateWindow(Settings)</onclick>
						<icon>special://skin/backgrounds/settings.jpg</icon>
						<thumb>$INFO[Skin.String(Home_Custom_Back_Settings_Folder)]</thumb>
					</item>
				</content>
			</control>
		</control>
		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>128</height>
			<texture>Header.png</texture>
		</control>
		<control type="image">
			<posx>40</posx>
			<posy>30</posy>
			<width>440</width>
			<height>60</height>
			<texture>xbmc-logo.png</texture>
			<include>Window_OpenClose_Animation</include>
		</control>
		<control type="label">
			<description>date/time label</description>
			<posx>70r</posx>
			<posy>65</posy>
			<width>400</width>
			<height>35</height>
			<align>right</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<label>$INFO[System.Date] [COLOR=grey2] |  $INFO[System.Time][/COLOR]</label>
			<include>Window_OpenClose_Animation</include>
		</control>
		<control type="image">
			<posx>0</posx>
			<posy>128r</posy>
			<width>1280</width>
			<height>128</height>
			<texture>Footer.png</texture>
		</control>
		<control type="group" id="9001">
			<posx>230r</posx>
			<posy>60r</posy>
			<include>Window_OpenClose_Animation</include>
			<control type="button" id="22">
				<description>Play Disc Media push button</description>
				<posx>00</posx>
				<posy>0</posy>
				<width>50</width>
				<height>50</height>
				<label>-</label>
				<font>-</font>
				<aligny>-</aligny>
				<onclick>XBMC.PlayDVD()</onclick>
				<texturefocus>home-playmedia.png</texturefocus>
				<texturenofocus>home-playmedia.png</texturenofocus>
				<onleft>9000</onleft>
				<onright>21</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
				<visible>System.HasMediaDVD</visible>
				<include>VisibleFadeEffect</include>
			</control>
			<control type="image">
				<posx>4</posx>
				<posy>4</posy>
				<width>37</width>
				<height>37</height>
				<texture>home-playmedia-focus.gif</texture>
				<visible>Control.HasFocus(22)</visible>
			</control>
			<control type="button" id="21">
				<description>Favourites push button</description>
				<posx>50</posx>
				<posy>0</posy>
				<width>50</width>
				<height>50</height>
				<label>-</label>
				<font>-</font>
				<aligny>-</aligny>
				<onclick>ActivateWindow(Favourites)</onclick>
				<texturefocus>home-favourites.png</texturefocus>
				<texturenofocus>home-favourites.png</texturenofocus>
				<onleft>22</onleft>
				<onright>20</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
			</control>
			<control type="image">
				<posx>54</posx>
				<posy>4</posy>
				<width>37</width>
				<height>37</height>
				<texture>home-favourites-focus.gif</texture>
				<visible>Control.HasFocus(21)</visible>
			</control>
			<control type="button" id="20">
				<description>Power push button</description>
				<posx>100</posx>
				<posy>0</posy>
				<width>50</width>
				<height>50</height>
				<label>-</label>
				<font>-</font>
				<aligny>-</aligny>
				<onclick>ActivateWindow(ShutdownMenu)</onclick>
				<texturefocus>home-power.png</texturefocus>
				<texturenofocus>home-power.png</texturenofocus>
				<onleft>21</onleft>
				<onright>9000</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
			</control>
			<control type="image">
				<posx>104</posx>
				<posy>4</posy>
				<width>37</width>
				<height>37</height>
				<texture>home-power-focus.gif</texture>
				<visible>Control.HasFocus(20)</visible>
			</control>
		</control>
		<control type="rss">
			<description>rss feed</description>
			<posx>0</posx>
			<posy>100r</posy>
			<width>1280</width>
			<font>font12</font>
			<urlset>1</urlset>
			<textcolor>green</textcolor>
			<titlecolor>green</titlecolor>
			<headlinecolor>white</headlinecolor>
			<visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
			<include>Window_OpenClose_Animation</include>
		</control>
		<include>BehindDialogFadeOut</include>
	</controls>	
</window>