<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">10</defaultcontrol>
	<include>defaultskinsettings</include>
	<animation type="VisibleChange">
		<effect type="fade" start="0" end="100" time="800"/>
		<effect type="zoom" start="110" end="100" time="800" center="auto"/>
	</animation>
	<visible>Window.IsTopMost(startup)</visible>
	<controls>
		<control type="image"><!-- Startup screen image -->
			<include>fullscreenimage</include>
			<texture>$VAR[StartupBackground]</texture>
			<aspectratio>stretch</aspectratio>
		</control>
		<control type="image"><!-- Skin logo -->
			<left>576</left>
			<top>300</top>
			<width>768</width>
			<height>384</height>
			<aspectratio>keep</aspectratio>
			<texture>skin-logo-big.png</texture>
			<visible>!String.IsEqual(Skin.String(startup-screentype),$LOCALIZE[31857])</visible>
		</control>
		<control type="button" id="10"><!-- Play the startup video or playlist -->
			<left>-100</left>
			<top>-100</top>
			<width>1</width>
			<height>1</height>
			<onfocus condition="String.IsEqual(Skin.String(startup-screentype),$LOCALIZE[31858])">PlayMedia($ESCINFO[Skin.String(startup-screenpath)])</onfocus>
			<onfocus condition="Skin.HasSetting(startup-playlist)">PlayMedia($ESCINFO[Skin.String(startup-playlistpath)],isdir)</onfocus>
			<onfocus>ReplaceWindow($INFO[System.StartupWindow])</onfocus>
			<animation effect="fade" delay="2000" end="100">Focus</animation>
		</control>
	</controls>
</window>