<?xml version="1.0" encoding="UTF-8"?>
<window>
	<allowoverlay>yes</allowoverlay>
	<defaultcontrol always="true">401</defaultcontrol>
	<controls>
		<include>GlobalOverlay</include>
		<control type="group">
			<include condition="!Skin.HasSetting(low.power)">Animation.Common</include><include condition="Skin.HasSetting(low.power)">Animation.Common.Lowpower</include>
			<left>NewSidePad</left>
			<right>NewSidePad</right>
			<top>TopPad</top>
			<control type="image">
				<height>72</height>
				<texture>common/white.png</texture>
				<colordiffuse>$VAR[EmbyMenuTextColourHighlight]</colordiffuse>
				<aspectratio>stretch</aspectratio>
			</control>
			<control type="image">
				<top>72</top>
				<height>824</height>
				<texture>common/white.png</texture>
				<colordiffuse>$VAR[EmbyMenuColourHighlight]</colordiffuse>
				<aspectratio>stretch</aspectratio>
			</control>
			<control type="label" id="500">
				<height>72</height>
				<aligny>center</aligny>
				<align>center</align>
				<font>settingsheader</font>
				<textcolor>$VAR[EmbyMenuColourHighlight]</textcolor>
				<shadowcolor>-</shadowcolor>
			</control>
			<control type="group">
				<!-- Left Group -->
				<control type="list" id="211">
					<description>Button Area</description>
					<top>72</top>
					<height>824</height>
					<width>500</width>
					<onleft>211</onleft>
					<onright>9100</onright>
					<onup>211</onup>
					<ondown>211</ondown>
					<orientation>vertical</orientation>
					<itemlayout width="500" height="103">
						<control type="image">
							<aspectratio scalediffuse="false">stretch</aspectratio>
							<texture>common/box.png</texture>
							<colordiffuse>$VAR[EmbyMenuColourHighlight]</colordiffuse>
						</control>
						<control type="label">
							<height>103</height>
							<font>Medium</font>
							<textoffsetx>10</textoffsetx>
							<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
							<align>left</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
						</control>
					</itemlayout>
					<focusedlayout width="500" height="103">
						<control type="image">
							<aspectratio scalediffuse="false">stretch</aspectratio>
							<texture>common/box.png</texture>
							<colordiffuse>$VAR[EmbyLeftColourHighlight]</colordiffuse>
							<animation effect="fade" time="50" start="100" end="50" condition="!Control.HasFocus(211)">Conditional</animation>
						</control>
						<control type="label">
							<height>103</height>
							<font>Medium</font>
							<textoffsetx>10</textoffsetx>
							<textcolor>$VAR[ColourSelected]</textcolor>
							<label>$INFO[ListItem.label]</label>
							<align>left</align>
							<aligny>center</aligny>
						</control>
					</focusedlayout>
				</control>
				<!-- Right Group -->
				<control type="grouplist" id="9100">
					<description>Control Area</description>
					<left>500</left>
					<top>72</top>
					<height>824</height>
					<itemgap>0</itemgap>
					<onleft>211</onleft>
					<onright>9000</onright>
					<onup>9100</onup>
					<ondown>9100</ondown>
					<orientation>vertical</orientation>
					<control type="button" id="401" description="Alt chooser">
						<width>1410</width>
						<include>DefSettingsButton2</include>
					</control>
					<control type="button" id="307" description="Custom">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label2>$INFO[Container(211).ListItem.Property(displaypath)]</label2>
					</control>
					<control type="button" id="305" description="Set label">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label2>$INFO[Container(211).ListItem.Label]</label2>
					</control>
					<!--  <control type="button" id="501" description="Widgets"><width>1410</width><include>DefSettingsButton2</include><label>31951</label><onclick>ActivateWindow(1112)</onclick></control> -->
					<control type="button" id="1450">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 1</label>
						<label2 fallback="31737">$INFO[Skin.String(livetv1widget.name)]</label2>
						<onclick>RunScript(script.skinshortcuts,type=widgets&amp;showNone=True&amp;skinWidgetName=livetv1widget.name&amp;skinWidgetTarget=livetv1widget.target&amp;skinWidgetPath=livetv1widget.path)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),livetv)</visible>
					</control>
					<control type="button" id="1451">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 2</label>
						<label2 fallback="19019">$INFO[Skin.String(livetv2widget.name)]</label2>
						<onclick>RunScript(script.skinshortcuts,type=widgets&amp;showNone=True&amp;skinWidgetName=livetv2widget.name&amp;skinWidgetTarget=livetv2widget.target&amp;skinWidgetPath=livetv2widget.path)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),livetv)</visible>
					</control>
					<control type="button" id="1452">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 1</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.movies1)]</label2>
						<onclick>SetProperty(widgetID, movies1)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies)</visible>
					</control>
					<control type="button" id="1453">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 2</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.movies2)]</label2>
						<onclick>SetProperty(widgetID, movies2)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies)</visible>
					</control>
					<control type="button" id="1454">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 3</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.movies3)]</label2>
						<onclick>SetProperty(widgetID, movies3)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies)</visible>
					</control>
					<control type="button" id="1455">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 4</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.movies4)]</label2>
						<onclick>SetProperty(widgetID, movies4)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies)</visible>
						<visible>!Skin.String(home.vertical,3)</visible>
					</control>
					<control type="button" id="14551">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 5</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.movies5)]</label2>
						<onclick>SetProperty(widgetID, movies5)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies)</visible>
						<visible>!Skin.String(home.vertical,3)</visible>
					</control>
					<control type="button" id="14552">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 6</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.movies6)]</label2>
						<onclick>SetProperty(widgetID, movies6)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies)</visible>
						<visible>!Skin.String(home.vertical,3)</visible>
					</control>
					<control type="button" id="1456">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 1</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.tvshows1)]</label2>
						<onclick>SetProperty(widgetID, tvshows1)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows)</visible>
					</control>
					<control type="button" id="1457">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 2</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.tvshows2)]</label2>
						<onclick>SetProperty(widgetID, tvshows2)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows)</visible>
					</control>
					<control type="button" id="1458">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 3</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.tvshows3)]</label2>
						<onclick>SetProperty(widgetID, tvshows3)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows)</visible>
					</control>
					<control type="button" id="1459">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 4</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.tvshows4)]</label2>
						<onclick>SetProperty(widgetID, tvshows4)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows)</visible>
						<visible>!Skin.String(home.vertical,3)</visible>
					</control>
					<control type="button" id="14591">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 5</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.tvshows5)]</label2>
						<onclick>SetProperty(widgetID, tvshows5)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows)</visible>
						<visible>!Skin.String(home.vertical,3)</visible>
					</control>
					<control type="button" id="14592">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 6</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.tvshows6)]</label2>
						<onclick>SetProperty(widgetID, tvshows6)</onclick>
						<onclick>SendClick(312)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows)</visible>
						<visible>!Skin.String(home.vertical,3)</visible>
					</control>
					<control type="button" id="1460">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 1</label>
						<label2 fallback="31187">$INFO[Skin.String(music1widget.name)]</label2>
						<onclick>RunScript(script.skinshortcuts,type=widgets&amp;showNone=True&amp;skinWidgetName=music1widget.name&amp;skinWidgetTarget=music1widget.target&amp;skinWidgetPath=music1widget.path)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),music)</visible>
					</control>
					<control type="button" id="1461">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 2</label>
						<label2 fallback="31795">$INFO[Skin.String(music2widget.name)]</label2>
						<onclick>RunScript(script.skinshortcuts,type=widgets&amp;showNone=True&amp;skinWidgetName=music2widget.name&amp;skinWidgetTarget=music2widget.target&amp;skinWidgetPath=music2widget.path)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),music)</visible>
					</control>
					<control type="button" id="1462">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 3</label>
						<label2 fallback="31189">$INFO[Skin.String(music3widget.name)]</label2>
						<onclick>RunScript(script.skinshortcuts,type=widgets&amp;showNone=True&amp;skinWidgetName=music3widget.name&amp;skinWidgetTarget=music3widget.target&amp;skinWidgetPath=music3widget.path)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),music)</visible>
					</control>
					<control type="button" id="1463">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 4</label>
						<label2 fallback="31187">$INFO[Skin.String(music4widget.name)]</label2>
						<onclick>RunScript(script.skinshortcuts,type=widgets&amp;showNone=True&amp;skinWidgetName=music4widget.name&amp;skinWidgetTarget=music4widget.target&amp;skinWidgetPath=music4widget.path)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),music)</visible>
						<visible>!Skin.String(home.vertical,3)</visible>
					</control>
					<control type="button" id="312">
						<!--set widget-->
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 1</label>
						<label2 fallback="31134">$INFO[Container(211).Listitem.Property(widgetName)]</label2>
						<onclick>SetProperty(customWidget, normal, Home)</onclick>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>!StringCompare(Container(211).ListItem.Property(defaultID),livetv) + !StringCompare(Container(211).ListItem.Property(defaultID),movies) + !StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + !StringCompare(Container(211).ListItem.Property(defaultID),music) + !StringCompare(Container(211).ListItem.Property(defaultID),weather)</visible>
					</control>
					<control type="button" id="1407">
						<!--set widget 2-->
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<onclick>SetProperty(widgetID, 1)</onclick>
						<onclick>SendClick(312)</onclick>
						<label>$ADDON[script.skinshortcuts 32044] 2</label>
						<label2 fallback="31135">$INFO[Container(211).Listitem.Property(widgetName.1)]</label2>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>!StringCompare(Container(211).ListItem.Property(defaultID),livetv) + !StringCompare(Container(211).ListItem.Property(defaultID),movies) + !StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + !StringCompare(Container(211).ListItem.Property(defaultID),music) + !StringCompare(Container(211).ListItem.Property(defaultID),weather)</visible>
					</control>
					<control type="button" id="1408">
						<!--set widget 3-->
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<onclick>SetProperty(widgetID, 2)</onclick>
						<onclick>SendClick(312)</onclick>
						<label>$ADDON[script.skinshortcuts 32044] 3</label>
						<label2 fallback="31224">$INFO[Container(211).Listitem.Property(widgetName.2)]</label2>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>!StringCompare(Container(211).ListItem.Property(defaultID),livetv) + !StringCompare(Container(211).ListItem.Property(defaultID),movies) + !StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + !StringCompare(Container(211).ListItem.Property(defaultID),music) + !StringCompare(Container(211).ListItem.Property(defaultID),weather)</visible>
					</control>
					<control type="button" id="1409">
						<!--set widget 4-->
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<onclick>SetProperty(widgetID, 3)</onclick>
						<onclick>SendClick(312)</onclick>
						<label>$ADDON[script.skinshortcuts 32044] 4</label>
						<label2 fallback="31225">$INFO[Container(211).Listitem.Property(widgetName.3)]</label2>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
						<visible>!Skin.String(home.vertical,3)</visible>
						<visible>!StringCompare(Container(211).ListItem.Property(defaultID),livetv) + !StringCompare(Container(211).ListItem.Property(defaultID),movies) + !StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + !StringCompare(Container(211).ListItem.Property(defaultID),music) + !StringCompare(Container(211).ListItem.Property(defaultID),weather)</visible>
					</control>
					<control type="button" id="501" description="Widget 1 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 1 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(movies1widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(movies1widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(movies1widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(movies1widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets) | Skin.String(home.vertical,3)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="502" description="Widget 2 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 2 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(movies2widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(movies2widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(movies2widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(movies2widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets) | Skin.String(home.vertical,3)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="503" description="Widget 3 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 3 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(movies3widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(movies3widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(movies3widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(movies3widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="504" description="Widget 4 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 4 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(movies4widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(movies4widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(movies4widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(movies4widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="5041" description="Widget 5 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 5 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(movies5widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(movies5widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(movies5widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(movies5widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies) + Skin.String(home.vertical,1)</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="5042" description="Widget 6 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 6 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(movies6widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(movies6widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(movies6widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(movies6widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),movies) + Skin.String(home.vertical,1)</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="505" description="Widget 1 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 1 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(tvshows1widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(tvshows1widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(tvshows1widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(tvshows1widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets) | Skin.String(home.vertical,3)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="506" description="Widget 2 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 2 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(tvshows2widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(tvshows2widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(tvshows2widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(tvshows2widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets) | Skin.String(home.vertical,3)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="5071" description="Widget 3 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 3 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(tvshows3widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(tvshows3widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(tvshows3widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(tvshows3widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="508" description="Widget 4 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 4 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(tvshows4widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(tvshows4widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(tvshows4widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(tvshows4widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="5081" description="Widget 5 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 5 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(tvshows5widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(tvshows5widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(tvshows5widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(tvshows5widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + Skin.String(home.vertical,1)</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="5082" description="Widget 6 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 6 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(tvshows6widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(tvshows6widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(tvshows6widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(tvshows6widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + Skin.String(home.vertical,1)</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="509" description="Widget 1 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 1 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(music1widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(music1widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(music1widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(music1widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),music) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets) | Skin.String(home.vertical,3)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="510" description="Widget 2 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 2 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(music2widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(music2widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(music2widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(music2widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),music) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets) | Skin.String(home.vertical,3)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="511" description="Widget 3 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 3 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(music3widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(music3widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(music3widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(music3widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),music) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="512" description="Widget 4 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 4 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Skin.String(music4widget.aspectratio)]</label2>
						<onclick>SetProperty(Dialog.NumItems,3)</onclick>
						<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[31968])</onclick>
						<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(music4widget.aspectratio,LANDSCAPE))</onclick>
						<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31969])</onclick>
						<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(music4widget.aspectratio,POSTER))</onclick>
						<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31970])</onclick>
						<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(music4widget.aspectratio,SQUARE))</onclick>
						<onclick>RunScript(script.toolbox,info=selectdialog,header=$LOCALIZE[31967])</onclick>
						<visible>StringCompare(Container(211).ListItem.Property(defaultID),music) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets)]</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="513" description="Defaul Widget 1 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 1 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Container(211).ListItem.Property(widget1Icon)]</label2>
						<onclick>SetProperty(chooseProperty,widget1Icon)</onclick>
						<onclick>SendClick(404)</onclick>
						<visible>!StringCompare(Container(211).ListItem.Property(defaultID),livetv) + !StringCompare(Container(211).ListItem.Property(defaultID),movies) + !StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + !StringCompare(Container(211).ListItem.Property(defaultID),music) + !StringCompare(Container(211).ListItem.Property(defaultID),weather)</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets) | Skin.String(home.vertical,3)]</visible>
					</control>
					<control type="button" id="514" description="Defaul Widget 2 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 2 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Container(211).ListItem.Property(widget2Icon)]</label2>
						<onclick>SetProperty(chooseProperty,widget2Icon)</onclick>
						<onclick>SendClick(404)</onclick>
						<visible>!StringCompare(Container(211).ListItem.Property(defaultID),livetv) + !StringCompare(Container(211).ListItem.Property(defaultID),movies) + !StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + !StringCompare(Container(211).ListItem.Property(defaultID),music) + !StringCompare(Container(211).ListItem.Property(defaultID),weather)</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets) | Skin.String(home.vertical,3)]</visible>
					</control>
					<control type="button" id="515" description="Defaul Widget 3 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 3 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Container(211).ListItem.Property(widget3Icon)]</label2>
						<onclick>SetProperty(chooseProperty,widget3Icon)</onclick>
						<onclick>SendClick(404)</onclick>
						<visible>!StringCompare(Container(211).ListItem.Property(defaultID),livetv) + !StringCompare(Container(211).ListItem.Property(defaultID),movies) + !StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + !StringCompare(Container(211).ListItem.Property(defaultID),music) + !StringCompare(Container(211).ListItem.Property(defaultID),weather)</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets)]</visible>
					</control>
					<control type="button" id="516" description="Defaul Widget 4 icon aspect ratio">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>$ADDON[script.skinshortcuts 32044] 4 $LOCALIZE[31971]</label>
						<label2 fallback="31968">$INFO[Container(211).ListItem.Property(widget4Icon)]</label2>
						<onclick>SetProperty(chooseProperty,widget4Icon)</onclick>
						<onclick>SendClick(404)</onclick>
						<visible>!StringCompare(Container(211).ListItem.Property(defaultID),livetv) + !StringCompare(Container(211).ListItem.Property(defaultID),movies) + !StringCompare(Container(211).ListItem.Property(defaultID),tvshows) + !StringCompare(Container(211).ListItem.Property(defaultID),music) + !StringCompare(Container(211).ListItem.Property(defaultID),weather)</visible>
						<visible>StringCompare(Window.Property(groupname),mainmenu) + [Skin.String(home.vertical,1) | Skin.HasSetting(home.vertical.widgets)]</visible>
					</control>
					<control type="button" id="310" description="Background">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label2>$INFO[Container(211).ListItem.Property(backgroundName)]</label2>
						<visible>stringcompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="405" description="Set submenu">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<label>31956</label>
						<visible>stringcompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="301" description="Add">
						<width>1410</width>
						<include>DefSettingsButton2</include>
					</control>
					<control type="button" id="302" description="Delete">
						<width>1410</width>
						<include>DefSettingsButton2</include>
					</control>
					<control type="button" id="308" description="Reset">
						<width>1410</width>
						<include>DefSettingsButton2</include>
						<visible>!stringcompare(Window.Property(groupname),mainmenu)</visible>
					</control>
					<control type="button" id="303" description="Up">
						<width>1410</width>
						<include>DefSettingsButton2</include>
					</control>
					<control type="button" id="304" description="Down">
						<width>1410</width>
						<include>DefSettingsButton2</include>
					</control>
				</control>
			</control>
			<control type="image">
				<posx>500</posx>
				<top>72</top>
				<bottom>34</bottom>
				<width>1</width>
				<texture colordiffuse="white">common/white.png</texture>
			</control>
		</control>
		<!-- 404, for setting custom property -->
		<control type="button" id="404">
			<visible>False</visible>
			<left>-100000</left>
			<top>-100000</top>
			<width>1</width>
			<height>1</height>
			<onclick>noop</onclick>
		</control>
	</controls>
</window>