<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="HorzHomeMenuBar">
		<control type="group">
			<control type="image"><!-- Background image for menu area -->
				<left>0</left>
				<top>468</top>
				<width>1920</width>
				<height>612</height>
				<texture>background-horzhome.png</texture>
			</control>
			<control type="image">
				<left>0</left>
				<top>465</top>
				<width>100%</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="image">
				<left>0</left>
				<top>570</top>
				<width>100%</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
		</control>
	</include>
	<include name="HorzHomeMenuList">
		<left>0</left>
		<top>126</top>
		<width>315</width>
		<height>378</height>
	</include>
	<include name="HorzHomeMenuHeading">
		<left>0</left>
		<top>26</top>
		<width>315</width>
		<height>48</height>
		<font>apptv30</font>
		<shadowcolor>tab-shadow</shadowcolor>
		<align>center</align>
	</include>
	<include name="HorzHomeMenuItem">
		<control type="label">
			<left>12</left>
			<top>12</top>
			<width>291</width>
			<height>33</height>
			<font>apptv22</font>
			<align>center</align>
			<label>$INFO[ListItem.Label]</label>
		</control>
	</include>
	<include name="HorzHomeFocusItem">
		<control type="image">
			<left>0</left>
			<top>0</top>
			<width>315</width>
			<height>63</height>
			<texture border="9">button-default-focus.png</texture>
		</control>
		<control type="label">
			<left>12</left>
			<top>12</top>
			<width>291</width>
			<height>33</height>
			<font>apptv22</font>
			<align>center</align>
			<label>$INFO[ListItem.Label]</label>
		</control>
	</include>
	<include name="HorzHomeHilite">
		<param name="fadecondition" default="false"/>
		<definition>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>315</width>
				<height>102</height>
				<texture>menu-focus.png</texture>
				<animation condition="$PARAM[fadecondition]" effect="fade" start="100" end="65">Conditional</animation>
			</control>
		</definition>
	</include>
	<include name="HorzHomeDummy">
		<param name="dummyid"/>
		<param name="focusid"/>
		<definition>
			<control type="button" id="$PARAM[dummyid]">
				<left>0</left>
				<top>0</top>
				<width>315</width>
				<height>528</height>
				<texturefocus>blank.png</texturefocus>
				<texturenofocus>blank.png</texturenofocus>
				<onfocus>SetFocus($PARAM[focusid])</onfocus>
			</control>
		</definition>
	</include>
	<include name="HorzHomeMenu">
		<include file="Includes_Shelf.xml">ShelfBackground</include>
		<!-- Show time on home screen -->
		<include condition="!Skin.HasSetting(home-time)" file="Includes_Shelf.xml">ShelfTime</include>
		<!-- Show Profile name and icon on home screen -->
		<include>ShelfProfileDetails</include>
		<!-- Now Playing -->
		<include condition="Skin.HasSetting(media-overlay)" file="Includes_Shelf.xml">ShelfNowPlaying</include>
		<control type="group" id="9800"><!-- Shelf icons-->
			<control type="group" id="9155"><!-- Movie icons -->
				<visible>Control.HasFocus(9150) | Control.HasFocus(9160) | Control.HasFocus(9165) | Control.HasFocus(9180)</visible>
				<control type="group">
					<visible>String.IsEqual(Skin.String(widget-movie),$LOCALIZE[31953]) | !Integer.IsGreater(Container(9160).NumItems,0)</visible>
					<include content="shelf-defaulticon">
						<param name="defaulticon" value="DefaultMovies.png"/>
					</include>
				</control>
				<control type="group">
					<visible>!String.IsEqual(Skin.String(widget-movie),$LOCALIZE[31953])</visible>
					<include file="Includes_Shelf.xml">movie-shelficons</include>
				</control>
			</control>
			<control type="group" id="9205"><!-- TV Shows icons -->
				<visible>Control.HasFocus(9200) | Control.HasFocus(9210) | Control.HasFocus(9215) | Control.HasFocus(9230)</visible>
				<control type="group">
					<visible>String.IsEqual(Skin.String(widget-tvshow),$LOCALIZE[31953]) | [!Integer.IsGreater(Container(9210).NumItems,0)
					+ !String.IsEqual(Skin.String(widget-tvshow),$LOCALIZE[31953])]</visible>
					<include content="shelf-defaulticon">
						<param name="defaulticon" value="DefaultTvshows.png"/>
					</include>
				</control>
				<control type="group">
					<visible>!String.IsEqual(Skin.String(widget-tvshow),$LOCALIZE[31953])</visible>
					<include file="Includes_Shelf.xml">tvshow-shelficons</include>
				</control>
			</control>
			<control type="group" id="9255"><!-- Music icons -->
				<visible>Control.HasFocus(9250) | Control.HasFocus(9260) | Control.HasFocus(9265) | Control.HasFocus(9280)</visible>
				<control type="group">
					<visible>String.IsEqual(Skin.String(widget-music),$LOCALIZE[31953]) | !Integer.IsGreater(Container(9260).NumItems,0)</visible>
					<include content="shelf-defaulticon">
						<param name="defaulticon" value="DefaultAudio.png"/>
					</include>
				</control>
				<control type="group">
					<visible>!String.IsEqual(Skin.String(widget-music),$LOCALIZE[31953])</visible>
					<include file="Includes_Shelf.xml">music-shelficons</include>
				</control>
			</control>
			<control type="group" id="9355"><!-- Addon icons -->
				<visible>Control.HasFocus(9350) | Control.HasFocus(9360) | Control.HasFocus(9365) | Control.HasFocus(9380)</visible>
				<control type="group">
					<visible>String.IsEqual(Skin.String(widget-addon),$LOCALIZE[31953]) | !Integer.IsGreater(Container(9360).NumItems,0)</visible>
					<include content="shelf-defaulticon">
						<param name="defaulticon" value="DefaultAddon.png"/>
					</include>
				</control>
				<control type="group">
					<visible>!String.IsEqual(Skin.String(widget-addon),$LOCALIZE[31953])</visible>
					<include file="Includes_Shelf.xml">addons-shelficons</include>
				</control>
			</control>
			<control type="group" id="9405"><!-- Weather icons -->
				<visible>Control.HasFocus(9400) | Control.HasFocus(9430)</visible>
				<control type="group">
					<visible>!Weather.IsFetched | String.IsEmpty(Window(weather).Property(Current.Temperature))</visible>
					<include content="shelf-defaulticon">
						<param name="defaulticon" value="icon-weather.png"/>
					</include>
				</control>
				<control type="group">
					<visible>Weather.IsFetched</visible>
					<include condition="!String.IsEmpty(Weather.plugin) + [Skin.HasSetting(home-weather) | Skin.HasSetting(home-currentweather)]" file="Includes_Shelf.xml">ShelfWeather</include>
				</control>
			</control>
			<control type="group" id="9505"><!-- Broadcast icons -->
				<visible>Control.HasFocus(9500) | Control.HasFocus(9510) | Control.HasFocus(9515) | Control.HasFocus(9530)</visible>
				<control type="group">
					<visible>String.IsEqual(Skin.String(widget-broadcast),$LOCALIZE[31953]) | !Integer.IsGreater(Container(9510).NumItems,0)</visible>
					<include content="shelf-defaulticon">
						<param name="defaulticon" value="icon-broadcast.png"/>
					</include>
				</control>
				<control type="group">
					<visible>!String.IsEqual(Skin.String(widget-broadcast),$LOCALIZE[31953])</visible>
					<include file="Includes_Shelf.xml">broadcast-shelficons</include>
				</control>
			</control>
			<control type="group" id="9555"><!-- Favourites icons -->
				<visible>Control.HasFocus(9550) | Control.HasFocus(9560) | Control.HasFocus(9565) | Control.HasFocus(9580)</visible>
				<control type="group">
					<visible>String.IsEqual(Skin.String(widget-favourite),$LOCALIZE[31953]) | !Integer.IsGreater(Container(9560).NumItems,0)</visible>
					<include content="shelf-defaulticon">
						<param name="defaulticon" value="icon-fav.png"/>
					</include>
				</control>
				<control type="group">
					<visible>!String.IsEqual(Skin.String(widget-favourite),$LOCALIZE[31953])</visible>
					<include file="Includes_Shelf.xml">custom-shelficons</include>
				</control>
			</control>
			<control type="group"><!-- Default Shelf icons -->
				<visible>![Control.IsVisible(9155) | Control.IsVisible(9205) | Control.IsVisible(9255) | Control.IsVisible(9355) | Control.IsVisible(9405) | Control.IsVisible(9505) | Control.IsVisible(9555)]</visible>
				<include content="shelf-defaulticon">
					<param name="defaulticon" value="$VAR[HorzHomeShelfIcon]"/>
				</include>
				<!-- Dummy button for mouse control -->
				<include file="Includes_Shelf.xml" content="ShelfDummy">
					<param name="dummyid" value="9015"/>
					<param name="focusid" value="$INFO[Window(home).Property(horzhomesubmenu)]"/>
				</include>
			</control>
		</control>
		<include>HorzHomeMenuBar</include>
		<!-- Markers for control area items -->
		<include content="page-offscreen-horizontal">
			<param name="indicator1left" value="0"/>
			<param name="indicator1top" value="513"/>
			<param name="indicator2left" value="1896"/>
			<param name="indicator2top" value="513"/>
			<param name="indicatorsize" value="24"/>
			<param name="indicatorcontainer" value="9000"/>
		</include>
		<control type="grouplist" id="9000"><!-- Home Sub menus -->
			<left>15</left>
			<top>471</top>
			<width>1890</width>
			<height>528</height>
			<itemgap>0</itemgap>
			<orientation>horizontal</orientation>
			<align>center</align>
			<control type="group" id="9120"><!-- Video sub menu -->
				<visible>!Skin.HasSetting(home-video)</visible>
				<width>315</width>
				<!-- Dummy button for mouse control -->
				<include content="HorzHomeDummy">
					<param name="dummyid" value="9130"/>
					<param name="focusid" value="9100"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus(9100) | Control.HasFocus(9130)</visible>
					<include content="HorzHomeHilite"/>
					<!-- Markers for off screen menu items -->
					<include content="page-offscreen-vertical">
						<param name="indicator1left" value="144"/>
						<param name="indicator1top" value="102"/>
						<param name="indicator2left" value="144"/>
						<param name="indicator2top" value="504"/>
						<param name="indicatorsize" value="24"/>
						<param name="indicatorcontainer" value="9100"/>
					</include>
				</control>
				<control type="label"><!-- Menu Heading -->
					<include>HorzHomeMenuHeading</include>
					<label>$INFO[Container(9100).ListItem.Label2]</label>
					<textcolor>$VAR[HorzHomeSubmenu1]</textcolor>
					<animation condition="!Control.HasFocus(9100) + [Control.HasFocus(9160) | Control.HasFocus(9210) | Control.HasFocus(9260) | Control.HasFocus(9360) | Control.HasFocus(9510) | Control.HasFocus(9560)]" effect="fade" start="100" end="65">Conditional</animation>
				</control>
				<control type="list" id="9100">
					<include>HorzHomeMenuList</include>
					<onfocus>SetProperty(horzhomesubmenu,9100,home)</onfocus>
					<onup>9005</onup>
					<ondown>9005</ondown>
					<onleft>6100</onleft>
					<onright>9150</onright>
					<animation condition="!Control.HasFocus(9100) + !Control.HasFocus(9130)" effect="fade" start="100" end="0" reversible="true">Conditional</animation>
					<itemlayout height="63">
						<include>HorzHomeMenuItem</include>
					</itemlayout>
					<focusedlayout height="63">
						<include>HorzHomeFocusItem</include>
					</focusedlayout>
					<content>
						<item><!-- Files -->
							<label>$LOCALIZE[744]</label>
							<label2>$LOCALIZE[3]</label2>
							<onclick>ActivateWindow(videos,Files,return)</onclick>
						</item>
						<item><!-- Library root -->
							<label>$LOCALIZE[14022]</label>
							<label2>$LOCALIZE[3]</label2>
							<onclick>ActivateWindow(videos,Root,return)</onclick>
						</item>
						<item><!-- Movies -->
							<visible>Library.HasContent(movies)</visible>
							<label>$LOCALIZE[342]</label>
							<label2>$LOCALIZE[3]</label2>
							<onclick>ActivateWindow(videos,Movies,return)</onclick>
						</item>
						<item><!-- TV shows -->
							<visible>Library.HasContent(tvShows)</visible>
							<label>$LOCALIZE[20343]</label>
							<label2>$LOCALIZE[3]</label2>
							<onclick>ActivateWindow(videos,TVShows,return)</onclick>
						</item>
						<item><!-- Music videos -->
							<visible>Library.HasContent(MusicVideos)</visible>
							<label>$LOCALIZE[20389]</label>
							<label2>$LOCALIZE[3]</label2>
							<onclick>ActivateWindow(videos,MusicVideos,return)</onclick>
						</item>
						<item><!-- Addons -->
							<label>$LOCALIZE[24001]</label>
							<label2>$LOCALIZE[3]</label2>
							<onclick>ActivateWindow(videos,Addons,return)</onclick>
						</item>
					</content>
				</control>
			</control>
			<control type="group" id="9170"><!-- Movie sub menu -->
				<visible>!Skin.HasSetting(home-movie) | !String.IsEmpty(Skin.String(CustomMovies.1.Path)) | !String.IsEmpty(Skin.String(CustomMovies.2.Path)) | !String.IsEmpty(Skin.String(CustomMovies.3.Path)) | !String.IsEmpty(Skin.String(CustomMovies.4.Path)) | !String.IsEmpty(Skin.String(CustomMovies.5.Path))</visible>
				<width>315</width>
				<!-- Dummy button for mouse control -->
				<include content="HorzHomeDummy">
					<param name="dummyid" value="9180"/>
					<param name="focusid" value="9150"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus(9150) | Control.HasFocus(9160) | Control.HasFocus(9180)</visible>
					<include content="HorzHomeHilite">
						<parm name="fadecondition" value="Control.HasFocus(9160)"/>
					</include>
					<!-- Markers for control area items -->
					<include content="page-offscreen-vertical">
						<param name="indicator1left" value="144"/>
						<param name="indicator1top" value="102"/>
						<param name="indicator2left" value="144"/>
						<param name="indicator2top" value="504"/>
						<param name="indicatorsize" value="24"/>
						<param name="indicatorcontainer" value="9150"/>
					</include>
				</control>
				<control type="label">
					<include>HorzHomeMenuHeading</include>
					<label>$INFO[Container(9150).ListItem.Label2]</label>
					<textcolor>$VAR[HorzHomeSubmenu2]</textcolor>
					<animation condition="!Control.HasFocus(9150) + [Control.HasFocus(9210) | Control.HasFocus(9260) | Control.HasFocus(9360) | Control.HasFocus(9510) | Control.HasFocus(9560)]" effect="fade" start="100" end="65">Conditional</animation>
				</control>
				<control type="list" id="9150">
					<include>HorzHomeMenuList</include>
					<onfocus>SetProperty(horzhomesubmenu,9150,home)</onfocus>
					<onup condition="Integer.IsGreater(Container(9160).NumItems,0)">9155</onup>
					<onup condition="Integer.IsLessOrEqual(Container(9160).NumItems,0)">9005</onup>
					<onup>9155</onup>
					<ondown>9005</ondown>
					<onleft>9100</onleft>
					<onright>9200</onright>
					<animation condition="!Control.HasFocus(9150) + !Control.HasFocus(9160) + !Control.HasFocus(9180)" effect="fade" start="100" end="0" reversible="true">Conditional</animation>
					<animation condition="Control.HasFocus(9160)" effect="fade" start="100" end="65" reversible="true">Conditional</animation>
					<itemlayout height="63">
						<include>HorzHomeMenuItem</include>
					</itemlayout>
					<focusedlayout height="63">
						<include>HorzHomeFocusItem</include>
					</focusedlayout>
					<content>
						<item><!-- Movies -->
							<visible>!Skin.HasSetting(home-movie)</visible>
							<label>$LOCALIZE[31026]</label>
							<label2>$LOCALIZE[31026]</label2>
							<onclick>$VAR[MovieLibEntry]</onclick>
						</item>
						<item><!-- Custom Movie 1 -->
							<visible>!String.IsEmpty(Skin.String(CustomMovies.1.Path))</visible>
							<label>$INFO[Skin.String(CustomMovies.1.Label)]</label>
							<label2>$LOCALIZE[31026]</label2>
							<onclick>$INFO[Skin.String(CustomMovies.1.Path)]</onclick>
						</item>
						<item><!-- Custom Movie 2 -->
							<visible>!String.IsEmpty(Skin.String(CustomMovies.2.Path))</visible>
							<label>$INFO[Skin.String(CustomMovies.2.Label)]</label>
							<label2>$LOCALIZE[31026]</label2>
							<onclick>$INFO[Skin.String(CustomMovies.2.Path)]</onclick>
						</item>
						<item><!-- Custom Movie 3 -->
							<visible>!String.IsEmpty(Skin.String(CustomMovies.3.Path))</visible>
							<label>$INFO[Skin.String(CustomMovies.3.Label)]</label>
							<label2>$LOCALIZE[31026]</label2>
							<onclick>$INFO[Skin.String(CustomMovies.3.Path)]</onclick>
						</item>
						<item><!-- Custom Movie 4 -->
							<visible>!String.IsEmpty(Skin.String(CustomMovies.4.Path))</visible>
							<label>$INFO[Skin.String(CustomMovies.4.Label)]</label>
							<label2>$LOCALIZE[31026]</label2>
							<onclick>$INFO[Skin.String(CustomMovies.4.Path)]</onclick>
						</item>
						<item><!-- Custom Movie 5 -->
							<visible>!String.IsEmpty(Skin.String(CustomMovies.5.Path))</visible>
							<label>$INFO[Skin.String(CustomMovies.5.Label)]</label>
							<label2>$LOCALIZE[31026]</label2>
							<onclick>$INFO[Skin.String(CustomMovies.5.Path)]</onclick>
						</item>
						<item><!-- Video addons -->
							<label>$LOCALIZE[24001]</label>
							<label2>$LOCALIZE[31026]</label2>
							<onclick>ActivateWindow(videos,Addons,return)</onclick>
						</item>
					</content>
				</control>
			</control>
			<control type="group" id="9220"><!-- TV Shows sub menu -->
				<visible>!Skin.HasSetting(home-tvshows) | !String.IsEmpty(Skin.String(CustomTVShow.1.Path)) | !String.IsEmpty(Skin.String(CustomTVShow.2.Path)) | !String.IsEmpty(Skin.String(CustomTVShow.3.Path)) | !String.IsEmpty(Skin.String(CustomTVShow.4.Path)) | !String.IsEmpty(Skin.String(CustomTVShow.5.Path))</visible>
				<width>315</width>
				<!-- Dummy button for mouse control -->
				<include content="HorzHomeDummy">
					<param name="dummyid" value="9230"/>
					<param name="focusid" value="9200"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus(9200) | Control.HasFocus(9210) | Control.HasFocus(9230)</visible>
					<include content="HorzHomeHilite">
						<parm name="fadecondition" value="Control.HasFocus(9210)"/>
					</include>
					<!-- Markers for control area items -->
					<include content="page-offscreen-vertical">
						<param name="indicator1left" value="144"/>
						<param name="indicator1top" value="102"/>
						<param name="indicator2left" value="144"/>
						<param name="indicator2top" value="504"/>
						<param name="indicatorsize" value="24"/>
						<param name="indicatorcontainer" value="9200"/>
					</include>
				</control>
				<control type="label">
					<include>HorzHomeMenuHeading</include>
					<label>$INFO[Container(9200).ListItem.Label2]</label>
					<textcolor>$VAR[HorzHomeSubmenu3]</textcolor>
					<animation condition="!Control.HasFocus(9200) + [Control.HasFocus(9160) | Control.HasFocus(9260) | Control.HasFocus(9360) | Control.HasFocus(9510) | Control.HasFocus(9560)]" effect="fade" start="100" end="65">Conditional</animation>
				</control>
				<control type="list" id="9200">
					<include>HorzHomeMenuList</include>
					<onfocus>SetProperty(horzhomesubmenu,9200,home)</onfocus>
					<onup condition="Integer.IsGreater(Container(9210).NumItems,0)">9205</onup>
					<onup condition="Integer.IsLessOrEqual(Container(9210).NumItems,0)">9005</onup>
					<ondown>9005</ondown>
					<onleft>9150</onleft>
					<onright>9500</onright>
					<animation condition="!Control.HasFocus(9200) + !Control.HasFocus(9210) + !Control.HasFocus(9230)" effect="fade" start="100" end="0" reversible="true">Conditional</animation>
					<animation condition="Control.HasFocus(9210)" effect="fade" start="100" end="65" reversible="true">Conditional</animation>
					<itemlayout height="63">
						<include>HorzHomeMenuItem</include>
					</itemlayout>
					<focusedlayout height="63">
						<include>HorzHomeFocusItem</include>
					</focusedlayout>
					<content>
						<item><!-- TV shows library -->
							<visible>!Skin.HasSetting(home-tvshows)</visible>
							<label>$LOCALIZE[31027]</label>
							<label2>$LOCALIZE[31027]</label2>
							<onclick>$VAR[TVLibEntry]</onclick>
						</item>
						<item><!-- Custom TV Shows 1 -->
							<visible>!String.IsEmpty(Skin.String(CustomTVShow.1.Path))</visible>
							<label>$INFO[Skin.String(CustomTVShow.1.Label)]</label>
							<label2>$LOCALIZE[31027]</label2>
							<onclick>$INFO[Skin.String(CustomTVShow.1.Path)]</onclick>
						</item>
						<item><!-- Custom TV Shows 2 -->
							<visible>!String.IsEmpty(Skin.String(CustomTVShow.2.Path))</visible>
							<label>$INFO[Skin.String(CustomTVShow.2.Label)]</label>
							<label2>$LOCALIZE[31027]</label2>
							<onclick>$INFO[Skin.String(CustomTVShow.2.Path)]</onclick>
						</item>
						<item><!-- Custom TV Shows 3 -->
							<visible>!String.IsEmpty(Skin.String(CustomTVShow.3.Path))</visible>
							<label>$INFO[Skin.String(CustomTVShow.3.Label)]</label>
							<label2>$LOCALIZE[31027]</label2>
							<onclick>$INFO[Skin.String(CustomTVShow.3.Path)]</onclick>
						</item>
						<item><!-- Custom TV Shows 4 -->
							<visible>!String.IsEmpty(Skin.String(CustomTVShow.4.Path))</visible>
							<label>$INFO[Skin.String(CustomTVShow.4.Label)]</label>
							<label2>$LOCALIZE[31027]</label2>
							<onclick>$INFO[Skin.String(CustomTVShow.4.Path)]</onclick>
						</item>
						<item><!-- Custom TV Shows 5 -->
							<visible>!String.IsEmpty(Skin.String(CustomTVShow.5.Path))</visible>
							<label>$INFO[Skin.String(CustomTVShow.5.Label)]</label>
							<label2>$LOCALIZE[31027]</label2>
							<onclick>$INFO[Skin.String(CustomTVShow.5.Path)]</onclick>
						</item>
						<item><!-- Video addons -->
							<label>$LOCALIZE[24001]</label>
							<label2>$LOCALIZE[31027]</label2>
							<onclick>ActivateWindow(videos,Addons,return)</onclick>
						</item>
					</content>
				</control>
			</control>
			<control type="group" id="9520"><!-- Broadcast sub menu -->
				<visible>[Pvr.HasTVChannels] | [Pvr.HasRadioChannels] | !String.IsEmpty(Skin.String(CustomTV.1.Path)) | !String.IsEmpty(Skin.String(CustomTV.2.Path)) | !String.IsEmpty(Skin.String(CustomTV.3.Path)) | !String.IsEmpty(Skin.String(CustomTV.4.Path)) | !String.IsEmpty(Skin.String(CustomTV.5.Path)) | !String.IsEmpty(Skin.String(CustomRadio.1.Path)) | !String.IsEmpty(Skin.String(CustomRadio.2.Path)) | !String.IsEmpty(Skin.String(CustomRadio.3.Path)) | !String.IsEmpty(Skin.String(CustomRadio.4.Path)) | !String.IsEmpty(Skin.String(CustomRadio.5.Path))</visible>
				<width>315</width>
				<!-- Dummy button for mouse control -->
				<include content="HorzHomeDummy">
					<param name="dummyid" value="9530"/>
					<param name="focusid" value="9500"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus(9500) | Control.HasFocus(9510) | Control.HasFocus(9515) | Control.HasFocus(9530)</visible>
					<include content="HorzHomeHilite">
						<parm name="fadecondition" value="Control.HasFocus(9510)"/>
					</include>
					<!-- Markers for control area items -->
					<include content="page-offscreen-vertical">
						<param name="indicator1left" value="144"/>
						<param name="indicator1top" value="102"/>
						<param name="indicator2left" value="144"/>
						<param name="indicator2top" value="504"/>
						<param name="indicatorsize" value="24"/>
						<param name="indicatorcontainer" value="9500"/>
					</include>
				</control>
				<control type="label">
					<include>HorzHomeMenuHeading</include>
					<label>$INFO[Container(9500).ListItem.Label2]</label>
					<textcolor>$VAR[HorzHomeSubmenu4]</textcolor>
					<animation condition="!Control.HasFocus(9500) + [Control.HasFocus(9160) | Control.HasFocus(9210) | Control.HasFocus(9260) | Control.HasFocus(9360) | Control.HasFocus(9560)]" effect="fade" start="100" end="65">Conditional</animation>
				</control>
				<control type="list" id="9500">
					<include>HorzHomeMenuList</include>
					<onfocus>SetProperty(horzhomesubmenu,9500,home)</onfocus>
					<onup condition="Integer.IsGreater(Container(9510).NumItems,0)">9505</onup>
					<onup condition="Integer.IsLessOrEqual(Container(9510).NumItems,0)">9005</onup>
					<ondown>9005</ondown>
					<onleft>9200</onleft>
					<onright>9550</onright>
					<animation condition="!Control.HasFocus(9500) + !Control.HasFocus(9510) + !Control.HasFocus(9530)" effect="fade" start="100" end="0" reversible="true">Conditional</animation>
					<animation condition="Control.HasFocus(9510)" effect="fade" start="100" end="65" reversible="true">Conditional</animation>
					<itemlayout height="63">
						<include>HorzHomeMenuItem</include>
					</itemlayout>
					<focusedlayout height="63">
						<include>HorzHomeFocusItem</include>
					</focusedlayout>
					<content>
						<item><!-- Live TV -->
							<visible>Pvr.HasTVChannels</visible>
							<label>$LOCALIZE[19020]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>SetProperty(NodeType,tv,home)</onclick>
							<onclick>$VAR[TVEntry]</onclick>
						</item>
						<item><!-- Custom TV 1 -->
							<visible>!String.IsEmpty(Skin.String(CustomTV.1.Path))</visible>
							<label>$INFO[Skin.String(CustomTV.1.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomTV.1.Path)]</onclick>
						</item>
						<item><!-- Custom TV 2 -->
							<visible>!String.IsEmpty(Skin.String(CustomTV.2.Path))</visible>
							<label>$INFO[Skin.String(CustomTV.2.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomTV.2.Path)]</onclick>
						</item>
						<item><!-- Custom TV 3 -->
							<visible>!String.IsEmpty(Skin.String(CustomTV.3.Path))</visible>
							<label>$INFO[Skin.String(CustomTV.3.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomTV.3.Path)]</onclick>
						</item>
						<item><!-- Custom TV 4 -->
							<visible>!String.IsEmpty(Skin.String(CustomTV.4.Path))</visible>
							<label>$INFO[Skin.String(CustomTV.4.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomTV.4.Path)]</onclick>
						</item>
						<item><!-- Custom TV 5 -->
							<visible>!String.IsEmpty(Skin.String(CustomTV.5.Path))</visible>
							<label>$INFO[Skin.String(CustomTV.5.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomTV.5.Path)]</onclick>
						</item>
						<item><!-- Live Radio -->
							<visible>Pvr.HasRadioChannels</visible>
							<label>$LOCALIZE[19021]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>SetProperty(NodeType,radio,home)</onclick>
							<onclick>$VAR[RadioEntry]</onclick>
						</item>
						<item><!-- Custom Radio 1 -->
							<visible>!String.IsEmpty(Skin.String(CustomRadio.1.Path))</visible>
							<label>$INFO[Skin.String(CustomRadio.1.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomRadio.1.Path)]</onclick>
						</item>
						<item><!-- Custom Radio 2 -->
							<visible>!String.IsEmpty(Skin.String(CustomRadio.2.Path))</visible>
							<label>$INFO[Skin.String(CustomRadio.2.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomRadio.2.Path)]</onclick>
						</item>
						<item><!-- Custom Radio 3 -->
							<visible>!String.IsEmpty(Skin.String(CustomRadio.3.Path))</visible>
							<label>$INFO[Skin.String(CustomRadio.3.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomRadio.3.Path)]</onclick>
						</item>
						<item><!-- Custom Radio 4 -->
							<visible>!String.IsEmpty(Skin.String(CustomRadio.4.Path))</visible>
							<label>$INFO[Skin.String(CustomRadio.4.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomRadio.4.Path)]</onclick>
						</item>
						<item><!-- Custom Radio 5 -->
							<visible>!String.IsEmpty(Skin.String(CustomRadio.5.Path))</visible>
							<label>$INFO[Skin.String(CustomRadio.5.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomRadio.5.Path)]</onclick>
						</item>
					</content>
				</control>
			</control>
			<control type="group" id="9570"><!-- Favourites sub menu -->
				<visible>Skin.HasSetting(home-favorites) | !String.IsEmpty(Skin.String(CustomFav.1.Path)) | !String.IsEmpty(Skin.String(CustomFav.2.Path)) | !String.IsEmpty(Skin.String(CustomFav.3.Path)) | !String.IsEmpty(Skin.String(CustomFav.4.Path)) | !String.IsEmpty(Skin.String(CustomFav.5.Path))</visible>
				<width>315</width>
				<!-- Dummy button for mouse control -->
				<include content="HorzHomeDummy">
					<param name="dummyid" value="9580"/>
					<param name="focusid" value="9550"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus(9550) | Control.HasFocus(9560) | Control.HasFocus(9565) | Control.HasFocus(9580)</visible>
					<include content="HorzHomeHilite"/>
					<!-- Markers for control area items -->
					<include content="page-offscreen-vertical">
						<param name="indicator1left" value="144"/>
						<param name="indicator1top" value="102"/>
						<param name="indicator2left" value="144"/>
						<param name="indicator2top" value="504"/>
						<param name="indicatorsize" value="24"/>
						<param name="indicatorcontainer" value="9550"/>
					</include>
				</control>
				<control type="label">
					<include>HorzHomeMenuHeading</include>
					<label>$VAR[CustomFavHeading]</label>
					<textcolor>$VAR[HorzHomeSubmenu5]</textcolor>
					<animation condition="!Control.HasFocus(9550) + [Control.HasFocus(9160) | Control.HasFocus(9210) | Control.HasFocus(9260) | Control.HasFocus(9360) | Control.HasFocus(9510)]" effect="fade" start="100" end="65">Conditional</animation>
				</control>
				<control type="list" id="9550">
					<include>HorzHomeMenuList</include>
					<onfocus>SetProperty(horzhomesubmenu,9550,home)</onfocus>
					<onup condition="Integer.IsGreater(Container(9560).NumItems,0)">9555</onup>
					<onup condition="Integer.IsLessOrEqual(Container(9560).NumItems,0)">9005</onup>
					<ondown>9005</ondown>
					<onleft>9500</onleft>
					<onright>9250</onright>
					<animation condition="!Control.HasFocus(9550) + !Control.HasFocus(9560) + !Control.HasFocus(9580)" effect="fade" start="100" end="0" reversible="true">Conditional</animation>
					<animation condition="Control.HasFocus(9560)" effect="fade" start="100" end="65" reversible="true">Conditional</animation>
					<itemlayout height="63">
						<include>HorzHomeMenuItem</include>
					</itemlayout>
					<focusedlayout height="63">
						<include>HorzHomeFocusItem</include>
					</focusedlayout>
					<content>
						<item><!-- Favourites -->
							<visible>Skin.HasSetting(home-favorites)</visible>
							<label>$LOCALIZE[1036]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>ActivateWindow(favourites)</onclick>
						</item>
						<item><!-- Custom Favourite 1 -->
							<visible>!String.IsEmpty(Skin.String(CustomFav.1.Path))</visible>
							<label>$INFO[Skin.String(CustomFav.1.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomFav.1.Path)]</onclick>
						</item>
						<item><!-- Custom Favourite 2 -->
							<visible>!String.IsEmpty(Skin.String(CustomFav.2.Path))</visible>
							<label>$INFO[Skin.String(CustomFav.2.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomFav.2.Path)]</onclick>
						</item>
						<item><!-- Custom Favourite 3 -->
							<visible>!String.IsEmpty(Skin.String(CustomFav.3.Path))</visible>
							<label>$INFO[Skin.String(CustomFav.3.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomFav.3.Path)]</onclick>
						</item>
						<item><!-- Custom Favourite 4 -->
							<visible>!String.IsEmpty(Skin.String(CustomFav.4.Path))</visible>
							<label>$INFO[Skin.String(CustomFav.4.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomFav.4.Path)]</onclick>
						</item>
						<item><!-- Custom Favourite 5 -->
							<visible>!String.IsEmpty(Skin.String(CustomFav.5.Path))</visible>
							<label>$INFO[Skin.String(CustomFav.5.Label)]</label>
							<label2>$LOCALIZE[31031]</label2>
							<onclick>$INFO[Skin.String(CustomFav.5.Path)]</onclick>
						</item>
					</content>
				</control>
			</control>
			<control type="group" id="9270"><!-- Music Sub menu -->
				<visible>!Skin.HasSetting(home-music) | Skin.HasSetting(home-musicvideo) | !String.IsEmpty(Skin.String(CustomMusic.1.Path)) | !String.IsEmpty(Skin.String(CustomMusic.2.Path)) | !String.IsEmpty(Skin.String(CustomMusic.3.Path)) | !String.IsEmpty(Skin.String(CustomMusic.4.Path)) | !String.IsEmpty(Skin.String(CustomMusic.5.Path))</visible>
				<width>315</width>
				<!-- Dummy button for mouse control -->
				<include content="HorzHomeDummy">
					<param name="dummyid" value="9280"/>
					<param name="focusid" value="9250"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus(9250) | Control.HasFocus(9260) | Control.HasFocus(9280)</visible>
					<include content="HorzHomeHilite">
						<parm name="fadecondition" value="Control.HasFocus(9260)"/>
					</include>
					<!-- Markers for control area items -->
					<include content="page-offscreen-vertical">
						<param name="indicator1left" value="144"/>
						<param name="indicator1top" value="102"/>
						<param name="indicator2left" value="144"/>
						<param name="indicator2top" value="504"/>
						<param name="indicatorsize" value="24"/>
						<param name="indicatorcontainer" value="9250"/>
					</include>
				</control>
				<control type="label">
					<include>HorzHomeMenuHeading</include>
					<label>$INFO[Container(9250).ListItem.Label2]</label>
					<textcolor>$VAR[HorzHomeSubmenu6]</textcolor>
					<animation condition="!Control.HasFocus(9250) + [Control.HasFocus(9160) | Control.HasFocus(9210) | Control.HasFocus(9360) | Control.HasFocus(9510) | Control.HasFocus(9560)]" effect="fade" start="100" end="65">Conditional</animation>
				</control>
				<control type="list" id="9250">
					<include>HorzHomeMenuList</include>
					<onfocus>SetProperty(horzhomesubmenu,9250,home)</onfocus>
					<onup condition="Integer.IsGreater(Container(9260).NumItems,0)">9255</onup>
					<onup condition="Integer.IsLessOrEqual(Container(9260).NumItems,0)">9005</onup>
					<ondown>9005</ondown>
					<onleft>9550</onleft>
					<onright>9300</onright>
					<animation condition="!Control.HasFocus(9250) + !Control.HasFocus(9260) + !Control.HasFocus(9280)" effect="fade" start="100" end="0" reversible="true">Conditional</animation>
					<animation condition="Control.HasFocus(9260)" effect="fade" start="100" end="65" reversible="true">Conditional</animation>
					<itemlayout height="63">
						<include>HorzHomeMenuItem</include>
					</itemlayout>
					<focusedlayout height="63">
						<include>HorzHomeFocusItem</include>
					</focusedlayout>
					<content>
						<item><!-- Music -->
							<visible>!Skin.HasSetting(home-music)</visible>
							<label>$LOCALIZE[2]</label>
							<label2>$LOCALIZE[2]</label2>
							<onclick>$VAR[MusicLibEntry]</onclick>
						</item>
						<item><!-- Music videos -->
							<visible>Skin.HasSetting(home-musicvideo)</visible>
							<label>$LOCALIZE[31028]</label>
							<label2>$LOCALIZE[2]</label2>
							<onclick>$VAR[MusicVideoLibEntry]</onclick>
						</item>
						<item><!-- Custom Music 1 -->
							<visible>!String.IsEmpty(Skin.String(CustomMusic.1.Path))</visible>
							<label>$INFO[Skin.String(CustomMusic.1.Label)]</label>
							<label2>$LOCALIZE[2]</label2>
							<onclick>$INFO[Skin.String(CustomMusic.1.Path)]</onclick>
						</item>
						<item><!-- Custom Music 2 -->
							<visible>!String.IsEmpty(Skin.String(CustomMusic.2.Path))</visible>
							<label>$INFO[Skin.String(CustomMusic.2.Label)]</label>
							<label2>$LOCALIZE[2]</label2>
							<onclick>$INFO[Skin.String(CustomMusic.2.Path)]</onclick>
						</item>
						<item><!-- Custom Music 3 -->
							<visible>!String.IsEmpty(Skin.String(CustomMusic.3.Path))</visible>
							<label>$INFO[Skin.String(CustomMusic.3.Label)]</label>
							<label2>$LOCALIZE[2]</label2>
							<onclick>$INFO[Skin.String(CustomMusic.3.Path)]</onclick>
						</item>
						<item><!-- Custom Music 4 -->
							<visible>!String.IsEmpty(Skin.String(CustomMusic.4.Path))</visible>
							<label>$INFO[Skin.String(CustomMusic.4.Label)]</label>
							<label2>$LOCALIZE[2]</label2>
							<onclick>$INFO[Skin.String(CustomMusic.4.Path)]</onclick>
						</item>
						<item><!-- Custom Music 5 -->
							<visible>!String.IsEmpty(Skin.String(CustomMusic.5.Path))</visible>
							<label>$INFO[Skin.String(CustomMusic.5.Label)]</label>
							<label2>$LOCALIZE[2]</label2>
							<onclick>$INFO[Skin.String(CustomMusic.5.Path)]</onclick>
						</item>
						<item><!-- Music addons -->
							<label>$LOCALIZE[24001]</label>
							<label2>$LOCALIZE[2]</label2>
							<onclick>ActivateWindow(music,addons://sources/audio/,return)</onclick>
						</item>
					</content>
				</control>
			</control>
			<control type="group" id="9320"><!-- Pictures Sub menu -->
				<visible>Skin.HasSetting(home-photos)</visible>
				<width>315</width>
				<!-- Dummy button for mouse control -->
				<include content="HorzHomeDummy">
					<param name="dummyid" value="9330"/>
					<param name="focusid" value="9300"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus(9300) | Control.HasFocus(9330)</visible>
					<include content="HorzHomeHilite"/>
				</control>
				<control type="label">
					<include>HorzHomeMenuHeading</include>
					<label>$INFO[Container(9300).ListItem.Label2]</label>
					<textcolor>$VAR[HorzHomeSubmenu7]</textcolor>
					<animation condition="!Control.HasFocus(9300) + [Control.HasFocus(9160) | Control.HasFocus(9210) | Control.HasFocus(9260) | Control.HasFocus(9360) | Control.HasFocus(9510) | Control.HasFocus(9560)]" effect="fade" start="100" end="65">Conditional</animation>
				</control>
				<control type="list" id="9300">
					<include>HorzHomeMenuList</include>
					<onfocus>SetProperty(horzhomesubmenu,9300,home)</onfocus>
					<onup>9005</onup>
					<ondown>9005</ondown>
					<onleft>9250</onleft>
					<onright>9350</onright>
					<animation condition="!Control.HasFocus(9300) + !Control.HasFocus(9330)" effect="fade" start="100" end="0" reversible="true">Conditional</animation>
					<itemlayout height="63">
						<include>HorzHomeMenuItem</include>
					</itemlayout>
					<focusedlayout height="63">
						<include>HorzHomeFocusItem</include>
					</focusedlayout>
					<content>
						<item><!-- Pictures -->
							<label>$LOCALIZE[1]</label>
							<label2>$LOCALIZE[1]</label2>
							<onclick>ActivateWindow(pictures,,return)</onclick>
						</item>
						<item><!-- Picture addons -->
							<label>$LOCALIZE[24001]</label>
							<label2>$LOCALIZE[1]</label2>
							<onclick>ActivateWindow(pictures,Addons,return)</onclick>
						</item>
					</content>
				</control>
			</control>
			<control type="group" id="9370"><!-- Addons Sub menu -->
				<visible>!Skin.HasSetting(home-programs) | !String.IsEmpty(Skin.String(CustomAddon.1.Path)) | !String.IsEmpty(Skin.String(CustomAddon.2.Path)) | !String.IsEmpty(Skin.String(CustomAddon.3.Path)) | !String.IsEmpty(Skin.String(CustomAddon.4.Path)) | !String.IsEmpty(Skin.String(CustomAddon.5.Path))</visible>
				<width>315</width>
				<!-- Dummy button for mouse control -->
				<include content="HorzHomeDummy">
					<param name="dummyid" value="9380"/>
					<param name="focusid" value="9350"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus(9350) | Control.HasFocus(9360) | Control.HasFocus(9380)</visible>
					<include content="HorzHomeHilite">
						<parm name="fadecondition" value="Control.HasFocus(9360)"/>
					</include>
					<!-- Markers for control area items -->
					<include content="page-offscreen-vertical">
						<param name="indicator1left" value="144"/>
						<param name="indicator1top" value="102"/>
						<param name="indicator2left" value="144"/>
						<param name="indicator2top" value="504"/>
						<param name="indicatorsize" value="24"/>
						<param name="indicatorcontainer" value="9350"/>
					</include>
				</control>
				<control type="label">
					<include>HorzHomeMenuHeading</include>
					<label>$INFO[Container(9350).ListItem.Label2]</label>
					<textcolor>$VAR[HorzHomeSubmenu8]</textcolor>
					<animation condition="!Control.HasFocus(9350) + [Control.HasFocus(9160) | Control.HasFocus(9210) | Control.HasFocus(9260) | Control.HasFocus(9360) | Control.HasFocus(9510) | Control.HasFocus(9560)]" effect="fade" start="100" end="65">Conditional</animation>
				</control>
				<control type="list" id="9350">
					<include>HorzHomeMenuList</include>
					<onfocus>SetProperty(horzhomesubmenu,9350,home)</onfocus>
					<onup condition="Integer.IsGreater(Container(9360).NumItems,0)">9355</onup>
					<onup condition="Integer.IsLessOrEqual(Container(9360).NumItems,0)">9005</onup>
					<ondown>9005</ondown>
					<onleft>9300</onleft>
					<onright>9600</onright>
					<animation condition="!Control.HasFocus(9350) + !Control.HasFocus(9360) + !Control.HasFocus(9380)" effect="fade" start="100" end="0" reversible="true">Conditional</animation>
					<animation condition="Control.HasFocus(9360)" effect="fade" start="100" end="65" reversible="true">Conditional</animation>
					<itemlayout height="63">
						<include>HorzHomeMenuItem</include>
					</itemlayout>
					<focusedlayout height="63">
						<include>HorzHomeFocusItem</include>
					</focusedlayout>
					<content>
						<item><!-- Custom addons 1 -->
							<visible>!String.IsEmpty(Skin.String(CustomAddon.1.Path))</visible>
							<label>$INFO[Skin.String(CustomAddon.1.Label)]</label>
							<label2>$LOCALIZE[24001]</label2>
							<onclick>$INFO[Skin.String(CustomAddon.1.Path)]</onclick>
						</item>
						<item><!-- Custom addons 2 -->
							<visible>!String.IsEmpty(Skin.String(CustomAddon.2.Path))</visible>
							<label>$INFO[Skin.String(CustomAddon.2.Label)]</label>
							<label2>$LOCALIZE[24001]</label2>
							<onclick>$INFO[Skin.String(CustomAddon.2.Path)]</onclick>
						</item>
						<item><!-- Custom addons 3 -->
							<visible>!String.IsEmpty(Skin.String(CustomAddon.3.Path))</visible>
							<label>$INFO[Skin.String(CustomAddon.3.Label)]</label>
							<label2>$LOCALIZE[24001]</label2>
							<onclick>$INFO[Skin.String(CustomAddon.3.Path)]</onclick>
						</item>
						<item><!-- Custom addons 4 -->
							<visible>!String.IsEmpty(Skin.String(CustomAddon.4.Path))</visible>
							<label>$INFO[Skin.String(CustomAddon.4.Label)]</label>
							<label2>$LOCALIZE[24001]</label2>
							<onclick>$INFO[Skin.String(CustomAddon.4.Path)]</onclick>
						</item>
						<item><!-- Custom addons 5 -->
							<visible>!String.IsEmpty(Skin.String(CustomAddon.5.Path))</visible>
							<label>$INFO[Skin.String(CustomAddon.5.Label)]</label>
							<label2>$LOCALIZE[24001]</label2>
							<onclick>$INFO[Skin.String(CustomAddon.5.Path)]</onclick>
						</item>
						<item><!-- Video addons -->
							<label>$LOCALIZE[157]</label>
							<label2>$LOCALIZE[24001]</label2>
							<onclick>ActivateWindow(videos,Addons,return)</onclick>
						</item>
						<item><!-- Music addons -->
							<label>$LOCALIZE[2]</label>
							<label2>$LOCALIZE[24001]</label2>
							<onclick>ActivateWindow(music,addons://sources/audio/,return)</onclick>
						</item>
						<item><!-- Picture addons -->
							<label>$LOCALIZE[1]</label>
							<label2>$LOCALIZE[24001]</label2>
							<onclick>ActivateWindow(pictures,Addons,return)</onclick>
						</item>
						<item><!-- Program addons -->
							<label>$LOCALIZE[0]</label>
							<label2>$LOCALIZE[24001]</label2>
							<onclick>ActivateWindow(programs,Addons,return)</onclick>
						</item>
						<item><!-- Update addons -->
							<label>$LOCALIZE[24043]</label>
							<label2>$LOCALIZE[24001]</label2>
							<onclick>RunScript(script.embuary.helper,action=calc,do='"$INFO[Container(12345).NumItems] - 1"',prop=PendingUpdates)</onclick>
							<onclick>ActivateWindow(addonbrowser,addons://outdated/,return)</onclick>
							<visible>Integer.IsGreater(Container(12345).NumItems,0)</visible>
						</item>
						<item><!-- Addon browser -->
							<label>$LOCALIZE[21452]</label>
							<label2>$LOCALIZE[24001]</label2>
							<onclick>ActivateWindow(addonbrowser,,return)</onclick>
						</item>
					</content>
				</control>
			</control>
			<control type="group" id="9620"><!-- Games Sub menu -->
				<visible>Skin.HasSetting(home-games) | !String.IsEmpty(Skin.String(CustomGame.1.Path)) | !String.IsEmpty(Skin.String(CustomGame.2.Path)) | !String.IsEmpty(Skin.String(CustomGame.3.Path)) | !String.IsEmpty(Skin.String(CustomGame.4.Path)) | !String.IsEmpty(Skin.String(CustomGame.5.Path))</visible>
				<width>315</width>
				<!-- Dummy button for mouse control -->
				<include content="HorzHomeDummy">
					<param name="dummyid" value="9630"/>
					<param name="focusid" value="9600"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus(9600) | Control.HasFocus(9630)</visible>
					<include content="HorzHomeHilite"/>
				</control>
				<control type="label">
					<include>HorzHomeMenuHeading</include>
					<label>$INFO[Container(9600).ListItem.Label2]</label>
					<textcolor>$VAR[HorzHomeSubmenu9]</textcolor>
					<animation condition="!Control.HasFocus(9600) + [Control.HasFocus(9160) | Control.HasFocus(9210) | Control.HasFocus(9260) | Control.HasFocus(9360) | Control.HasFocus(9510) | Control.HasFocus(9560)]" effect="fade" start="100" end="65">Conditional</animation>
				</control>
				<control type="list" id="9600">
					<include>HorzHomeMenuList</include>
					<onfocus>SetProperty(horzhomesubmenu,9600,home)</onfocus>
					<onup>9005</onup>
					<ondown>9005</ondown>
					<onleft>9350</onleft>
					<onright>9400</onright>
					<animation condition="!Control.HasFocus(9600) + !Control.HasFocus(9630)" effect="fade" start="100" end="0" reversible="true">Conditional</animation>
					<itemlayout height="63">
						<include>HorzHomeMenuItem</include>
					</itemlayout>
					<focusedlayout height="63">
						<include>HorzHomeFocusItem</include>
					</focusedlayout>
					<content>
						<item><!-- Games -->
							<label>$LOCALIZE[15016]</label>
							<label2>$LOCALIZE[15016]</label2>
							<onclick>ActivateWindow(games,,return)</onclick>
						</item>
						<item><!-- Custom Games 1 -->
							<visible>!String.IsEmpty(Skin.String(CustomGame.1.Path))</visible>
							<label>$INFO[Skin.String(CustomGame.1.Label)]</label>
							<label2>$LOCALIZE[15016]</label2>
							<onclick>$INFO[Skin.String(CustomGame.1.Path)]</onclick>
						</item>
						<item><!-- Custom Games 2 -->
							<visible>!String.IsEmpty(Skin.String(CustomGame.2.Path))</visible>
							<label>$INFO[Skin.String(CustomGame.2.Label)]</label>
							<label2>$LOCALIZE[15016]</label2>
							<onclick>$INFO[Skin.String(CustomGame.2.Path)]</onclick>
						</item>
						<item><!-- Custom Games 3 -->
							<visible>!String.IsEmpty(Skin.String(CustomGame.3.Path))</visible>
							<label>$INFO[Skin.String(CustomGame.3.Label)]</label>
							<label2>$LOCALIZE[15016]</label2>
							<onclick>$INFO[Skin.String(CustomGame.3.Path)]</onclick>
						</item>
						<item><!-- Custom Games 4 -->
							<visible>!String.IsEmpty(Skin.String(CustomGame.4.Path))</visible>
							<label>$INFO[Skin.String(CustomGame.4.Label)]</label>
							<label2>$LOCALIZE[15016]</label2>
							<onclick>$INFO[Skin.String(CustomGame.4.Path)]</onclick>
						</item>
						<item><!-- Custom Games 5 -->
							<visible>!String.IsEmpty(Skin.String(CustomGame.5.Path))</visible>
							<label>$INFO[Skin.String(CustomGame.5.Label)]</label>
							<label2>$LOCALIZE[15016]</label2>
							<onclick>$INFO[Skin.String(CustomGame.5.Path)]</onclick>
						</item>
					</content>
				</control>
			</control>
			<control type="group" id="9420"><!-- Weather Sub menu -->
				<visible>!String.IsEmpty(Weather.plugin) + [Skin.HasSetting(home-weather) | Skin.HasSetting(home-currentweather)]</visible>
				<width>315</width>
				<!-- Dummy button for mouse control -->
				<include content="HorzHomeDummy">
					<param name="dummyid" value="9430"/>
					<param name="focusid" value="9400"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus(9400) | Control.HasFocus(9430)</visible>
					<include content="HorzHomeHilite"/>
				</control>
				<control type="label">
					<include>HorzHomeMenuHeading</include>
					<label>$INFO[Container(9400).ListItem.Label2]</label>
					<textcolor>$VAR[HorzHomeSubmenu10]</textcolor>
					<animation condition="!Control.HasFocus(9400) + [Control.HasFocus(9160) | Control.HasFocus(9210) | Control.HasFocus(9260) | Control.HasFocus(9360) | Control.HasFocus(9510) | Control.HasFocus(9560)]" effect="fade" start="100" end="65">Conditional</animation>
				</control>
				<control type="list" id="9400">
					<include>HorzHomeMenuList</include>
					<onfocus>SetProperty(horzhomesubmenu,9400,home)</onfocus>
					<onup>9005</onup>
					<ondown>9005</ondown>
					<onleft>9600</onleft>
					<onright>9450</onright>
					<animation condition="!Control.HasFocus(9400) + !Control.HasFocus(9430)" effect="fade" start="100" end="0" reversible="true">Conditional</animation>
					<itemlayout height="63">
						<include>HorzHomeMenuItem</include>
					</itemlayout>
					<focusedlayout height="63">
						<include>HorzHomeFocusItem</include>
					</focusedlayout>
					<content>
						<item><!-- Weather -->
							<label>$LOCALIZE[8]</label>
							<label2>$LOCALIZE[8]</label2>
							<onclick>ActivateWindow(weather)</onclick>
						</item>
					</content>
				</control>
			</control>
			<control type="group" id="9470"><!-- Settings Sub menu -->
				<width>315</width>
				<!-- Dummy button for mouse control -->
				<include content="HorzHomeDummy">
					<param name="dummyid" value="9480"/>
					<param name="focusid" value="9450"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus(9450) | Control.HasFocus(9480)</visible>
					<include content="HorzHomeHilite"/>
					<!-- Markers for control area items -->
					<include content="page-offscreen-vertical">
						<param name="indicator1left" value="144"/>
						<param name="indicator1top" value="102"/>
						<param name="indicator2left" value="144"/>
						<param name="indicator2top" value="504"/>
						<param name="indicatorsize" value="24"/>
						<param name="indicatorcontainer" value="9450"/>
					</include>
				</control>
				<control type="label">
					<include>HorzHomeMenuHeading</include>
					<label>$INFO[Container(9450).ListItem.Label2]</label>
					<textcolor>$VAR[HorzHomeSubmenu11]</textcolor>
					<animation condition="!Control.HasFocus(9450) + [Control.HasFocus(9160) | Control.HasFocus(9210) | Control.HasFocus(9260) | Control.HasFocus(9360) | Control.HasFocus(9510) | Control.HasFocus(9560)]" effect="fade" start="100" end="65">Conditional</animation>
				</control>
				<control type="list" id="9450">
					<include>HorzHomeMenuList</include>
					<onfocus>SetProperty(horzhomesubmenu,9450,home)</onfocus>
					<onup>9005</onup>
					<ondown>9005</ondown>
					<onleft>9400</onleft>
					<onright>9005</onright>
					<animation condition="!Control.HasFocus(9450) + !Control.HasFocus(9480)" effect="fade" start="100" end="0" reversible="true">Conditional</animation>
					<itemlayout height="63">
						<include>HorzHomeMenuItem</include>
					</itemlayout>
					<focusedlayout height="63">
						<include>HorzHomeFocusItem</include>
					</focusedlayout>
					<content>
						<item><!-- Settings -->
							<label>$LOCALIZE[5]</label>
							<label2>$LOCALIZE[13000]</label2>
							<onclick>ActivateWindow(settings)</onclick>
						</item>
						<item><!-- Profiles -->
							<visible>Skin.HasSetting(home-profile)</visible>
							<label>$LOCALIZE[20092]</label>
							<label2>$LOCALIZE[13000]</label2>
							<onclick>System.LogOff</onclick>
						</item>
						<item><!-- Search -->
							<visible>Skin.HasSetting(home-search)</visible>
							<label>$LOCALIZE[137]</label>
							<label2>$LOCALIZE[13000]</label2>
							<onclick condition="!System.HasAddon(script.globalsearch)">InstallAddon(script.globalsearch)</onclick>
							<onclick condition="System.HasAddon(script.globalsearch)">RunScript(script.globalsearch)</onclick>
						</item>
						<item><!-- Filemanager -->
							<visible>Skin.HasSetting(home-filemanager)</visible>
							<label>$LOCALIZE[10003]</label>
							<label2>$LOCALIZE[13000]</label2>
							<onclick>ActivateWindow(filemanager)</onclick>
						</item>
						<item><!-- Play DVD -->
							<visible>System.HasMediadvd + Skin.HasSetting(home-playdisc)</visible>
							<label>$LOCALIZE[31036]</label>
							<label2>$LOCALIZE[13000]</label2>
							<onclick>PlayDVD</onclick>
						</item>
						<item><!-- Quit -->
							<visible>!Skin.HasSetting(home-shutdown)</visible>
							<label>$LOCALIZE[13009]</label>
							<label2>$LOCALIZE[13000]</label2>
							<onclick>SetProperty(ShutdownKodi,true,home)</onclick>
							<onclick>$VAR[QuitAction]</onclick>
						</item>
					</content>
				</control>
			</control>
		</control>
		<control type="group" id="9940"><!-- RSS info -->
			<include condition="System.GetBool(lookandfeel.enablerssfeeds)">page-info</include>
		</control>
		<!-- Play bump sound if user tries to leave menu by undefined direction -->
		<include content="illegal-action">
			<param name="controlid" value="9005" />
			<param name="returnid" value="9000" />
		</include>
		<!-- Play bump sound if user tries to leave Movie shelf by undefined direction -->
		<include content="illegal-action">
			<param name="controlid" value="9050" />
			<param name="returnid" value="9160" />
		</include>
		<!-- Play bump sound if user tries to leave TV shelf by undefined direction -->
		<include content="illegal-action">
			<param name="controlid" value="9052" />
			<param name="returnid" value="9210" />
		</include>
		<!-- Play bump sound if user tries to leave Music shelf by undefined direction -->
		<include content="illegal-action">
			<param name="controlid" value="9054" />
			<param name="returnid" value="9260" />
		</include>
		<!-- Play bump sound if user tries to leave Addons shelf by undefined direction -->
		<include content="illegal-action">
			<param name="controlid" value="9056" />
			<param name="returnid" value="9360" />
		</include>
		<!-- Play bump sound if user tries to leave Addons shelf by undefined direction -->
		<include content="illegal-action">
			<param name="controlid" value="9056" />
			<param name="returnid" value="9360" />
		</include>
		<!-- Play bump sound if user tries to leave Broadcast shelf by undefined direction -->
		<include content="illegal-action">
			<param name="controlid" value="9058" />
			<param name="returnid" value="9510" />
		</include>
		<!-- Play bump sound if user tries to leave Custom shelf by undefined direction -->
		<include content="illegal-action">
			<param name="controlid" value="9060" />
			<param name="returnid" value="9560" />
		</include>
	</include>
</includes>