<window id="1111">
	<defaultcontrol always="true">9000</defaultcontrol>
	<previouswindow>1111</previouswindow>
	<allowoverlay>no</allowoverlay>	
	<animation effect="fade" start="100" end="100" time="30" condition="Control.HasFocus(1)">WindowClose</animation>
	<animation effect="fade" start="100" end="100" time="30" condition="Control.HasFocus(2)">WindowClose</animation>
	<controls>
		<include condition="!Skin.HasSetting(DontBlendBackground)">CommonVideoVizBackground</include>
		<control type="group">
			<animation effect="slide" start="0,0" end="-1280,0" time="HomeBladeAnimationSpeed" condition="Control.HasFocus(2)">Conditional</animation>
			<animation effect="slide" start="0,0" end="1280,0" time="HomeBladeAnimationSpeed" condition="Control.HasFocus(1)">Conditional</animation>
			<include>CommonAppsBackground</include>
		</control>
		<control type="group">
			<visible>Control.HasFocus(2)</visible>
			<animation effect="slide" start="1280,0" end="0,0" time="HomeBladeAnimationSpeed" condition="Control.HasFocus(2)">Conditional</animation>
			<include>CommonMediaBackground</include>
		</control>
		<control type="group">
			<visible>Control.HasFocus(1)</visible>
			<animation effect="slide" start="-1280,0" end="0,0" time="HomeBladeAnimationSpeed" condition="Control.HasFocus(1)">Conditional</animation>
			<include>CommonWeatherBackground</include>
		</control>
		<include condition="Skin.HasSetting(DontBlendBackground)">CommonVideoVizBackground</include>
<!-- Blackwash Background -->
		<control type="group">
			<animation effect="slide" end="-50,0" time="0" condition="Control.HasFocus(1)">Conditional</animation>
			<animation effect="slide" end="50,0" time="0" condition="Control.HasFocus(2)">Conditional</animation>
			<control type="image">
				<description>Background</description>
				<posx>105</posx>
				<posy>0</posy>
				<width>50</width>
				<height>720</height>
				<aspectratio>stretch</aspectratio>
				<texture>background-overlay-blackwash-left-ws.png</texture>
			</control>
			<control type="image">
				<description>Background</description>
				<posx>155r</posx>
				<posy>0</posy>
				<width>50</width>
				<height>720</height>
				<aspectratio>stretch</aspectratio>
				<texture>background-overlay-blackwash-right-ws.png</texture>
			</control>
			<control type="image">
				<description>Background</description>
				<posx>155</posx>
				<posy>0</posy>
				<width>970</width>
				<height>720</height>
				<aspectratio>stretch</aspectratio>
				<texture>background-overlay-blackwash-centertile-ws.png</texture>
			</control>
		</control>
