<?xml version="1.0" encoding="utf-8"?>
<window>
	<defaultcontrol always="true">9000</defaultcontrol>
	<allowoverlay>no</allowoverlay>
	<onload>RunScript(script.skinshortcuts,type=buildxml&amp;mainmenuID=9000&amp;group=x1|x2|x3|x4|x5|x6|x7|x8|x9|x10|x11|x12|x13|x101|x202|x303|x404|x505|x606)</onload>
	<controls>
		<include>CommonBackground</include>
		<include condition="!Skin.HasSetting(Disable.Videoinfo)">NowPlayingVideoWidget</include>
		<include condition="!Skin.HasSetting(Disable.Musicinfo)">NowPlayingMusicWidget</include>
		<include>HomeRecentlyAddedInfo</include>
		<include condition="!Skin.HasSetting(Disable.Altwidget) + System.HasAddon(script.extendedinfo)">HomeRecentlyAddedInfoAlt</include>
		<include>WeatherWidget</include>
		<control type="group">
			<top>424</top>
			<control type="group">
				<animation effect="slide" end="0,338" time="320" tween="cubic" easing="inout" condition="Skin.HasSetting(lowermainmenu)">Conditional</animation>
				<animation effect="slide" end="-2510,0" time="240">WindowClose</animation>
				<animation effect="slide" start="-2510,0" end="0,0" delay="300" time="240" condition="!Window.Previous(startup)">WindowOpen</animation>
				<animation effect="slide" start="-2510" end="0" time="240">VisibleChange</animation>
				<animation effect="slide" start="-2510,0" end="0,0" delay="800" time="480" condition="Window.Previous(startup)">WindowOpen</animation>
				<control type="image">
					<width>2420</width>
					<height>87</height>
					<texture flipy="true">submenu_bar.png</texture>
				</control>
				<control type="image">
					<left>2420</left>
					<width>90</width>
					<height>87</height>
					<texture flipx="true" flipy="true">submenu_end.png</texture>
				</control>
				<include condition="System.HasAddon(service.library.data.provider)">PlayListStatsList</include>
				<control type="label">
					<left>0</left>
					<top>46</top>
					<width>2420</width>
					<height>40</height>
					<label>$VAR[LibraryStatsVar]</label>
					<textoffsetx>15</textoffsetx>
					<font>font13_title</font>
					<textcolor>themecolor</textcolor>
					<shadowcolor>shadow</shadowcolor>
				</control>
				<control type="grouplist" id="9020">
					<left>0</left>
					<top>46</top>
					<width>2430</width>
					<height>41</height>
					<align>right</align>
					<orientation>horizontal</orientation>
					<onup condition="Control.IsVisible(9004)">9004</onup>
					<onup condition="Control.IsVisible(9003)">9003</onup>
					<onup condition="![Control.IsVisible(9003) | Control.IsVisible(9004)]">9000</onup>
					<ondown>9000</ondown>
					<include condition="System.HasAddon(script.globalsearch)">HomeSearchButton</include>
					<control type="button" id="9021">
						<label></label>
						<textoffsetx>0</textoffsetx>
						<width>50</width>
						<height>41</height>
						<align>center</align>
						<font>IconTiny</font>
						<textcolor>grey</textcolor>
						<shadowcolor>shadow</shadowcolor>
						<visible>System.HasMediaDVD</visible>
						<onclick>EjectTray()</onclick>
						<animation type="Visible">
							<effect type="fade" start="0" end="100" tween="sine" easing="inout" time="300" />
							<effect type="zoom" start="50" end="100" center="auto" tween="sine" easing="inout" time="300" />
						</animation>
						<animation type="Hidden">
							<effect type="fade" start="100" end="0" tween="sine" easing="inout" time="300" />
							<effect type="zoom" start="100" end="50" center="auto" tween="sine" easing="inout" time="300" />
						</animation>
					</control>
					<control type="button" id="9022">
						<label></label>
						<textoffsetx>0</textoffsetx>
						<width>50</width>
						<height>41</height>
						<align>center</align>
						<font>IconTiny</font>
						<textcolor>grey</textcolor>
						<shadowcolor>shadow</shadowcolor>
						<visible>System.HasMediaDVD</visible>
						<onclick>PlayDVD</onclick>
						<animation type="Visible">
							<effect type="fade" start="0" end="100" tween="sine" easing="inout" time="300" />
							<effect type="zoom" start="50" end="100" center="auto" tween="sine" easing="inout" time="300" />
						</animation>
						<animation type="Hidden">
							<effect type="fade" start="100" end="0" tween="sine" easing="inout" time="300" />
							<effect type="zoom" start="100" end="50" center="auto" tween="sine" easing="inout" time="300" />
						</animation>
					</control>
					<control type="label" id="9026">
						<width>5</width>
						<height>41</height>
						<label>-</label>
						<font>font13_title</font>
						<textcolor>themecolor</textcolor>
					</control>
					<control type="label" id="9023">
						<width>auto</width>
						<height>41</height>
						<label>$INFO[Weather.Temperature,,[COLOR grey]  |  [/COLOR]]</label>
						<font>font13_title</font>
						<textcolor>themecolor</textcolor>
						<visible>Weather.IsFetched + !IsEmpty(Weather.Plugin)</visible>
						<shadowcolor>shadow</shadowcolor>
					</control>
					<control type="label" id="9025">
						<width>auto</width>
						<height>41</height>
						<label>$INFO[System.Date,[COLOR grey],  |  [/COLOR]]$INFO[System.Time]</label>
						<font>font13_title</font>
						<textcolor>themecolor</textcolor>
						<shadowcolor>shadow</shadowcolor>
					</control>
				</control>
			</control>
		</control>
		<include condition="system.getbool(lookandfeel.enablerssfeeds) + Skin.HasSetting(Detach.RSS)">RSSFeedWidget</include>
		<include condition="system.getbool(lookandfeel.enablerssfeeds) + !Skin.HasSetting(Detach.RSS)">RSSFeedWidget2</include>
		<control type="group">
			<top>453</top>
			<animation effect="slide" end="0,338" time="320" tween="cubic" easing="inout" condition="Skin.HasSetting(lowermainmenu)">Conditional</animation>
			<animation type="WindowOpen" reversible="false" condition="Window.Previous(Startup)">
				<effect type="zoom" start="0" end="100" center="1280,540" delay="500" time="300" tween="cubic" />
			</animation>
			<animation type="WindowOpen" reversible="false" condition="!Window.Previous(Startup)">
				<effect type="zoom" start="150" end="100" center="1280,540" time="300" tween="cubic" />
				<effect type="fade" start="50" end="100" time="300" />
			</animation>
			<animation type="WindowClose" reversible="false">
				<effect type="fade" start="100" end="0" time="300" />
				<effect type="zoom" start="100" end="130" center="1280,540" time="300" tween="cubic" easing="in" />
			</animation>
			<control type="group" id="9001">
				<left>0</left>
				<top>159</top>
				<onup>9000</onup>
				<ondown>9002</ondown>
				<include condition="system.getbool(lookandfeel.enablerssfeeds)">SubMenuAnimation</include>
				<animation effect="slide" start="2420,0" end="0,0" delay="300" time="240" condition="!Window.Previous(startup)">WindowOpen</animation>
				<animation effect="slide" start="2420,0" end="0,0" delay="200" time="480" condition="Window.Previous(startup)">WindowOpen</animation>
				<control type="image" id="90101">
					<left>50</left>
					<width>90</width>
					<height>87</height>
					<texture>submenu_end.png</texture>
				</control>
				<control type="image">
					<left>140</left>
					<width>2420</width>
					<height>87</height>
					<texture>submenu_bar.png</texture>
				</control>
				<control type="fixedlist" id="9010">
					<left>260</left>
					<top>0</top>
					<width>2140</width>
					<height>87</height>
					<onup>9000</onup>
					<ondown>9004</ondown>
					<pagecontrol>-</pagecontrol>
					<scrolltime tween="quadratic" easing="out">300</scrolltime>
					<focusposition>3</focusposition>
					<movement>3</movement>
					<orientation>Horizontal</orientation>
					<itemlayout height="87" width="300">
						<control type="label">
							<width>300</width>
							<height>41</height>
							<font>font13_title</font>
							<textcolor>grey</textcolor>
							<shadowcolor>shadow</shadowcolor>
							<align>center</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
						</control>
					</itemlayout>
					<focusedlayout height="87" width="300">
						<control type="group">
							<visible>Control.HasFocus(9010)</visible>
							<control type="image">
								<width>300</width>
								<height>41</height>
								<texture>listselect_fo.png</texture>
							</control>
							<control type="label">
								<width>300</width>
								<height>41</height>
								<font>font13_title</font>
								<shadowcolor>shadow</shadowcolor>
								<align>center</align>
								<aligny>center</aligny>
								<label>$INFO[ListItem.Label]</label>
							</control>
						</control>
						<control type="group">
							<visible>!Control.HasFocus(9010)</visible>
							<control type="label">
								<width>300</width>
								<height>41</height>
								<font>font13_title</font>
								<textcolor>grey</textcolor>
								<shadowcolor>shadow</shadowcolor>
								<align>center</align>
								<aligny>center</aligny>
								<label>$INFO[ListItem.Label]</label>
							</control>
						</control>
					</focusedlayout>
					<include condition="!System.HasAddon(script.skinshortcuts)">FallbackSubMenu</include>
					<include condition="System.HasAddon(script.skinshortcuts)">CustomSubMenu</include>
				</control>
				<control type="button">
					<left>130</left>
					<top>6</top>
					<width>30</width>
					<height>30</height>
					<texturefocus flipx="true" colordiffuse="white">arrowright.png</texturefocus>
					<texturenofocus flipx="true">arrowright.png</texturenofocus>
					<visible>Container(9010).HasPrevious</visible>
					<onclick>Control.Move(9010,-1)</onclick>
				</control>
				<control type="button">
					<left>2440</left>
					<top>6</top>
					<width>30</width>
					<height>30</height>
					<texturefocus colordiffuse="white">arrowright.png</texturefocus>
					<texturenofocus>arrowright.png</texturenofocus>
					<visible>Container(9010).HasNext</visible>
					<onclick>Control.Move(9010,1)</onclick>
				</control>
			</control>
			<control type="image">
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>225</height>
				<texture>homemenu_back.png</texture>
			</control>
			<!-- Main Menu (Includes_Home.xml) -->
			<include condition="Skin.HasSetting(HorizontalListNav)">MainMenuListFixed</include>
			<include condition="!Skin.HasSetting(HorizontalListNav)">MainMenuListWrapped</include>
			<!--<control type="group">
				<visible>IsEmpty(Container(9000).ListItem.Label)</visible>
				<left>912</left>
				<top>64</top>
				<control type="image">
					<description>Busy animation</description>
					<width>96</width>
					<height>96</height>
					<texture>android/spinner_48_inner_holo.png</texture>
					<aspectratio>keep</aspectratio>
					<animation effect="rotate" start="0" end="360" center="auto" time="2000" loop="true" condition="true">conditional</animation>
				</control>
				<control type="image">
					<description>Busy animation</description>
					<width>96</width>
					<height>96</height>
					<texture>android/spinner_48_outer_holo.png</texture>
					<aspectratio>keep</aspectratio>
					<animation effect="rotate" start="360" end="0" center="auto" time="2000" loop="true" condition="true">conditional</animation>
				</control>
			</control>-->
			<control type="label">
				<left>0</left>
				<top>17</top>
				<width>FullScreenWidth</width>
				<height>41</height>
				<font>font13_title</font>
				<textcolor>grey</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>[UPPERCASE]$INFO[Container(9000).ListItem.Label][/UPPERCASE]</label>
				<visible>Skin.HasSetting(mainmenuicons)</visible>
			</control>
			<control type="image">
				<left>0</left>
				<top>58</top>
				<width>100</width>
				<height>104</height>
				<texture border="1">side_fade.png</texture>
			</control>
			<control type="image">
				<left>2460</left>
				<top>58</top>
				<width>100</width>
				<height>104</height>
				<texture flipx="true" border="1">side_fade.png</texture>
			</control>
			<control type="image">
				<top>90</top>
				<width>FullScreenWidth</width>
				<height>72</height>
				<texture border="1">gradient_floor.png</texture>
			</control>
		</control>
	</controls>
</window>