<window id="0">
	<defaultcontrol always="true">9000</defaultcontrol>
	<allowoverlay>no</allowoverlay>	
	<controls>	
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath background="true">$INFO[Container(9000).ListItem.Icon]</imagepath>
			<timeperimage>8000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
		</control>
		<include>CommonMediaPlayingBackground</include>
		<include condition="!Skin.HasSetting(UseHorizontalHome)">IncludeHomeVertical</include>
		<include condition="Skin.HasSetting(UseHorizontalHome)">IncludeHomeHorizontal</include>
		<!-- System Info -->
		<control type="group">
			<posx>840r</posx>
			<posy>0</posy>
			<include>VisibleFadeEffect</include>
			<visible>Skin.HasSetting(homepageSysteminfo) + Container(9000).HasFocus(5)</visible>
			<animation effect="slide" start="0,0" end="-60,0" delay="0" time="300" condition="Window.IsVisible(MuteBug)">conditional</animation>
			<animation effect="slide" start="0,0" end="130,0" delay="0" time="300" condition="Skin.HasSetting(homepageWeatherinfo) | !Weather.IsFetched">conditional</animation>
			<animation effect="slide" start="0,0" end="840,0" delay="0" time="300">WindowClose</animation>
			<animation effect="slide" start="840,0" end="0,0" delay="0" time="300">WindowOpen</animation>
			<control type="image">
				<description>system info background</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>440</width>
				<height>35</height>
				<texture flipx="true" border="32,0,0,0">header.png</texture>
			</control>
			<control type="label">
				<description>system info label</description>
				<posx>30</posx>
				<posy>0</posy>
				<width>400</width>
				<height>28</height>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<label>[COLOR=grey]$LOCALIZE[140] $INFO[System.cputemperature] $LOCALIZE[141] $INFO[System.gputemperature][/COLOR] | $INFO[System.FreeMemory]</label>
			</control>
		</control>	
		<!-- Weather Info -->
		<control type="group">
			<posx>510r</posx>
			<posy>0</posy>
			<animation effect="slide" start="0,0" end="-60,0" delay="0" time="300" condition="Window.IsVisible(MuteBug)">conditional</animation>
			<animation effect="slide" start="0,0" end="510,0" delay="0" time="300">WindowClose</animation>
			<animation effect="slide" start="510,0" end="0,0" delay="0" time="300">WindowOpen</animation>
			<visible>!Skin.HasSetting(homepageWeatherinfo) + Weather.IsFetched</visible>
			<control type="image">
				<description>time background</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>180</width>
				<height>35</height>
				<texture flipx="true" border="32,0,0,0">header.png</texture>
			</control>
			<control type="image">
				<description>Weather image</description>
				<posx>30</posx>
				<posy>1</posy>
				<width>25</width>
				<height>25</height>
				<aspectratio>keep</aspectratio>
				<texture>$INFO[Weather.Conditions]</texture>
			</control>
			<control type="label">
				<description>time label</description>
				<posx>60</posx>
				<posy>0</posy>
				<width>100</width>
				<height>28</height>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<label>[B]$INFO[Weather.Temperature][/B]</label>
			</control>
		</control>		
		<control type="image">
			<include>VisibleFadeEffect</include>
			<include>Window_OpenClose_Animation</include>
			<posx>0</posx>
			<posy>100r</posy>
			<width>256</width>
			<height>100</height>
			<texture>HomeButtonsBack.png</texture>
		</control>
		<control type="group" id="10">
			<posx>15</posx>
			<posy>55r</posy>
			<include>VisibleFadeEffect</include>
			<include>Window_OpenClose_Animation</include>
			<control type="button" id="20">
				<description>Power push button</description>
				<posx>90</posx>
				<posy>0</posy>
				<width>43</width>
				<height>43</height>
				<label>31003</label>
				<font>-</font>
				<aligny>-</aligny>
				<onclick>ActivateWindow(ShutdownMenu)</onclick>
				<texturefocus>home-power-FO.png</texturefocus>
				<texturenofocus>home-power.png</texturenofocus>
				<onleft>21</onleft>
				<onright>9000</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
			</control>
			<control type="button" id="21">
				<description>Favourites push button</description>
				<posx>45</posx>
				<posy>0</posy>
				<width>43</width>
				<height>43</height>
				<label>1036</label>
				<font>-</font>
				<aligny>-</aligny>
				<onclick>ActivateWindow(Favourites)</onclick>
				<texturefocus>home-favourites-FO.png</texturefocus>
				<texturenofocus>home-favourites.png</texturenofocus>
				<onleft>22</onleft>
				<onright>20</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
			</control>
			<control type="button" id="22">
				<description>Play Disc Media push button</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>43</width>
				<height>43</height>
				<label>16004</label>
				<font>-</font>
				<aligny>-</aligny>
				<onclick>ActivateWindow(1113)</onclick>
				<texturefocus>home-playmedia-FO.png</texturefocus>
				<texturenofocus>home-playmedia.png</texturenofocus>
				<onleft>9000</onleft>
				<onright>21</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
			</control>
		</control>
		<control type="group">
			<posx>420</posx>
			<posy>35r</posy>
			<animation effect="slide" end="0,35" time="300" tween="quadratic" easing="out">WindowClose</animation>
			<animation effect="slide" start="0,35" time="300" tween="quadratic" easing="out">WindowOpen</animation>
			<control type="image">
				<description>RSS background</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>860</width>
				<height>35</height>
				<texture border="32,0,0,0">Rss_Back.png</texture>
				<visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
			</control>
			<control type="rss">
				<description>RSS feed</description>
				<posx>35</posx>
				<posy>6</posy>
				<height>35</height>
				<width>825</width>
				<font>font12</font>
				<urlset>1</urlset>
				<textcolor>blue</textcolor>
				<titlecolor>blue</titlecolor>
				<headlinecolor>white</headlinecolor>
				<visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
			</control>
			<control type="image">
				<description>RSS background</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>100</width>
				<height>35</height>
				<texture border="32,0,0,0">Rss_Back_Overlay.png</texture>
				<visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
			</control>
		</control>
		<control type="group">
			<posx>380r</posx>
			<posy>0</posy>
			<animation effect="slide" start="0,0" end="-60,0" delay="0" time="300" condition="Window.IsVisible(MuteBug)">conditional</animation>
			<animation effect="slide" start="0,0" end="380,0" delay="0" time="300">WindowClose</animation>
			<animation effect="slide" start="380,0" end="0,0" delay="0" time="300">WindowOpen</animation>
			<control type="image">
				<description>time background</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>440</width>
				<height>35</height>
				<texture flipx="true" border="32,0,0,0">header.png</texture>
			</control>
			<control type="label">
				<description>time label</description>
				<posx>30</posx>
				<posy>0</posy>
				<width>400</width>
				<height>28</height>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<label>[COLOR=grey]$INFO[System.Date][/COLOR] | $INFO[System.Time]</label>
				<visible>!IntegerGreaterThan(system.memory(used.percent),90)</visible>
			</control>
			<control type="label">
				<description>low free memory label</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>400</width>
				<height>28</height>
				<align>center</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>FFDD0000</textcolor>
				<label>[B]$LOCALIZE[158]: $INFO[System.FreeMemory][/B]</label>
				<visible>IntegerGreaterThan(system.memory(used.percent),90)</visible>
			</control>
		</control>
	</controls>	
</window>