<window>

	<id>20</id>
	<previouswindow>12999</previouswindow>
	<defaultcontrol>50</defaultcontrol>
	<allowoverlay>yes</allowoverlay>

	<controls>

<!-- Setup Background and Window Transition -->
		<control>
			<description>Background Animation</description>
			<type>image</type>
			<posx>0</posx>
			<posy>0</posy>
			<width>720</width>
			<height>576</height>
			<colordiffuse>50FFFFFF</colordiffuse>
			<texture>background-animation1.gif</texture>
			<visible>!Player.HasMedia + !Skin.String(KAI)</visible>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" delay="100" time="750" condition="Window.Next(12999)">WindowClose</animation>
		</control>


		<control>
			<type>visualisation</type>
			<posx>0</posx>
			<posy>0</posy>
			<width>720</width>
			<height>576</height>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" delay="100" time="750" condition="Window.Next(12999)">WindowClose</animation>
		</control>

		<control>
			<description>video preview window</description>
			<type>videowindow</type>
			<posx>0</posx>
			<posy>0</posy>
			<width>720</width>
			<height>576</height>
			<animation effect="fade" time="100">WindowOpen</animation>
			<animation effect="fade" delay="100" time="750" condition="Window.Next(12999)">WindowClose</animation>
		</control>

		<control>
			<description>Orange Background Static Alpha</description>
			<type>image</type>
			<posx>0</posx>
			<posy>0</posy>
			<width>720</width>
			<height>576</height>
			<visible>!Skin.String(KAI)</visible>
			<texture>background-orange-alpha.png</texture>
			<animation effect="fade" delay="100" time="750" condition="Window.Next(12999)">WindowClose</animation>
		</control>

		<control>
			<description>XLink Custom Background Static</description>
			<type>image</type>
			<posx>0</posx>
			<posy>0</posy>
			<width>720</width>
			<height>576</height>
			<info>Skin.String(KAI)</info>
			<visible>!Player.HasMedia</visible>
			<animation effect="fade" delay="100" time="750" condition="Window.Next(12999)">WindowClose</animation>
		</control>

		<control>
			<description>XLink Custom Background Static Alpha</description>
			<type>image</type>
			<posx>0</posx>
			<posy>0</posy>
			<width>720</width>
			<height>576</height>
			<info>Skin.String(KAI)</info>
			<colordiffuse>77FFFFFF</colordiffuse>
			<visible>Player.HasMedia</visible>
			<animation effect="fade" delay="100" time="750" condition="Window.Next(12999)">WindowClose</animation>
		</control>

		<control>
			<description>Whitewash Glass Top Middle</description>
			<type>image</type>
			<posx>0</posx>
			<posy>0</posy>
			<width>720</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-top-middle.png</texture>
			<visible>!Skin.String(KAI)</visible>
			<animation effect="fade" delay="100" time="500" condition="Window.Next(12999)">WindowClose</animation>
		</control>

		<control>
			<description>Whitewash Glass Bottom Middle</description>
			<type>image</type>
			<posx>0</posx>
			<posy>512</posy>
			<width>720</width>
			<height>64</height>
			<texture>bkgd-whitewash-glass-bottom-middle.png</texture>
			<visible>!Skin.String(KAI)</visible>
			<animation effect="fade" delay="100" time="500" condition="Window.Next(12999)">WindowClose</animation>
		</control>

<!-- Start Button Controls -->
		<control>
			<description>Y Button</description>
			<type>image</type>
			<posx>95</posx>
			<posy>505</posy>
			<width>21</width>
			<height>21</height>
			<texture>button-Y-turnedoff.png</texture>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>X Button</description>
			<type>image</type>
			<posx>82</posx>
			<posy>525</posy>
			<width>21</width>
			<height>21</height>
			<texture>button-X.png</texture>
			<visible>Player.HasVideo | Player.HasAudio</visible>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>X Button Off</description>
			<type>image</type>
			<posx>82</posx>
			<posy>525</posy>
			<width>21</width>
			<height>21</height>
			<texture>button-X-turnedoff.png</texture>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
			<visible>!Player.Hasmedia</visible>
		</control>

		<control>
			<description>Full-Screen Visualisation Label</description>
			<include>KeymapFont</include>
			<posx>115</posx>
			<posy>528</posy>
			<include>20002</include>
			<align>left</align>
			<visible>Player.HasAudio</visible>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>
		<control>
			<description>Full-Screen Video Label</description>
			<include>KeymapFont</include>
			<posx>115</posx>
			<posy>528</posy>
			<include>20003</include>
			<align>left</align>
			<visible>Player.HasVideo</visible>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>B Button</description>
			<type>image</type>
			<posx>620</posx>
			<posy>505</posy>
			<width>21</width>
			<height>21</height>
			<texture>button-B.png</texture>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>Back Label</description>
			<include>KeymapFont</include>
			<posx>610</posx>
			<posy>508</posy>
			<include>19023</include>
			<align>right</align>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>A Button</description>
			<type>image</type>
			<posx>633</posx>
			<posy>525</posy>
			<width>21</width>
			<height>21</height>
			<texture>button-A.png</texture>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>Select Label</description>
			<include>KeymapFont</include>
			<posx>623</posx>
			<posy>528</posy>
			<include>19020</include>
			<align>right</align>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

