<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">50</defaultcontrol>
	<views>50,51,52,53,54,55,56,57,501,511,551</views>
	<controls>
		<include condition="Skin.HasSetting(Sub_MainMenuBG)">SubBackgroundLists</include>
		<include>DefaultBackground</include>
		<control type="group">
			<!-- LIST View -->
			<include content="View_50_List" condition="!Skin.HasSetting(ListCenterFocus)">
				<param name="ListType">list</param>
			</include>
			<include content="View_50_List" condition="Skin.HasSetting(ListCenterFocus)">
				<param name="ListType">fixedlist</param>
			</include>
			<!-- LOWLIST View -->
			<include content="View_54_LowList" condition="!Skin.HasSetting(ListCenterFocus)">
				<param name="ListType">list</param>
			</include>
			<include content="View_54_LowList" condition="Skin.HasSetting(ListCenterFocus)">
				<param name="ListType">fixedlist</param>
			</include>
			<!-- BIGLIST View -->
			<include content="View_52_BigList" condition="!Skin.HasSetting(ListCenterFocus)">
				<param name="ListType">list</param>
			</include>
			<include content="View_52_BigList" condition="Skin.HasSetting(ListCenterFocus)">
				<param name="ListType">fixedlist</param>
			</include>
			<!-- TALLLIST View -->
			<include content="View_501_TallList" condition="!Skin.HasSetting(ListCenterFocus)">
				<param name="ListType">list</param>
			</include>
			<include content="View_501_TallList" condition="Skin.HasSetting(ListCenterFocus)">
				<param name="ListType">fixedlist</param>
			</include>
			<!-- PANEL/PANEL2 Views -->
			<include>View_51_Panel</include>
			<include>View_511_Panel2</include>
			<!-- BIGPANEL/BIGPANEL2 Views -->
			<include>View_55_BigPanel</include>
			<include>View_551_BigPanel2</include>
			<!-- ICONS View -->
			<include>View_53_Icons</include>
			<!-- FANART View -->
			<include content="View_56_Fanart" condition="!Skin.HasSetting(FanartCenterFocus)">
				<param name="focusposition">2</param>
			</include>
			<include content="View_56_Fanart" condition="Skin.HasSetting(FanartCenterFocus)">
				<param name="focusposition">4</param>
			</include>
			<!-- SIMPLELIST View -->
			<include>View_57_SimpleList</include>
		</control>
		<!-- SIDE MENU -->
		<control type="group" id="8999" description="Side menu 9000 group">
			<include>9000Commons</include>
			<include>9000NavCommons</include>
			<control type="group">
				<posx>-60</posx>
				<posy>-13</posy>
				<include condition="Skin.HasSetting(Enable.TouchSupport)" content="DialogCloseButtonCommons">
					<param name="Action">SetFocus(50)</param>
					<param name="ondown">9000</param>
				</include>
				<animation effect="fade" time="200" start="100" end="20" reversible="true" condition="!ControlGroup(9000).HasFocus() + !Control.HasFocus(909090)">Conditional</animation>
			</control>
			<control type="grouplist" id="9000">
				<include>9000GrouplistParameters</include>
				<control type="label" id="9180" description="Spacer">
					<height>36</height>
					<textcolor>$VAR[HighlightColor]</textcolor>
					<align>left</align>
					<textoffsetx>10</textoffsetx>
					<include>9000ViewButtons</include>
					<label></label>
				</control>
				<control type="label" id="9181">
					<textcolor>$VAR[HighlightColor]</textcolor>
					<align>left</align>
					<textoffsetx>10</textoffsetx>
					<include>9000ViewButtons</include>
					<label>$LOCALIZE[31026]</label>
				</control>
				<control type="radiobutton" id="11">
					<description>Unlock Shares</description>
					<include>9000SysButtons</include>
					<label>$LOCALIZE[20336]</label>
					<onclick>xbmc.mastermode</onclick>
					<selected>system.ismaster</selected>
					<visible>system.haslocks</visible>
				</control>
				<control type="togglebutton" id="620">
					<description>Update library</description>
					<include>9000SysButtons</include>
					<label>$LOCALIZE[653]</label>
					<onclick>UpdateLibrary(video)</onclick>
					<altlabel>$LOCALIZE[13353]</altlabel>
					<usealttexture>library.isscanningvideo</usealttexture>
				</control>
				<control type="button" id="612">
					<description>Go to playlist</description>
					<include>9000SysButtons</include>
					<label>$LOCALIZE[559]</label>
					<onclick>ActivateWindow(videoplaylist)</onclick>
					<visible>Integer.IsGreater(Playlist.Length(video),0)</visible>
				</control>
				<control type="button" id="699" description="Playing">
					<enable>Player.HasMedia</enable>
					<include>9000SysButtons</include>
					<label>$LOCALIZE[16003]</label>
					<onclick>fullscreen</onclick>
				</control>
			</control>
		</control>
	</controls>
</window>