<?xml version="1.0" encoding="utf-8"?>
<window>
	<defaultcontrol always="true">9000</defaultcontrol>
	<onload condition="Window.Previous(startup)">SetFocus(9000,2,absolute)</onload>
	<onload condition="System.HasAddon(script.cu.lrclyrics)">RunScript(script.embuary.helper,action=toggleaddons,addonid=script.cu.lrclyrics,enable=false)</onload>
	<onload>ClearProperty(HomeWidget,Home)</onload>
	<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>
		<control type="image">
		<top>320</top>
		<left>-10</left>
		<width>1950</width>
		<height>620</height>
		<texture background="true">tajo/osd_black_bg.png</texture>
		<aspectratio>stretch</aspectratio>
		</control>
		<control type="image">
		<top>938</top>
		<left>-10</left>
		<width>1950</width>
		<height>620</height>
		<texture flipy="true" background="true">tajo/osd_black_bg.png</texture>
		<aspectratio>stretch</aspectratio>
		</control>
		<include condition="!Skin.HasSetting(Disable.Videoinfo)">NowPlayingVideoWidget</include>
		<include condition="!Skin.HasSetting(Disable.Musicinfo)">NowPlayingMusicWidget</include>
		<include>HomeRecentlyAddedInfo</include>
		<include>HomeRecentlyAddedInfoAlt</include>
		<include>WeatherWidget</include>
		<include>LiveTVWidget</include>
		<control type="group">
			<top>424</top>
			<depth>MaxDepth</depth>
			<control type="group">
				<animation effect="slide" end="0,338" time="320" tween="cubic" easing="inout" condition="true">Conditional</animation>
				<animation type="WindowClose" reversible="false">
					<effect type="fade" end="0" time="240" />
				</animation>
				<animation type="WindowOpen" reversible="false" condition="!Window.Previous(startup)">
					<effect type="fade" end="100" time="240" delay="300"/>
				</animation>
				<animation type="WindowOpen" reversible="false" condition="Window.Previous(startup)">
					<effect type="fade" end="100" time="240" delay="800" />
				</animation>
				<include condition="System.HasAddon(service.library.data.provider)">PlayListStatsList</include>
				<control type="label">
				<visible>Control.HasFocus(9000)</visible>
					<right>35</right>
					<top>200</top>
					<width>1348</width>
					<height>40</height>
					<align>right</align>
					<label>$VAR[LibraryStatsVar]</label>
					<textoffsetx>15</textoffsetx>
					<font>font13_title</font>
					<textcolor>themecolor</textcolor>
					<shadowcolor>shadow</shadowcolor>
				</control>
				<control type="grouplist" id="9020">
					<right>50</right>
					<top>30</top>
					<width>1780</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>
					<include condition="!System.HasAddon(script.globalsearch)">NoHomeSearchButton</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 />
						<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 + !String.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 type="image">
					<visible>String.IsEqual(Container(9000).ListItem.Property(WidgetType),1) | String.IsEqual(Container(9000).ListItem.Property(WidgetType),2) | String.IsEqual(Container(9000).ListItem.Property(WidgetType),3) | String.IsEqual(Container(9000).ListItem.Property(WidgetType),4) | String.IsEqual(Container(9000).ListItem.Property(WidgetType),5) | String.IsEqual(Container(9000).ListItem.Property(WidgetType),6) | String.IsEqual(Container(9000).ListItem.Property(WidgetType),12) | String.IsEqual(Container(9000).ListItem.Property(WidgetType),13)</visible>
					<visible>[Control.HasFocus(9000) | Control.HasFocus(9004) | Control.HasFocus(9003) | Control.HasFocus(9010)] + !Skin.HasSetting(showWidget)</visible>
					<animation effect="fade" start="40" end="0" time="1200" pulse="true" condition="true">Conditional</animation>
						<top>36</top>
						<left>1882</left>
						<width>42</width>
						<height>29</height>
						<aspectratio aligny="bottom" align="left">keep</aspectratio>
						<texture background="true">arrow_up.png</texture>
					</control>
			</control>
		</control>
		<include condition="system.getbool(lookandfeel.enablerssfeeds)">RSSFeedWidget2</include>
		<control type="group">
			<top>453</top>
			<depth>MaxDepth</depth>
			<animation effect="slide" end="0,338" time="320" tween="cubic" easing="inout" condition="true">Conditional</animation>
			<control type="group" id="9001">
				<top>165</top>
				<include condition="system.getbool(lookandfeel.enablerssfeeds)">SubMenuAnimation</include>
				<animation effect="slide" start="1870,0" end="0,0" delay="300" time="240" condition="!Window.Previous(startup)">WindowOpen</animation>
				<animation effect="slide" start="1870,0" end="0,0" delay="200" time="480" condition="Window.Previous(startup)">WindowOpen</animation>
				<control type="fixedlist" id="9010">
					<left>780</left>
					<width>1155</width>
					<top>6</top>
					<height>87</height>
					<onup>9000</onup>
					<ondown>9004</ondown>
					<pagecontrol />
					<scrolltime tween="quadratic" easing="out">300</scrolltime>
					<focusposition>0</focusposition>
					<movement>0</movement>
					<orientation>Horizontal</orientation>
					<itemlayout height="87" width="285">
						<control type="label">
						<visible>!Control.HasFocus(9000)</visible>
							<width>275</width>
							<height>41</height>
							<font>font13_title</font>
							<textcolor>white</textcolor>
							<align>center</align>
							<label>$INFO[ListItem.Label]</label>
						</control>
					</itemlayout>
					<focusedlayout height="87" width="285">
						<control type="group">
							<visible>Control.HasFocus(9010)</visible>
							<control type="label">
							<visible>!Control.HasFocus(9000)</visible>
								<width>275</width>
								<height>41</height>
								<textcolor>labelheader</textcolor>
								<font>font13_title_sel</font>
								<align>center</align>
								<label>$INFO[ListItem.Label]</label>
							</control>
						</control>
						<control type="group">
							<visible>!Control.HasFocus(9010)</visible>
							<control type="label">
							<visible>!Control.HasFocus(9000)</visible>
								<width>275</width>
								<height>41</height>
								<font>font13_title</font>
								<textcolor>grey</textcolor>
								<shadowcolor>shadow</shadowcolor>
								<align>center</align>
								<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>
			<control type="image">
			<left>-360</left>
				<top>159</top>
				<width>2800</width>
				<height>60</height>
				<texture diffuse="menubar.png">tajo/backani.gif</texture>
			</control>
			<control type="image">
			<left>-360</left>
				<top>-5</top>
				<width>2800</width>
				<height>60</height>
				<texture flipy="true" diffuse="menubar.png">tajo/backani.gif</texture>
			</control>
			<!-- Main Menu (Includes_Home.xml) -->
			<include>MainMenuListWrapped</include>
		</control>
		<include condition="!Skin.HasSetting(Disable.FanartTitle)">FanartTitle</include>
	</controls>
</window>