<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<!-- Move function -->
	<include name="PositionSelectorMoveFunc">
		<!-- temporary save items -->
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move) + !String.IsEmpty(Container(211).ListItem.Property(item))">Skin.SetString(ItemLabel,$INFO[Container(211).ListItem.Property(itemlabel)])</onclick>
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move) + !String.IsEmpty(Container(211).ListItem.Property(item))">Skin.SetString(ItemType,$INFO[Container(211).ListItem.Property(item)])</onclick>
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move) + !String.IsEmpty(Container(211).ListItem($PARAM[direction]).Property(item))">Skin.SetString(TempItemLabel,$INFO[Container(211).ListItem($PARAM[direction]).Property(itemlabel)])</onclick>
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move) + !String.IsEmpty(Container(211).ListItem($PARAM[direction]).Property(item))">Skin.SetString(TempItemType,$INFO[Container(211).ListItem($PARAM[direction]).Property(item)])</onclick>
		<!-- save current items to next position -->
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move)">Skin.SetString($VAR[PositionselectorGroup]_widget_pos_$INFO[Container(211).ListItem($PARAM[direction]).Property(pos)].label,$INFO[Skin.String(ItemLabel)])</onclick>
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move)">Skin.SetString($VAR[PositionselectorGroup]_widget_pos_$INFO[Container(211).ListItem($PARAM[direction]).Property(pos)],$INFO[Skin.String(ItemType)])</onclick>
		<!-- save temporary items to current postion -->
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move)">Skin.SetString($VAR[PositionselectorGroup]_widget_pos_$INFO[Container(211).ListItem.Property(pos)].label,$INFO[Skin.String(TempItemLabel)])</onclick>
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move)">Skin.SetString($VAR[PositionselectorGroup]_widget_pos_$INFO[Container(211).ListItem.Property(pos)],$INFO[Skin.String(TempItemType)])</onclick>
		<!-- clear temp strings -->
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move)">Skin.Reset(TempItemLabel)</onclick>
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move)">Skin.Reset(TempItemType)</onclick>
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move)">Skin.Reset(ItemLabel)</onclick>
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move)">Skin.Reset(ItemType)</onclick>
		<!-- move and secure a new unwanted input -->
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move)">Control.Move(211,$PARAM[direction])</onclick>
		<onclick condition="!String.IsEmpty(Container(211).ListItemNoWrap($PARAM[direction]).Label) + !System.HasAlarm(move)">AlarmClock(move,noop,00:01,silent)</onclick>
	</include>

	<!-- List available positions -->
	<include name="PositionSelectorItems">
		<param name="content">MainMenuPositionSelector</param>
		<definition>
			<content>
				<include content="WidgetItems">
					<param name="nr" value="1"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),2)" content="WidgetItems">
					<param name="nr" value="2"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),3)" content="WidgetItems">
					<param name="nr" value="3"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),4)" content="WidgetItems">
					<param name="nr" value="4"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),5)" content="WidgetItems">
					<param name="nr" value="5"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),6)" content="WidgetItems">
					<param name="nr" value="6"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),7)" content="WidgetItems">
					<param name="nr" value="7"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),8)" content="WidgetItems">
					<param name="nr" value="8"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),9)" content="WidgetItems">
					<param name="nr" value="9"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),10)" content="WidgetItems">
					<param name="nr" value="10"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),11)" content="WidgetItems">
					<param name="nr" value="11"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),12)" content="WidgetItems">
					<param name="nr" value="12"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),13)" content="WidgetItems">
					<param name="nr" value="13"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),14)" content="WidgetItems">
					<param name="nr" value="14"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),15)" content="WidgetItems">
					<param name="nr" value="15"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),16)" content="WidgetItems">
					<param name="nr" value="16"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),17)" content="WidgetItems">
					<param name="nr" value="17"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),18)" content="WidgetItems">
					<param name="nr" value="18"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),19)" content="WidgetItems">
					<param name="nr" value="19"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),20)" content="WidgetItems">
					<param name="nr" value="20"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),21)" content="WidgetItems">
					<param name="nr" value="21"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),22)" content="WidgetItems">
					<param name="nr" value="22"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),23)" content="WidgetItems">
					<param name="nr" value="23"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),24)" content="WidgetItems">
					<param name="nr" value="24"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),25)" content="WidgetItems">
					<param name="nr" value="25"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),26)" content="WidgetItems">
					<param name="nr" value="26"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),27)" content="WidgetItems">
					<param name="nr" value="27"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),28)" content="WidgetItems">
					<param name="nr" value="28"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),29)" content="WidgetItems">
					<param name="nr" value="29"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),30)" content="WidgetItems">
					<param name="nr" value="30"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
				<include condition="Integer.IsGreaterOrEqual(Window(home).Property(PositionCount),31)" content="WidgetItems">
					<param name="nr" value="31"/>
					<param name="type" value="$PARAM[type]"/>
				</include>
			</content>
		</definition>
	</include>

	<!-- Widget item template -->
	<include name="WidgetItems">
		<definition>
			<item>
				<icon>DefaultFolder.png</icon>
				<label>$INFO[Skin.String($PARAM[type]_widget_pos_$PARAM[nr].label)]</label>
				<property name="pos">$NUMBER[$PARAM[nr]]</property>
				<property name="itemlabel">$INFO[Skin.String($PARAM[type]_widget_pos_$PARAM[nr].label)]</property>
				<property name="item">$INFO[Skin.String($PARAM[type]_widget_pos_$PARAM[nr])]</property>
				<onclick>noop</onclick>
				<visible>!String.IsEmpty(Skin.String($PARAM[type]_widget_pos_$PARAM[nr].label))</visible>
			</item>
			<item>
				<icon>DefaultFolderBack.png</icon>
				<label>$LOCALIZE[504]</label>
				<property name="pos">$NUMBER[$PARAM[nr]]</property>
				<property name="itemlabel">$LOCALIZE[504]</property>
				<onclick>noop</onclick>
				<visible>String.IsEmpty(Skin.String($PARAM[type]_widget_pos_$PARAM[nr].label))</visible>
			</item>
		</definition>
	</include>

	<!-- Widget set item function -->
	<include name="SetWidget">
		<param name="icon">DefaultFolder</param>
		<param name="setitem">true</param>
		<param name="clearitem">false</param>
		<param name="visible">true</param>
		<param name="nr">$INFO[Window(home).Property(widget_position)]</param>
		<definition>
			<item>
				<icon>$PARAM[icon].png</icon>
				<label>$PARAM[label]</label>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_1),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_1)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_1),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_1.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_2),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_2)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_2),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_2.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_3),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_3)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_3),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_3.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_4),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_4)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_4),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_4.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_5),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_5)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_5),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_5.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_6),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_6)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_6),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_6.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_7),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_7)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_7),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_7.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_8),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_8)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_8),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_8.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_9),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_9)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_9),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_9.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_10),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_10)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_10),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_10.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_11),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_11)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_11),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_11.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_12),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_12)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_12),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_12.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_13),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_13)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_13),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_13.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_14),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_14)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_14),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_14.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_15),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_15)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_15),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_15.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_16),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_16)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_16),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_16.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_17),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_17)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_17),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_17.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_18),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_18)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_18),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_18.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_19),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_19)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_19),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_19.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_20),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_20)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_20),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_20.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_21),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_21)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_21),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_21.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_22),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_22)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_22),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_22.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_23),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_23)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_23),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_23.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_24),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_24)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_24),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_24.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_25),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_25)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_25),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_25.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_26),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_26)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_26),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_26.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_27),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_27)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_27),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_27.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_28),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_28)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_28),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_28.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_29),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_29)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_29),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_29.label)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_30),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_30)</onclick>
				<onclick condition="$PARAM[setitem] + String.IsEqual(Skin.String($PARAM[type]_widget_pos_30),$PARAM[item])">Skin.Reset($PARAM[type]_widget_pos_30.label)</onclick>
				<onclick condition="$PARAM[setitem]">Skin.SetString($PARAM[type]_widget_pos_$PARAM[nr].label,$PARAM[label])</onclick>
				<onclick condition="$PARAM[setitem]">Skin.SetString($PARAM[type]_widget_pos_$PARAM[nr],$PARAM[item])</onclick>
				<onclick condition="$PARAM[clearitem]">Skin.Reset($PARAM[type]_widget_pos_$PARAM[nr])</onclick>
				<onclick condition="$PARAM[clearitem]">Skin.Reset($PARAM[type]_widget_pos_$PARAM[nr].label)</onclick>
				<onclick>Dialog.Close(1111)</onclick>
				<visible>$PARAM[visible]</visible>
			</item>
		</definition>
	</include>

	<!-- Available custom widgets -->
	<include name="AvailableCustomWidgets">
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget1_name),,   ($LOCALIZE[31200] 1)]"/>
			<param name="item" value="W_Custom1"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget1_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget2_name),,   ($LOCALIZE[31200] 2)]"/>
			<param name="item" value="W_Custom2"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget2_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget3_name),,   ($LOCALIZE[31200] 3)]"/>
			<param name="item" value="W_Custom3"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget3_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget4_name),,   ($LOCALIZE[31200] 4)]"/>
			<param name="item" value="W_Custom4"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget4_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget5_name),,   ($LOCALIZE[31200] 5)]"/>
			<param name="item" value="W_Custom5"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget5_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget6_name),,   ($LOCALIZE[31200] 6)]"/>
			<param name="item" value="W_Custom6"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget6_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget7_name),,   ($LOCALIZE[31200] 7)]"/>
			<param name="item" value="W_Custom7"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget7_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget8_name),,   ($LOCALIZE[31200] 8)]"/>
			<param name="item" value="W_Custom8"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget8_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget9_name),,   ($LOCALIZE[31200] 9)]"/>
			<param name="item" value="W_Custom9"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget9_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget10_name),,   ($LOCALIZE[31200] 10)]"/>
			<param name="item" value="W_Custom10"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget10_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget11_name),,   ($LOCALIZE[31200] 11)]"/>
			<param name="item" value="W_Custom11"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget11_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget12_name),,   ($LOCALIZE[31200] 12)]"/>
			<param name="item" value="W_Custom12"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget12_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget13_name),,   ($LOCALIZE[31200] 13)]"/>
			<param name="item" value="W_Custom13"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget13_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget14_name),,   ($LOCALIZE[31200] 14)]"/>
			<param name="item" value="W_Custom14"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget14_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget15_name),,   ($LOCALIZE[31200] 15)]"/>
			<param name="item" value="W_Custom15"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget15_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget16_name),,   ($LOCALIZE[31200] 16)]"/>
			<param name="item" value="W_Custom16"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget16_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget17_name),,   ($LOCALIZE[31200] 17)]"/>
			<param name="item" value="W_Custom17"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget17_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget18_name),,   ($LOCALIZE[31200] 18)]"/>
			<param name="item" value="W_Custom18"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget18_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget19_name),,   ($LOCALIZE[31200] 19)]"/>
			<param name="item" value="W_Custom19"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget19_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget20_name),,   ($LOCALIZE[31200] 20)]"/>
			<param name="item" value="W_Custom20"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget20_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget21_name),,   ($LOCALIZE[31200] 21)]"/>
			<param name="item" value="W_Custom11"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget21_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget22_name),,   ($LOCALIZE[31200] 22)]"/>
			<param name="item" value="W_Custom22"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget22_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget23_name),,   ($LOCALIZE[31200] 23)]"/>
			<param name="item" value="W_Custom23"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget23_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget24_name),,   ($LOCALIZE[31200] 24)]"/>
			<param name="item" value="W_Custom24"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget24_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget25_name),,   ($LOCALIZE[31200] 25)]"/>
			<param name="item" value="W_Custom25"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget25_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget26_name),,   ($LOCALIZE[31200] 26)]"/>
			<param name="item" value="W_Custom26"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget26_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget27_name),,   ($LOCALIZE[31200] 27)]"/>
			<param name="item" value="W_Custom27"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget27_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget28_name),,   ($LOCALIZE[31200] 28)]"/>
			<param name="item" value="W_Custom28"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget28_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget29_name),,   ($LOCALIZE[31200] 29)]"/>
			<param name="item" value="W_Custom29"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget29_name))"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="$PARAM[type]"/>
			<param name="label" value="$INFO[Skin.String(UserWidget30_name),,   ($LOCALIZE[31200] 30)]"/>
			<param name="item" value="W_Custom30"/>
			<param name="visible" value="!String.IsEmpty(Skin.String(UserWidget30_name))"/>
		</include>
	</include>

	<!-- Available home widgets -->
	<include name="HomeAvailableWidgets">
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[192]"/>
			<param name="setitem" value="false"/>
			<param name="clearitem" value="true"/>
			<param name="icon" value="DefaultAddonNone"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31080]"/>
			<param name="item" value="W_InProgressMedia"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31080]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_InProgressMedia"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[19023]"/>
			<param name="item" value="W_PVR"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31030]"/>
			<param name="item" value="W_RecentPVR"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31012]"/>
			<param name="item" value="W_NextUp"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31012]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_NextUp"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31301]"/>
			<param name="item" value="W_NewMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31301]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_NewMovies"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31302]"/>
			<param name="item" value="W_NewEpisodes"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31302]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_NewEpisodes"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31278]"/>
			<param name="item" value="W_MixedByGenre"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31303]"/>
			<param name="item" value="W_NewAlbums"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31303]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_NewAlbums"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[1036]"/>
			<param name="item" value="W_Fav"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[135] ($LOCALIZE[342])"/>
			<param name="item" value="W_MovieGenres"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[135] ($LOCALIZE[36903])"/>
			<param name="item" value="W_TVShowGenres"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31383]"/>
			<param name="item" value="W_Tmdb_InCinema"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="home"/>
			<param name="label" value="$LOCALIZE[31384]"/>
			<param name="item" value="W_Tmdb_UpcomingMovies"/>
		</include>
		<include content="AvailableCustomWidgets">
			<param name="type" value="home"/>
		</include>
	</include>

	<!-- Available moviehub widgets -->
	<include name="MovieHubAvailableWidgets">
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[192]"/>
			<param name="setitem" value="false"/>
			<param name="clearitem" value="true"/>
			<param name="icon" value="DefaultAddonNone"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31080]"/>
			<param name="item" value="W_InProgressMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31080]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_InProgressMovies"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31301]"/>
			<param name="item" value="W_NewMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31301]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_NewMovies"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[135]"/>
			<param name="item" value="W_MovieGenres"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[135]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_MovieGenres"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31183]"/>
			<param name="item" value="W_RecommendedMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31183]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_RecommendedMovies"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31018]"/>
			<param name="item" value="W_SimilarMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31018]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_SimilarMovies"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31278]"/>
			<param name="item" value="W_MoviesByGenre"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31407]"/>
			<param name="item" value="W_Kodi_FavMovies"/>
			<param name="visible" value="!System.HasAddon(plugin.video.emby)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31062]   ($LOCALIZE[31181])"/>
			<param name="item" value="W_Emby_FavMovies"/>
			<param name="visible" value="System.HasAddon(plugin.video.emby)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31062]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_FavMovies"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[1036]"/>
			<param name="item" value="W_Fav"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31383]"/>
			<param name="item" value="W_Tmdb_InCinema"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="moviehub"/>
			<param name="label" value="$LOCALIZE[31384]"/>
			<param name="item" value="W_Tmdb_UpcomingMovies"/>
		</include>
		<include content="AvailableCustomWidgets">
			<param name="type" value="moviehub"/>
		</include>
	</include>

	<!-- Available tvshowhub widgets -->
	<include name="TVShowHubAvailableWidgets">
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[192]"/>
			<param name="setitem" value="false"/>
			<param name="clearitem" value="true"/>
			<param name="icon" value="DefaultAddonNone"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31080]"/>
			<param name="item" value="W_InProgressShows"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31080]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_InProgressShows"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31012]"/>
			<param name="item" value="W_NextUp"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31012]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_NextUp"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31302]"/>
			<param name="item" value="W_NewEpisodes"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31302]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_NewEpisodes"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[135]"/>
			<param name="item" value="W_TVShowGenres"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[135]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_TVShowGenres"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31018]"/>
			<param name="item" value="W_SimilarShows"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31182]"/>
			<param name="item" value="W_RecommendedShows"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31182]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_RecommendedShows"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31278]"/>
			<param name="item" value="W_TVShowsByGenre"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31408]"/>
			<param name="item" value="W_Kodi_FavShows"/>
			<param name="visible" value="!System.HasAddon(plugin.video.emby)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31064]   ($LOCALIZE[31181])"/>
			<param name="item" value="W_Emby_FavShows"/>
			<param name="visible" value="System.HasAddon(plugin.video.emby)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[31064]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_FavShows"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tvshowhub"/>
			<param name="label" value="$LOCALIZE[1036]"/>
			<param name="item" value="W_Fav"/>
		</include>
		<include content="AvailableCustomWidgets">
			<param name="type" value="tvshowhub"/>
		</include>
	</include>

	<!-- Available musichub widgets -->
	<include name="MusicHubAvailableWidgets">
		<include content="SetWidget">
			<param name="type" value="musichub"/>
			<param name="label" value="$LOCALIZE[192]"/>
			<param name="setitem" value="false"/>
			<param name="clearitem" value="true"/>
			<param name="icon" value="DefaultAddonNone"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="musichub"/>
			<param name="label" value="$LOCALIZE[31303]"/>
			<param name="item" value="W_NewAlbums"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="musichub"/>
			<param name="label" value="$LOCALIZE[31303]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_NewAlbums"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="musichub"/>
			<param name="label" value="$LOCALIZE[517]"/>
			<param name="item" value="W_PlayedAlbums"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="musichub"/>
			<param name="label" value="$LOCALIZE[31215]"/>
			<param name="item" value="W_OftenPlayedSongs"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="musichub"/>
			<param name="label" value="$LOCALIZE[31215]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_OftenPlayedSongs"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="musichub"/>
			<param name="label" value="$LOCALIZE[31212]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_FavArtists"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="musichub"/>
			<param name="label" value="$LOCALIZE[31213]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_FavAlbums"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="musichub"/>
			<param name="label" value="$LOCALIZE[31214]   ($LOCALIZE[31208])"/>
			<param name="item" value="W_EmbyCon_FavSongs"/>
			<param name="visible" value="System.HasAddon(plugin.video.embycon)"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="musichub"/>
			<param name="label" value="$LOCALIZE[1036]"/>
			<param name="item" value="W_Fav"/>
		</include>
		<include content="AvailableCustomWidgets">
			<param name="type" value="musichub"/>
		</include>
	</include>

	<!-- Available customhub widgets -->
	<include name="CustomHubAvailableWidgets">
		<include content="AvailableCustomWidgets">
			<param name="type" value="customhub"/>
		</include>
	</include>

	<!-- Available mixedhub widgets -->
	<include name="TagMixedHubAvailableWidgets">
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[192]"/>
			<param name="setitem" value="false"/>
			<param name="clearitem" value="true"/>
			<param name="icon" value="DefaultAddonNone"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31080]"/>
			<param name="item" value="W_TagHub_InProgress"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31012]"/>
			<param name="item" value="W_TagHub_NextUp"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31301]"/>
			<param name="item" value="W_TagHub_NewMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31302]"/>
			<param name="item" value="W_TagHub_NewEpisodes"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31387]"/>
			<param name="item" value="W_TagHub_MovieGenres"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31388]"/>
			<param name="item" value="W_TagHub_TVShowGenres"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31278]"/>
			<param name="item" value="W_TagHub_MixedByGenre"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31183]"/>
			<param name="item" value="W_TagHub_RecommendedMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31182]"/>
			<param name="item" value="W_TagHub_RecommendedShows"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31018] ($LOCALIZE[342])"/>
			<param name="item" value="W_TagHub_SimilarMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31018] ($LOCALIZE[20343])"/>
			<param name="item" value="W_TagHub_SimilarShows"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31184]"/>
			<param name="item" value="W_TagHub_RandomMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmixedhub"/>
			<param name="label" value="$LOCALIZE[31185]"/>
			<param name="item" value="W_TagHub_RandomShows"/>
		</include>
	</include>

	<!-- Available taghub movie widgets -->
	<include name="TagMovieHubAvailableWidgets">
		<include content="SetWidget">
			<param name="type" value="tagmoviehub"/>
			<param name="label" value="$LOCALIZE[192]"/>
			<param name="setitem" value="false"/>
			<param name="clearitem" value="true"/>
			<param name="icon" value="DefaultAddonNone"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmoviehub"/>
			<param name="label" value="$LOCALIZE[31080]"/>
			<param name="item" value="W_TagHub_InProgressMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmoviehub"/>
			<param name="label" value="$LOCALIZE[31301]"/>
			<param name="item" value="W_TagHub_NewMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmoviehub"/>
			<param name="label" value="$LOCALIZE[31183]"/>
			<param name="item" value="W_TagHub_RecommendedMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmoviehub"/>
			<param name="label" value="$LOCALIZE[31018]"/>
			<param name="item" value="W_TagHub_SimilarMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmoviehub"/>
			<param name="label" value="$LOCALIZE[31278]"/>
			<param name="item" value="W_TagHub_MoviesByGenre"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmoviehub"/>
			<param name="label" value="$LOCALIZE[31184]"/>
			<param name="item" value="W_TagHub_RandomMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagmoviehub"/>
			<param name="label" value="$LOCALIZE[135]"/>
			<param name="item" value="W_TagHub_MovieGenres"/>
		</include>
	</include>

	<!-- Available taghub TV show widgets -->
	<include name="TagTVShowHubAvailableWidgets">
		<include content="SetWidget">
			<param name="type" value="tagtvshowhub"/>
			<param name="label" value="$LOCALIZE[192]"/>
			<param name="setitem" value="false"/>
			<param name="clearitem" value="true"/>
			<param name="icon" value="DefaultAddonNone"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagtvshowhub"/>
			<param name="label" value="$LOCALIZE[31080]"/>
			<param name="item" value="W_TagHub_InprogressEpisodes"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagtvshowhub"/>
			<param name="label" value="$LOCALIZE[31012]"/>
			<param name="item" value="W_TagHub_NextUp"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagtvshowhub"/>
			<param name="label" value="$LOCALIZE[31302]"/>
			<param name="item" value="W_TagHub_NewEpisodes"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagtvshowhub"/>
			<param name="label" value="$LOCALIZE[31182]"/>
			<param name="item" value="W_TagHub_RecommendedShows"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagtvshowhub"/>
			<param name="label" value="$LOCALIZE[31018]"/>
			<param name="item" value="W_TagHub_SimilarShows"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagtvshowhub"/>
			<param name="label" value="$LOCALIZE[31278]"/>
			<param name="item" value="W_TagHub_TVShowsByGenre"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagtvshowhub"/>
			<param name="label" value="$LOCALIZE[31185]"/>
			<param name="item" value="W_TagHub_RandomShows"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="tagtvshowhub"/>
			<param name="label" value="$LOCALIZE[135]"/>
			<param name="item" value="W_TagHub_TVShowGenres"/>
		</include>
	</include>

	<!-- Available EmbyCon movie widgets -->
	<include name="EmbyConMovieHubAvailableWidgets">
		<include content="SetWidget">
			<param name="type" value="embyconmoviehub"/>
			<param name="label" value="$LOCALIZE[192]"/>
			<param name="setitem" value="false"/>
			<param name="clearitem" value="true"/>
			<param name="icon" value="DefaultAddonNone"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embyconmoviehub"/>
			<param name="label" value="$LOCALIZE[31080]"/>
			<param name="item" value="W_EmbyConHub_InProgressMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embyconmoviehub"/>
			<param name="label" value="$LOCALIZE[31301]"/>
			<param name="item" value="W_EmbyConHub_NewMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embyconmoviehub"/>
			<param name="label" value="$LOCALIZE[31183]"/>
			<param name="item" value="W_EmbyConHub_RecommendedMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embyconmoviehub"/>
			<param name="label" value="$LOCALIZE[31184]"/>
			<param name="item" value="W_EmbyConHub_RandomMovies"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embyconmoviehub"/>
			<param name="label" value="$LOCALIZE[135]"/>
			<param name="item" value="W_EmbyConHub_MovieGenres"/>
		</include>
	</include>

	<!-- Available EmbyCon tvshow widgets -->
	<include name="EmbyConTVShowHubAvailableWidgets">
		<include content="SetWidget">
			<param name="type" value="embycontvshowhub"/>
			<param name="label" value="$LOCALIZE[192]"/>
			<param name="setitem" value="false"/>
			<param name="clearitem" value="true"/>
			<param name="icon" value="DefaultAddonNone"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embycontvshowhub"/>
			<param name="label" value="$LOCALIZE[31080]"/>
			<param name="item" value="W_EmbyConHub_InProgressShows"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embycontvshowhub"/>
			<param name="label" value="$LOCALIZE[31012]"/>
			<param name="item" value="W_EmbyConHub_NextUp"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embycontvshowhub"/>
			<param name="label" value="$LOCALIZE[31302]"/>
			<param name="item" value="W_EmbyConHub_NewEpisodes"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embycontvshowhub"/>
			<param name="label" value="$LOCALIZE[31182]"/>
			<param name="item" value="W_EmbyConHub_RecommendedShows"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embycontvshowhub"/>
			<param name="label" value="$LOCALIZE[31185]"/>
			<param name="item" value="W_EmbyConHub_RandomShows"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embycontvshowhub"/>
			<param name="label" value="$LOCALIZE[135]"/>
			<param name="item" value="W_EmbyConHub_TVShowGenres"/>
		</include>
	</include>

	<!-- Available EmbyCon music widgets -->
	<include name="EmbyConMusicHubAvailableWidgets">
		<include content="SetWidget">
			<param name="type" value="embyconmusichub"/>
			<param name="label" value="$LOCALIZE[192]"/>
			<param name="setitem" value="false"/>
			<param name="clearitem" value="true"/>
			<param name="icon" value="DefaultAddonNone"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embyconmusichub"/>
			<param name="label" value="$LOCALIZE[31303]"/>
			<param name="item" value="W_EmbyConHub_NewAlbums"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embyconmusichub"/>
			<param name="label" value="$LOCALIZE[31211]"/>
			<param name="item" value="W_EmbyConHub_PlayedSongs"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embyconmusichub"/>
			<param name="label" value="$LOCALIZE[31215]"/>
			<param name="item" value="W_EmbyConHub_OftenPlayed"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embyconmusichub"/>
			<param name="label" value="$LOCALIZE[31212]"/>
			<param name="item" value="W_EmbyConHub_FavArtists"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embyconmusichub"/>
			<param name="label" value="$LOCALIZE[31213]"/>
			<param name="item" value="W_EmbyConHub_FavAlbums"/>
		</include>
		<include content="SetWidget">
			<param name="type" value="embyconmusichub"/>
			<param name="label" value="$LOCALIZE[31214]"/>
			<param name="item" value="W_EmbyConHub_FavSongs"/>
		</include>
	</include>

</includes>