<!-- Blackwash Background End-->
		<control type="group">
			<posx>180</posx>
			<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
			<animation effect="fade" time="HomeVisibleFadeAnimationSpeed">WindowOpen</animation>
			<control type="label">
				<description>Header label</description>
				<posx>0</posx>
				<label>31011</label>
				<include>HeaderTextCommons</include>
			</control>
			<control type="label">
				<description>Time label</description>
				<posx>930</posx>
				<include>ClockTextCommons</include>
			</control>
			<control type="group">
				<posx>20</posx>
				<posy>75</posy>
				<include>SystemCard</include>
			</control>
			<control type="group">
				<posx>510</posx>
				<posy>100</posy>
				<control type="label">
					<description>date label</description>
					<posx>0</posx>
					<posy>0</posy>
					<width>380</width>
					<height>30</height>
					<align>center</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white2</textcolor>
					<label>$INFO[System.Date]</label>
				</control>
				<control type="image">
					<description>Logo</description>
					<posx>0</posx>
					<posy>30</posy>
					<width>380</width>
					<height>70</height>
					<aspectratio>keep</aspectratio>
					<texture>xbmc_logo.png</texture>
				</control>
				<control type="image">
					<description>Logo Mirror</description>
					<posx>0</posx>
					<posy>90</posy>
					<width>380</width>
					<height>70</height>
					<aspectratio>keep</aspectratio>
					<texture diffuse="diffuse_mirror2.png" flipy="true">xbmc_logo.png</texture>
				</control>
				<control type="image">
					<description>Logo Shadow</description>
					<posx>0</posx>
					<posy>100</posy>
					<width>380</width>
					<height>16</height>
					<texture>home_logoshadow.png</texture>
				</control>
			</control>
			<control type="group">
				<posy>225</posy>
				<control type="image">
					<description>Button Highlight</description>
					<texture>homebutton-$INFO[Container(9000).Position].png</texture>
					<visible>Control.HasFocus(9000)</visible>
					<include>HomeButtonHighlightCommonValues</include>
				</control>
				<control type="image">
					<description>Button Shadow</description>
					<texture>homebutton-$INFO[Container(9000).Position]-shadow.png</texture>
					<animation effect="fade" delay="100" time="175">visible</animation>
					<visible>Control.HasFocus(9000) + !Container(9000).OnNext + !Container(9000).OnPrevious</visible>
					<include>HomeButtonHighlightCommonValues</include>
				</control>
				<control type="image">
					<description>Button Seperator</description>
					<posx>35</posx>
					<posy>0</posy>
					<width>380</width>
					<height>2</height>
					<texture>divider.png</texture>
				</control>
				<control type="list" id="9000">
					<posx>0</posx>
					<posy>0</posy>
					<width>450</width>
					<height>314</height>
					<onleft>1</onleft>
					<onright>2</onright>
					<onup>15</onup>
					<ondown>15</ondown>
					<viewtype label="535">list</viewtype>
					<pagecontrol>60</pagecontrol>
					<scrolltime>200</scrolltime>
					<itemlayout height="52" width="450">
						<control type="image">
							<description>Button Seperator</description>
							<posx>35</posx>
							<posy>52</posy>
							<width>380</width>
							<height>2</height>
							<texture>divider.png</texture>
						</control>
						<control type="image">
							<description>Icon</description>
							<posx>50</posx>
							<posy>6</posy>
							<width>43</width>
							<height>43</height>
							<texture>$INFO[ListItem.Icon]</texture>
						</control>
						<control type="label">
							<posx>120</posx>
							<posy>0</posy>
							<width>330</width>
							<height>52</height>
							<font>font30</font>
							<aligny>center</aligny>
							<textcolor>white2</textcolor>
							<selectedcolor>orange</selectedcolor>
							<align>left</align>
							<info>ListItem.Label</info>
						</control>
					</itemlayout>
					<focusedlayout height="52" width="450">
						<control type="image">
							<description>Button Seperator</description>
							<posx>35</posx>
							<posy>52</posy>
							<width>380</width>
							<height>2</height>
							<texture>divider.png</texture>
						</control>
						<control type="image">
							<description>Icon</description>
							<posx>50</posx>
							<posy>6</posy>
							<width>43</width>
							<height>43</height>
							<texture>$INFO[ListItem.Icon]</texture>
							<animation effect="slide" end="ButtonSlideBackDistance,0" time="ButtonSlideBackTime" reversible="false">focus</animation>
						</control>
						<control type="label">
							<posx>120</posx>
							<posy>0</posy>
							<width>330</width>
							<height>50</height>
							<font>font30</font>
							<aligny>center</aligny>
							<textcolor>black</textcolor>
							<selectedcolor>orange</selectedcolor>
							<align>left</align>
							<label>$INFO[ListItem.Label]</label>
							<animation effect="slide" end="ButtonSlideBackDistance,0" time="ButtonSlideBackTime" reversible="false">focus</animation>
							<visible>Control.HasFocus(9000)</visible>
						</control>
						<control type="label">
							<posx>120</posx>
							<posy>0</posy>
							<width>330</width>
							<height>50</height>
							<font>font30</font>
							<aligny>center</aligny>
							<textcolor>white</textcolor>
							<selectedcolor>orange</selectedcolor>
							<align>left</align>
							<label>$INFO[ListItem.Label]</label>
							<visible>!Control.HasFocus(9000)</visible>
						</control>
						<control type="image">
							<description>Button shine animation</description>
							<posx>20</posx>
							<posy>3</posy>
							<width>80</width>
							<height>50</height>
							<texture>shine-animation.png</texture>
							<visible>System.IdleTime(5) + Control.HasFocus(9000)</visible>
							<animation type="visible" reversible="false">
								<effect type="fade" start="0" end="100" time="200"/>
								<effect type="fade" start="100" end="0" delay="800" time="200"/>
								<effect type="slide" start="0,0" end="350,0" delay="0" time="1000"/>
							</animation>
						</control>
					</focusedlayout>
					<content>
						<item>
							<label>0</label>
							<onclick>ActivateWindow(Programs,return)</onclick>
							<icon>special://skin/button_icons/icon-apps.png</icon>
							<thumb>-</thumb>
							<visible>!Skin.HasSetting(AppsBlade_HidePrograms)</visible>
						</item>
						<item>
							<label>15016</label>
							<onclick>ActivateWindow(Programs,Games,return)</onclick>
							<icon>special://skin/button_icons/icon-games.png</icon>
							<thumb>-</thumb>
							<visible>!Skin.HasSetting(AppsBlade_HideGames)</visible>
						</item>
						<item>
							<label>20315</label>
							<onclick>ActivateWindow(GameSaves)</onclick>
							<icon>special://skin/button_icons/icon-arena.png</icon>
							<thumb>-</thumb>
							<visible>Skin.HasSetting(AppsBlade_HideGameSaves)</visible>
						</item>
						<item>
							<label>31099</label>
							<onclick>ActivateWindow(Programs,Emulators,return)</onclick>
							<icon>special://skin/button_icons/icon-emulators.png</icon>
							<thumb>-</thumb>
							<visible>!Skin.HasSetting(AppsBlade_HideEmus)</visible>
						</item>
						<item>
							<label>247</label>
							<onclick>ActivateWindow(Scripts)</onclick>
							<icon>special://skin/button_icons/icon-addon.png</icon>
							<thumb>-</thumb>
							<visible>!Skin.HasSetting(AppsBlade_HideAddons)</visible>
						</item>
						<item>
							<label>7</label>
							<onclick>ActivateWindow(Filemanager)</onclick>
							<icon>special://skin/button_icons/icon-computer.png</icon>
							<visible>!Skin.HasSetting(AppsBlade_HideFilemanager)</visible>
							<thumb>-</thumb>
						</item>
						<item>
							<label>1036</label>
							<onclick>ActivateWindow(Favourites)</onclick>
							<icon>special://skin/button_icons/icon-favourites.png</icon>
							<visible>!Skin.HasSetting(AppsBlade_HideFavourites)</visible>
							<thumb>-</thumb>
						</item>
					</content>
				</control>
			</control>
			<include>CommonDVDTray</include>
		</control>

		<control type="button" id="1">
			<description>Blank Blade Slide Right</description>
			<posx>-80</posx>
			<posy>0</posy>
			<width>160</width>
			<height>720</height>
			<texturefocus>blades-blank-left.png</texturefocus>
			<onfocus>ActivateWindow(weather)</onfocus>
			<animation effect="slide" end="1280,0" time="HomeBladeAnimationSpeed">focus</animation>
			<hitrect x="-10" y="-10" w="1" h="1" />
		</control>
		<control type="button" id="2">
			<description>Blank Blade Slide Left</description>
			<posx>80r</posx>
			<posy>0</posy>
			<width>160</width>
			<height>720</height>
			<texturefocus>blades-blank-right.png</texturefocus>
			<onfocus>ActivateWindow(home)</onfocus>
			<animation effect="slide" end="-1280,0" time="HomeBladeAnimationSpeed">focus</animation>
			<hitrect x="-10" y="-10" w="1" h="1" />
		</control>

		<control type="group">
			<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
			<!-- Left side -->
			<control type="image">
				<posx>-110</posx>
				<posy>-40</posy>
				<width>180</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-runner-left.png</texture>
			</control>
			<control type="image">
				<posx>0</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size3-left-NF.png</texture>
			</control>
			<control type="label">
				<description>weather Label</description>
				<label>31004</label>
				<posx>90</posx>
				<posy>190</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
			</control>
			<control type="image">
				<posx>50</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size4-header.png</texture>
			</control>
			<control type="label">
				<description>Applications Label</description>
				<label>31002</label>
				<posx>140</posx>
				<posy>170</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
			</control>
			<!-- Right side -->
			<control type="image">
				<posx>65r</posx>
				<posy>-40</posy>
				<width>180</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-runner-right.png</texture>
			</control>
			<control type="image">
				<posx>115r</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size2-right-NF.png</texture>
			</control>
			<control type="label">
				<description>System Label</description>
				<label>31003</label>
				<posx>50r</posx>
				<posy>200</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
			</control>
			<control type="image">
				<posx>165r</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size3-right-NF.png</texture>
			</control>
			<control type="label">
				<description>Media Label</description>
				<label>31001</label>
				<posx>100r</posx>
				<posy>190</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
			</control>
		</control>

		<control type="group">
			<description>Media Blades</description>
			<visible>Control.HasFocus(2)</visible>
			<!-- Left side -->
			<control type="image">
				<posx>-110</posx>
				<posy>-40</posy>
				<width>180</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-runner-left.png</texture>
			</control>
			<control type="image">
				<posx>0</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size2-left-NF.png</texture>
			</control>
			<control type="label">
				<description>weather Label</description>
				<label>31004</label>
				<posx>90</posx>
				<posy>200</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
			</control>
			<control type="image">
				<posx>50</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size3-left-NF.png</texture>
			</control>
			<control type="label">
				<description>Applications Label</description>
				<label>31002</label>
				<posx>140</posx>
				<posy>190</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
			</control>
			<control type="image">
				<posx>100</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size4-header.png</texture>
				<visible>Control.HasFocus(2)</visible>
				<animation effect="fade" time="HomeBladeAnimationSpeed">visible</animation>
			</control>
			<control type="label">
				<description>Media Label</description>
				<label>31001</label>
				<posx>190</posx>
				<posy>170</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
				<visible>Control.HasFocus(2)</visible>
				<animation effect="fade" time="HomeBladeAnimationSpeed">visible</animation>
			</control>
			<!-- Right side -->
			<control type="image">
				<posx>65r</posx>
				<posy>-40</posy>
				<width>180</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-runner-right.png</texture>
			</control>
			<control type="image">
				<posx>115r</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size3-right-NF.png</texture>
			</control>
			<control type="label">
				<description>System Label</description>
				<label>31003</label>
				<posx>50r</posx>
				<posy>190</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
			</control>
		</control>

		<control type="group">
			<description>Weather Blades</description>
			<visible>Control.HasFocus(1)</visible>
			<!-- Left side -->
			<control type="image">
				<posx>-110</posx>
				<posy>-40</posy>
				<width>180</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-runner-left.png</texture>
			</control>
			<control type="image">
				<posx>0</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size4-header.png</texture>
			</control>
			<control type="label">
				<description>Weather Label</description>
				<label>31004</label>
				<posx>90</posx>
				<posy>170</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
			</control>
			<!-- Right side -->
			<control type="image">
				<posx>65r</posx>
				<posy>-40</posy>
				<width>180</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-runner-right.png</texture>
			</control>
			<control type="image">
				<posx>115r</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size1-right-NF.png</texture>
			</control>
			<control type="label">
				<description>System Label</description>
				<label>31003</label>
				<posx>50r</posx>
				<posy>210</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
			</control>
			<control type="image">
				<posx>165r</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size2-right-NF.png</texture>
			</control>
			<control type="label">
				<description>Media Label</description>
				<label>31001</label>
				<posx>100r</posx>
				<posy>200</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
			</control>
			<control type="image">
				<posx>215r</posx>
				<posy>-40</posy>
				<width>115</width>
				<height>800</height>
				<aspectratio>stretch</aspectratio>
				<texture>blades-size3-right-NF.png</texture>
				<visible>Control.HasFocus(1)</visible>
				<animation effect="fade" time="HomeBladeAnimationSpeed">visible</animation>
			</control>
			<control type="label">
				<description>Apps Label</description>
				<label>31002</label>
				<posx>150r</posx>
				<posy>190</posy>
				<font>font16</font>
				<textcolor>black</textcolor>
				<align>left</align>
				<aligny>middle</aligny>
				<angle>270</angle>
				<visible>Control.HasFocus(1)</visible>
				<animation effect="fade" time="HomeBladeAnimationSpeed">visible</animation>
			</control>
		</control>
		<include>Common_Now_Playing</include>
	</controls>	
</window>