<?xml version="1.0" encoding="UTF-8"?>
<window>
	<!-- home -->
	<onload>RunScript(script.skinshortcuts,type=buildxml&amp;mainmenuID=3000&amp;group=mainmenu|shutdownmenu)</onload>
	<onunload condition="String.IsEqual(Window(home).Property(Trailer_Autoplay),true)">PlayerControl(Stop)</onunload>
	<onunload condition="String.IsEqual(Window(home).Property(Trailer_Autoplay),true)">ClearProperty(Trailer_Autoplay,home)</onunload>
	<defaultcontrol always="true">4010</defaultcontrol>
	<backgroundcolor>$VAR[Dark_Color]</backgroundcolor>
	<include content="WindowOpenClose_Fade_Delayed_Animation" />
	<controls>
		<include content="Home_Container_Update_Bounce_Test" />
		<include content="Focus_Setter">
			<param name="target_id" value="SetFocus(3000)" />
		</include>
		<include content="User_Scroll_Delay" />
		<include content="Music_Player_Controls" condition="Skin.HasSetting(Music_Player_Enabled)" />
		<include content="MyViews_Multiart_Labels" condition="Skin.HasSetting(Multiart_Slideshow)" />
		<control type="videowindow">
			<visible>String.IsEqual(Window(home).Property(Trailer_Autoplay),true)</visible>
		</control>
		<include content="Trailer_Autoplay_Mask" condition="Skin.HasSetting(Trailer_Autoplay)">
			<param name="timer" value="trailer_autoplay_home" />
		</include>
		<control type="list" id="3000">
			<viewtype label="535">list</viewtype>
			<width>800</width>
			<height>0</height>
			<onfocus>ClearProperty(Home_Widget,home)</onfocus>
			<include content="Home_Menu_Navigation" />
			<orientation>horizontal</orientation>
			<itemlayout width="100" />
			<focusedlayout width="100" />
			<content>
				<include content="skinshortcuts-mainmenu" />
			</content>
		</control>
		<!-- Background -->
		<include content="Light_Theme_Background">
			<param name="visible" value="$EXP[Home_Background_IsLight] + !Window.IsVisible(1150)" />
			<include content="Trailer_Autoplay_Fade_Delayed_Animation" condition="Skin.HasSetting(Trailer_Autoplay)" />
		</include>
		<control type="group">
			<visible>[Control.HasFocus(3000) | Control.HasFocus(4300) | $EXP[Music_Player_HasFocus]] + !$EXP[Infoscreen_IsVisible]</visible>
			<include content="VisibleHidden_Fade_Animation" />
			<include content="Background_Home" />
			<include content="Home_Clearlogo" condition="Skin.HasSetting(Home_Screensaver_Enabled)" />
		</control>
		<!-- Content -->
		<control type="group">
			<include content="WindowOpenClose_Fade_Delayed_Long_Animation" />
			<include content="Trailer_Autoplay_Fade_Animation" condition="Skin.HasSetting(Trailer_Autoplay)" />
			<control type="group">
				<visible>Control.HasFocus(3000) | $EXP[Music_Player_HasFocus]</visible>
				<visible>!$EXP[TransparentDialog_IsVisible] + !Window.IsVisible(favourites) + !$EXP[Infoscreen_IsVisible]</visible>
				<include content="Visible_Fade_Delayed_Animation" />
				<include content="Horizontal_List">
					<param name="hidden_id" value="3000" />
					<param name="focused_color" value="$VAR[Light_Color]" />
					<param name="unfocused_color" value="$VAR[Light_Color]" />
				</include>
				<include content="Clock" condition="!Skin.HasSetting(Hide_Home_Clock)">
					<param name="textcolor" value="$VAR[Notification_Widget_Label_Color]" />
				</include>
			</control>
			<include content="Home_Widgets" condition="Skin.HasSetting(Widgets_Enabled)" />
			<include content="Music_Player_Widget" condition="Skin.HasSetting(Music_Player_Enabled)">
				<param name="left_label_visible" value="true" />
				<param name="background_visible" value="false" />
			</include>
		</control>
	</controls>
</window>