<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>3</defaultcontrol>
	<onunload>ClearProperty(PopupMenuVisible,Home)</onunload>
	<controls>
		<include>CommonBackground</include>
		<control type="group">
			<include>Window_OpenClose_Animation_Zoom</include>
			<posx>0</posx>
			<posy>0</posy>
			<control type="image">
				<description>Menu Panel</description>
				<posx>-5</posx>
				<posy>-5</posy>
				<width>400</width>
				<height>970</height>
				<texture>panel.png</texture>
				<bordertexture border="6">panel_shadow.png</bordertexture>
				<bordersize>5</bordersize>
			</control>
			<control type="grouplist" id="3">
				<description>button area</description>
				<posx>0</posx>
				<posy>130</posy>
				<width>390</width>
				<height>720</height>
				<itemgap>-1</itemgap>
				<onleft>5</onleft>
				<onright>5</onright>
				<onup>3</onup>
				<ondown>3</ondown>
			</control>
			<include content="SettingsContent" condition="String.IsEqual(Skin.AspectRatio,16:9)">
				<param name="panel-width">1316</param>
				<param name="textbox-width">1286</param>
			</include>
			<include content="SettingsContent" condition="String.IsEqual(Skin.AspectRatio,4:3)">
				<param name="panel-width">890</param>
				<param name="textbox-width">860</param>
			</include>
		</control>
		<control type="button" id="10">
			<description>Default Category Button</description>
			<width>390</width>
			<height>80</height>
			<aligny>center</aligny>
			<font>font24_title</font>
			<textcolor>white</textcolor>
			<texturefocus>list_focus.png</texturefocus>
			<texturenofocus></texturenofocus>
			<pulseonselect>false</pulseonselect>
			<textoffsetx>20</textoffsetx>
		</control>
		<control type="button" id="7">
			<description>Default Button</description>
			<posx>0</posx>
			<posy>0</posy>
			<height>80</height>
			<font>font24_title</font>
			<textcolor>white</textcolor>
			<texturefocus>list_focus.png</texturefocus>
			<texturenofocus></texturenofocus>
			<textoffsetx>20</textoffsetx>
		</control>
		<control type="label" id="14">
			<description>Default Label</description>
			<posx>0</posx>
			<posy>0</posy>
			<height>80</height>
			<font>font24_title</font>
			<textcolor>white</textcolor>
			<align>center</align>
			<textoffsetx>20</textoffsetx>
		</control>
		<control type="radiobutton" id="8">
			<description>Default RadioButton</description>
			<posx>0</posx>
			<posy>0</posy>
			<height>80</height>
			<font>font24_title</font>
			<textcolor>white</textcolor>
			<texturefocus>list_focus.png</texturefocus>
			<texturenofocus></texturenofocus>
			<textoffsetx>20</textoffsetx>
		</control>
		<control type="colorbutton" id="15">
			<description>Default ColorButton</description>
			<posx>0</posx>
			<posy>0</posy>
			<height>80</height>
			<font>font24_title</font>
			<textcolor>white</textcolor>
			<texturefocus>list_focus.png</texturefocus>
			<texturenofocus></texturenofocus>
			<textoffsetx>20</textoffsetx>
		</control>
		<control type="spincontrolex" id="9">
			<description>Default SpinControlex</description>
			<posx>0</posx>
			<posy>0</posy>
			<height>80</height>
			<font>font24_title</font>
			<textcolor>white</textcolor>
			<texturefocus>list_focus.png</texturefocus>
			<texturenofocus></texturenofocus>
			<aligny>center</aligny>
			<reverse>yes</reverse>
			<textoffsetx>20</textoffsetx>
		</control>
		<control type="sliderex" id="13">
			<description>Default SpinControlex</description>
			<posx>0</posx>
			<posy>0</posy>
			<height>80</height>
			<font>font24_title</font>
			<textcolor>white</textcolor>
			<texturefocus>list_focus.png</texturefocus>
			<texturenofocus></texturenofocus>
			<aligny>center</aligny>
			<textoffsetx>20</textoffsetx>
		</control>
		<control type="image" id="11">
			<description>separator image</description>
			<posy>-2</posy>
			<height>2</height>
			<texture border="2">separator.png</texture>
		</control>
		<control type="label" id="2">
			<description>Fake Label so we can pass it on</description>
			<posx>0</posx>
			<posy>0</posy>
			<width>0</width>
			<height>0</height>
			<font></font>
			<visible>false</visible>
		</control>
		<include>Header</include>
		<include>CommonNowPlaying</include>
		<include>Footer</include>
		<control type="label">
			<description>Window label</description>
			<include>MediaWindowTitleCommons</include>
			<label>$LOCALIZE[5]$INFO[Control.GetLabel(2), - ]</label>
		</control>
		<control type="panel" id="9002">
			<include>VisibleFadeEffect</include>
			<include>BottomMenuLayout</include>
			<content>
				<item>
					<label>31200</label>
					<onclick>Back</onclick>
					<icon>icon_button_back.png</icon>
				</item>
				<item>
					<label>1036</label>
					<onclick>ActivateWindow(Favourites)</onclick>
					<icon>icon_button_favourites.png</icon>
				</item>
				<item>
					<label>5</label>
					<onclick condition="String.IsEmpty(Window(Home).Property(PopupMenuVisible))">SetProperty(PopupMenuVisible,Show,Home)</onclick>
					<onclick condition="!String.IsEmpty(Window(Home).Property(PopupMenuVisible))">ClearProperty(PopupMenuVisible,Home)</onclick>
					<icon>icon_button_settings.png</icon>
				</item>
			</content>
		</control>
		<include content="PopupMenu">
			<param name="panel-posy">400</param>
			<param name="panel-height">160</param>
		</include>
	</controls>
</window>