<!-- Start Screen Close Animation -->


		<control>
			<description>Whitewash Overlay Middle</description>
			<type>image</type>
			<posx>0</posx>
			<posy>0</posy>
			<width>720</width>
			<height>576</height>
			<texture>background-overlay-whitewash-centertile.png</texture>
			<animation effect="zoom" center="423,288" end="100,30" delay="100" time="500" condition="Window.Next(12999)">WindowClose</animation>
		</control>

		<control>
			<description>Intro Background</description>
			<type>image</type>
			<posx>0</posx>
			<posy>0</posy>
			<width>720</width>
			<height>576</height>
			<texture>background-intro.png</texture>
			<animation effect="fade" end="0">WindowOpen</animation>
			<animation effect="fade" start="0" end="0" condition="!Window.Next(12999)">WindowClose</animation>
			<animation effect="fade" start="0" end="100" delay="100" time="750" condition="Window.Next(12999)">WindowClose</animation>
		</control>

		<control>
			<description>Left Blade Runner Fill-In</description>
			<type>image</type>
			<posx>-215</posx>
			<posy>0</posy>
			<width>104</width>
			<height>576</height>
			<texture>background-grey1.png</texture>
			<animation effect="fade" end="0">WindowOpen</animation>
			<animation effect="slide" end="215,0" time="500" condition="Window.Next(12999)">WindowClose</animation>
		</control>

		<control>
			<description>Left Blade Runner</description>
			<type>image</type>
			<posx>-111</posx>
			<posy>0</posy>
			<width>128</width>
			<height>576</height>
			<texture>blades-runner-left1.png</texture>
			<animation effect="fade" end="0">WindowOpen</animation>
			<animation effect="slide" end="215,0" time="500" condition="Window.Next(12999)">WindowClose</animation>
		</control>

		<control>
			<description>Right Blade Runner Fill-In</description>
			<type>image</type>
			<posx>843</posx>
			<posy>0</posy>
			<width>92</width>
			<height>576</height>
			<texture>background-grey1.png</texture>
			<animation effect="fade" end="0">WindowOpen</animation>
			<animation effect="slide" end="-215,0" time="500" condition="Window.Next(12999)">WindowClose</animation>
		</control>

		<control>
			<description>Right Blade Runner</description>
			<type>image</type>
			<posx>715</posx>
			<posy>0</posy>
			<width>128</width>
			<height>576</height>
			<texture>blades-runner-right.png</texture>
			<animation effect="fade" end="0">WindowOpen</animation>
			<animation effect="slide" end="-215,0" time="500" condition="Window.Next(12999)">WindowClose</animation>
		</control>

