<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<!-- Loading item -->
	<include name="LoadingWidget">
		<param name="focused">false</param>
		<param name="top">94</param>
		<param name="left">70</param>
		<definition>
			<control type="group">
				<visible>[Container($PARAM[id]).IsUpdating | $EXP[OnLibaryUpdate]] + !Integer.IsGreater(Container($PARAM[id]).NumItems,0)</visible>
				<left>$PARAM[left]</left>
				<top>$PARAM[top]</top>
				<animation type="Conditional" reversible="false" condition="Control.HasFocus($PARAM[id])">
					<effect type="zoom" end="110" time="75" tween="sine" easing="out" center="auto" />
					<effect type="zoom" end="90.9090909" time="225" tween="sine" delay="100" easing="out" center="auto" />
				</animation>
				<width>$PARAM[width]</width>
				<height>$PARAM[height]</height>
				<control type="image">
					<top>-2</top>
					<left>-2</left>
					<width>$PARAM[shadow_width]</width>
					<height>$PARAM[shadow_height]</height>
					<texture border="20,20,20,20">items/shadow.png</texture>
				</control>
				<control type="image">
					<width>$PARAM[width]</width>
					<height>$PARAM[height]</height>
					<texture colordiffuse="thumb_background_fallback_secondary">common/white.jpg</texture>
					<aspectratio scalediffuse="false">stretch</aspectratio>
				</control>
				<include content="BusySpinner">
					<param name="colordiffuse" value="white"/>
				</include>
				<control type="group">
					<visible>Control.HasFocus($PARAM[id])</visible>
					<animation reversible="false" effect="fade" start="0" end="100" time="500" tween="linear">Visible</animation>
					<animation reversible="false" effect="fade" start="100" end="0" time="0">Hidden</animation>
					<control type="image">
						<texture>items/inner_shadow.png</texture>
						<aspectratio>stretch</aspectratio>
					</control>
					<control type="image">
						<left>-12</left>
						<top>-7</top>
						<width>$PARAM[focus_width]</width>
						<height>$PARAM[focus_height]</height>
						<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
						<aspectratio>stretch</aspectratio>
						<animation reversible="false" effect="fade" start="0" end="100" time="500" tween="linear" condition="Control.HasFocus($PARAM[id])">Conditional</animation>
						<animation reversible="false" effect="fade" start="100" end="0" time="0" condition="!Control.HasFocus($PARAM[id])">Conditional</animation>
					</control>
				</control>
			</control>
		</definition>
	</include>

	<!-- 4:3 -->
	<include name="4to3Widget">
		<param name="visible">true</param>
		<param name="content_visible">true</param>
		<param name="headline">$LOCALIZE[416]</param>
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="use_custom_content">true</param>
		<param name="use_custom_onclick">false</param>
		<param name="height">453</param>
		<param name="force_visible">false</param>
		<param name="layout">4to3Layout</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<visible>Integer.IsGreater(Container($PARAM[id]).NumItems,0) | Container($PARAM[id]).IsUpdating | $EXP[OnLibaryUpdate] | $PARAM[force_visible]</visible>
				<width>100%</width>
				<height>$PARAM[height]</height>
				<include content="WidgetHeadline">
					<param name="headline">$PARAM[headline]</param>
					<param name="headline_icon">$PARAM[headline_icon]</param>
					<param name="id">$PARAM[id]</param>
				</include>
				<include content="LoadingWidget">
					<param name="id" value="$PARAM[id]"/>
					<param name="shadow_width" value="346"/>
					<param name="shadow_height" value="233"/>
					<param name="width" value="340"/>
					<param name="height" value="227"/>
					<param name="focus_width" value="364"/>
					<param name="focus_height" value="251"/>
				</include>
				<control type="fixedlist" id="$PARAM[id]">
					<visible>$PARAM[content_visible]</visible>
					<include>FocusBounce</include>
					<movement>4</movement>
					<top>30</top>
					<width>100%</width>
					<include>ScrollTimeWidgets</include>
					<orientation>horizontal</orientation>
					<preloaditems>4</preloaditems>
					<ondown>$PARAM[ondown]</ondown>
					<onup>$PARAM[onup]</onup>
					<onback>$PARAM[onback]</onback>
					<include content="Bounce_Right">
						<param name="id">$PARAM[id]</param>
					</include>
					<onright>SetProperty(BounceRight,1,home)</onright>
					<onright>noop</onright>
					<onleft>900</onleft>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick2]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick3]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick4]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick5]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick6]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick7]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick8]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick9]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick10]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick11]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick12]</onclick>
					<pagecontrol>$PARAM[id]1</pagecontrol>
					<viewtype label="$PARAM[list_name]">list</viewtype>
					<itemlayout width="360">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="$PARAM[layout]">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$PARAM[thumblabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="visible_icon" value="$PARAM[visible_icon]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
								<param name="ar" value="$PARAM[ar]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout width="360">
						<include content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="$PARAM[layout]">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$PARAM[thumblabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="visible_icon" value="$PARAM[visible_icon]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
								<param name="ar" value="$PARAM[ar]" />
							</include>
						</control>
					</focusedlayout>
					<include condition="$PARAM[use_custom_content]" content="ContainerContentPath">
						<param name="widget_target">$PARAM[widget_target]</param>
						<param name="showdummy">$PARAM[showdummy]</param>
						<param name="sortby">$PARAM[sortby]</param>
						<param name="sortorder">$PARAM[sortorder]</param>
						<param name="limit">$PARAM[limit]</param>
						<param name="content">$PARAM[content]</param>
						<param name="widget_target2">$PARAM[widget_target2]</param>
						<param name="sortby2">$PARAM[sortby2]</param>
						<param name="sortorder2">$PARAM[sortorder2]</param>
						<param name="limit2">$PARAM[limit2]</param>
						<param name="content2">$PARAM[content2]</param>
					</include>
				</control>
				<include content="ListMask">
					<param name="height" value="227"/>
					<param name="id" value="$PARAM[id]"/>
				</include>
			</control>
		</definition>
	</include>
	<!-- Landscape -->
	<include name="WideWidget">
		<param name="visible">true</param>
		<param name="content_visible">true</param>
		<param name="headline">$LOCALIZE[416]</param>
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="use_custom_content">true</param>
		<param name="use_custom_onclick">false</param>
		<param name="height">468</param>
		<param name="force_visible">false</param>
		<param name="property_button">true</param>
		<param name="layout">LandscapeLayout</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<visible>Integer.IsGreater(Container($PARAM[id]).NumItems,0) | Container($PARAM[id]).IsUpdating | $EXP[OnLibaryUpdate] | $PARAM[force_visible]</visible>
				<width>100%</width>
				<height>$PARAM[height]</height>
				<include content="WidgetHeadline">
					<param name="headline">$PARAM[headline]</param>
					<param name="headline_icon">$PARAM[headline_icon]</param>
					<param name="id">$PARAM[id]</param>
				</include>
				<include content="LoadingWidget">
					<param name="id" value="$PARAM[id]"/>
					<param name="shadow_width" value="436"/>
					<param name="shadow_height" value="248"/>
					<param name="width" value="430"/>
					<param name="height" value="242"/>
					<param name="focus_width" value="454"/>
					<param name="focus_height" value="266"/>
				</include>
				<control type="fixedlist" id="$PARAM[id]">
					<visible>$PARAM[content_visible]</visible>
					<include>FocusBounce</include>
					<movement>3</movement>
					<top>30</top>
					<width>100%</width>
					<include>ScrollTimeWidgets</include>
					<orientation>horizontal</orientation>
					<preloaditems>4</preloaditems>
					<ondown>$PARAM[ondown]</ondown>
					<onup>$PARAM[onup]</onup>
					<onback>$PARAM[onback]</onback>
					<include content="Bounce_Right">
						<param name="id">$PARAM[id]</param>
					</include>
					<onright>SetProperty(BounceRight,1,home)</onright>
					<onright>noop</onright>
					<onleft>900</onleft>
					<onclick condition="!$PARAM[use_custom_onclick] + [[!Window.IsMedia + !$EXP[InfoDialogActive]] | Window.IsVisible(1115)] + $EXP[ForceCinemaMode] + !String.IsEmpty(ListItem.DBID) + !Integer.IsGreater(ListItem.PercentPlayed,0) + [[String.IsEqual(ListItem.DBType,episode) + !String.IsEqual(Skin.String(CinemaModeFor),movies)] | [String.IsEqual(ListItem.DBType,movie) + !String.IsEqual(Skin.String(CinemaModeFor),episodes)]]">RunScript(script.embuary.helper,action=playcinema)</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick2]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick3]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick4]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick5]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick6]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick7]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick8]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick9]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick10]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick11]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick12]</onclick>
					<pagecontrol>$PARAM[id]1</pagecontrol>
					<viewtype label="$PARAM[list_name]">list</viewtype>
					<itemlayout width="450">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="$PARAM[layout]">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$PARAM[thumblabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="visible_icon" value="$PARAM[visible_icon]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
								<param name="ar" value="$PARAM[ar]" />
								<param name="icon" value="$PARAM[icon]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout width="450">
						<include condition="$PARAM[property_button]" content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="$PARAM[layout]">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$PARAM[thumblabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="visible_icon" value="$PARAM[visible_icon]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
								<param name="ar" value="$PARAM[ar]" />
								<param name="icon" value="$PARAM[icon]" />
							</include>
						</control>
					</focusedlayout>
					<include condition="$PARAM[use_custom_content]" content="ContainerContentPath">
						<param name="widget_target">$PARAM[widget_target]</param>
						<param name="showdummy">$PARAM[showdummy]</param>
						<param name="sortby">$PARAM[sortby]</param>
						<param name="sortorder">$PARAM[sortorder]</param>
						<param name="limit">$PARAM[limit]</param>
						<param name="content">$PARAM[content]</param>
						<param name="widget_target2">$PARAM[widget_target2]</param>
						<param name="sortby2">$PARAM[sortby2]</param>
						<param name="sortorder2">$PARAM[sortorder2]</param>
						<param name="limit2">$PARAM[limit2]</param>
						<param name="content2">$PARAM[content2]</param>
					</include>
				</control>
				<include content="ListMask">
					<param name="height" value="242"/>
					<param name="id" value="$PARAM[id]"/>
				</include>
			</control>
		</definition>
	</include>
	<!-- Poster -->
	<include name="PosterWidget">
		<param name="visible">true</param>
		<param name="force_visible">false</param>
		<param name="content_visible">true</param>
		<param name="headline">$LOCALIZE[416]</param>
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="use_custom_content">true</param>
		<param name="use_custom_onclick">false</param>
		<param name="height">581</param>
		<param name="layout">PosterLayout</param>
		<param name="property_button">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<visible>Integer.IsGreater(Container($PARAM[id]).NumItems,0) | Container($PARAM[id]).IsUpdating | $EXP[OnLibaryUpdate] | $PARAM[force_visible]</visible>
				<width>100%</width>
				<height>$PARAM[height]</height>
				<include content="WidgetHeadline">
					<param name="headline">$PARAM[headline]</param>
					<param name="headline_icon">$PARAM[headline_icon]</param>
					<param name="id">$PARAM[id]</param>
				</include>
				<include content="LoadingWidget">
					<param name="id" value="$PARAM[id]"/>
					<param name="shadow_width" value="243"/>
					<param name="shadow_height" value="361"/>
					<param name="width" value="237"/>
					<param name="height" value="355"/>
					<param name="focused" value="true" />
					<param name="focus_width" value="261"/>
					<param name="focus_height" value="379"/>
				</include>
				<control type="fixedlist" id="$PARAM[id]">
					<visible>$PARAM[content_visible]</visible>
					<include>FocusBounce</include>
					<movement>6</movement>
					<top>30</top>
					<width>100%</width>
					<include>ScrollTimeWidgets</include>
					<orientation>horizontal</orientation>
					<preloaditems>4</preloaditems>
					<ondown>$PARAM[ondown]</ondown>
					<onup>$PARAM[onup]</onup>
					<include content="Bounce_Right">
						<param name="id">$PARAM[id]</param>
					</include>
					<onright>SetProperty(BounceRight,1,home)</onright>
					<onright>noop</onright>
					<onleft>900</onleft>
					<oninfo condition="String.IsEqual(ListItem.DBType,set) + !String.IsEmpty(Container(2001).ListItem.Label)">RunScript(script.embuary.helper,action=textviewer,header='$ESCINFO[ListItem.Title]',message='$ESCVAR[ListViewPlot]')</oninfo>
					<onclick condition="!$PARAM[use_custom_onclick] + [[!Window.IsMedia + !$EXP[InfoDialogActive]] | Window.IsVisible(1115)] + $EXP[ForceCinemaMode] + !String.IsEmpty(ListItem.DBID) + !Integer.IsGreater(ListItem.PercentPlayed,0) + [[String.IsEqual(ListItem.DBType,episode) + !String.IsEqual(Skin.String(CinemaModeFor),movies)] | [String.IsEqual(ListItem.DBType,movie) + !String.IsEqual(Skin.String(CinemaModeFor),episodes)]]">RunScript(script.embuary.helper,action=playcinema)</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick2]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick3]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick4]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick5]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick6]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick7]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick8]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick9]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick10]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick11]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick12]</onclick>
					<pagecontrol>$PARAM[id]1</pagecontrol>
					<viewtype label="$PARAM[list_name]">list</viewtype>
					<itemlayout width="257">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="$PARAM[layout]">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$PARAM[thumblabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="visible_icon" value="$PARAM[visible_icon]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
								<param name="icon" value="$PARAM[icon]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout width="257">
						<include condition="$PARAM[property_button]" content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="$PARAM[layout]">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$PARAM[thumblabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="visible_icon" value="$PARAM[visible_icon]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
								<param name="icon" value="$PARAM[icon]" />
							</include>
						</control>
					</focusedlayout>
					<include condition="$PARAM[use_custom_content]" content="ContainerContentPath">
						<param name="id">$PARAM[id]</param>
						<param name="widget_target">$PARAM[widget_target]</param>
						<param name="sortby">$PARAM[sortby]</param>
						<param name="sortorder">$PARAM[sortorder]</param>
						<param name="limit">$PARAM[limit]</param>
						<param name="content">$PARAM[content]</param>
					</include>
				</control>
				<include content="ListMask">
					<param name="height" value="355"/>
					<param name="id" value="$PARAM[id]"/>
				</include>
			</control>
		</definition>
	</include>
	<!-- Cast -->
	<include name="CastWidget">
		<param name="visible">true</param>
		<param name="content_visible">true</param>
		<param name="headline">$LOCALIZE[206]</param>
		<param name="mainlabel">$INFO[ListItem.Label]</param>
		<param name="sublabel">$INFO[ListItem.Label2,$LOCALIZE[20347] ]</param>
		<param name="use_custom_content">true</param>
		<param name="use_custom_onclick">true</param>
		<param name="onback">noop</param>
		<param name="force_search">false</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<width>100%</width>
				<height>581</height>
				<include content="WidgetHeadline">
					<param name="headline">$PARAM[headline]</param>
					<param name="id">$PARAM[id]</param>
				</include>
				<include content="LoadingWidget">
					<param name="id" value="$PARAM[id]"/>
					<param name="shadow_width" value="243"/>
					<param name="shadow_height" value="361"/>
					<param name="width" value="237"/>
					<param name="height" value="355"/>
					<param name="focused" value="true" />
					<param name="focus_width" value="261"/>
					<param name="focus_height" value="379"/>
				</include>
				<control type="fixedlist" id="$PARAM[id]">
					<visible>$PARAM[content_visible]</visible>
					<include>FocusBounce</include>
					<movement>6</movement>
					<top>30</top>
					<width>100%</width>
					<onback>$PARAM[onback]</onback>
					<include>ScrollTimeWidgets</include>
					<orientation>horizontal</orientation>
					<preloaditems>4</preloaditems>
					<ondown>$PARAM[ondown]</ondown>
					<onup>$PARAM[onup]</onup>
					<include content="Bounce_Right">
						<param name="id">$PARAM[id]</param>
					</include>
					<onright>SetProperty(BounceRight,1,home)</onright>
					<onright>noop</onright>
					<onleft>900</onleft>
					<!-- select action -->
					<onclick condition="!$PARAM[force_search]">SetProperty(Context.1.Label,$LOCALIZE[31378])</onclick>
					<onclick condition="!$PARAM[force_search]">SetProperty(Context.1.BuiltIn,RunScript(script.embuary.info,call=person,query=$INFO[ListItem.Label]))</onclick>
					<onclick condition="!$PARAM[force_search]">SetProperty(Context.2.Label,$LOCALIZE[31379])</onclick>
					<onclick condition="!$PARAM[force_search] + Window.IsVisible(fullscreeninfo)">SetProperty(Context.2.BuiltIn,SetProperty(DoNotUnpause,1,home)||SetProperty(CustomSearch,1,home)||Skin.SetString(CustomSearchTerm,$INFO[ListItem.Label])||Skin.SetString(CustomSearchEmbyID,$INFO[ListItem.Property(id)])||Dialog.Close(all)||ActivateWindow(1115)||AlarmClock(Wait,ClearProperty(CustomSearch,home),00:01,silent))</onclick>
					<onclick condition="!$PARAM[force_search] + !Window.IsVisible(fullscreeninfo)">SetProperty(Context.2.BuiltIn,SetProperty(CustomSearch,1,home)||Skin.SetString(CustomSearchTerm,$INFO[ListItem.Label])||Skin.SetString(CustomSearchEmbyID,$INFO[ListItem.Property(id)])||Dialog.Close(all)||ActivateWindow(1115)||AlarmClock(Wait,ClearProperty(CustomSearch,home),00:01,silent))</onclick>
					<onclick condition="!$PARAM[force_search]">RunScript(script.embuary.helper,action=createcontext)</onclick>
					<!-- non select action -->
					<onclick condition="$PARAM[force_search]">SetProperty(CustomSearch,1,home)</onclick>
					<onclick condition="$PARAM[force_search]">Skin.SetString(CustomSearchTerm,$INFO[ListItem.Label])</onclick>
					<onclick condition="$PARAM[force_search]">Skin.SetString(CustomSearchEmbyID,$INFO[ListItem.Property(id)])</onclick>
					<onclick condition="$PARAM[force_search]">Dialog.Close(all)</onclick>
					<onclick condition="$PARAM[force_search]">ActivateWindow(1115)</onclick>
					<onclick condition="$PARAM[force_search]">AlarmClock(Wait,ClearProperty(CustomSearch,home),00:01,silent)</onclick>
					<pagecontrol>$PARAM[id]1</pagecontrol>
					<viewtype label="$LOCALIZE[31006]">list</viewtype>
					<itemlayout width="257">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="CastLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout width="257">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="CastLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</focusedlayout>
					<include condition="$PARAM[use_custom_content]" content="ContainerContentPath">
						<param name="widget_target">$PARAM[widget_target]</param>
						<param name="sortby">$PARAM[sortby]</param>
						<param name="sortorder">$PARAM[sortorder]</param>
						<param name="limit">$PARAM[limit]</param>
						<param name="content">$PARAM[content]</param>
					</include>
				</control>
				<include content="ListMask">
					<param name="height" value="355"/>
					<param name="id" value="$PARAM[id]"/>
				</include>
			</control>
		</definition>
	</include>
	<!-- Profiles -->
	<include name="ProfileWidget">
		<param name="visible">true</param>
		<param name="headline">$LOCALIZE[416]</param>
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="use_custom_content">true</param>
		<param name="use_custom_onclick">false</param>
		<definition>
			<control type="group" id="$PARAM[id]1">
				<visible>$PARAM[visible]</visible>
				<visible>Integer.IsGreater(Container($PARAM[id]).NumItems,0) | Container($PARAM[id]).IsUpdating</visible>
				<width>100%</width>
				<height>390</height>
				<control type="fixedlist" id="$PARAM[id]">
					<include>FocusBounce</include>
					<width>100%</width>
					<movement>5</movement>
					<orientation>horizontal</orientation>
					<preloaditems>4</preloaditems>
					<ondown>$PARAM[ondown]</ondown>
					<onright>noop</onright>
					<onleft>900</onleft>
					<onup>$PARAM[onup]</onup>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick2]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick3]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick4]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick5]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick6]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick7]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick8]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick9]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick10]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick11]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick12]</onclick>
					<itemlayout width="296">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="ProfileLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout width="296">
						<include content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="ProfileLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</focusedlayout>
				</control>
				<include content="ListMask">
					<param name="height" value="277"/>
					<param name="id" value="$PARAM[id]"/>
				</include>
			</control>
		</definition>
	</include>
	<!-- Square -->
	<include name="SquareWidget">
		<param name="visible">true</param>
		<param name="content_visible">true</param>
		<param name="headline">$LOCALIZE[416]</param>
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="use_custom_content">true</param>
		<param name="use_custom_onclick">false</param>
		<param name="height">502</param>
		<param name="layout">SquareLayout</param>
		<param name="property_button">true</param>
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<visible>Integer.IsGreater(Container($PARAM[id]).NumItems,0) | Container($PARAM[id]).IsUpdating | $EXP[OnLibaryUpdate]</visible>
				<width>100%</width>
				<height>$PARAM[height]</height>
				<include content="WidgetHeadline">
					<param name="headline">$PARAM[headline]</param>
					<param name="headline_icon">$PARAM[headline_icon]</param>
				</include>
				<include content="LoadingWidget">
					<param name="id" value="$PARAM[id]"/>
					<param name="shadow_width" value="286"/>
					<param name="shadow_height" value="286"/>
					<param name="width" value="280"/>
					<param name="height" value="280"/>
					<param name="focused" value="true" />
					<param name="focus_width" value="304"/>
					<param name="focus_height" value="304"/>
				</include>
				<control type="fixedlist" id="$PARAM[id]">
					<visible>$PARAM[content_visible]</visible>
					<include>FocusBounce</include>
					<movement>5</movement>
					<top>30</top>
					<width>100%</width>
					<include>ScrollTimeWidgets</include>
					<orientation>horizontal</orientation>
					<preloaditems>4</preloaditems>
					<ondown>$PARAM[ondown]</ondown>
					<onup>$PARAM[onup]</onup>
					<include content="Bounce_Right">
						<param name="id">$PARAM[id]</param>
					</include>
					<onright>SetProperty(BounceRight,1,home)</onright>
					<onright>noop</onright>
					<onleft>900</onleft>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick2]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick3]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick4]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick5]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick6]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick7]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick8]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick9]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick10]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick11]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick12]</onclick>
					<pagecontrol>$PARAM[id]1</pagecontrol>
					<viewtype label="$PARAM[list_name]">list</viewtype>
					<itemlayout width="300">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="$PARAM[layout]">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="visible_icon" value="$PARAM[visible_icon]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
								<param name="icon" value="$PARAM[icon]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout width="300">
						<include condition="$PARAM[property_button]" content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="$PARAM[layout]">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="visible_icon" value="$PARAM[visible_icon]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
								<param name="icon" value="$PARAM[icon]" />
							</include>
						</control>
					</focusedlayout>
					<include condition="$PARAM[use_custom_content]" content="ContainerContentPath">
						<param name="widget_target">$PARAM[widget_target]</param>
						<param name="sortby">$PARAM[sortby]</param>
						<param name="sortorder">$PARAM[sortorder]</param>
						<param name="limit">$PARAM[limit]</param>
						<param name="content">$PARAM[content]</param>
					</include>
				</control>
				<include content="ListMask">
					<param name="height" value="280"/>
					<param name="id" value="$PARAM[id]"/>
				</include>
			</control>
		</definition>
	</include>
	<!-- home menu -->
	<include name="WidgetMainMenu">
		<param name="headline">$LOCALIZE[416]</param>
		<definition>
			<control type="group" id="$PARAM[id]1">
				<visible>!Skin.HasSetting(HideMainMenu)</visible>
				<width>100%</width>
				<height>385</height>
				<include content="WidgetHeadline">
					<param name="headline">$PARAM[headline]</param>
				</include>
				<control type="fixedlist" id="$PARAM[id]">
					<include>FocusBounce</include>
					<top>30</top>
					<width>100%</width>
					<orientation>horizontal</orientation>
					<preloaditems>4</preloaditems>
					<movement>5</movement>
					<ondown>$PARAM[ondown]</ondown>s
					<onright>SetProperty(BounceRight,1,home)</onright>
					<include content="Bounce_Right">
						<param name="id">$PARAM[id]</param>
					</include>
					<onright>noop</onright>
					<onleft>900</onleft>
					<onup>$PARAM[onup]</onup>
					<include>ScrollTimeWidgets</include>
					<itemlayout width="300">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="MainMenuLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout width="300">
						<include content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="MainMenuLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</focusedlayout>
					<content>
						<include>Home_Menu</include>
					</content>
				</control>
				<include content="ListMask">
					<param name="height" value="158"/>
					<param name="id" value="$PARAM[id]"/>
				</include>
			</control>
		</definition>
	</include>
	<include name="HomeWidgetPanelMenu">
		<param name="headline">$LOCALIZE[416]</param>
		<definition>
			<control type="group" id="$PARAM[id]1">
				<width>100%</width>
				<height>1080</height>
				<control id="$PARAM[id]" type="panel">
					<include>FocusBounce</include>
					<width>auto</width>
					<height>1133</height>
					<onright>noop</onright>
					<ondown>noop</ondown>
					<onup>SetFocus(6666)</onup>
					<onleft>900</onleft>
					<include>ScrollTime</include>
					<orientation>vertical</orientation>
					<preloaditems>4</preloaditems>
					<defaultcontrol always="true">0</defaultcontrol>
					<itemlayout width="300" height="233">
						<control type="group">
							<left>70</left>
							<top>114</top>
							<include content="MainMenuLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout width="300" height="233">
						<include content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>114</top>
							<include content="MainMenuLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</focusedlayout>
					<content>
						<include>Home_Menu</include>
					</content>
				</control>
			</control>
		</definition>
	</include>
	<!-- small menu -->
	<include name="WidgetSmallMenu">
		<param name="headline">$LOCALIZE[416]</param>
		<param name="mainlabel">$INFO[ListItem.Label]</param>
		<param name="visible">true</param>
		<definition>
			<control type="group" id="$PARAM[id]1">
				<visible>$PARAM[visible]</visible>
				<width>100%</width>
				<height>239</height>
				<include content="WidgetHeadline">
					<param name="headline">$PARAM[headline]</param>
				</include>
				<control type="fixedlist" id="$PARAM[id]">
					<include>FocusBounce</include>
					<top>28</top>
					<width>100%</width>
					<orientation>horizontal</orientation>
					<preloaditems>4</preloaditems>
					<movement>6</movement>
					<ondown>$PARAM[ondown]</ondown>s
					<onright>SetProperty(BounceRight,1,home)</onright>
					<include content="Bounce_Right">
						<param name="id">$PARAM[id]</param>
					</include>
					<onright>noop</onright>
					<onleft>900</onleft>
					<onup>$PARAM[onup]</onup>
					<include>ScrollTimeWidgets</include>
					<itemlayout width="255">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="SmallMenuLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout width="255">
						<include content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="SmallMenuLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</focusedlayout>
					<content>
						<item>
							<property name="fallback">true</property>
							<label>$LOCALIZE[31028]</label>
							<onclick condition="Window.IsVisible(1120)">RunScript(script.skinshortcuts,type=manage&amp;group=moviehub)</onclick>
							<onclick condition="Window.IsVisible(1121)">RunScript(script.skinshortcuts,type=manage&amp;group=tvshowhub)</onclick>
							<onclick condition="Window.IsVisible(1122)">RunScript(script.skinshortcuts,type=manage&amp;group=musichub)</onclick>
							<onclick condition="Window.IsVisible(1125)">RunScript(script.skinshortcuts,type=manage&amp;group=customhub)</onclick>
							<visible>Window.IsVisible(1120) | Window.IsVisible(1121) | Window.IsVisible(1122) | Window.IsVisible(1125)</visible>
							<visible>String.IsEmpty(Container($PARAM[id]).ListItemAbsolute(0).Property(id)) + String.IsEmpty(Container($PARAM[id]).ListItemAbsolute(1).Property(id))</visible>
						</item>
						<include content="$PARAM[content]">
							<param name="nr" value="$PARAM[nr]"/>
						</include>
					</content>
				</control>
				<include content="ListMask">
					<param name="height" value="56"/>
					<param name="id" value="$PARAM[id]"/>
				</include>
			</control>
		</definition>
	</include>
	<!-- Square settings -->
	<include name="SettingsWidget">
		<param name="visible">true</param>
		<param name="headline">$LOCALIZE[416]</param>
		<param name="mainlabel">$INFO[ListItem.Label]</param>
		<param name="color">thumb_background_fallback_secondary</param>
		<param name="height">480</param>
		<definition>
			<control type="group" id="$PARAM[id]1">
				<visible>$PARAM[visible]</visible>
				<visible>Integer.IsGreater(Container($PARAM[id]).NumItems,0) | Container($PARAM[id]).IsUpdating</visible>
				<width>100%</width>
				<height>$PARAM[height]</height>
				<include content="WidgetHeadline">
					<param name="headline">$PARAM[headline]</param>
					<param name="id">$PARAM[id]</param>
				</include>
				<control type="fixedlist" id="$PARAM[id]">
					<include>FocusBounce</include>
					<top>30</top>
					<width>100%</width>
					<movement>5</movement>
					<orientation>horizontal</orientation>
					<preloaditems>4</preloaditems>
					<ondown>$PARAM[ondown]</ondown>
					<include content="Bounce_Right">
						<param name="id">$PARAM[id]</param>
					</include>
					<onright>SetProperty(BounceRight,1,home)</onright>
					<onright>noop</onright>
					<onleft>900</onleft>
					<onup>$PARAM[onup]</onup>
					<include>ScrollTimeWidgets</include>
					<itemlayout width="300">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="SettingsLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="" />
								<param name="color" value="$PARAM[color]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout width="300">
						<include content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="SettingsLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="" />
								<param name="color" value="$PARAM[color]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</focusedlayout>
					<include>$PARAM[content]</include>
				</control>
				<include content="ListMask">
					<param name="height" value="280"/>
					<param name="id" value="$PARAM[id]"/>
				</include>
			</control>
		</definition>
	</include>
	<!-- PVR -->
	<include name="PVRWidget">
		<param name="visible">true</param>
		<param name="headline">$LOCALIZE[416]</param>
		<param name="mainlabel">$VAR[MainListLabel]</param>
		<param name="sublabel">$VAR[SubListLabel]</param>
		<param name="use_custom_content">true</param>
		<param name="use_custom_onclick">false</param>
		<definition>
			<control type="group" id="$PARAM[id]1">
				<visible>$PARAM[visible]</visible>
				<visible>Integer.IsGreater(Container($PARAM[id]).NumItems,0) | Container($PARAM[id]).IsUpdating</visible>
				<width>100%</width>
				<include condition="String.IsEqual(Skin.String(EPGar),2to3)" content="ParamHeight">
					<param name="height" value="701"/>
				</include>
				<include condition="String.IsEqual(Skin.String(EPGar),4to3)" content="ParamHeight">
					<param name="height" value="573"/>
				</include>
				<include condition="String.IsEmpty(Skin.String(EPGar))" content="ParamHeight">
					<param name="height" value="588"/>
				</include>
				<include content="WidgetHeadline">
					<param name="headline">$VAR[PVRLabel]</param>
				</include>
				<control type="grouplist" id="$PARAM[id]01">
					<top>93</top>
					<left>68</left>
					<height>50</height>
					<orientation>horizontal</orientation>
					<itemgap>5</itemgap>
					<onleft>900</onleft>
					<onright>noop</onright>
					<onup>$PARAM[onup]</onup>
					<ondown>$PARAM[ondown]</ondown>
					<control type="button" id="$PARAM[id]02">
						<include>DarkGreyButton</include>
						<label>$LOCALIZE[10700]</label>
						<onup>$PARAM[onup]</onup>
						<ondown>$PARAM[id]</ondown>
						<onclick>ActivateWindow(tvchannels)</onclick>
					</control>
					<control type="button" id="$PARAM[id]03">
						<include>DarkGreyButton</include>
						<label>$LOCALIZE[19273]</label>
						<onup>$PARAM[onup]</onup>
						<ondown>$PARAM[id]</ondown>
						<onclick>ActivateWindow(tvguide)</onclick>
					</control>
					<control type="button" id="$PARAM[id]04">
						<include>DarkGreyButton</include>
						<label>$LOCALIZE[31304]</label>
						<onup>$PARAM[onup]</onup>
						<ondown>$PARAM[id]</ondown>
						<onclick>ActivateWindow(tvsearch)</onclick>
					</control>
					<control type="button" id="$PARAM[id]05">
						<include>DarkGreyButton</include>
						<label>$LOCALIZE[19017]</label>
						<onup>$PARAM[onup]</onup>
						<ondown>$PARAM[id]</ondown>
						<onclick>ActivateWindow(tvrecordings)</onclick>
					</control>
					<control type="button" id="$PARAM[id]06">
						<include>DarkGreyButton</include>
						<label>$LOCALIZE[19040]</label>
						<onup>$PARAM[onup]</onup>
						<ondown>$PARAM[id]</ondown>
						<onclick>ActivateWindow(tvtimers)</onclick>
					</control>
					<control type="button" id="$PARAM[id]07">
						<include>DarkGreyButton</include>
						<label>$LOCALIZE[19138]</label>
						<onup>$PARAM[onup]</onup>
						<ondown>$PARAM[id]</ondown>
						<onclick>ActivateWindow(tvtimerrules)</onclick>
					</control>
					<control type="button" id="$PARAM[id]08">
						<include>DarkGreyButton</include>
						<label>$LOCALIZE[19024]</label>
						<onup>$PARAM[onup]</onup>
						<ondown>$PARAM[id]</ondown>
						<onclick>ActivateWindow(radiochannels)</onclick>
						<visible>Pvr.HasRadioChannels</visible>
					</control>
				</control>
				<include content="WidgetHeadline">
					<param name="top">143</param>
					<param name="headline">$PARAM[headline]</param>
					<param name="id">$PARAM[id]</param>
				</include>
				<control type="fixedlist" id="$PARAM[id]">
					<include>FocusBounce</include>
					<top>150</top>
					<width>100%</width>
					<include condition="String.IsEmpty(Skin.String(EPGar))" content="ParamMovement">
						<param name="nr" value="3"/>
					</include>
					<include condition="String.IsEqual(Skin.String(EPGar),4to3)" content="ParamMovement">
						<param name="nr" value="4"/>
					</include>
					<include condition="String.IsEqual(Skin.String(EPGar),2to3)" content="ParamMovement">
						<param name="nr" value="6"/>
					</include>
					<orientation>horizontal</orientation>
					<preloaditems>4</preloaditems>
					<ondown>$PARAM[ondown]</ondown>
					<include content="Bounce_Right">
						<param name="id">$PARAM[id]</param>
					</include>
					<onright>SetProperty(BounceRight,1,home)</onright>
					<onright>noop</onright>
					<onleft>900</onleft>
					<onup>$PARAM[id]01</onup>
					<include>ScrollTimeWidgets</include>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick2]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick3]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick4]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick5]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick6]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick7]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick8]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick9]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick10]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick11]</onclick>
					<onclick condition="$PARAM[use_custom_onclick]">$PARAM[onclick12]</onclick>
					<itemlayout condition="String.IsEmpty(Skin.String(EPGar))" width="450">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="PVRLandscapeLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$INFO[ListItem.Channelname]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout condition="String.IsEmpty(Skin.String(EPGar))" width="450">
						<include content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="PVRLandscapeLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$INFO[ListItem.Channelname]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</focusedlayout>
					<itemlayout condition="String.IsEqual(Skin.String(EPGar),4to3)" width="360">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="PVR4to3Layout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$INFO[ListItem.Channelname]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout condition="String.IsEqual(Skin.String(EPGar),4to3)" width="360">
						<include content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="PVR4to3Layout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$INFO[ListItem.Channelname]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</focusedlayout>
					<itemlayout condition="String.IsEqual(Skin.String(EPGar),2to3)" width="257">
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="PVRPosterLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$INFO[ListItem.Channelname]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="focused" value="false" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</itemlayout>
					<focusedlayout condition="String.IsEqual(Skin.String(EPGar),2to3)" width="257">
						<include content="SetPropertyOnFocus">
							<param name="id" value="$PARAM[id]"/>
						</include>
						<control type="group">
							<left>70</left>
							<top>64</top>
							<include content="PVRPosterLayout">
								<param name="mainlabel" value="$PARAM[mainlabel]" />
								<param name="sublabel" value="$PARAM[sublabel]" />
								<param name="thumblabel" value="$INFO[ListItem.Channelname]" />
								<param name="labels_visible" value="$PARAM[labels_visible]" />
								<param name="focused" value="true" />
								<param name="id" value="$PARAM[id]" />
							</include>
						</control>
					</focusedlayout>
					<include condition="$PARAM[use_custom_content]" content="ContainerContentPath">
						<param name="id" value="$PARAM[id]" />
						<param name="showdummy" value="String.IsEmpty(Container($PARAM[id]).ListItemAbsolute(0).Channelname)" />
						<param name="dummylabel" value="$LOCALIZE[31285]" />
						<param name="dummylabel2" value="$LOCALIZE[19023]" />
						<param name="dummyaction" value="ActivateWindow(tvchannels)" />
						<param name="widget_target">$PARAM[widget_target]</param>
						<param name="sortby">$PARAM[sortby]</param>
						<param name="sortorder">$PARAM[sortorder]</param>
						<param name="limit">$PARAM[limit]</param>
						<param name="content">$PARAM[content]</param>
					</include>
				</control>
				<control type="group">
					<top>102</top>
					<include content="ListMask">
						<param name="top" value="110"/>
						<param name="height" value="242"/>
						<param name="id" value="$PARAM[id]"/>
					</include>
				</control>
			</control>
		</definition>
	</include>
</includes>
