<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<!-- Common templates -->
	<include name="ParamHeight">
		<height>$PARAM[height]</height>
	</include>
	<include name="ParamWidth">
		<width>$PARAM[width]</width>
	</include>
	<include name="ParamLeft">
		<left>$PARAM[left]</left>
	</include>
	<include name="ParamMovement">
		<movement>$PARAM[nr]</movement>
	</include>
	<include name="DefaultControl">
		<param name="always">true</param>
		<param name="id">100</param>
		<definition>
			<defaultcontrol always="$PARAM[always]">$PARAM[id]</defaultcontrol>
		</definition>
	</include>
	<include name="ScrollTime">
		<scrolltime tween="sine" easing="inout">200</scrolltime>
	</include>
	<include name="ScrollTimeWidgets">
		<scrolltime tween="linear" easing="inout">200</scrolltime>
	</include>
	<include name="FullscreenDimensions">
		<width>1920</width>
		<height>1080</height>
	</include>
	<!-- Hidden object -->
	<include name="HiddenObject">
		<left>-3000</left>
		<top>-3000</top>
		<width>1</width>
		<height>1</height>
		<texturefocus />
		<texturenofocus />
		<label></label>
		<font></font>
		<itemlayout/>
		<focusedlayout/>
	</include>
	<!-- Container / widget includes -->
	<include name="ContainerContentPath">
		<param name="showdummy">false</param>
		<param name="dummylabel">$LOCALIZE[31284]</param>
		<definition>
			<content>
				<item>
					<label>$LOCALIZE[1024]</label>
					<icon>items/genrefolder.png</icon>
					<onclick>ActivateWindow(videos,$PARAM[content],return)</onclick>
					<visible>Window.Is(1114) + [!String.IsEmpty(Container($PARAM[id]).ListItemAbsolute(1).Label) | Container($PARAM[id]).IsUpdating]</visible>
				</item>
				<item>
					<label>$PARAM[dummylabel]</label>
					<label2>$PARAM[dummylabel2]</label2>
					<icon>$PARAM[dummyicon]</icon>
					<onclick>$PARAM[dummyaction]</onclick>
					<property name="IsFolder">true</property>
					<property name="IsDummy">true</property>
					<visible>String.IsEmpty(Container($PARAM[id]).ListItemAbsolute(1).Label) + [$PARAM[showdummy]]</visible>
				</item>
			</content>
			<content target="$PARAM[widget_target]" sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]" limit="$PARAM[limit]">$PARAM[content]</content>
			<content target="$PARAM[widget_target2]" sortby="$PARAM[sortby2]" sortorder="$PARAM[sortorder2]" limit="$PARAM[limit2]">$PARAM[content2]</content>
		</definition>
	</include>
	<include name="WidgetDummy">
		<control type="group" id="$PARAM[id]1">
			<visible>false</visible>
			<control type="fixedlist" id="$PARAM[id]">
				<ondown>$PARAM[ondown]</ondown>
				<onup>$PARAM[onup]</onup>
				<itemlayout/>
				<focusedlayout/>
			</control>
		</control>
	</include>
	<!-- Fake busy spinner -->
	<include name="CustomBusySpinner">
		<param name="visible">Container.IsUpdating</param>
		<param name="diffuse">true</param>
		<param name="delay">false</param>
		<definition>
			<control type="group">
				<animation effect="fade" start="100" end="0" time="0" delay="100" condition="$PARAM[delay]">Hidden</animation>
				<visible>$PARAM[visible]</visible>
				<include condition="$PARAM[diffuse]" content="DiffuseMask"/>
				<include condition="!$PARAM[diffuse]" content="PlainBackground"/>
				<include>BusySpinner</include>
				<control type="label">
					<bottom>35%</bottom>
					<width>100%</width>
					<height>50</height>
					<font>Med28</font>
					<label>$PARAM[label]</label>
					<align>center</align>
					<aligny>top</aligny>
				</control>
			</control>
		</definition>
	</include>
	<!-- Diffuse background -->
	<include name="DiffuseMask">
		<param name="color">black_diffuse</param>
		<param name="visible">true</param>
		<definition>
			<control type="image" id="$PARAM[id]">
				<include>Visible_Fade</include>
				<include>FullscreenDimensions</include>
				<texture colordiffuse="$PARAM[color]">common/white.jpg</texture>
				<aspectratio>stretch</aspectratio>
				<visible>$PARAM[visible]</visible>
			</control>
		</definition>
	</include>
	<!-- Solid background -->
	<include name="PlainBackground">
		<control type="image">
			<include>FullscreenDimensions</include>
			<texture colordiffuse="background">common/white.jpg</texture>
			<visible>$PARAM[visible]</visible>
		</control>
	</include>
	<!-- Music Background -->
	<include name="MusicBackground">
		<!-- Fallback -->
		<control type="image">
			<include>FullscreenDimensions</include>
			<texture>views/player/music_back.jpg</texture>
			<visible>Window.IsVisible(visualisation) + [Skin.HasSetting(VisFanartDisabled) | String.IsEmpty(Player.Art(fanart))]</visible>
		</control>
		<!-- Visualisation -->
		<control type="visualisation">
			<include>FullscreenDimensions</include>
			<visible>Visualisation.Enabled</visible>
		</control>
		<!-- Fanart -->
		<control type="group">
			<animation effect="fade" end="33" start="100" time="0" condition="Visualisation.Enabled">Conditional</animation>
			<animation effect="fade" end="33" start="100" time="400" condition="!Visualisation.Enabled + [Window.IsVisible(visualisation) + !String.IsEmpty(Window(Home).Property(culrc.lyrics)) + Window.IsVisible(script-cu-lrclyrics-main.xml)]">Conditional</animation>
			<control type="image">
				<include>FullscreenDimensions</include>
				<fadetime>400</fadetime>
				<texture background="true">$INFO[Player.Art(fanart)]</texture>
				<aspectratio>keep</aspectratio>
				<include>VisAnimation</include>
				<visible>!Skin.HasSetting(VisFanartDisabled) + !$EXP[ArtistSlideshow]</visible>
			</control>
			<!-- Artist Slideshow v2 -->
			<control type="multiimage">
				<include>FullscreenDimensions</include>
				<fadetime>400</fadetime>
				<randomize>true</randomize>
				<aspectratio>keep</aspectratio>
				<timeperimage>10000</timeperimage>
				<imagepath background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow)]</imagepath>
				<include>VisAnimation</include>
				<visible>$EXP[ArtistSlideshow] + String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image))</visible>
			</control>
			<!-- Artist Slideshow v3 -->
			<control type="image">
				<include>FullscreenDimensions</include>
				<fadetime>400</fadetime>
				<texture background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow.Image)]</texture>
				<aspectratio>keep</aspectratio>
				<include>VisAnimation</include>
				<visible>$EXP[ArtistSlideshow] + !String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image))</visible>
			</control>
		</control>
	</include>
	<!-- Background -->
	<include name="Background">
		<param name="forced_visible">false</param>
		<definition>
			<!-- hidden -->
			<control type="image" id="100000">
				<include>HiddenObject</include>
				<texture background="true">$VAR[BackgroundSource]</texture>
			</control>
			<control type="multiimage" id="100001">
				<include>HiddenObject</include>
				<imagepath background="true">$INFO[Skin.String(RandomBackgroundImage)]</imagepath>
				<timeperimage>15000</timeperimage>
				<fadetime>0</fadetime>
				<pauseatend>10000</pauseatend>
				<randomize>true</randomize>
			</control>
			<control type="videowindow">
				<description>Workaround for Leia bug / video sound stuttering</description>
				<include>HiddenObject</include>
				<visible>Player.HasVideo + Skin.HasSetting(HideBackgroundPlayback)</visible>
			</control>
			<!-- plain color -->
			<include>PlainBackground</include>
			<!-- background -->
			<control type="group">
				<visible>!$EXP[HideBackground] | $PARAM[forced_visible]</visible>
				<!-- media -->
				<control type="group">
					<visible>[Player.HasVideo | Player.HasGame] + !Skin.HasSetting(HideBackgroundPlayback)</visible>
					<control type="videowindow">
						<include>FullscreenDimensions</include>
						<visible>Player.HasVideo</visible>
					</control>
					<control type="gamewindow">
						<include>FullscreenDimensions</include>
						<visible>Player.HasGame</visible>
					</control>
				</control>
				<!-- images -->
				<control type="group">
					<visible>[!Player.HasVideo + !Player.HasGame] | Skin.HasSetting(HideBackgroundPlayback)</visible>
					<visible>!Window.Is(tvguide) + !String.IsEmpty(Control.GetLabel(100000))</visible>
					<control type="group">
						<include>Visible_Fade</include>
						<control type="image">
							<include>FullscreenDimensions</include>
							<texture background="true">$VAR[BackgroundImage]</texture>
							<fadetime>1000</fadetime>
							<aspectratio>scale</aspectratio>
						</control>
						<control type="image">
							<include>FullscreenDimensions</include>
							<texture>common/white.jpg</texture>
							<colordiffuse>ff000000</colordiffuse>
							<animation effect="fade" start="100" end="30" time="0" condition="true">Conditional</animation>
							<visible>Skin.HasSetting(BlurEnabled) + !String.IsEmpty(Window(home).Property(listitem_blurred))</visible>
						</control>
					</control>
				</control>
			</control>
			<!-- diffuse and vignette -->
			<control type="group">
				<animation effect="fade" start="100" end="80" time="0" condition="$EXP[BlurVignette] + [!$EXP[HideBackground] | $PARAM[forced_visible]]">Conditional</animation>
				<control type="image">
					<include>FullscreenDimensions</include>
					<texture>special://skin/extras/themes/$VAR[SkinTheme]/background.jpg</texture>
					<animation effect="fade" start="100" end="90" time="0" condition="String.IsEqual(Skin.String(BackgroundOpacity),darkest)">Conditional</animation>
					<animation effect="fade" start="100" end="80" time="0" condition="String.IsEqual(Skin.String(BackgroundOpacity),darker) | String.IsEmpty(Skin.String(BackgroundOpacity))">Conditional</animation>
					<animation effect="fade" start="100" end="70" time="0" condition="String.IsEqual(Skin.String(BackgroundOpacity),dark)">Conditional</animation>
					<animation effect="fade" start="100" end="60" time="0" condition="String.IsEqual(Skin.String(BackgroundOpacity),bright)">Conditional</animation>
					<animation effect="fade" start="100" end="50" time="0" condition="String.IsEqual(Skin.String(BackgroundOpacity),brighter)">Conditional</animation>
					<animation effect="fade" start="100" end="40" time="0" condition="String.IsEqual(Skin.String(BackgroundOpacity),brightest)">Conditional</animation>
				</control>
			</control>
			<control type="group">
				<animation effect="fade" start="100" end="80" time="0" condition="$EXP[BlurVignette] + [!$EXP[HideBackground] | $PARAM[forced_visible]]">Conditional</animation>
				<!-- no vignette for windows without background image in default skin -->
				<control type="image">
					<visible>$EXP[IsDefaultSkin]</visible>
					<visible>!$EXP[HideBackground] | $PARAM[forced_visible]</visible>
					<visible>
						[!Window.Is(tvguide) + !String.IsEmpty(Control.GetLabel(100000))]
						| [!Window.Is(tvguide) + Skin.HasSetting(BlurEnabled) + !String.IsEmpty(Window(home).Property(listitem_blurred))]
						| [[Player.HasVideo | Player.HasGame] + !Skin.HasSetting(HideBackgroundPlayback)]
					</visible>
					<include>FullscreenDimensions</include>
					<texture>special://skin/extras/themes/$VAR[SkinTheme]/vignette.png</texture>
				</control>
				<!-- always show vignette for all other skins -->
				<control type="image">
					<visible>!$EXP[IsDefaultSkin]</visible>
					<include>FullscreenDimensions</include>
					<texture>special://skin/extras/themes/$VAR[SkinTheme]/vignette.png</texture>
				</control>
			</control>
			<control type="image">
				<include>FullscreenDimensions</include>
				<texture background="true">holiday/winter/frost.png</texture>
				<aspectratio>stretch</aspectratio>
				<visible>$EXP[HolidayTheme]</visible>
			</control>
		</definition>
	</include>
	<!-- Multi fanart background -->
	<include name="MultiFanart">
		<param name="id">2003</param>
		<param name="art">fanart</param>
		<definition>
			<control type="list" id="2003">
				<autoscroll time="15000">true</autoscroll>
				<include>HiddenObject</include>
				<content>
					<item>
						<label></label>
						<icon>$INFO[ListItem.Art($PARAM[art])]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(ListItem.Art($PARAM[art]))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[ListItem.Art($PARAM[art]1)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(ListItem.Art($PARAM[art]1))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[ListItem.Art($PARAM[art]2)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(ListItem.Art($PARAM[art]2))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[ListItem.Art($PARAM[art]3)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(ListItem.Art($PARAM[art]3))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[ListItem.Art($PARAM[art]4)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(ListItem.Art($PARAM[art]4))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[ListItem.Art($PARAM[art]5)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(ListItem.Art($PARAM[art]5))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[ListItem.Art($PARAM[art]6)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(ListItem.Art($PARAM[art]6))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[ListItem.Art($PARAM[art]7)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(ListItem.Art($PARAM[art]7))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[ListItem.Art($PARAM[art]8)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(ListItem.Art($PARAM[art]8))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[ListItem.Art($PARAM[art]9)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(ListItem.Art($PARAM[art]9))</visible>
					</item>
				</content>
			</control>
		</definition>
	</include>
	<include name="MultiFanartTmdbPerson">
		<param name="id">2003</param>
		<param name="art">fanart</param>
		<definition>
			<control type="list" id="2003">
				<autoscroll time="15000">true</autoscroll>
				<include>HiddenObject</include>
				<content>
					<item>
						<label></label>
						<icon>$INFO[Container(10052).ListItemAbsolute(0).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10052).ListItemAbsolute(0).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10052).ListItemAbsolute(1).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10052).ListItemAbsolute(1).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10052).ListItemAbsolute(2).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10052).ListItemAbsolute(2).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10052).ListItemAbsolute(3).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10052).ListItemAbsolute(3).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10052).ListItemAbsolute(4).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10052).ListItemAbsolute(4).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10052).ListItemAbsolute(5).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10052).ListItemAbsolute(5).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10052).ListItemAbsolute(6).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10052).ListItemAbsolute(6).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10052).ListItemAbsolute(7).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10052).ListItemAbsolute(7).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10052).ListItemAbsolute(8).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10052).ListItemAbsolute(8).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10052).ListItemAbsolute(9).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10052).ListItemAbsolute(9).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10052).ListItemAbsolute(10).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10052).ListItemAbsolute(10).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10053).ListItemAbsolute(0).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10053).ListItemAbsolute(0).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10053).ListItemAbsolute(1).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10053).ListItemAbsolute(1).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10053).ListItemAbsolute(2).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10053).ListItemAbsolute(2).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10053).ListItemAbsolute(3).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10053).ListItemAbsolute(3).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10053).ListItemAbsolute(4).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10053).ListItemAbsolute(4).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10053).ListItemAbsolute(5).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10053).ListItemAbsolute(5).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10053).ListItemAbsolute(6).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10053).ListItemAbsolute(6).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10053).ListItemAbsolute(7).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10053).ListItemAbsolute(7).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10053).ListItemAbsolute(8).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10053).ListItemAbsolute(8).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10053).ListItemAbsolute(9).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10053).ListItemAbsolute(9).Art(fanart))</visible>
					</item>
					<item>
						<label></label>
						<icon>$INFO[Container(10053).ListItemAbsolute(10).Art(fanart)]</icon>
						<onclick>noop</onclick>
						<visible>!String.IsEmpty(Container(10053).ListItemAbsolute(10).Art(fanart))</visible>
					</item>
				</content>
			</control>
		</definition>
	</include>
	<!-- No textures -->
	<include name="NoTextures">
		<texturefocus></texturefocus>
		<texturenofocus></texturenofocus>
		<textureup></textureup>
		<texturedown></texturedown>
		<textureupfocus></textureupfocus>
		<texturedownfocus></texturedownfocus>
		<textureupdisabled></textureupdisabled>
		<texturedowndisabled></texturedowndisabled>
		<textureradioonfocus></textureradioonfocus>
		<textureradioonnofocus></textureradioonnofocus>
		<textureradioofffocus></textureradioofffocus>
		<textureradiooffnofocus></textureradiooffnofocus>
		<radiowidth></radiowidth>
		<radioheight></radioheight>
	</include>
	<!-- Spacer -->
	<include name="Spacer">
		<param name="visible" default="false" />
		<param name="width" default="0" />
		<param name="height" default="0" />
		<definition>
			<control type="label">
				<width>$PARAM[width]</width>
				<height>$PARAM[height]</height>
				<font>invisible</font>
				<label>$PARAM[label]</label>
				<visible>$PARAM[visible]</visible>
			</control>
		</definition>
	</include>
	<include name="WidgetSpacer">
		<param name="visible">true</param>
		<param name="height">120</param>
		<definition>
			<control type="label" id="$PARAM[id]">
				<width>1</width>
				<height>$PARAM[height]</height>
				<label/>
				<font/>
				<visible>$PARAM[visible]</visible>
			</control>
		</definition>
	</include>
	<!-- Panel -->
	<include name="ContentPanel">
		<param name="color">panel_background</param>
		<param name="width">100%</param>
		<definition>
			<control type="image">
				<texture colordiffuse="$PARAM[color]">common/white.jpg</texture>
				<aspectratio>stretch</aspectratio>
				<left>$PARAM[left]</left>
				<right>$PARAM[right]</right>
				<width>$PARAM[width]</width>
				<top>$PARAM[top]</top>
				<bottom>$PARAM[bottom]</bottom>
			</control>
		</definition>
	</include>
	<!-- Jump to letter layout -->
	<include name="JumpToLetterVertical">
		<param name="id">7000</param>
		<param name="top">0</param>
		<param name="visible">[Control.IsVisible(50) | Control.IsVisible(51) | Control.IsVisible(52) | Control.IsVisible(58) | Control.IsVisible(53)] + [[Container.HasNext | Container.HasPrevious] + [[Container.Content(movies) | Container.Content(sets) | Container.Content(episodes) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(artists) | Container.Content(albums) | Container.Content(addons)] + [String.IsEqual(Container.SortMethod,$LOCALIZE[551]) | String.IsEqual(Container.SortMethod,$LOCALIZE[561]) | String.IsEqual(Container.SortMethod,$LOCALIZE[558]) | String.IsEqual(Container.SortMethod,$LOCALIZE[557]) | String.IsEqual(Container.SortMethod,$LOCALIZE[556])]]]</param>
		<definition>
			<control type="group">
				<top>$PARAM[top]</top>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,2)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,3)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,4)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,5)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,6)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,7)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,8)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,9)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,10)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,11)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,12)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,13)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,14)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,15)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,16)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,17)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,18)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,19)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,20)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,21)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,22)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,23)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,24)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,25)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,26)">Conditional</animation>
				<animation effect="slide" time="0" end="0,17" condition="Integer.IsLess(Container($PARAM[id]).NumItems,27)">Conditional</animation>
				<control type="panel" id="$PARAM[id]">
					<visible>$PARAM[visible]</visible>
					<include>Visible_OpenClose</include>
					<right>12</right>
					<width>45</width>
					<centertop>50%</centertop>
					<height>924</height>
					<onleft>SetFocus(50)</onleft>
					<onright condition="Control.IsVisible(17)">17</onright>
					<onfocus condition="!Skin.HasSetting(MinimalFocusAnimation)">SetProperty(FocusBounce,1,home)</onfocus>
					<scrolltime>0</scrolltime>
					<orientation>vertical</orientation>
					<defaultcontrol>0</defaultcontrol>
					<itemlayout height="34" width="45">
						<include content="JumpToLetterItemlayout">
							<param name="id" value="$PARAM[id]"/>
						</include>
					</itemlayout>
					<focusedlayout condition="!Control.HasFocus($PARAM[id])" height="34" width="45">
						<include content="JumpToLetterItemlayout">
							<param name="id" value="$PARAM[id]"/>
						</include>
					</focusedlayout>
					<focusedlayout condition="Control.HasFocus($PARAM[id])" height="34" width="45">
						<include content="JumpToLetterFocusedlayout">
							<param name="id" value="$PARAM[id]"/>
						</include>
					</focusedlayout>
					<content>plugin://script.embuary.helper/?info=jumptoletter&amp;showall=false&amp;reload=$INFO[Container.NumItems]</content>
				</control>
			</control>
		</definition>
	</include>
	<include name="JumpToLetterHorizontal">
		<param name="id">7001</param>
		<param name="top">0</param>
		<param name="visible">[[Container.HasNext | Container.HasPrevious] + [[Container.Content(movies) | Container.Content(sets) | Container.Content(tvshows) | Container.Content(artists) | Container.Content(albums) | Container.Content(addons)] + [String.IsEqual(Container.SortMethod,$LOCALIZE[551]) | String.IsEqual(Container.SortMethod,$LOCALIZE[561]) | String.IsEqual(Container.SortMethod,$LOCALIZE[558]) | String.IsEqual(Container.SortMethod,$LOCALIZE[557]) | String.IsEqual(Container.SortMethod,$LOCALIZE[556])]]]</param>
		<definition>
			<control type="group">
				<top>$PARAM[top]</top>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,2)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,3)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,4)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,5)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,6)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,7)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,8)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,9)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,10)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,11)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,12)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,13)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,14)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,15)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,16)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,17)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,18)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,19)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,20)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,21)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,22)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,23)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,24)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,25)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,26)">Conditional</animation>
				<animation effect="slide" time="0" end="34,0" condition="Integer.IsLess(Container($PARAM[id]).NumItems,27)">Conditional</animation>
				<control type="panel" id="$PARAM[id]">
					<visible>$PARAM[visible]</visible>
					<include>Visible_OpenClose</include>
					<right>58</right>
					<width>924</width>
					<height>45</height>
					<onleft>noop</onleft>
					<onright>noop</onright>
					<onup>100</onup>
					<ondown>SetFocus(50)</ondown>
					<onfocus condition="!Skin.HasSetting(MinimalFocusAnimation)">SetProperty(FocusBounce,1,home)</onfocus>
					<scrolltime>0</scrolltime>
					<orientation>horizontal</orientation>
					<defaultcontrol>0</defaultcontrol>
					<itemlayout height="45" width="34">
						<include content="JumpToLetterItemlayout">
							<param name="id" value="$PARAM[id]"/>
						</include>
					</itemlayout>
					<focusedlayout condition="!Control.HasFocus($PARAM[id])" height="45" width="34">
						<include content="JumpToLetterItemlayout">
							<param name="id" value="$PARAM[id]"/>
						</include>
					</focusedlayout>
					<focusedlayout condition="Control.HasFocus($PARAM[id])" height="45" width="34">
						<include content="JumpToLetterFocusedlayout">
							<param name="id" value="$PARAM[id]"/>
						</include>
					</focusedlayout>
					<content>plugin://script.embuary.helper/?info=jumptoletter&amp;showall=false&amp;reload=$INFO[Container.NumItems]</content>
				</control>
			</control>
		</definition>
	</include>
	<include name="JumpToLetterItemlayout">
		<control type="group">
			<visible>!String.IsEqual(ListItem.Label,Container.ListItem.SortLetter) + !String.IsEqual(ListItem.Property(IsNumber),Container.ListItem.SortLetter)</visible>
			<animation effect="fade" start="100" end="70" time="0" condition="!Control.HasFocus($PARAM[id])">Conditional</animation>
			<control type="textbox">
				<width>40</width>
				<height>40</height>
				<font>JumpToLetter</font>
				<align>center</align>
				<aligny>center</aligny>
				<textcolor>text_sublabel</textcolor>
				<label>$INFO[ListItem.Label]</label>
				<visible>String.IsEmpty(ListItem.Property(NotAvailable))</visible>
			</control>
			<control type="textbox">
				<width>40</width>
				<height>40</height>
				<font>JumpToLetter</font>
				<align>center</align>
				<aligny>center</aligny>
				<textcolor>disabled</textcolor>
				<label>$INFO[ListItem.Label]</label>
				<visible>!String.IsEmpty(ListItem.Property(NotAvailable))</visible>
			</control>
		</control>
		<control type="textbox">
			<width>40</width>
			<height>40</height>
			<font>JumpToLetter</font>
			<align>center</align>
			<aligny>center</aligny>
			<textcolor>white</textcolor>
			<label>$INFO[ListItem.Label]</label>
			<visible>String.IsEqual(ListItem.Label,Container.ListItem.SortLetter) | String.IsEqual(ListItem.Property(IsNumber),Container.ListItem.SortLetter)</visible>
		</control>
	</include>
	<include name="JumpToLetterFocusedlayout">
		<control type="group">
			<control type="image">
				<left>-5</left>
				<width>51</width>
				<height>51</height>
				<texture border="20,20,20,20" colordiffuse="$VAR[AccentColor]">items/focus.png</texture>
				<visible>Control.HasFocus($PARAM[id])</visible>
			</control>
			<control type="textbox">
				<width>40</width>
				<height>40</height>
				<font>JumpToLetter</font>
				<align>center</align>
				<aligny>center</aligny>
				<textcolor>white</textcolor>
				<label>$INFO[ListItem.Label]</label>
			</control>
		</control>
	</include>
	<!-- Scrollbars -->
	<include name="Scrollbar">
		<param name="id">17</param>
		<param name="width">8</param>
		<param name="top">0</param>
		<param name="bottom">0</param>
		<param name="onup">noop</param>
		<param name="ondown">noop</param>
		<param name="onleft">noop</param>
		<param name="visible">$EXP[ScrollbarContainers]</param>
		<definition>
			<control type="scrollbar" id="$PARAM[id]">
				<visible>$PARAM[visible]</visible>
				<top>$PARAM[top]</top>
				<bottom>$PARAM[bottom]</bottom>
				<right>0</right>
				<width>$PARAM[width]</width>
				<onup>$PARAM[onup]</onup>
				<ondown>$PARAM[ondown]</ondown>
				<onleft>$PARAM[onleft]</onleft>
				<onleft condition="Control.IsVisible(50)">50</onleft>
				<onleft condition="Control.IsVisible(51)">51</onleft>
				<onleft condition="Control.IsVisible(52)">52</onleft>
				<onleft condition="Control.IsVisible(53)">53</onleft>
				<onleft condition="Control.IsVisible(58)">58</onleft>
				<onleft condition="Control.IsVisible(59)">59</onleft>
				<orientation>vertical</orientation>
				<showonepage>false</showonepage>
				<texturesliderbackground colordiffuse="scrollbar_background">common/white.jpg</texturesliderbackground>
				<texturesliderbar colordiffuse="scrollbar_slider">common/white.jpg</texturesliderbar>
				<texturesliderbarfocus colordiffuse="$VAR[AccentColor]">common/white.jpg</texturesliderbarfocus>
			</control>
		</definition>
	</include>
	<!-- Busy spinner -->
	<include name="BusySpinner">
		<param name="colordiffuse">$VAR[AccentColor]</param>
		<definition>
			<control type="image" id="$PARAM[id]">
				<centerleft>50%</centerleft>
				<centertop>50%</centertop>
				<width>150</width>
				<height>150</height>
				<texture colordiffuse="$PARAM[colordiffuse]">special://skin/extras/spinner.apng</texture>
				<aspectratio align="center" aligny="center">keep</aspectratio>
			</control>
		</definition>
	</include>
	<!-- Player Top -->
	<include name="PlayerTopBar">
		<control type="group" id="99">
			<control type="image" id="99">
				<top>0</top>
				<width>100%</width>
				<height>150</height>
				<texture colordiffuse="black">views/player/mask_top.png</texture>
			</control>
			<control type="image" id="99">
				<top>29</top>
				<left>29</left>
				<height>60</height>
				<width>250</width>
				<texture>$VAR[PlayerClearlogo]</texture>
				<aspectratio align="left" aligny="top">keep</aspectratio>
				<visible>!String.Contains(Player.Art(thumb),KodiCinemaMode) + !String.Contains(Player.Art(thumb),KodiTrailer)</visible>
			</control>
			<control type="label" id="99">
				<top>26</top>
				<left>29</left>
				<right>960</right>
				<height>35</height>
				<font>OSDTopFont</font>
				<textcolor>white</textcolor>
				<label>$VAR[PlayerTitleLabel]</label>
				<visible>
					[String.IsEmpty(Player.Art(tvshow.clearlogo)) + String.IsEmpty(Player.Art(clearlogo)) + String.IsEmpty(Player.Art(logo))]
					| String.Contains(Player.Art(thumb),KodiCinemaMode)
					| String.Contains(Player.Art(thumb),KodiTrailer)
				</visible>
			</control>
			<control type="grouplist" id="99">
				<top>26</top>
				<left>960</left>
				<right>29</right>
				<height>35</height>
				<align>right</align>
				<orientation>horizontal</orientation>
				<itemgap>0</itemgap>
				<control type="label" id="99">
					<width>auto</width>
					<align>right</align>
					<textcolor>white</textcolor>
					<font>Material28</font>
					<label>$VAR[PlayerSeekStepIcon]</label>
					<visible>!String.IsEmpty(Player.SeekStepSize) | !String.IsEmpty(Player.SeekOffset) | [Integer.IsGreater(Player.ChapterCount,1) + !String.IsEqual(Player.Chapter,00) + !String.IsEqual(Player.Chapter,-1)]</visible>
				</control>
				<control type="label" id="99">
					<width>auto</width>
					<align>right</align>
					<font>OSDTopFont</font>
					<textcolor>white</textcolor>
					<label>$VAR[TopPlayerSeekStepLabel, ]</label>
					<visible>!String.IsEmpty(Player.SeekStepSize) | !String.IsEmpty(Player.SeekOffset) | [Integer.IsGreater(Player.ChapterCount,1) + !String.IsEqual(Player.Chapter,00) + !String.IsEqual(Player.Chapter,-1)]</visible>
				</control>
				<control type="label" id="99">
					<width>auto</width>
					<align>right</align>
					<textcolor>white</textcolor>
					<font>Material28</font>
					<label>                        &#xf46e;</label>
					<visible>Player.IsTempo + !Player.Rewinding + !Player.Forwarding + !Player.Paused</visible>
				</control>
				<control type="label" id="99">
					<width>auto</width>
					<align>right</align>
					<font>OSDTopFont</font>
					<textcolor>white</textcolor>
					<label>$INFO[Player.Playspeed, ]</label>
					<visible>Player.IsTempo + !Player.Rewinding + !Player.Forwarding + !Player.Paused</visible>
				</control>
				<control type="label" id="99">
					<width>auto</width>
					<align>right</align>
					<font>Material28</font>
					<textcolor>white</textcolor>
					<label>                        &#xf45f;</label>
					<visible>Player.Rewinding</visible>
				</control>
				<control type="label" id="99">
					<width>auto</width>
					<align>right</align>
					<font>OSDTopFont</font>
					<textcolor>white</textcolor>
					<label>$VAR[PlayerForwardRewind, ]</label>
					<visible>Player.Rewinding</visible>
				</control>
				<control type="label" id="99">
					<width>auto</width>
					<align>right</align>
					<font>Material28</font>
					<textcolor>white</textcolor>
					<label>                        &#xf211;</label>
					<visible>Player.Forwarding</visible>
				</control>
				<control type="label" id="99">
					<width>auto</width>
					<align>right</align>
					<font>OSDTopFont</font>
					<textcolor>white</textcolor>
					<label>$VAR[PlayerForwardRewind, ]</label>
					<visible>Player.Forwarding</visible>
				</control>
				<control type="label" id="99">
					<width>auto</width>
					<align>right</align>
					<font>Material28</font>
					<textcolor>white</textcolor>
					<label>                        &#xf3e4;</label>
					<visible>Player.Paused</visible>
				</control>
				<control type="label" id="99">
					<width>auto</width>
					<align>right</align>
					<font>Material28</font>
					<textcolor>white</textcolor>
					<label>                        &#xf75e;</label>
					<visible>Player.Muted</visible>
				</control>
				<control type="label" id="99">
					<align>right</align>
					<width>auto</width>
					<font>OSDTopFont</font>
					<textcolor>white</textcolor>
					<label>   $INFO[System.Time]</label>
				</control>
			</control>
		</control>
	</include>
	<!-- Player progress bar dimensions -->
	<include name="PlayerProgressDimension">
		<centertop>50%</centertop>
		<left>119</left>
		<right>119</right>
		<height>5</height>
		<reveal>true</reveal>
		<righttexture></righttexture>
		<overlaytexture></overlaytexture>
		<lefttexture></lefttexture>
	</include>
	<!-- Weather templates -->
	<include name="WeatherSmall">
		<control type="group">
			<visible>$PARAM[visible]</visible>
			<left>5</left>
			<width>300</width>
			<control type="image">
				<height>100%</height>
				<texture background="true">$PARAM[art]</texture>
				<aspectratio>scale</aspectratio>
			</control>
			<control type="image">
				<centertop>50%</centertop>
				<height>272</height>
				<texture colordiffuse="66222326">common/white.jpg</texture>
			</control>
			<control type="group">
				<centertop>50%</centertop>
				<height>243</height>
				<control type="label">
					<left>23</left>
					<right>23</right>
					<height>38</height>
					<font>Light28</font>
					<label>$PARAM[day]</label>
					<textcolor>white</textcolor>
				</control>
				<control type="textbox">
					<left>23</left>
					<right>23</right>
					<top>49</top>
					<height>auto</height>
					<font>Med20</font>
					<label>$PARAM[outlook]</label>
					<autoscroll>False</autoscroll>
					<textcolor>text_white</textcolor>
				</control>
				<control type="image">
					<left>23</left>
					<right>23</right>
					<top>77</top>
					<width>140</width>
					<height>140</height>
					<texture background="true">$PARAM[icon]</texture>
					<aspectratio>keep</aspectratio>
				</control>
				<control type="label">
					<left>23</left>
					<right>23</right>
					<top>214</top>
					<height>30</height>
					<font>Med20</font>
					<textcolor>white</textcolor>
					<label>$PARAM[temp]</label>
				</control>
			</control>
		</control>
	</include>
	<!-- Action / property templates -->
	<include name="SearchAction">
		<onclick>SetProperty(CustomSearch,1,home)</onclick>
		<onclick>Skin.Reset(CustomSearchTerm)</onclick>
		<onclick>Skin.Reset(CustomSearchEmbyID)</onclick>
		<onclick>Skin.SetString(CustomSearchTerm)</onclick>
		<onclick>ActivateWindow(1115)</onclick>
	</include>
	<include name="ForceReloadAction">
		<onclick>SetProperty(ForceFocusReset,1,home)</onclick>
		<onclick>AlarmClock(ClearForceFocusReset,ClearProperty(ForceFocusReset,home),00:01,silent)</onclick>
	</include>
	<include name="ToggleWatchedAction">
		<onclick condition="String.StartsWith(ListItem.Path,plugin://plugin.video.embycon) + !String.IsEmpty(ListItem.Property(id))">RunScript(plugin.video.embycon,0,?mode=TOGGLE_WATCHED&amp;item_id=$INFO[ListItem.Property(id)])</onclick>
		<onclick condition="![String.StartsWith(ListItem.Path,plugin://plugin.video.embycon) + !String.IsEmpty(ListItem.Property(id))]">ToggleWatched</onclick>
	</include>
	<include name="SetPropertyOnFocus">
		<control type="button">
			<texturefocus></texturefocus>
			<texturenofocus></texturenofocus>
			<onfocus>ClearProperty(FocusBounce,home)</onfocus>
			<onfocus condition="String.IsEqual(Container($PARAM[id]).ListItem.DBType,movie) | String.IsEqual(Container($PARAM[id]).ListItem.DBType,season) | String.IsEqual(Container($PARAM[id]).ListItem.DBType,episode) | String.IsEqual(Container($PARAM[id]).ListItem.DBType,tvshow)">SetProperty(ListItemDBID,$INFO[Container($PARAM[id]).ListItem.DBID],home)</onfocus>
			<onfocus condition="String.IsEqual(Container($PARAM[id]).ListItem.DBType,movie) | String.IsEqual(Container($PARAM[id]).ListItem.DBType,season) | String.IsEqual(Container($PARAM[id]).ListItem.DBType,episode) | String.IsEqual(Container($PARAM[id]).ListItem.DBType,tvshow)">SetProperty(ListItemDBType,$INFO[Container($PARAM[id]).ListItem.DBType],home)</onfocus>
			<onfocus condition="!String.IsEmpty(Container($PARAM[id]).ListItem.Year)">SetProperty(ListItemYear,$INFO[Container($PARAM[id]).ListItem.Year],home)</onfocus>
			<onfocus condition="!String.IsEmpty(Container($PARAM[id]).ListItem.Imdbnumber)">SetProperty(ListItemImdbnumber,$INFO[Container($PARAM[id]).ListItem.Imdbnumber],home)</onfocus>
			<onfocus condition="!String.IsEmpty(Container($PARAM[id]).ListItem.Title)">SetProperty(ListItemTitle,$ESCINFO[Container($PARAM[id]).ListItem.Title],home)</onfocus>
			<onfocus condition="!String.IsEmpty(Container($PARAM[id]).ListItem.TvShowTitle)">SetProperty(ListItemTitle,$ESCINFO[Container($PARAM[id]).ListItem.TvShowTitle],home)</onfocus>

			<onfocus condition="[!String.IsEqual(Container($PARAM[id]).ListItem.DBType,movie) + !String.IsEqual(Container($PARAM[id]).ListItem.DBType,season) + !String.IsEqual(Container($PARAM[id]).ListItem.DBType,episode) + !String.IsEqual(Container($PARAM[id]).ListItem.DBType,tvshow)] | String.IsEqual(Container($PARAM[id]).ListItem.Label,$LOCALIZE[20366])">ClearProperty(ListItemDBID,home)</onfocus>
			<onfocus condition="[!String.IsEqual(Container($PARAM[id]).ListItem.DBType,movie) + !String.IsEqual(Container($PARAM[id]).ListItem.DBType,season) + !String.IsEqual(Container($PARAM[id]).ListItem.DBType,episode) + !String.IsEqual(Container($PARAM[id]).ListItem.DBType,tvshow)] | String.IsEqual(Container($PARAM[id]).ListItem.Label,$LOCALIZE[20366])">ClearProperty(ListItemDBType,home)</onfocus>
			<onfocus condition="String.IsEmpty(Container($PARAM[id]).ListItem.Year)">ClearProperty(ListItemYear,home)</onfocus>
			<onfocus condition="String.IsEmpty(Container($PARAM[id]).ListItem.Imdbnumber)">ClearProperty(ListItemImdbnumber,home)</onfocus>
			<onfocus condition="String.IsEmpty(Container($PARAM[id]).ListItem.Title) + String.IsEmpty(Container($PARAM[id]).ListItem.TvShowTitle)">ClearProperty(ListItemTitle,home)</onfocus>
		</control>
	</include>
	<include name="PropertyIncludes">
		<param name="ShowHeader">false</param>
		<definition>
			<onload condition="$PARAM[ShowHeader]">SetProperty(ShowHeader,1,home)</onload>
			<onload condition="$PARAM[ShowHeader]">AlarmClock(ShowHeader,ClearProperty(ShowHeader,home),00:02,silent)</onload>
			<onload>ClearProperty(FocusBounce,home)</onload>
			<onunload>ClearProperty(FocusBounce,home)</onunload>
			<onunload>ClearProperty(ShowHeader,home)</onunload>
			<onunload>ClearProperty(SideBarReset,home)</onunload>
			<onunload condition="System.HasAlarm(ShowHeader)">CancelAlarm(ShowHeader,silent)</onunload>
		</definition>
	</include>
	<include name="ClearFocusBounceBefore">
		<onclick>ClearProperty(FocusBounce,home)</onclick>
		<onclick>SetFocus(50)</onclick>
	</include>
	<!-- Widget / menu config templates -->
	<include name="CustomWidgetTemplate">
		<include content="SkinSettingsHeadlineLabel">
			<param name="id" value="$PARAM[id]1"/>
			<param name="label" value="$LOCALIZE[31200] $PARAM[nr]$INFO[Skin.String(UserWidget$PARAM[nr]_name), - ]"/>
		</include>
		<control type="button" id="$PARAM[id]2">
			<include>SettingsButton</include>
			<onclick>RunScript(script.skinshortcuts,type=shortcuts&amp;showNone=True&amp;custom=True&amp;grouping=widget&amp;skinLabel=UserWidget$PARAM[nr]_name&amp;skinAction=UserWidget$PARAM[nr]_action&amp;skinList=UserWidget$PARAM[nr]_path)</onclick>
			<label>$LOCALIZE[748]</label>
			<label2>$INFO[Skin.String(UserWidget$PARAM[nr]_path)]</label2>
		</control>
		<control type="button" id="$PARAM[id]3">
			<textcolor>$VAR[AccentColor]</textcolor>
			<texturenofocus colordiffuse="panel_subitem">common/white.jpg</texturenofocus>
			<include>SettingsButton</include>
			<onclick>SetProperty(custom_widget_nr,$PARAM[nr],home)</onclick>
			<onclick>ActivateWindow(1113)</onclick>
			<label>$LOCALIZE[31290]</label>
			<label2>$INFO[Skin.String(UserWidget$PARAM[nr]_target.label),$LOCALIZE[467]: ]$INFO[Skin.String(UserWidget$PARAM[nr]_layout.label),   $LOCALIZE[31101]: ]$INFO[Skin.String(UserWidget$PARAM[nr]_sortby),   $LOCALIZE[581]: ',']$INFO[Skin.String(UserWidget$PARAM[nr]_sortorder),   $LOCALIZE[21429]: ',']$INFO[Skin.String(UserWidget$PARAM[nr]_limit),   $LOCALIZE[31288]: ]</label2>
			<visible>!String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_path))</visible>
			<visible>![String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_target.label)) + String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_layout.label)) + String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_sortby.label)) + String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_sortorder.label)) + String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_limit.label))]</visible>
		</control>
		<control type="button" id="$PARAM[id]4">
			<textcolor>$VAR[AccentColor]</textcolor>
			<texturenofocus colordiffuse="panel_subitem">common/white.jpg</texturenofocus>
			<include>SettingsButton</include>
			<onclick>Action(up)</onclick>
			<onclick>SetProperty(custom_widget_nr,$PARAM[nr],home)</onclick>
			<onclick>ActivateWindow(1113)</onclick>
			<label>$LOCALIZE[31290]</label>
			<label2>$LOCALIZE[31289]</label2>
			<visible>!String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_path))</visible>
			<visible>String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_target.label)) + String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_layout.label)) + String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_sortby.label)) + String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_sortorder.label)) + String.IsEmpty(Skin.String(UserWidget$PARAM[nr]_limit.label))</visible>
		</control>
	</include>
	<include name="CustomWidgetConfigTemplate">
		<control type="button" id="101">
			<include>SettingsButton</include>
			<onclick>Skin.SetString(UserWidget$PARAM[nr]_name)</onclick>
			<label>$LOCALIZE[21864]</label>
			<label2>$INFO[Skin.String(UserWidget$PARAM[nr]_name)]</label2>
		</control>
		<control type="button" id="102">
			<include>SettingsButton</include>
			<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[3])</onclick>
			<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_target,videos)||Skin.SetString(UserWidget$PARAM[nr]_target.label,$LOCALIZE[3]))</onclick>
			<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[2])</onclick>
			<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_target,music)||Skin.SetString(UserWidget$PARAM[nr]_target.label,$LOCALIZE[2]))</onclick>
			<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[1])</onclick>
			<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_target,pictures)||Skin.SetString(UserWidget$PARAM[nr]_target.label,$LOCALIZE[1]))</onclick>
			<onclick>SetProperty(Dialog.4.Label,$LOCALIZE[29921])</onclick>
			<onclick>SetProperty(Dialog.4.BuiltIn,Skin.Reset(UserWidget$PARAM[nr]_target)||Skin.SetString(UserWidget$PARAM[nr]_target.label,$LOCALIZE[29921]))</onclick>
			<onclick>RunScript(script.embuary.helper,action=createselect,header=$LOCALIZE[467])</onclick>
			<label>$LOCALIZE[467]</label>
			<label2>$INFO[Skin.String(UserWidget$PARAM[nr]_target.label)]</label2>
		</control>
		<control type="button" id="103">
			<include>SettingsButton</include>
			<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[20021])</onclick>
			<onclick>SetProperty(Dialog.1.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_layout,HomePosterWidget)||Skin.SetString(UserWidget$PARAM[nr]_layout.label,$LOCALIZE[20021]))</onclick>
			<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[31004])</onclick>
			<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_layout,HomeWideWidget)||Skin.SetString(UserWidget$PARAM[nr]_layout.label,$LOCALIZE[31004]))</onclick>
			<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[31005])</onclick>
			<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_layout,HomeSquareWidget)||Skin.SetString(UserWidget$PARAM[nr]_layout.label,$LOCALIZE[31005]))</onclick>
			<onclick>RunScript(script.embuary.helper,action=createselect,header=$LOCALIZE[31101])</onclick>
			<label>$LOCALIZE[31101]</label>
			<label2>$INFO[Skin.String(UserWidget$PARAM[nr]_layout.label)]</label2>
		</control>
		<control type="radiobutton" id="104">
			<include>SettingsButton</include>
			<onclick>Skin.ToggleSetting(UserWidget$PARAM[nr]_forceIcon)</onclick>
			<label>$LOCALIZE[31344]</label>
			<selected>Skin.HasSetting(UserWidget$PARAM[nr]_forceIcon)</selected>
		</control>
		<control type="button" id="105">
			<include>SettingsButton</include>
			<label>$LOCALIZE[581]</label>
			<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[571])</onclick>
			<onclick>SetProperty(Dialog.1.BuiltIn,Skin.Reset(UserWidget$PARAM[nr]_sortby))</onclick>
			<onclick>SetProperty(Dialog.2.Label,Label)</onclick>
			<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,label))</onclick>
			<onclick>SetProperty(Dialog.3.Label,Title)</onclick>
			<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,title))</onclick>
			<onclick>SetProperty(Dialog.4.Label,TVShowTitle)</onclick>
			<onclick>SetProperty(Dialog.4.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,tvshowtitle))</onclick>
			<onclick>SetProperty(Dialog.5.Label,SortTitle)</onclick>
			<onclick>SetProperty(Dialog.5.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,sorttitle))</onclick>
			<onclick>SetProperty(Dialog.6.Label,Artist)</onclick>
			<onclick>SetProperty(Dialog.6.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,artist))</onclick>
			<onclick>SetProperty(Dialog.7.Label,Album)</onclick>
			<onclick>SetProperty(Dialog.7.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,album))</onclick>
			<onclick>SetProperty(Dialog.8.Label,Random)</onclick>
			<onclick>SetProperty(Dialog.8.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,random))</onclick>
			<onclick>SetProperty(Dialog.9.Label,Year)</onclick>
			<onclick>SetProperty(Dialog.9.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,year))</onclick>
			<onclick>SetProperty(Dialog.10.Label,DateAdded)</onclick>
			<onclick>SetProperty(Dialog.10.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,dateadded))</onclick>
			<onclick>SetProperty(Dialog.11.Label,LastPlayed)</onclick>
			<onclick>SetProperty(Dialog.11.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,lastplayed))</onclick>
			<onclick>SetProperty(Dialog.12.Label,PlayCount)</onclick>
			<onclick>SetProperty(Dialog.12.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,playcount))</onclick>
			<onclick>SetProperty(Dialog.13.Label,Season)</onclick>
			<onclick>SetProperty(Dialog.13.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,season))</onclick>
			<onclick>SetProperty(Dialog.14.Label,Episode)</onclick>
			<onclick>SetProperty(Dialog.14.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,episode))</onclick>
			<onclick>SetProperty(Dialog.15.Label,TrackNumber)</onclick>
			<onclick>SetProperty(Dialog.15.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortby,tracknumber))</onclick>
			<onclick>RunScript(script.embuary.helper,action=createselect,header=$LOCALIZE[581])</onclick>
			<label2>$INFO[Skin.String(UserWidget$PARAM[nr]_sortby),',']</label2>
		</control>
		<control type="button" id="106">
			<include>SettingsButton</include>
			<label>$LOCALIZE[580]</label>
			<onclick>SetProperty(Dialog.1.Label,$LOCALIZE[571])</onclick>
			<onclick>SetProperty(Dialog.1.BuiltIn,Skin.Reset(UserWidget$PARAM[nr]_sortorder))</onclick>
			<onclick>SetProperty(Dialog.2.Label,$LOCALIZE[584])</onclick>
			<onclick>SetProperty(Dialog.2.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortorder,ascending))</onclick>
			<onclick>SetProperty(Dialog.3.Label,$LOCALIZE[585])</onclick>
			<onclick>SetProperty(Dialog.3.BuiltIn,Skin.SetString(UserWidget$PARAM[nr]_sortorder,descending))</onclick>
			<onclick>RunScript(script.embuary.helper,action=createselect,header=$LOCALIZE[580])</onclick>
			<label2>$INFO[Skin.String(UserWidget$PARAM[nr]_sortorder),',']</label2>
		</control>
		<control type="button" id="107">
			<include>SettingsButton</include>
			<label>$LOCALIZE[21427]</label>
			<onclick>Skin.SetNumeric(UserWidget$PARAM[nr]_limit)</onclick>
			<label2>$INFO[Skin.String(UserWidget$PARAM[nr]_limit)]</label2>
		</control>
	</include>
	<include name="SmallSelectDialogItem">
		<param name="container">3</param>
		<definition>
			<control type="group">
				<visible>!String.IsEmpty(Container($PARAM[container]).ListItemPosition($PARAM[id]).Label)</visible>
				<width>100%</width>
				<height>50</height>
				<control type="image">
					<width>100%</width>
					<height>50</height>
					<texture border="65,10,65,10" colordiffuse="context_focusedcolor">dialogs/context/middle.png</texture>
					<visible>Container($PARAM[container]).Position($PARAM[id]) + Control.HasFocus($PARAM[container])</visible>
				</control>
				<control type="image">
					<width>100%</width>
					<height>50</height>
					<texture border="65,10,65,10" colordiffuse="context_color">dialogs/context/middle.png</texture>
					<visible>!Container($PARAM[container]).Position($PARAM[id]) | !Control.HasFocus($PARAM[container])</visible>
				</control>
				<control type="label">
					<width>100%</width>
					<height>50</height>
					<align>left</align>
					<aligny>center</aligny>
					<textoffsetx>80</textoffsetx>
					<font>Med20</font>
					<textcolor>context_textcolor_focused</textcolor>
					<shadowcolor>text_shadow</shadowcolor>
					<scroll>true</scroll>
					<label>$INFO[Container($PARAM[container]).ListItemPosition($PARAM[id]).Label]</label>
					<visible>!Container($PARAM[container]).ListItemPosition($PARAM[id]).IsSelected + Container($PARAM[container]).Position($PARAM[id]) + Control.HasFocus($PARAM[container])</visible>
				</control>
				<control type="label">
					<width>100%</width>
					<height>50</height>
					<align>left</align>
					<aligny>center</aligny>
					<textoffsetx>80</textoffsetx>
					<font>Med20</font>
					<textcolor>$VAR[AccentColor]</textcolor>
					<shadowcolor>text_shadow</shadowcolor>
					<scroll>true</scroll>
					<label>$INFO[Container($PARAM[container]).ListItemPosition($PARAM[id]).Label]</label>
					<visible>Container($PARAM[container]).ListItemPosition($PARAM[id]).IsSelected + Container($PARAM[container]).Position($PARAM[id]) + Control.HasFocus($PARAM[container])</visible>
				</control>
				<control type="label">
					<width>100%</width>
					<height>50</height>
					<align>left</align>
					<aligny>center</aligny>
					<textoffsetx>80</textoffsetx>
					<font>Med20</font>
					<textcolor>context_textcolor</textcolor>
					<shadowcolor>text_shadow</shadowcolor>
					<scroll>false</scroll>
					<label>$INFO[Container($PARAM[container]).ListItemPosition($PARAM[id]).Label]</label>
					<visible>!Container($PARAM[container]).ListItemPosition($PARAM[id]).IsSelected + ![Container($PARAM[container]).Position($PARAM[id]) + Control.HasFocus($PARAM[container])]</visible>
				</control>
				<control type="label">
					<width>100%</width>
					<height>50</height>
					<align>left</align>
					<aligny>center</aligny>
					<textoffsetx>80</textoffsetx>
					<font>Med20</font>
					<textcolor>$VAR[AccentColor]</textcolor>
					<shadowcolor>text_shadow</shadowcolor>
					<scroll>false</scroll>
					<label>$INFO[Container($PARAM[container]).ListItemPosition($PARAM[id]).Label]</label>
					<visible>Container($PARAM[container]).ListItemPosition($PARAM[id]).IsSelected + ![Container($PARAM[container]).Position($PARAM[id]) + Control.HasFocus($PARAM[container])]</visible>
				</control>
			</control>
		</definition>
	</include>
	<!-- View selector -->
	<include name="ViewSelector">
		<param name="onback">50</param>
		<definition>
			<control type="group">
				<include>FullscreenDimensions</include>
				<include content="DiffuseMask">
					<param name="visible">ControlGroup(4100).HasFocus</param>
				</include>
				<control type="group">
					<animation type="Conditional" reversible="false" condition="ControlGroup(4100).HasFocus">
						<effect type="slide" delay="0" start="0,-3000" end="0,0" time="0" />
						<effect type="zoom" start="80" end="100" center="960,540" delay="160" tween="circle" easin="out" time="240" />
						<effect type="fade" delay="160" end="100" time="240" />
					</animation>
					<animation type="Conditional" reversible="false" condition="!ControlGroup(4100).HasFocus">
						<effect type="slide" delay="240" end="0,-3000" start="0,0" time="0" />
						<effect type="zoom" start="100" end="80" center="960,540" easing="in" tween="circle" easin="out" time="240" />
						<effect type="fade" start="100" end="0" time="240" />
					</animation>
					<centerleft>50%</centerleft>
					<width>484</width>
					<centertop>50%</centertop>
					<height>970</height>
					<control type="grouplist" id="4100">
						<orientation>vertical</orientation>
						<height>auto</height>
						<align>center</align>
						<itemgap>0</itemgap>
						<onright>$PARAM[onback]</onright>
						<onleft>$PARAM[onback]</onleft>
						<onback>$PARAM[onback]</onback>
						<usecontrolcoords>true</usecontrolcoords>
						<control type="image" id="4101">
							<width>100%</width>
							<height>10</height>
							<texture border="65,0,65,0" colordiffuse="context_color">dialogs/context/top.png</texture>
						</control>
						<include>AvailableViews</include>
						<control type="image" id="4120">
							<width>100%</width>
							<height>10</height>
							<texture border="65,0,65,0" colordiffuse="context_color">dialogs/context/bottom.png</texture>
						</control>
					</control>
				</control>
			</control>
		</definition>
	</include>
	<include name="AvailableViews">
		<param name="id">41</param>
		<definition>
			<control type="radiobutton" id="$PARAM[id]02">
				<include content="ContextButton"/>
				<label>$LOCALIZE[20021]</label>
				<onclick>Container.SetViewMode(51)</onclick>
				<selected>Control.IsVisible(51)</selected>
				<visible>$EXP[PosterViewVisible]</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]03">
				<textcolor>$VAR[AccentColor]</textcolor>
				<texturenofocus border="65,10,65,10" colordiffuse="context_subitem">dialogs/context/middle.png</texturenofocus>
				<include content="ContextButton"/>
				<label>• $LOCALIZE[31198]</label>
				<onclick>Skin.ToggleSetting(HidePosterLabels)</onclick>
				<selected>Skin.HasSetting(HidePosterLabels)</selected>
				<visible>Control.IsVisible(51) + Window.IsVisible(myvideonav.xml) + !$EXP[ForceLabels]</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]04">
				<include content="ContextButton"/>
				<label>$LOCALIZE[31004]</label>
				<onclick>Container.SetViewMode(50)</onclick>
				<selected>Control.IsVisible(50)</selected>
				<visible>$EXP[WideViewVisible]</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]05">
				<textcolor>$VAR[AccentColor]</textcolor>
				<texturenofocus border="65,10,65,10" colordiffuse="context_subitem">dialogs/context/middle.png</texturenofocus>
				<include content="ContextButton"/>
				<label>• $LOCALIZE[31198]</label>
				<onclick>Skin.ToggleSetting(HideWideLabels)</onclick>
				<selected>Skin.HasSetting(HideWideLabels)</selected>
				<visible>Control.IsVisible(50) + Window.IsVisible(myvideonav.xml) + !$EXP[ForceLabels]</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]06">
				<include content="ContextButton"/>
				<label>$LOCALIZE[31199]</label>
				<onclick>Container.SetViewMode(56)</onclick>
				<selected>Control.IsVisible(56)</selected>
				<visible>$EXP[SetViewVisible]</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]07">
				<include content="ContextButton"/>
				<label>$LOCALIZE[31199]</label>
				<onclick>Container.SetViewMode(57)</onclick>
				<selected>Control.IsVisible(57)</selected>
				<visible>Window.IsVisible(tvchannels) | Window.IsVisible(tvrecordings)</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]08">
				<include content="ContextButton"/>
				<label>$LOCALIZE[20020]</label>
				<onclick>Container.SetViewMode(58)</onclick>
				<selected>Control.IsVisible(58)</selected>
				<visible>$EXP[BannerViewVisible]</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]09">
				<textcolor>$VAR[AccentColor]</textcolor>
				<texturenofocus border="65,10,65,10" colordiffuse="context_subitem">dialogs/context/middle.png</texturenofocus>
				<include content="ContextButton"/>
				<label>• $LOCALIZE[31198]</label>
				<onclick>Skin.ToggleSetting(HideBannerLabels)</onclick>
				<selected>Skin.HasSetting(HideBannerLabels)</selected>
				<visible>Control.IsVisible(58) + Window.IsVisible(myvideonav.xml) + !$EXP[ForceLabels]</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]10">
				<include content="ContextButton"/>
				<label>$LOCALIZE[31005]</label>
				<onclick>Container.SetViewMode(52)</onclick>
				<selected>Control.IsVisible(52)</selected>
				<visible>$EXP[SquareViewVisible]</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]11">
				<include content="ContextButton"/>
				<label>$LOCALIZE[20373]</label>
				<onclick>Container.SetViewMode(54)</onclick>
				<selected>Control.IsVisible(54)</selected>
				<visible>$EXP[SeasonViewVisible]</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]12">
				<include content="ContextButton"/>
				<label>$LOCALIZE[31199]</label>
				<onclick condition="!Skin.HasSetting(ViewEpisodeToggle)">Skin.ToggleSetting(ViewEpisodeToggle)</onclick>
				<onclick>Container.SetViewMode(55)</onclick>
				<selected>Control.IsVisible(55) + Skin.HasSetting(ViewEpisodeToggle)</selected>
				<visible>$EXP[EpisodeViewVisible]</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]13">
				<include content="ContextButton"/>
				<label>$LOCALIZE[535]</label>
				<onclick>Container.SetViewMode(53)</onclick>
				<selected>Control.IsVisible(53)</selected>
				<visible>$EXP[ListViewVisible]</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]14">
				<include content="ContextButton"/>
				<label>$LOCALIZE[31220]</label>
				<onclick>Container.SetViewMode(10)</onclick>
				<selected>Control.IsVisible(10)</selected>
				<visible>Window.IsVisible(MyPVRguide.xml)</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]15">
				<include content="ContextButton"/>
				<label>$LOCALIZE[31219]</label>
				<onclick>Container.SetViewMode(20)</onclick>
				<selected>Control.IsVisible(20)</selected>
				<visible>Window.IsVisible(MyPVRguide.xml)</visible>
			</control>
			<control type="radiobutton" id="$PARAM[id]16">
				<include content="ContextButton"/>
				<label>$LOCALIZE[537]</label>
				<onclick condition="Skin.HasSetting(ViewEpisodeToggle) + !Window.IsVisible(MyPVRRecordings.xml) + !Window.IsVisible(tvchannels)">Skin.ToggleSetting(ViewEpisodeToggle)</onclick>
				<onclick>Container.SetViewMode(59)</onclick>
				<selected>Control.IsVisible(59) + [!Skin.HasSetting(ViewEpisodeToggle) | Window.IsVisible(MyPVRRecordings.xml) | Window.IsVisible(tvchannels)]</selected>
				<visible>$EXP[EpisodeViewVisible] | Window.IsVisible(MyPVRRecordings.xml) | Window.IsVisible(tvchannels)</visible>
			</control>
		</definition>
	</include>
	<include name="FocusBounce">
		<onfocus>ClearProperty(FocusBounce,home)</onfocus>
		<onup condition="!Skin.HasSetting(MinimalFocusAnimation)">SetProperty(FocusBounce,1,home)</onup>
		<ondown condition="!Skin.HasSetting(MinimalFocusAnimation)">SetProperty(FocusBounce,1,home)</ondown>
		<onright condition="!Skin.HasSetting(MinimalFocusAnimation)">SetProperty(FocusBounce,1,home)</onright>
	</include>
	<!-- Green animated ruler -->
	<include name="GreenBar">
		<control type="image">
			<width>100%</width>
			<top>45</top>
			<height>2</height>
			<texture colordiffuse="grid_border">common/white.jpg</texture>
			<aspectratio>stretch</aspectratio>
		</control>
		<control type="image">
			<width>100%</width>
			<top>45</top>
			<height>2</height>
			<texture colordiffuse="$VAR[AccentColor]">common/white.jpg</texture>
			<aspectratio>stretch</aspectratio>
			<include>WindowOpen_GreenBar</include>
		</control>
	</include>
	<!-- Static menus -->
	<include name="PVRHub_Menu">
		<item>
			<label>$LOCALIZE[19023]</label>
			<onclick>ActivateWindow(tvchannels)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[19273]</label>
			<onclick>ActivateWindow(tvguide)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[31304]</label>
			<onclick>ActivateWindow(tvsearch)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[19017]</label>
			<onclick>ActivateWindow(tvrecordings)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[19040]</label>
			<onclick>ActivateWindow(tvtimers)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[19138]</label>
			<onclick>ActivateWindow(tvtimerrules)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[19024]</label>
			<onclick>ActivateWindow(radiochannels)</onclick>
			<visible>Pvr.HasRadioChannels</visible>
		</item>
	</include>
	<include name="AddonHub_Menu">
		<item>
			<label>$LOCALIZE[31193]</label>
			<onclick>ActivateWindow(addonbrowser,addons://user/,return)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[14303] $VAR[AvailableUpdates,(,)]</label>
			<onclick>ActivateWindow(addonbrowser,addons://outdated/,return)</onclick>
			<visible>Integer.IsGreater(Container(2000).NumItems,0)</visible>
		</item>
		<item>
			<label>$LOCALIZE[24004]</label>
			<onclick>ActivateWindow(addonbrowser,addons://recently_updated/,return)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[31243]</label>
			<onclick>ActivateWindow(addonbrowser,addons://install/,return)</onclick>
			<onclick>select</onclick>
		</item>
		<item>
			<label>$LOCALIZE[31242]</label>
			<onclick>ActivateWindow(addonbrowser,addons://repos/,return)</onclick>
		</item>
		<item>
			<label>$LOCALIZE[31194]</label>
			<onclick>ActivateWindow(addonbrowser,addons://search/,return)</onclick>
		</item>
	</include>
</includes>