<!-- Start Normal Window Controls -->
		<control>
			<description>description label</description>
			<type>label</type>
			<id>1</id>
			<posx>72</posx>
			<posy>30</posy>
			<align>left</align>
			<label>247</label>
			<textcolor>FFFFFFFF</textcolor>
			<include>shadow-black</include>
			<font>font18</font>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>button 1 top shadow</description>
			<type>image</type>
			<posx>50</posx>
			<posy>78</posy>
			<width>210</width>
			<height>355</height>
			<texture>systemhomebutton-1-top.png</texture>
			<visible>control.hasfocus(50) | control.hasfocus(51) | control.hasfocus(52)</visible>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>button image 1</description>
			<type>image</type>
			<posx>65</posx>
			<posy>80</posy>
			<width>185</width>
			<height>1</height>
			<texture>divider.png</texture>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>button image 2</description>
			<type>image</type>
			<posx>65</posx>
			<posy>114</posy>
			<width>185</width>
			<height>1</height>
			<texture>divider.png</texture>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>button image 3</description>
			<type>image</type>
			<posx>65</posx>
			<posy>148</posy>
			<width>185</width>
			<height>1</height>
			<texture>divider.png</texture>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<controlgroup>

			<control>
				<description>View As Icon</description>
				<type>image</type>
				<posx>65</posx>
				<posy>85</posy>
				<width>26</width>
				<height>26</height>
				<texture>icon-viewas.png</texture>
				<include>media-button-fades</include>
				<animation effect="fade" end="0" time="100">WindowClose</animation>
			</control>

			<control>
				<description>View As texture</description>
				<type>image</type>
			        <posx>50</posx>
			        <posy>78</posy>
				<width>210</width>
				<height>355</height>
				<texture>systemhomebutton-1.png</texture>
				<visible>control.hasfocus(2)</visible>
				<include>media-button-fades</include>
				<include>media-button-zoom1</include>
				<animation effect="fade" end="0" time="100">WindowClose</animation>
			</control>

			<control>
				<description>View As Icons button</description>
				<type>button</type>
				<id>2</id>
				<posx>80</posx>
				<posy>82</posy>
				<texturefocus>-</texturefocus>
      			 	<texturenofocus>-</texturenofocus>
      			 	<label>100</label>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>7</onup>
				<ondown>3</ondown>
                                <include>shadow-grey</include>
				<pulseonselect>no</pulseonselect>
				<include>media-button-fades</include>
				<animation effect="fade" end="0" time="100">WindowClose</animation>
			</control>

			<control>
				<description>Sort by Icon</description>
				<type>image</type>
				<posx>65</posx>
				<posy>118</posy>
				<width>26</width>
				<height>26</height>
				<texture>icon-sortby.png</texture>
				<include>media-button-fades</include>
				<animation effect="fade" end="0" time="100">WindowClose</animation>
			</control>

			<control>
				<description>Sort by texture</description>
				<type>image</type>
    			        <posx>50</posx>
    			        <posy>78</posy>
				<width>210</width>
				<height>355</height>
				<texture>systemhomebutton-2.png</texture>
				<visible>control.hasfocus(3) | control.hasfocus(4)</visible>
				<include>media-button-fades</include>
				<include>media-button-zoom2</include>
				<animation effect="fade" end="0" time="100">WindowClose</animation>
			</control>

			<control>
				<description>Sort by button</description>
				<type>button</type>
				<id>3</id>
				<posx>80</posx>
				<posy>115</posy>
				<texturefocus>-</texturefocus>
				<texturenofocus>-</texturenofocus>
				<label>103</label>
				<onleft>50</onleft>
				<onright>4</onright>
				<onup>2</onup>
				<ondown>5</ondown>
				<include>shadow-grey</include>
				<include>media-button-fades</include>
				<animation effect="fade" end="0" time="100">WindowClose</animation>
			</control>

			<control>
				<description>Sort asc</description>
				<type>togglebutton</type>
				<id>4</id>
				<posx>220</posx>
				<posy>124</posy>
				<width>16</width>
				<height>16</height>
				<label>-</label>
				<texturefocus>sortup-focus.png</texturefocus>
				<texturenofocus>sortup-nofocus.png</texturenofocus>
				<alttexturefocus>sortdown-focus.png</alttexturefocus>
				<alttexturenofocus>sortdown-nofocus.png</alttexturenofocus>
				<onleft>3</onleft>
				<onright>50</onright>
				<onup>4</onup>
				<ondown>4</ondown>
				<include>shadow-grey</include>
				<pulseonselect>no</pulseonselect>
				<include>media-button-fades</include>
				<animation effect="fade" end="0" time="100">WindowClose</animation>
			</control>

		</controlgroup>

		<control>
			<description>listcontrol</description>
			<type>listcontrol</type>
			<id>50</id>
			<posx>270</posx>
			<onleft>2</onleft>
			<onright>50</onright>
			<onup>2</onup>
			<ondown>2</ondown>
			<animation effect="fade" time="300">WindowOpen</animation>
			<animation effect="fade" time="100">WindowClose</animation>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>pics thumbnailpanel</description>
			<type>thumbnailpanel</type>
			<id>51</id>
			<posx>270</posx>
			<onleft>2</onleft>
			<onright>51</onright>
			<onup>51</onup>
			<ondown>51</ondown>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

		<control>
			<description>number of files text label</description>
			<type>label</type>
			<id>12</id>
			<posx>305</posx>
			<posy>475</posy>
			<align>center</align>
			<label>-</label>
			<font>font12</font>
			<textcolor>FF000000</textcolor>
			<animation effect="fade" end="0" time="100">WindowClose</animation>
		</control>

	</controls>

</window>