<?xml version="1.0" encoding="UTF-8"?>
<includes>

	<include name="Default_Settings_Controls_Togglebutton">
		<control type="togglebutton" id="10">
			<focusedcolor>$VAR[Settings_Grouplist_Label_Color]</focusedcolor>
			<texturefocus border="62,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_except_60_left.png</texturefocus>
			<alttexturefocus border="62,2,2,2" colordiffuse="$VAR[Unfocused_Color]">dialogs/button_underline_except_60_left.png</alttexturefocus>
		</control>
	</include>

	<include name="Default_Settings_Controls_Colorbutton">
		<control type="colorbutton" id="15" />
	</include>

	<include name="Default_Settings_Controls">
		<param name="include_togglebutton" default="false" />
		<param name="include_colorbutton" default="false" />
		<param name="radioposx" default="1140" />
		<definition>
			<control type="button" id="7" />
			<control type="radiobutton" id="8">
				<radioposx>$PARAM[radioposx]</radioposx>
			</control>
			<control type="spincontrolex" id="9" />
			<include content="Default_Settings_Controls_Togglebutton" condition="$PARAM[include_togglebutton]" />
			<control type="image" id="11">
				<height>1</height>
				<texture colordiffuse="$VAR[Blank_Color]">views/white_100.png</texture>
			</control>
			<control type="edit" id="12" />
			<control type="sliderex" id="13" />
			<control type="label" id="14">
				<height>90</height>
				<textoffsetx>30</textoffsetx>
				<font>Default_Settings_Header</font>
				<textcolor>$VAR[Unfocused_Color]</textcolor>
			</control>
			<include content="Default_Settings_Controls_Colorbutton" condition="$PARAM[include_colorbutton]" />
		</definition>
	</include>

	<include name="Settings_Grouplist_Template">
		<param name="id" />
		<param name="pagecontrol" default="60" />
		<param name="left" default="90" />
		<param name="width" default="480" />
		<param name="height" default="630" />
		<param name="onleft" />
		<param name="onleft_condition" default="true" />
		<param name="onleft2" />
		<param name="onleft2_condition" default="false" />
		<param name="onright" />
		<param name="onright_condition" default="true" />
		<param name="onright2" />
		<param name="onright2_condition" default="false" />
		<param name="align" default="top" />
		<param name="include_permanent_underline" default="false" />
		<param name="include_scrollbar" default="true" />
		<param name="divider_visible" default="true" />
		<param name="scrollbar_visible" default="false" />
		<param name="scrollbar_height" default="630" />
		<param name="scrollbar_mirror" default="false" />
		<definition>
			<control type="grouplist" id="$PARAM[id]">
				<visible allowhiddenfocus="true">true</visible>
				<left>$PARAM[left]</left>
				<width>$PARAM[width]</width>
				<height>$PARAM[height]</height>
				<centertop>50%</centertop>
				<itemgap>0</itemgap>
				<onleft condition="$PARAM[onleft_condition]">$PARAM[onleft]</onleft>
				<onleft condition="$PARAM[onleft2_condition]">$PARAM[onleft2]</onleft>
				<onright condition="$PARAM[onright_condition]">$PARAM[onright]</onright>
				<onright condition="$PARAM[onright2_condition]">$PARAM[onright2]</onright>
				<orientation>vertical</orientation>
				<align>$PARAM[align]</align>
				<usecontrolcoords>true</usecontrolcoords>
				<scrolltime tween="sine" easing="inout">360</scrolltime>
				<pagecontrol>$PARAM[pagecontrol]</pagecontrol>
				<nested />
			</control>
			<include content="Settings_Grouplist_Underline" condition="$PARAM[include_permanent_underline]">
				<param name="id" value="$PARAM[id]" />
			</include>
			<include content="Dialog_Divider_With_Scrollbar" condition="$PARAM[include_scrollbar]">
				<param name="dividervisible" value="$PARAM[divider_visible]" />
				<param name="scrollbarvisible" value="$PARAM[scrollbar_visible]" />
				<param name="id" value="$PARAM[pagecontrol]" />
				<param name="left" value="$PARAM[left]" />
				<param name="height" value="$PARAM[scrollbar_height]" />
				<param name="scrollbaralignleft" value="!$PARAM[scrollbar_mirror]" />
				<animation effect="slide" end="$PARAM[width]" time="0" reversible="false" condition="$PARAM[scrollbar_mirror]">Conditional</animation>
			</include>
		</definition>
	</include>

	<include name="Settings_Grouplist_Underline">
		<param name="id" />
		<param name="left" default="150" />
		<param name="width" default="420" />
		<param name="top" default="314" />
		<definition>
			<control type="image">
				<animation effect="slide" end="0,90" time="0" reversible="false" condition="Container($PARAM[id]).Position(1)">Conditional</animation>
				<animation effect="slide" end="0,180" time="0" reversible="false" condition="Container($PARAM[id]).Position(2)">Conditional</animation>
				<animation effect="slide" end="0,270" time="0" reversible="false" condition="Container($PARAM[id]).Position(3)">Conditional</animation>
				<animation effect="slide" end="0,360" time="0" reversible="false" condition="Container($PARAM[id]).Position(4)">Conditional</animation>
				<animation effect="slide" end="0,450" time="0" reversible="false" condition="Container($PARAM[id]).Position(5)">Conditional</animation>
				<animation effect="slide" end="0,540" time="0" reversible="false" condition="Container($PARAM[id]).Position(6)">Conditional</animation>
				<left>$PARAM[left]</left>
				<width>$PARAM[width]</width>
				<height>1</height>
				<top>$PARAM[top]</top>
				<texture colordiffuse="$VAR[Unfocused_Color]">views/white_100.png</texture>
			</control>
		</definition>
	</include>

	<include name="Settings_List_Underline">
		<control type="image">
			<visible>$PARAM[focus_border_visible]</visible>
			<left>$PARAM[focus_border_margin_left]</left>
			<right>$PARAM[focus_border_margin_right]</right>
			<height>1</height>
			<bottom>0</bottom>
			<texture colordiffuse="$VAR[Unfocused_Color]">views/white_100.png</texture>
		</control>
	</include>


	<include name="Settings_List_Label">
		<param name="label" default="$INFO[ListItem.Label]" />
		<param name="label2_visible" default="true" />
		<param name="label2" default="$INFO[ListItem.Label2]" />
		<param name="label2_scroll" default="false" />
		<param name="show_underline" default="false" />
		<param name="color" default="$VAR[Unfocused_Color]" />
		<definition>
			<control type="label">
				<height>100%</height>
				<textoffsetx>60</textoffsetx>
				<label>$PARAM[label]</label>
				<textcolor>$PARAM[color]</textcolor>
				<selectedcolor>$PARAM[color]</selectedcolor>
				<scroll>false</scroll>
			</control>
			<control type="label">
				<height>100%</height>
				<visible>$PARAM[label2_visible]</visible>
				<textoffsetx>60</textoffsetx>
				<align>right</align>
				<label>$PARAM[label2]</label>
				<textcolor>$PARAM[color]</textcolor>
				<selectedcolor>$PARAM[color]</selectedcolor>
				<scroll>$PARAM[label2_scroll]</scroll>
			</control>
			<include content="Settings_List_Underline" condition="$PARAM[show_underline]">
				<param name="focus_border_visible" value="$PARAM[focus_border_visible]" />
				<param name="focus_border_margin_left" value="$PARAM[focus_border_margin_left]" />
				<param name="focus_border_margin_right" value="$PARAM[focus_border_margin_right]" />
			</include>
			<nested />
		</definition>
	</include>
	
	<include name="Settings_List_Template">
		<param name="visible" default="true" />
		<param name="pagecontrol" default="60" />
		<param name="left" default="0" />
		<param name="width" default="100%" />
		<param name="top" default="0" />
		<param name="height" default="100%" />
		<param name="item_height" default="90" />
		<param name="onleft_condition" default="true" />
		<param name="onleft2_condition" default="false" />
		<param name="onright_condition" default="true" />
		<param name="onright2_condition" default="false" />
		<param name="focus_border_visible" default="true" />
		<param name="focus_border_margin_left" default="0" />
		<param name="focus_border_margin_right" default="0" />
		<param name="focus_color" default="$VAR[Settings_Left_List_Focus_Color]" />
		<param name="label" default="$INFO[ListItem.Label]" />
		<param name="label2_visible" default="true" />
		<param name="label2" default="$INFO[ListItem.Label2]" />
		<param name="mediasource" default="false" />
		<param name="skinshortcuts" default="false" />
		<param name="smartplaylisteditor" default="false" />
		<definition>
			<control type="list" id="$PARAM[id]">
				<visible allowhiddenfocus="true">$PARAM[visible]</visible>
				<include content="Visible_Fade_Delayed_Animation" condition="!Window.Is(profiles)" />
				<animation effect="slide" end="570,0" time="0" condition="Window.Is(profiles)">Conditional</animation>
				<animation effect="slide" end="960,180" time="0" condition="Window.Is(smartplaylisteditor)">Conditional</animation>
				<animation effect="slide" start="0,0" end="-330,0" time="0" condition="Window.Is(pictureinfo) + !$EXP[ListView_IsVisible]">Conditional</animation>
				<left>$PARAM[left]</left>
				<width>$PARAM[width]</width>
				<height>$PARAM[height]</height>
				<top>$PARAM[top]</top>
				<onfocus>SetProperty(ActiveList,$PARAM[side],$PARAM[window_name])</onfocus>
				<onleft condition="$PARAM[onleft_condition]">$PARAM[onleft]</onleft>
				<onleft condition="$PARAM[onleft2_condition]">$PARAM[onleft2]</onleft>
				<onright condition="$PARAM[onright_condition]">$PARAM[onright]</onright>
				<onright condition="$PARAM[onright2_condition]">$PARAM[onright2]</onright>
				<onup>$PARAM[onup]</onup>
				<ondown>$PARAM[ondown]</ondown>
				<orientation>vertical</orientation>
				<align>top</align>
				<pagecontrol>$PARAM[pagecontrol]</pagecontrol>
				<scrolltime tween="sine" easing="inout">360</scrolltime>
				<itemlayout height="$PARAM[item_height]" width="$PARAM[width]">
					<include content="Settings_List_Label">
						<param name="label" value="$PARAM[label]" />
						<param name="label2_visible" value="$PARAM[label2_visible]" />
						<param name="label2" value="$PARAM[label2]" />
					</include>
				</itemlayout>
				<focusedlayout height="$PARAM[item_height]" width="$PARAM[width]">
					<include content="Settings_List_Label">
						<param name="label" value="$PARAM[label]" />
						<param name="label2_visible" value="$PARAM[label2_visible]" />
						<param name="label2" value="$PARAM[label2]" />
						<param name="label2_scroll" value="$PARAM[label2_scroll]" />
						<param name="color" value="$PARAM[focus_color]" />
						<param name="show_underline" value="true" />
						<param name="focus_border_visible" value="$PARAM[focus_border_visible]" />
						<param name="focus_border_margin_left" value="$PARAM[focus_border_margin_left]" />
						<param name="focus_border_margin_right" value="$PARAM[focus_border_margin_right]" />
						<include content="mediasource_List_Content" condition="$PARAM[mediasource]" />
						<include content="skinshortcuts_Left_List_Content" condition="$PARAM[skinshortcuts]" />
						<include content="smartplaylisteditor_Right_List_Content" condition="$PARAM[smartplaylisteditor]" />
					</include>
				</focusedlayout>
			</control>
			<nested />
		</definition>
	</include>

	<include name="Settings_Left_List_Template">
		<param name="visible" default="true" />
		<param name="id" />
		<param name="pagecontrol" />
		<param name="window_name" />
		<param name="left" default="0" />
		<param name="width" default="900" />
		<param name="height" default="100%" />
		<param name="scrollbar_height" default="100%" />
		<param name="onleft" default="0" />
		<param name="onright" default="0" />
		<param name="focus_border_visible" default="true" />
		<param name="focus_color" default="$VAR[Settings_Left_List_Focus_Color]" />
		<param name="label" default="$INFO[ListItem.Label]" />
		<param name="label2_visible" default="true" />
		<param name="label2" default="$INFO[ListItem.Label2]" />
		<param name="divider_visible" default="true" />
		<param name="divider_left" default="720" />
		<definition>
			<control type="group">
				<width>$PARAM[width]</width>
				<height>$PARAM[height]</height>
				<include content="Settings_List_Template">
					<param name="visible" value="$PARAM[visible]" />
					<param name="id" value="$PARAM[id]" />
					<param name="pagecontrol" value="$PARAM[pagecontrol]" />
					<param name="window_name" value="$PARAM[window_name]" />
					<param name="side" value="left" />
					<param name="width" value="$PARAM[width]" />
					<param name="height" value="$PARAM[height]" />
					<param name="onup" value="$PARAM[id]" />
					<param name="ondown" value="$PARAM[id]" />
					<param name="onleft" value="$PARAM[onleft]" />
					<param name="onright" value="$PARAM[onright]" />
					<param name="onright_condition" value="![Container($PARAM[id]).HasPrevious | Container($PARAM[id]).HasNext]" />
					<param name="onright2" value="$PARAM[pagecontrol]" />
					<param name="onright2_condition" value="Container($PARAM[id]).HasPrevious | Container($PARAM[id]).HasNext" />
					<param name="focus_border_visible" value="$PARAM[focus_border_visible]" />
					<param name="focus_border_margin_left" value="60" />
					<param name="focus_border_margin_right" value="0" />
					<param name="focus_color" value="$PARAM[focus_color]" />
					<param name="label" value="$PARAM[label]" />
					<param name="label2" value="$PARAM[label2]" />
					<param name="label2_visible" value="$PARAM[label2_visible]" />
				</include>
				<include content="Dialog_Divider_With_Scrollbar">
					<param name="scrollbarvisible" value="[Control.HasFocus($PARAM[id]) | Control.HasFocus($PARAM[pagecontrol])] + !Window.IsVisible(contextmenu)" />
					<param name="dividervisible" value="$PARAM[divider_visible]" />
					<param name="id" value="$PARAM[pagecontrol]" />
					<param name="height" value="$PARAM[scrollbar_height]" />
					<param name="left" value="$PARAM[width]" />
					<param name="onleft" value="$PARAM[id]" />
					<param name="onright" value="$PARAM[onright]" />
				</include>
			</control>
		</definition>
	</include>

	<include name="Settings_Right_List_Template">
		<param name="visible" default="true" />
		<param name="id" />
		<param name="pagecontrol" />
		<param name="window_name" />
		<param name="width" default="900" />
		<param name="height" default="100%" />
		<param name="top" default="0" />
		<param name="scrollbar_height" default="100%" />
		<param name="onleft" default="0" />
		<param name="onright" default="0" />
		<param name="focus_border_visible" default="true" />
		<param name="focus_color" default="$VAR[Settings_Right_List_Focus_Color]" />
		<param name="label" default="$INFO[ListItem.Label]" />
		<param name="label2" default="$INFO[ListItem.Label2]" />
		<param name="label2_visible" default="true" />
		<param name="divider_visible" default="false" />
		<param name="divider_left" default="0" />
		<definition>
			<control type="group">
				<width>$PARAM[width]</width>
				<height>100%</height>
				<include content="Settings_List_Template">
					<param name="visible" value="$PARAM[visible]" />
					<param name="id" value="$PARAM[id]" />
					<param name="pagecontrol" value="$PARAM[pagecontrol]" />
					<param name="window_name" value="$PARAM[window_name]" />
					<param name="side" value="right" />
					<param name="width" value="$PARAM[width]" />
					<param name="height" value="$PARAM[height]" />
					<param name="top" value="$PARAM[top]" />
					<param name="onup" value="$PARAM[id]" />
					<param name="ondown" value="$PARAM[id]" />
					<param name="onleft" value="$PARAM[onleft]" />
					<param name="onleft_condition" value="![Container($PARAM[id]).HasPrevious | Container($PARAM[id]).HasNext]" />
					<param name="onleft2" value="$PARAM[pagecontrol]" />
					<param name="onleft2_condition" value="Container($PARAM[id]).HasPrevious | Container($PARAM[id]).HasNext" />
					<param name="onright" value="$PARAM[onright]" />
					<param name="focus_border_visible" value="$PARAM[focus_border_visible]" />
					<param name="focus_border_margin_left" value="0" />
					<param name="focus_border_margin_right" value="60" />
					<param name="focus_color" value="$PARAM[focus_color]" />
					<param name="label" value="$PARAM[label]" />
					<param name="label2" value="$PARAM[label2]" />
					<param name="label2_visible" value="$PARAM[label2_visible]" />
				</include>
				<include content="Dialog_Divider_With_Scrollbar">
					<param name="scrollbarvisible" value="[Control.HasFocus($PARAM[id]) | Control.HasFocus($PARAM[pagecontrol])] + !Window.IsVisible(contextmenu)" />
					<param name="dividervisible" value="$PARAM[divider_visible]" />
					<param name="id" value="$PARAM[pagecontrol]" />
					<param name="height" value="$PARAM[scrollbar_height]" />
					<param name="left" value="0" />
					<param name="scrollbaralignleft" value="true" />
					<param name="onleft" value="$PARAM[onleft]" />
					<param name="onright" value="$PARAM[id]" />
				</include>
			</control>
		</definition>
	</include>

	<include name="SettingsCategory_Layout">
		<param name="left_list_id" />
		<param name="right_list_id" />
		<param name="alt_right_id" default="20" />
		<param name="alt_right_condition" default="false" />
		<param name="iconborder" default="false" />
		<definition>
			<include content="Breadcrumb_Label">
				<param name="left" value="90" />
				<param name="visible" value="!Window.IsVisible(textviewer)" />
				<param name="label_color" value="$VAR[Settings_Label_Color]" />
			</include>
			<!-- Arrows when focused -->
			<control type="group">
				<animation effect="zoom" center="auto" start="112" end="100" time="135" tween="back" easing="in" condition="ControlGroup(3000).HasFocus">Conditional</animation>
				<visible>ControlGroup(3000).HasFocus</visible>
				<left>30</left>
				<width>60</width>
				<top>30</top>
				<height>120</height>
				<control type="image">
					<top>0</top>
					<width>30</width>
					<height>30</height>
					<texture colordiffuse="$VAR[Settings_Label_Color]">settings/category_switcher.png</texture>
				</control>
				<control type="image">
					<animation effect="rotate" center="auto" end="180" time="0" condition="true" reversible="false">Conditional</animation>
					<bottom>0</bottom>
					<width>30</width>
					<height>30</height>
					<texture colordiffuse="$VAR[Settings_Label_Color]">settings/category_switcher.png</texture>
					<aspectratio>keep</aspectratio>
				</control>
			</control>
			<!-- Icon -->
			<control type="image">
				<top>60</top>
				<left>15</left>
				<width>60</width>
				<height>60</height>
				<texture colordiffuse="$VAR[Settings_Label_Color]">$VAR[SettingsCategory_Icon_Texture]</texture>
			</control>
			<!-- Hidden list -->
			<control type="grouplist" id="3000">
				<visible allowhiddenfocus="true">false</visible>
				<top>60</top>
				<left>15</left>
				<width>60</width>
				<height>60</height>
				<orientation>vertical</orientation>
				<onleft condition="!$PARAM[alt_right_condition]">$PARAM[right_list_id]</onleft>
				<onleft condition="$PARAM[alt_right_condition]">$PARAM[alt_right_id]</onleft>
				<onright>$PARAM[left_list_id]</onright>
				<align>center</align>
				<itemgap>0</itemgap>
				<scrolltime>0</scrolltime>
				<control type="button" id="3001">
					<animation effect="slide" start="0" end="0" time="90">Hidden</animation>
					<onfocus condition="!Window.Is(skinsettings)">ReplaceWindowAndFocus(skinsettings,3001)</onfocus>
				</control>
				<control type="button" id="3002">
					<animation effect="slide" start="0" end="0" time="90">Hidden</animation>
					<onfocus condition="!Window.Is(interfacesettings)">ReplaceWindowAndFocus(interfacesettings,3002)</onfocus>
				</control>
				<control type="button" id="3003">
					<animation effect="slide" start="0" end="0" time="90">Hidden</animation>
					<onfocus condition="!Window.Is(mediasettings)">ReplaceWindowAndFocus(mediasettings,3003)</onfocus>
				</control>
				<control type="button" id="3004">
					<animation effect="slide" start="0" end="0" time="90">Hidden</animation>
					<onfocus condition="!Window.Is(playersettings)">ReplaceWindowAndFocus(playersettings,3004)</onfocus>
				</control>
				<control type="button" id="3005">
					<animation effect="slide" start="0" end="0" time="90">Hidden</animation>
					<onfocus condition="!Window.Is(systemsettings)">ReplaceWindowAndFocus(systemsettings,3005)</onfocus>
				</control>
				<control type="button" id="3006">
					<animation effect="slide" start="0" end="0" time="90">Hidden</animation>
					<onfocus condition="!Window.Is(servicesettings)">ReplaceWindowAndFocus(servicesettings,3006)</onfocus>
				</control>
				<control type="button" id="3007">
					<animation effect="slide" start="0" end="0" time="90">Hidden</animation>
					<onfocus condition="!Window.Is(gamesettings)">ReplaceWindowAndFocus(gamesettings,3007)</onfocus>
				</control>
				<control type="button" id="3008">
					<animation effect="slide" start="0" end="0" time="90">Hidden</animation>
					<onfocus condition="!Window.Is(pvrsettings)">ReplaceWindowAndFocus(pvrsettings,3008)</onfocus>
				</control>
				<control type="button" id="3009">
					<animation effect="slide" start="0" end="0" time="90">Hidden</animation>
					<onfocus condition="!Window.Is(profiles)">ReplaceWindowAndFocus(profiles,3009)</onfocus>
				</control>
				<control type="button" id="3010">
					<animation effect="slide" start="0" end="0" time="90">Hidden</animation>
					<onfocus condition="!Window.Is(systeminfo)">ReplaceWindowAndFocus(systeminfo,3010)</onfocus>
				</control>
				<control type="button" id="3011">
					<animation effect="slide" start="0" end="0" time="90">Hidden</animation>
					<onfocus condition="!Window.Is(filemanager)">ReplaceWindowAndFocus(filemanager,3011)</onfocus>
				</control>
			</control>
		</definition>
	</include>

	<include name="Settings_Level_Button">
		<control type="group">
			<right>30</right>
			<bottom>30</bottom>
			<width>120</width>
			<height>120</height>
			<control type="button" id="20">
				<visible allowhiddenfocus="true">false</visible>
				<onclick>settingslevelchange</onclick>
				<onleft>5</onleft>
				<onright>3000</onright>
			</control>
			<!-- unfocused -->
			<control type="group">
				<visible>!Control.HasFocus(20)</visible>
				<control type="image">
					<visible>String.IsEqual(Control.GetLabel(20),$LOCALIZE[10036])</visible>
					<texture colordiffuse="$VAR[Settings_Label_Color]">settings/Settings_Level1_unfocused_120.png</texture>
				</control>
				<control type="image">
					<visible>String.IsEqual(Control.GetLabel(20),$LOCALIZE[10037])</visible>
					<texture colordiffuse="$VAR[Settings_Label_Color]">settings/Settings_Level2_unfocused_120.png</texture>
				</control>
				<control type="image">
					<visible>String.IsEqual(Control.GetLabel(20),$LOCALIZE[10038])</visible>
					<texture colordiffuse="$VAR[Settings_Label_Color]">settings/Settings_Level3_unfocused_120.png</texture>
				</control>
				<control type="image">
					<visible>String.IsEqual(Control.GetLabel(20),$LOCALIZE[10039])</visible>
					<texture colordiffuse="$VAR[Settings_Label_Color]">settings/Settings_Level4_unfocused_120.png</texture>
				</control>
			</control>
			<!-- focused -->
			<control type="group">
				<visible>Control.HasFocus(20)</visible>
				<control type="image">
					<visible>String.IsEqual(Control.GetLabel(20),$LOCALIZE[10036])</visible>
					<texture colordiffuse="$VAR[Settings_Label_Color]">settings/Settings_Level1_focused_120.png</texture>
				</control>
				<control type="image">
					<visible>String.IsEqual(Control.GetLabel(20),$LOCALIZE[10037])</visible>
					<texture colordiffuse="$VAR[Settings_Label_Color]">settings/Settings_Level2_focused_120.png</texture>
				</control>
				<control type="image">
					<visible>String.IsEqual(Control.GetLabel(20),$LOCALIZE[10038])</visible>
					<texture colordiffuse="$VAR[Settings_Label_Color]">settings/Settings_Level3_focused_120.png</texture>
				</control>
				<control type="image">
					<visible>String.IsEqual(Control.GetLabel(20),$LOCALIZE[10039])</visible>
					<texture colordiffuse="$VAR[Settings_Label_Color]">settings/Settings_Level4_focused_120.png</texture>
				</control>
			</control>
		</control>
	</include>

	<!-- SkinSettings -->
	<include name="skinnsettings_Default_Button">
		<radiowidth />
		<radioheight />
		<textureradioonfocus />
		<textureradioofffocus />
		<textureradioonnofocus />
		<textureradiooffnofocus />
		<textureradioondisabled />
		<textureradiooffdisabled />
	</include>

	<include name="skinsettings_Default_Label">
		<height>90</height>
		<textoffsetx>30</textoffsetx>
		<font>Default_Settings_Header</font>
	</include>

	<include name="skinsettings_Detfault_Image">
		<param name="height" default="450" />
		<param name="fadetime" default="0" />
		<definition>
			<left>60</left>
			<height>$PARAM[height]</height>
			<fadetime>$PARAM[fadetime]</fadetime>
			<aspectratio align="left">keep</aspectratio>
		</definition>
	</include>

	<include name="Hide_Expanded_Widgets_OnClick">
		<onclick condition="Control.IsVisible(12120)">Control.SetHidden(12120)</onclick>
		<onclick condition="Control.IsVisible(12220)">Control.SetHidden(12220)</onclick>
		<onclick condition="Control.IsVisible(12320)">Control.SetHidden(12320)</onclick>
		<onclick condition="Control.IsVisible(12420)">Control.SetHidden(12420)</onclick>
		<onclick condition="Control.IsVisible(12520)">Control.SetHidden(12520)</onclick>
		<onclick condition="Control.IsVisible(12620)">Control.SetHidden(12620)</onclick>
		<onclick condition="Control.IsVisible(12720)">Control.SetHidden(12720)</onclick>
		<onclick condition="Control.IsVisible(12820)">Control.SetHidden(12820)</onclick>
		<onclick condition="Control.IsVisible(12920)">Control.SetHidden(12920)</onclick>
	</include>

	<include name="Hide_Expanded_Widgets_OnFocus">
		<onfocus condition="Control.IsVisible(12120)">Control.SetHidden(12120)</onfocus>
		<onfocus condition="Control.IsVisible(12220)">Control.SetHidden(12220)</onfocus>
		<onfocus condition="Control.IsVisible(12320)">Control.SetHidden(12320)</onfocus>
		<onfocus condition="Control.IsVisible(12420)">Control.SetHidden(12420)</onfocus>
		<onfocus condition="Control.IsVisible(12520)">Control.SetHidden(12520)</onfocus>
		<onfocus condition="Control.IsVisible(12620)">Control.SetHidden(12620)</onfocus>
		<onfocus condition="Control.IsVisible(12720)">Control.SetHidden(12720)</onfocus>
		<onfocus condition="Control.IsVisible(12820)">Control.SetHidden(12820)</onfocus>
		<onfocus condition="Control.IsVisible(12920)">Control.SetHidden(12920)</onfocus>
	</include>

 	<include name="Widget_Settings_Content">
		<param name="widget_position" />
		<param name="previous_widget_position" />
		<param name="next_widget_position" />
		<definition>
			<!-- Main button group -->
			<control type="group" id="12$PARAM[widget_position]10">
				<visible>ControlGroup(9).HasFocus(12)</visible>
				<description>Widget Button</description>
				<height>90</height>
				<control type="button" id="12$PARAM[widget_position]11">
					<label>$PARAM[widget_position]. $VAR[Widget$PARAM[widget_position]_Content]</label>
					<onclick>Skin.SelectBool(424, 1223|Widget$PARAM[widget_position]_Content_Disabled, 31200|Widget$PARAM[widget_position]_Content_InProgress, 31201|Widget$PARAM[widget_position]_Content_NextUp, 31202|Widget$PARAM[widget_position]_Content_LatestMovies, 31204|Widget$PARAM[widget_position]_Content_RandomMovies, 31203|Widget$PARAM[widget_position]_Content_LatestTVShows, 31205|Widget$PARAM[widget_position]_Content_RandomTVShows, 31206|Widget$PARAM[widget_position]_Content_LatestAlbums, 31207|Widget$PARAM[widget_position]_Content_RecentAlbums, 31208|Widget$PARAM[widget_position]_Content_RandomAlbums, 31209|Widget$PARAM[widget_position]_Content_LikedSongs, 1036|Widget$PARAM[widget_position]_Content_Favourites, 31210|Widget$PARAM[widget_position]_Content_Custom)</onclick>
					<ondown condition="!Control.IsVisible(12$PARAM[widget_position]20)">12$PARAM[next_widget_position]11</ondown>
					<ondown condition="Control.IsVisible(12$PARAM[widget_position]20)">12$PARAM[widget_position]21</ondown>
					<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + !Control.IsVisible(12$PARAM[previous_widget_position]30) + !Control.IsVisible(12$PARAM[previous_widget_position]20)">12$PARAM[previous_widget_position]11</onup>
					<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + !Control.IsVisible(12$PARAM[previous_widget_position]30) + Control.IsVisible(12$PARAM[previous_widget_position]20)">12$PARAM[previous_widget_position]21</onup>
					<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + Control.IsVisible(12$PARAM[previous_widget_position]30)">12$PARAM[previous_widget_position]30</onup>
					<onup condition="Control.IsVisible(12$PARAM[previous_widget_position]45)">12$PARAM[previous_widget_position]45</onup>
					<onleft>12</onleft>
					<onright>12$PARAM[widget_position]12</onright>
					<texturefocus />
					<texturenofocus />
				</control>
				<control type="grouplist">
					<visible allowhiddenfocus="true">false</visible>
					<orientation>horizontal</orientation>
					<onleft>12$PARAM[widget_position]11</onleft>
					<onright>3001</onright>
					<control type="button" id="12$PARAM[widget_position]12">
						<onclick condition="!Control.IsVisible(12$PARAM[widget_position]20) + Control.IsVisible(12120)">Control.SetHidden(12120)</onclick>
						<onclick condition="!Control.IsVisible(12$PARAM[widget_position]20) + Control.IsVisible(12220)">Control.SetHidden(12220)</onclick>
						<onclick condition="!Control.IsVisible(12$PARAM[widget_position]20) + Control.IsVisible(12320)">Control.SetHidden(12320)</onclick>
						<onclick condition="!Control.IsVisible(12$PARAM[widget_position]20) + Control.IsVisible(12420)">Control.SetHidden(12420)</onclick>
						<onclick condition="!Control.IsVisible(12$PARAM[widget_position]20) + Control.IsVisible(12520)">Control.SetHidden(12520)</onclick>
						<onclick condition="!Control.IsVisible(12$PARAM[widget_position]20) + Control.IsVisible(12620)">Control.SetHidden(12620)</onclick>
						<onclick condition="!Control.IsVisible(12$PARAM[widget_position]20) + Control.IsVisible(12720)">Control.SetHidden(12720)</onclick>
						<onclick condition="!Control.IsVisible(12$PARAM[widget_position]20) + Control.IsVisible(12820)">Control.SetHidden(12820)</onclick>
						<onclick condition="!Control.IsVisible(12$PARAM[widget_position]20) + Control.IsVisible(12920)">Control.SetHidden(12920)</onclick>
						<onclick condition="!Control.IsVisible(12$PARAM[widget_position]20) + !Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Control.SetVisible(12$PARAM[widget_position]20)</onclick>
						<onclick condition="Control.IsVisible(12$PARAM[widget_position]20)">Control.SetHidden(12$PARAM[widget_position]20)</onclick>
						<ondown condition="!Control.IsVisible(12$PARAM[widget_position]20)">12$PARAM[next_widget_position]12</ondown>
						<ondown condition="Control.IsVisible(12$PARAM[widget_position]20)">12$PARAM[widget_position]21</ondown>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + !Control.IsVisible(12$PARAM[previous_widget_position]30) + !Control.IsVisible(12$PARAM[previous_widget_position]20)">12$PARAM[previous_widget_position]12</onup>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + !Control.IsVisible(12$PARAM[previous_widget_position]30) + Control.IsVisible(12$PARAM[previous_widget_position]20)">12$PARAM[previous_widget_position]21</onup>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + Control.IsVisible(12$PARAM[previous_widget_position]30)">12$PARAM[previous_widget_position]30</onup>
						<onup condition="Control.IsVisible(12$PARAM[previous_widget_position]45)">12$PARAM[previous_widget_position]45</onup>
					</control>
					<control type="button" id="12$PARAM[widget_position]13">
						<include content="Hide_Expanded_Widgets_OnClick" />
						<onclick condition="!Control.HasFocus(12913)">RunScript(script.copacetic.helper,action=widget_move,posa=$PARAM[widget_position],posb=$PARAM[next_widget_position])</onclick>
						<onclick condition="!Control.HasFocus(12913)">SetFocus(12$PARAM[next_widget_position]13)</onclick>
						<ondown condition="!Control.IsVisible(12$PARAM[widget_position]20)">12$PARAM[next_widget_position]13</ondown>
						<ondown condition="Control.IsVisible(12$PARAM[widget_position]20)">12$PARAM[widget_position]21</ondown>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + !Control.IsVisible(12$PARAM[previous_widget_position]30) + !Control.IsVisible(12$PARAM[previous_widget_position]20)">12$PARAM[previous_widget_position]13</onup>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + !Control.IsVisible(12$PARAM[previous_widget_position]30) + Control.IsVisible(12$PARAM[previous_widget_position]20)">12$PARAM[previous_widget_position]21</onup>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + Control.IsVisible(12$PARAM[previous_widget_position]30)">12$PARAM[previous_widget_position]30</onup>
						<onup condition="Control.IsVisible(12$PARAM[previous_widget_position]45)">12$PARAM[previous_widget_position]45</onup>
					</control>
					<control type="button" id="12$PARAM[widget_position]14">
						<include content="Hide_Expanded_Widgets_OnClick" />
						<onclick condition="!Control.HasFocus(12114)">RunScript(script.copacetic.helper,action=widget_move,posa=$PARAM[widget_position],posb=$PARAM[previous_widget_position])</onclick>
						<onclick condition="!Control.HasFocus(12114)">SetFocus(12$PARAM[previous_widget_position]14)</onclick>
						<ondown condition="!Control.IsVisible(12$PARAM[widget_position]20)">12$PARAM[next_widget_position]14</ondown>
						<ondown condition="Control.IsVisible(12$PARAM[widget_position]20)">12$PARAM[widget_position]21</ondown>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + !Control.IsVisible(12$PARAM[previous_widget_position]30) + !Control.IsVisible(12$PARAM[previous_widget_position]20)">12$PARAM[previous_widget_position]14</onup>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + !Control.IsVisible(12$PARAM[previous_widget_position]30) + Control.IsVisible(12$PARAM[previous_widget_position]20)">12$PARAM[previous_widget_position]21</onup>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + Control.IsVisible(12$PARAM[previous_widget_position]30)">12$PARAM[previous_widget_position]30</onup>
						<onup condition="Control.IsVisible(12$PARAM[previous_widget_position]45)">12$PARAM[previous_widget_position]45</onup>
					</control>
					<control type="button" id="12$PARAM[widget_position]15">
						<!-- Reset -->
						<onclick condition="Skin.HasSetting(Widget1_Content_Disabled) + Control.HasFocus(12115)">Skin.Reset(Widget1_Content_Disabled)</onclick>
						<onclick condition="Skin.HasSetting(Widget1_Content_Disabled) + Control.HasFocus(12115)">Skin.SetBool(Widget1_Content_InProgress)</onclick>
						<onclick condition="Skin.HasSetting(Widget1_Content_Disabled) + Control.HasFocus(12115)">Skin.SetString(Widget1_View,Strip)</onclick>
						<onclick condition="Skin.HasSetting(Widget1_Content_Disabled) + Control.HasFocus(12115)">Skin.SetString(Widget1_Display,Fanart)</onclick>
						<onclick condition="Skin.HasSetting(Widget2_Content_Disabled) + Control.HasFocus(12215)">Skin.Reset(Widget2_Content_Disabled)</onclick>
						<onclick condition="Skin.HasSetting(Widget2_Content_Disabled) + Control.HasFocus(12215)">Skin.SetBool(Widget2_Content_NextUp)</onclick>
						<onclick condition="Skin.HasSetting(Widget2_Content_Disabled) + Control.HasFocus(12215)">Skin.SetString(Widget2_View,Strip)</onclick>
						<onclick condition="Skin.HasSetting(Widget2_Content_Disabled) + Control.HasFocus(12215)">Skin.SetString(Widget2_Display,Posters)</onclick>
						<onclick condition="Skin.HasSetting(Widget3_Content_Disabled) + Control.HasFocus(12315)">Skin.Reset(Widget3_Content_Disabled)</onclick>
						<onclick condition="Skin.HasSetting(Widget3_Content_Disabled) + Control.HasFocus(12315)">Skin.SetBool(Widget3_Content_LatestMovies)</onclick>
						<onclick condition="Skin.HasSetting(Widget3_Content_Disabled) + Control.HasFocus(12315)">Skin.SetString(Widget3_View,Billboard)</onclick>
						<onclick condition="Skin.HasSetting(Widget3_Content_Disabled) + Control.HasFocus(12315)">Skin.SetString(Widget3_Display,Fanart)</onclick>
						<onclick condition="Skin.HasSetting(Widget4_Content_Disabled) + Control.HasFocus(12415)">Skin.Reset(Widget4_Content_Disabled)</onclick>
						<onclick condition="Skin.HasSetting(Widget4_Content_Disabled) + Control.HasFocus(12415)">Skin.SetBool(Widget4_Content_LatestTVShows)</onclick>
						<onclick condition="Skin.HasSetting(Widget4_Content_Disabled) + Control.HasFocus(12415)">Skin.SetString(Widget4_View,Grid)</onclick>
						<onclick condition="Skin.HasSetting(Widget4_Content_Disabled) + Control.HasFocus(12415)">Skin.SetString(Widget4_Display,Posters)</onclick>
						<!-- Remove-->
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.SetBool(Widget$PARAM[widget_position]_Content_Disabled)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_InProgress)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_NextUp)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_LatestMovies)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_LatestTVShows)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_RandomMovies)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_RandomTVShows)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_LatestAlbums)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_RecentAlbums)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_RandomAlbums)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_LikedSongs)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_Favourites)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Content_Custom)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.SetString(Widget$PARAM[widget_position]_View,Strip)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.SetString(Widget$PARAM[widget_position]_Display,Posters)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Custom_Target)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.SetString(Widget$PARAM[widget_position]_Custom_SortOrder,descending)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.SetString(Widget$PARAM[widget_position]_Custom_SortMethod,name)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.SetString(Widget$PARAM[widget_position]_Custom_SortMethod_Label,$LOCALIZE[551])</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Custom_Path)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Custom_Name)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.SetString(Widget$PARAM[widget_position]_Custom_Limit,20)</onclick>
						<onclick condition="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)">Skin.Reset(Widget$PARAM[widget_position]_Episode_Thumbs)</onclick>
						<!-- Move -->
						<ondown condition="!Control.IsVisible(12$PARAM[widget_position]20)">12$PARAM[next_widget_position]15</ondown>
						<ondown condition="Control.IsVisible(12$PARAM[widget_position]20)">12$PARAM[widget_position]21</ondown>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + !Control.IsVisible(12$PARAM[previous_widget_position]30) + !Control.IsVisible(12$PARAM[previous_widget_position]20)">12$PARAM[previous_widget_position]15</onup>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + !Control.IsVisible(12$PARAM[previous_widget_position]30) + Control.IsVisible(12$PARAM[previous_widget_position]20)">12$PARAM[previous_widget_position]21</onup>
						<onup condition="!Control.IsVisible(12$PARAM[previous_widget_position]45) + Control.IsVisible(12$PARAM[previous_widget_position]30)">12$PARAM[previous_widget_position]30</onup>
						<onup condition="Control.IsVisible(12$PARAM[previous_widget_position]45)">12$PARAM[previous_widget_position]45</onup>
					</control>
				</control>
				<control type="group">
					<visible>Control.HasFocus(12$PARAM[widget_position]11) | Control.HasFocus(12$PARAM[widget_position]12) | Control.HasFocus(12$PARAM[widget_position]13) | Control.HasFocus(12$PARAM[widget_position]14) | Control.HasFocus(12$PARAM[widget_position]15)</visible>
					<include content="Button_Template">
						<param name="target_id" value="12$PARAM[widget_position]12" />
						<param name="right" value="300" />
						<param name="width" value="120" />
						<param name="texture" value="Visible" />
						<param name="toggle_button" value="true" />
						<param name="alt_texture" value="Hidden" />
						<param name="use_alt_texture" value="Control.IsVisible(12$PARAM[widget_position]20)" />
						<bottom>-15</bottom>
					</include>
					<include content="Button_Template">
						<param name="target_id" value="12$PARAM[widget_position]13" />
						<param name="right" value="210" />
						<param name="width" value="120" />
						<param name="texture" value="Down_Arrow" />
						<bottom>-15</bottom>
					</include>
					<include content="Button_Template">
						<param name="target_id" value="12$PARAM[widget_position]14" />
						<param name="right" value="120" />
						<param name="width" value="120" />
						<param name="texture" value="Up_Arrow" />
						<bottom>-15</bottom>
					</include>
					<include content="Button_Template">
						<param name="target_id" value="12$PARAM[widget_position]15" />
						<param name="right" value="45" />
						<param name="width" value="90" />
						<param name="rotated" value="false" />
						<param name="texture" value="Cross" />
						<param name="toggle_button" value="true" />
						<param name="alt_texture" value="Refresh" />
						<param name="use_alt_texture" value="Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled)" />
					</include>
					<include content="Settings_List_Underline">
						<param name="focus_border_visible" value="Control.HasFocus(12$PARAM[widget_position]11) | Control.HasFocus(12$PARAM[widget_position]12) | Control.HasFocus(12$PARAM[widget_position]13) | Control.HasFocus(12$PARAM[widget_position]14) | Control.HasFocus(12$PARAM[widget_position]15)" />
						<param name="focus_border_margin_right" value="60" />
					</include>
				</control>
			</control>
			<!-- Sub Menu -->
			<!-- View -->
			<control type="group" id="12$PARAM[widget_position]20">
				<visible>false</visible>
				<height>90</height>
				<include content="skinsettings_Slider_Button">
					<param name="info" value="Widget$PARAM[widget_position]_View" />
					<param name="label" value="    - $LOCALIZE[31005]" />
					<param name="label2" value="$VAR[Widget$PARAM[widget_position]_View]" />
					<param name="category" value="12" />
					<param name="previous" value="12$PARAM[widget_position]11" />
					<param name="id" value="12$PARAM[widget_position]21" />
					<param name="next" value="12$PARAM[widget_position]30" />
					<param name="next_condition" value="Control.IsVisible(12$PARAM[widget_position]30)" />
					<param name="alt_next" value="12$PARAM[widget_position]40" />
					<param name="alt_next_condition" value="!Control.IsVisible(12$PARAM[widget_position]30) + Control.IsVisible(12$PARAM[widget_position]40)" />
					<param name="alt2_next" value="12$PARAM[next_widget_position]11" />
					<param name="alt2_next_condition" value="!Control.IsVisible(12$PARAM[widget_position]30) + !Control.IsVisible(12$PARAM[widget_position]40)" />
				</include>
			</control>
			<!-- Display -->
			<include content="skinsettings_Slider_Button">
				<param name="info" value="Widget$PARAM[widget_position]_Display" />
				<param name="visible" value="ControlGroup(9).HasFocus(12) + Control.IsVisible(12$PARAM[widget_position]20) + ![Skin.String(Widget$PARAM[widget_position]_View,Billboard) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_LatestAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_RecentAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_RandomAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_LikedSongs)]" />
				<param name="label" value="    - $LOCALIZE[131]" />
				<param name="label2" value="$VAR[Widget$PARAM[widget_position]_Display]" />
				<param name="category" value="12" />
				<param name="previous" value="12$PARAM[widget_position]21" />
				<param name="id" value="12$PARAM[widget_position]30" />
				<param name="next" value="12$PARAM[next_widget_position]11" />
				<param name="next_condition" value="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Custom)" />
				<param name="alt_next" value="12$PARAM[widget_position]40" />
				<param name="alt_next_condition" value="Skin.HasSetting(Widget$PARAM[widget_position]_Content_Custom)" />
			</include>
			<!-- Custom -->
			<control type="button" id="12$PARAM[widget_position]40">
				<description>Choose Widget path</description>
				<visible>ControlGroup(9).HasFocus(12) + Control.IsVisible(12$PARAM[widget_position]20) + Skin.HasSetting(Widget$PARAM[widget_position]_Content_Custom)</visible>
				<include content="skinnsettings_Default_Button" />
				<label>    $VAR[skinsettings_Choose_Widget$PARAM[widget_position]_Path_Label]</label>
				<onclick>RunScript(script.skinshortcuts,type=widgets&amp;skinWidget=Widget$PARAM[widget_position]_Custom_Widget&amp;skinWidgetType=Widget$PARAM[widget_position]_Custom_Type&amp;skinWidgetName=Widget$PARAM[widget_position]_Custom_Name&amp;skinWidgetTarget=Widget$PARAM[widget_position]_Custom_Target&amp;skinWidgetPath=Widget$PARAM[widget_position]_Custom_Path)</onclick>
			</control>
			<control type="button" id="12$PARAM[widget_position]41">
				<description>Widget name</description>
				<visible>ControlGroup(9).HasFocus(12) + Control.IsVisible(12$PARAM[widget_position]20) + Skin.HasSetting(Widget$PARAM[widget_position]_Content_Custom)</visible>
				<include content="skinnsettings_Default_Button" />
				<label>    - $LOCALIZE[551]</label>
				<label2>$INFO[Skin.String(Widget$PARAM[widget_position]_Custom_Name)]</label2>
				<onclick>Skin.SetString(Widget$PARAM[widget_position]_Custom_Name)</onclick>
			</control>
			<control type="button" id="12$PARAM[widget_position]42">
				<description>Widget sort method</description>
				<visible>ControlGroup(9).HasFocus(12) + Control.IsVisible(12$PARAM[widget_position]20) + Skin.HasSetting(Widget$PARAM[widget_position]_Content_Custom)</visible>
				<include content="skinnsettings_Default_Button" />
				<label>    - $LOCALIZE[581]</label>
				<label2>$INFO[Skin.String(Widget$PARAM[widget_position]_Custom_SortMethod_Label)]</label2>
				<onclick>RunScript(script.skinshortcuts,type=shortcuts&amp;custom=False&amp;showNone=False&amp;grouping=WidgetSortMethod&amp;skinLabel=Widget$PARAM[widget_position]_Custom_SortMethod_Label&amp;skinAction=Widget$PARAM[widget_position]_Custom_SortMethod)</onclick>
			</control>
			<control type="radiobutton" id="12$PARAM[widget_position]43">
				<description>Widget sort order</description>
				<visible>ControlGroup(9).HasFocus(12) + Control.IsVisible(12$PARAM[widget_position]20) + Skin.HasSetting(Widget$PARAM[widget_position]_Content_Custom)</visible>
				<label>    - $LOCALIZE[31013]</label>
				<label2>$INFO[Skin.String(Widget$PARAM[widget_position]_Custom_SortOrder)]</label2>
				<selected>!Skin.String(Widget$PARAM[widget_position]_Custom_SortOrder,descending)</selected>
				<onclick condition="!Skin.String(Widget$PARAM[widget_position]_Custom_SortOrder,descending)">Skin.SetString(Widget$PARAM[widget_position]_Custom_SortOrder,descending)</onclick>
				<onclick condition="Skin.String(Widget$PARAM[widget_position]_Custom_SortOrder,descending)">Skin.SetString(Widget$PARAM[widget_position]_Custom_SortOrder,ascending)</onclick>
				<textureradioonfocus />
				<textureradioofffocus />
				<textureradioonnofocus />
				<textureradiooffnofocus />
				<textureradioondisabled />
				<textureradiooffdisabled />
			</control>
			<control type="button" id="12$PARAM[widget_position]44">
				<description>Widget limit</description>
				<visible>ControlGroup(9).HasFocus(12) + Control.IsVisible(12$PARAM[widget_position]20) + Skin.HasSetting(Widget$PARAM[widget_position]_Content_Custom)</visible>
				<include content="skinnsettings_Default_Button" />
				<label>    - $LOCALIZE[21427]</label>
				<label2>$INFO[Skin.String(Widget$PARAM[widget_position]_Custom_Limit)]</label2>
				<onclick>Skin.SetNumeric(Widget$PARAM[widget_position]_Custom_Limit)</onclick>
			</control>
			<control type="radiobutton" id="12$PARAM[widget_position]45">
				<description>Prefer thumbnails for episodes instead of show fanart</description>
				<visible>ControlGroup(9).HasFocus(12) + Control.IsVisible(12$PARAM[widget_position]20) + Skin.HasSetting(Widget$PARAM[widget_position]_Content_Custom)</visible>
				<label>    - $LOCALIZE[31477]</label>
				<onclick>Skin.ToggleSetting(Widget$PARAM[widget_position]_Episode_Thumbs)</onclick>
				<selected>Skin.HasSetting(Widget$PARAM[widget_position]_Episode_Thumbs)</selected>
			</control>
		</definition>
	</include>

</includes>