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

	<include name="Grid_Check">
		<param name="width" default="30" />
		<param name="left" default="0" />
		<param name="backing_visible" default="true" />
		<param name="color" default="$VAR[Progress_Grid_Text_Color]" />
		<definition>
			<control type="group">
				<visible>String.IsEqual(ListItem.Overlay,OverlayWatched.png)</visible>
				<visible>!$EXP[TransparentDialog_IsVisible] + !$EXP[Scrollbar_HasFocus]</visible>
				<include content="Visible_Fade_Animation" />
				<height>$PARAM[width]</height>
				<bottom>0</bottom>
				<width>$PARAM[width]</width>
				<centerleft>50%</centerleft>
				<control type="image">
					<texture colordiffuse="$VAR[Accent_Color]">views/white_100.png</texture>
					<visible>$PARAM[backing_visible]</visible>
				</control>
				<include content="Check_focused">
					<param name="color" value="$PARAM[color]" />
					<param name="width" value="$PARAM[width]" />
				</include>
			</control>
		</definition>
	</include>

	<include name="GridView_Icon_Unfocused">
		<include content="ListIcon_Static_Unfocused">
			<param name="visible" value="$EXP[GridView_Display_Is$PARAM[displaytype_label]] + !$EXP[Container_Switching] + !$EXP[Options_Switching]" />
			<param name="left" value="10" />
			<param name="art_icon" value="$PARAM[art_icon]" />
			<param name="fallback" value="views/dark_grey_100.png" />
			<param name="watched_diffuse" value="Skin.HasSetting(GridView_WatchedStatus_Enabled) + String.IsEqual(ListItem.Overlay,OverlayWatched.png)" />
			<param name="now_playing" value="$EXP[ListItem(0)_NowPlaying]" />
			<include content="Visible_Fade_Animation" />
			<animation effect="slide" end="12,0" time="0" condition="$EXP[GridView_Display_IsFanart]" reversible="false">Conditional</animation>
			<include content="Grid_Check" condition="Skin.HasSetting(GridView_AltWatchedStatus_Enabled)">
				<param name="backing_visible" value="false" />
				<param name="color" value="$VAR[Light_Color]" />
			</include>
		</include>
	</include>

	<include name="GridView_Icon_Focused">
		<param name="progress_width" default="360" />
		<param name="progress_slides" default="Narrow" />
		<definition>
			<include content="HiddenFocusButton" />
			<include content="Multiart_Resetter" condition="Skin.HasSetting(Multiart_Slideshow)" />
			<include content="Multiart_Setter" condition="Skin.HasSetting(Multiart_Slideshow)" />
			<control type="group">
				<visible>$EXP[GridView_Display_Is$PARAM[displaytype_label]] + !$EXP[Container_Switching] + !$EXP[Options_Switching]</visible>
				<include content="Visible_Fade_Animation" />
				<animation effect="slide" end="12,0" time="0" condition="$EXP[GridView_Display_IsFanart]" reversible="false">Conditional</animation>
				<left>10</left>
				<width>100%</width>
				<height>100%</height>
				<!-- Dropshadow -->
				<control type="group">
					<visible>!$EXP[TransparentDialog_IsVisible] + !Window.IsVisible(pictureinfo) + !$EXP[Scrollbar_HasFocus] + !$EXP[Music_Player_HasFocus]</visible>
					<include content="Visible_Fade_Animation" />
					<!-- Left Side -->
					<include content="DropShadow">
						<param name="left" value="-120" />
						<param name="top" value="0" />
						<param name="width" value="120" />
						<param name="height" value="100%" />
						<param name="visible" value="!Container(505).Column(0)" />
					</include>
					<!-- Top Left Corner -->
					<include content="DropShadow">
						<param name="left" value="-120" />
						<param name="top" value="-120" />
						<param name="width" value="120" />
						<param name="height" value="120" />
						<param name="texture" value="views/dropshadow_topleftcorner_120.png" />
						<param name="visible" value="!Container(505).Column(0) + !Container(505).Row(0)" />
					</include>
					<!-- Top Side -->
					<include content="DropShadow">
						<param name="left" value="0" />
						<param name="top" value="-120" />
						<param name="width" value="100%" />
						<param name="height" value="120" />
						<param name="texture" value="views/dropshadow_top_120.png" />
						<param name="visible" value="!Container(505).Row(0)" />
					</include>
					<!-- Top Right Corner -->
					<include content="DropShadow">
						<param name="left" value="100%" />
						<param name="top" value="-120" />
						<param name="width" value="120" />
						<param name="height" value="120" />
						<param name="flipx" value="true" />
						<param name="texture" value="views/dropshadow_topleftcorner_120.png" />
						<param name="visible" value="!Container(505).Row(0) + !Container(505).Column(4) + ![$EXP[GridView_Display_IsFanart] + Container(505).Column(2)]" />
					</include>
					<!-- Rigt Side -->
					<include content="DropShadow">
						<param name="left" value="100%" />
						<param name="top" value="0" />
						<param name="width" value="120" />
						<param name="height" value="100%" />
						<param name="flipx" value="true" />
						<param name="visible" value="!String.IsEmpty(Control.GetLabel(6351)) + !Container(505).Column(4) + ![$EXP[GridView_Display_IsFanart] + Container(505).Column(2)]" />
					</include>
					<!-- Bottom Right Corner -->
					<include content="DropShadow">
						<param name="left" value="100%" />
						<param name="top" value="100%" />
						<param name="width" value="120" />
						<param name="height" value="120" />
						<param name="flipx" value="true" />
						<param name="flipy" value="true" />
						<param name="texture" value="views/dropshadow_topleftcorner_120.png" />
						<param name="visible" value="!Container(505).Column(4) + ![$EXP[GridView_Display_IsFanart] + Container(505).Column(2)] + [[$EXP[GridView_Display_IsFanart] + !String.IsEmpty(Control.GetLabel(6354))] | [!$EXP[GridView_Display_IsFanart] + !String.IsEmpty(Control.GetLabel(6356))]]" />
					</include>
					<!-- Bottom Side -->
					<include content="DropShadow">
						<param name="left" value="0" />
						<param name="top" value="100%" />
						<param name="width" value="100%" />
						<param name="height" value="120" />
						<param name="flipy" value="true" />
						<param name="texture" value="views/dropshadow_top_120.png" />
						<param name="visible" value="[[$EXP[GridView_Display_IsFanart] + !String.IsEmpty(Control.GetLabel(6353))] | [!$EXP[GridView_Display_IsFanart] + !String.IsEmpty(Control.GetLabel(6355))]]" />
					</include>
					<!-- Bottom Left Corner -->
					<include content="DropShadow">
						<param name="left" value="-120" />
						<param name="top" value="100%" />
						<param name="width" value="120" />
						<param name="height" value="120" />
						<param name="flipy" value="true" />
						<param name="texture" value="views/dropshadow_topleftcorner_120.png" />
						<param name="visible" value="!Container(505).Column(0) + [[$EXP[GridView_Display_IsFanart] + !String.IsEmpty(Control.GetLabel(6352))] | [!$EXP[GridView_Display_IsFanart] + !String.IsEmpty(Control.GetLabel(6354))]]" />
					</include>
				</control>
				<!-- Artwork -->
				<control type="group">
					<include content="Focus_Zoom_Animation" />
					<include content="ListIcon_Static_Focused">
						<param name="visible" value="$EXP[GridView_Display_Is$PARAM[displaytype_label]]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="now_playing" value="$EXP[ListItem(0)_NowPlaying]" />
						<param name="fallback" value="views/dark_grey_100.png" />
						<!-- Multiart -->
						<include content="Icon_Component_Multiart_Static" condition="Skin.HasSetting(Multiart_Slideshow) + [Window.Is(videos) | Window.Is(music)]">
							<param name="fadetime" value="360" />
							<param name="now_playing" value="$EXP[ListItem(0)_NowPlaying]" />
						</include>-->
						<!-- Progress overlay -->
						<include content="Icon_Component_Progress_Overlay" condition="Window.Is(home) | Window.Is(videos) | Window.Is(movieinformation)">
							<param name="visible" value="[$EXP[GridView_Details_Off] | $EXP[GridView_Details_Breadcrumb]] + $EXP[Progress_IsVisible]" />
						</include>
						<!-- Artwork Mask -->
						<control type="image">
							<visible>![$EXP[GridView_Details_Off] | $EXP[GridView_Details_Breadcrumb] | $EXP[ListItem(0)_NowPlaying]] + !$EXP[TransparentDialog_IsVisible] + !Window.IsVisible(pictureinfo)</visible>
							<include content="Visible_Fade_Animation" />
							<animation effect="fade" start="0" end="66" delay="720" time="360" tween="sine" easing="inout" reversible="false">Focus</animation>
							<texture colordiffuse="$VAR[Dark_Color]">views/white_100.png</texture>
						</control>
					</include>
				</control>
				<!-- Border -->
				<control type="group">
					<visible>!$EXP[TransparentDialog_IsVisible] + !Window.IsVisible(pictureinfo) + !$EXP[Scrollbar_HasFocus] + !$EXP[Music_Player_HasFocus]</visible>
					<include content="Visible_Fade_Animation" />
					<control type="image">
						<animation effect="slide" end="0,-10" time="0" condition="true" reversible="false">Conditional</animation>
						<left>-10</left>
						<right>-10</right>
						<top>0</top>
						<height>10</height>
						<texture colordiffuse="$VAR[Accent_Color]">views/white_100.png</texture>
					</control>
					<control type="image">
						<left>-10</left>
						<right>-10</right>
						<bottom>-10</bottom>
						<height>10</height>
						<texture colordiffuse="$VAR[Accent_Color]">views/white_100.png</texture>
					</control>
					<control type="image">
						<left>-10</left>
						<width>10</width>
						<top>-10</top>
						<bottom>-10</bottom>
						<texture colordiffuse="$VAR[Accent_Color]">views/white_100.png</texture>
					</control>
					<control type="image">
						<right>-10</right>
						<width>10</width>
						<top>-10</top>
						<bottom>-10</bottom>
						<texture colordiffuse="$VAR[Accent_Color]">views/white_100.png</texture>
					</control>
				</control>
				<!-- Progress -->
				<include content="Progress_Grid" condition="Window.Is(videos) | Window.Is(music)">
					<param name="id" value="505" />
					<param name="left" value="$PARAM[progress_left]" />
					<param name="width" value="$PARAM[progress_width]" />
					<param name="slides" value="$PARAM[progress_slides]" />
				</include>
				<!-- Check -->
				<include content="Grid_Check" condition="Skin.HasSetting(GridView_AltWatchedStatus_Enabled)" />
			</control>
		</definition>
	</include>

	<include name="GridView_Layout_Fanart">
		<itemlayout width="592" height="333" condition="$EXP[GridView_Display_IsFanart]">
			<include content="GridView_Icon_Unfocused">
				<param name="displaytype_label" value="Fanart" />
				<param name="art_icon" value="$PARAM[art_icon]" />
			</include>
		</itemlayout>
		<focusedlayout width="592" height="333" infoupdate="500" condition="$EXP[GridView_Display_IsFanart]">
			<include content="GridView_Icon_Focused">
				<param name="displaytype_label" value="Fanart" />
				<param name="art_icon" value="$PARAM[art_icon]" />
				<param name="progress_left" value="116" />
				<param name="progress_slides" value="Default" />
			</include>
		</focusedlayout>
	</include>

	<include name="GridView_Layout_Posters">
		<itemlayout width="360" height="540" condition="$EXP[GridView_Display_IsPosters]">
			<include content="GridView_Icon_Unfocused">
				<param name="displaytype_label" value="Posters" />
				<param name="art_icon" value="$PARAM[art_icon]" />
			</include>
		</itemlayout>
		<focusedlayout width="360" height="540" infoupdate="500" condition="$EXP[GridView_Display_IsPosters]">
			<include content="GridView_Icon_Focused">
				<param name="displaytype_label" value="Posters" />
				<param name="art_icon" value="$PARAM[art_icon]" />
				<param name="progress_width" value="240" />
				<param name="progress_left" value="60" />
				<param name="progress_slides" value="Narrow" />
			</include>
		</focusedlayout>
	</include>

	<include name="GridView_Layout_Square">
		<itemlayout width="360" height="360" condition="$EXP[GridView_Display_IsSquare]">
			<include content="GridView_Icon_Unfocused">
				<param name="displaytype_label" value="Square" />
				<param name="art_icon" value="$PARAM[art_icon]" />
			</include>
		</itemlayout>
		<focusedlayout width="360" height="360" infoupdate="500" condition="$EXP[GridView_Display_IsSquare]">
			<include content="GridView_Icon_Focused">
				<param name="displaytype_label" value="Square" />
				<param name="art_icon" value="$PARAM[art_icon]" />
				<param name="progress_width" value="240" />
				<param name="progress_left" value="60" />
				<param name="progress_slides" value="Narrow" />
			</include>
		</focusedlayout>
	</include>

	<include name="GridView_Slides">
		<animation effect="slide" end="592,193" time="0" reversible="false" condition="$EXP[GridView_Display_IsFanart] + Integer.IsEqual(Container.NumItems,1)">Conditional</animation>
		<animation effect="slide" end="296,193" time="0" reversible="false" condition="$EXP[GridView_Display_IsFanart] + Integer.IsEqual(Container.NumItems,2)">Conditional</animation>
		<animation effect="slide" end="0,193" time="0" reversible="false" condition="$EXP[GridView_Display_IsFanart] + Integer.IsEqual(Container.NumItems,3)">Conditional</animation>
		<animation effect="slide" end="720,90" time="0" reversible="false" condition="$EXP[GridView_Display_IsPosters] + Integer.IsEqual(Container.NumItems,1)">Conditional</animation>
		<animation effect="slide" end="540,90" time="0" reversible="false" condition="$EXP[GridView_Display_IsPosters] + Integer.IsEqual(Container.NumItems,2)">Conditional</animation>
		<animation effect="slide" end="360,90" time="0" reversible="false" condition="$EXP[GridView_Display_IsPosters] + Integer.IsEqual(Container.NumItems,3)">Conditional</animation>
		<animation effect="slide" end="180,90" time="0" reversible="false" condition="$EXP[GridView_Display_IsPosters] + Integer.IsEqual(Container.NumItems,4)">Conditional</animation>
		<animation effect="slide" end="0,90" time="0" reversible="false" condition="$EXP[GridView_Display_IsPosters] + Integer.IsEqual(Container.NumItems,5)">Conditional</animation>
		<animation effect="slide" end="720,180" time="0" reversible="false" condition="$EXP[GridView_Display_IsSquare] + Integer.IsEqual(Container.NumItems,1)">Conditional</animation>
		<animation effect="slide" end="540,180" time="0" reversible="false" condition="$EXP[GridView_Display_IsSquare] + Integer.IsEqual(Container.NumItems,2)">Conditional</animation>
		<animation effect="slide" end="360,180" time="0" reversible="false" condition="$EXP[GridView_Display_IsSquare] + Integer.IsEqual(Container.NumItems,3)">Conditional</animation>
		<animation effect="slide" end="180,180" time="0" reversible="false" condition="$EXP[GridView_Display_IsSquare] + Integer.IsEqual(Container.NumItems,4)">Conditional</animation>
		<animation effect="slide" end="0,180" time="0" reversible="false" condition="$EXP[GridView_Display_IsSquare] + Integer.IsEqual(Container.NumItems,5)">Conditional</animation>
	</include>

	<include name="GridView_Slides_Fanart">
		<animation effect="slide" end="592,0" time="0" condition="$EXP[GridView_Display_IsFanart] + Container.Position(1)" reversible="false">Conditional</animation>
		<animation effect="slide" end="1184,0" time="0" condition="$EXP[GridView_Display_IsFanart] + Container.Position(2)" reversible="false">Conditional</animation>
		<animation effect="slide" end="0,333" time="0" condition="$EXP[GridView_Display_IsFanart] + Container.Position(3)" reversible="false">Conditional</animation>
		<animation effect="slide" end="592,333" time="0" condition="$EXP[GridView_Display_IsFanart] + Container.Position(4)" reversible="false">Conditional</animation>
		<animation effect="slide" end="1184,333" time="0" condition="$EXP[GridView_Display_IsFanart] + Container.Position(5)" reversible="false">Conditional</animation>
	</include>

	<include name="GridView_Slides_Posters">
		<animation effect="slide" end="360,0" time="0" condition="$EXP[GridView_Display_IsPosters] + Container.Position(1)" reversible="false">Conditional</animation>
		<animation effect="slide" end="720,0" time="0" condition="$EXP[GridView_Display_IsPosters] + Container.Position(2)" reversible="false">Conditional</animation>
		<animation effect="slide" end="1080,0" time="0" condition="$EXP[GridView_Display_IsPosters] + Container.Position(3)" reversible="false">Conditional</animation>
		<animation effect="slide" end="1440,0" time="0" condition="$EXP[GridView_Display_IsPosters] + Container.Position(4)" reversible="false">Conditional</animation>
	</include>

	<include name="GridView_Slides_Square">
		<animation effect="slide" end="360,0" time="0" condition="$EXP[GridView_Display_IsSquare] + Container.Position(1)" reversible="false">Conditional</animation>
		<animation effect="slide" end="720,0" time="0" condition="$EXP[GridView_Display_IsSquare] + Container.Position(2)" reversible="false">Conditional</animation>
		<animation effect="slide" end="1080,0" time="0" condition="$EXP[GridView_Display_IsSquare] + Container.Position(3)" reversible="false">Conditional</animation>
		<animation effect="slide" end="1440,0" time="0" condition="$EXP[GridView_Display_IsSquare] + Container.Position(4)" reversible="false">Conditional</animation>
		<animation effect="slide" end="0,360" time="0" condition="$EXP[GridView_Display_IsSquare] + Container.Position(5)" reversible="false">Conditional</animation>
		<animation effect="slide" end="360,360" time="0" condition="$EXP[GridView_Display_IsSquare] + Container.Position(6)" reversible="false">Conditional</animation>
		<animation effect="slide" end="720,360" time="0" condition="$EXP[GridView_Display_IsSquare] + Container.Position(7)" reversible="false">Conditional</animation>
		<animation effect="slide" end="1080,360" time="0" condition="$EXP[GridView_Display_IsSquare] + Container.Position(8)" reversible="false">Conditional</animation>
		<animation effect="slide" end="1440,360" time="0" condition="$EXP[GridView_Display_IsSquare] + Container.Position(9)" reversible="false">Conditional</animation>
	</include>

	<include name="GridView_Overlay">
		<param name="displaytype_label" />
		<param name="include_slides" default="true" />
		<param name="left" />
		<param name="top" default="180" />
		<param name="width" />
		<param name="height" />
		<param name="edge" default="15" />
		<param name="title_max_height" default="300" />
		<param name="title_font" default="Grid_Title" />
		<param name="info_font" default="Grid_Info" />
		<definition>
			<control type="group">
				<include content="GridView_Slides_$PARAM[displaytype_label]" condition="$PARAM[include_slides]" />
				<left>$PARAM[left]</left>
				<top>$PARAM[top]</top>
				<width>$PARAM[width]</width>
				<height>$PARAM[height]</height>
				<visible>$EXP[GridView_Display_Is$PARAM[displaytype_label]] + [[$EXP[GridView_Details_On] + !$EXP[ListItem(0)_NowPlaying]] | $EXP[GridView_Widget_IsVisible]]</visible>
				<control type="grouplist">
					<left>$PARAM[edge]</left>
					<right>$PARAM[edge]</right>
					<orientation>vertical</orientation>
					<align>center</align>
					<itemgap>0</itemgap>
					<control type="textbox">
						<height max="$PARAM[title_max_height]">auto</height>
						<font>$PARAM[title_font]</font>
						<textcolor>$VAR[Light_Color]</textcolor>
						<label>$VAR[Title_Label]</label>
						<align>center</align>
					</control>
					<control type="label">
						<visible>$EXP[GridView_Details_Info] | $EXP[GridView_Widget_IsVisible]</visible>
						<visible>!String.IsEmpty(Control.GetLabel(6004))</visible>
						<height>35</height>
						<font>$PARAM[info_font]</font>
						<textcolor>$VAR[Light_Color]</textcolor>
						<label>$INFO[Control.GetLabel(6004)]</label>
						<align>center</align>
					</control>
				</control>
			</control>
		</definition>
	</include>

	<!-- Widget -->
	<include name="GridView_ListIcon_Static_Unfocused">
		<include content="ListIcon_Static_Unfocused">
			<param name="visible" value="$PARAM[visible]" />
			<param name="position" value="$PARAM[position]" />
			<param name="left" value="$PARAM[left]" />
			<param name="top" value="$PARAM[top]" />
			<param name="width" value="$PARAM[width]" />
			<param name="height" value="$PARAM[height]" />
			<param name="art_icon" value="$PARAM[art_icon]" />
			<param name="art_diffuse" value="false" />
			<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
			<param name="fallback" value="$PARAM[fallback]" />
			<!-- Progress overlay -->
			<include content="Icon_Component_Progress_Overlay" condition="Window.Is(home) | Window.Is(videos) | Window.Is(movieinformation)">
				<param name="visible" value="!String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap($PARAM[position]).Label) + ![Window.Is(movieinformation) + Control.HasFocus(50)]" />
			</include>
		</include>
	</include>

	<include name="GridView_ListIcon_Static_Focused">
		<include content="ListIcon_Static_Focused">
			<param name="visible" value="$PARAM[visible]" />
			<param name="position" value="$PARAM[position]" />
			<param name="left" value="$PARAM[left]" />
			<param name="top" value="$PARAM[top]" />
			<param name="width" value="$PARAM[width]" />
			<param name="height" value="$PARAM[height]" />
			<param name="art_icon" value="$PARAM[art_icon]" />
			<param name="art_diffuse" value="false" />
			<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
			<param name="fallback" value="$PARAM[fallback]" />
			<!-- Multiart -->
			<include content="Icon_Component_Multiart_Static" condition="Skin.HasSetting(Multiart_Slideshow) + !Window.Is(movieinformation) + !Window.Is(musicinformation) + !Window.Is(songinformation)">
				<param name="art_diffuse" value="false" />
				<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
			</include>
			<!-- Progress overlay -->
			<include content="Icon_Component_Progress_Overlay" condition="Window.Is(home) | Window.Is(videos) | Window.Is(movieinformation)">
				<param name="visible" value="!String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap($PARAM[position]).Label) + ![Window.Is(movieinformation) + Control.HasFocus(50)]" />
			</include>
			<!-- Border -->
			<include content="Icon_Component_Border">
				<param name="visible" value="$PARAM[border_visible]" />
				<param name="protrusion" value="10" />
				<param name="size" value="$PARAM[border_size]" />
				<param name="color" value="$PARAM[border_color]" />
				<param name="texture" value="$PARAM[border_texture]" />
			</include>
		</include>
	</include>

	<include name="GridView_ListIcon_Animated">
		<include content="ListIcon_Animated">
			<param name="visible" value="$PARAM[visible]" />
			<param name="position" value="$PARAM[position]" />
			<param name="left" value="$PARAM[left]" />
			<param name="top" value="$PARAM[top]" />
			<param name="width" value="$PARAM[width]" />
			<param name="height" value="$PARAM[height]" />
			<param name="art_icon" value="$PARAM[art_icon]" />
			<param name="art_diffuse" value="false" />
			<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
			<param name="fallback" value="$PARAM[fallback]" />
			<param name="animationtype" value="$PARAM[animationtype]" />
			<param name="animationeffect" value="$PARAM[animationeffect]" />
			<param name="animationend" value="$PARAM[animationend]" />
			<param name="animationcondition" value="$PARAM[animationcondition]" />
			<!-- Progress overlay -->
			<include content="Icon_Component_Progress_Overlay" condition="Window.Is(home) | Window.Is(videos) | Window.Is(movieinformation)">
				<param name="visible" value="!String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap($PARAM[position]).Label) + ![Window.Is(movieinformation) + Control.HasFocus(50)]" />
			</include>
			<!-- Border -->
			<include content="Icon_Component_Border">
				<param name="visible" value="$PARAM[border_visible]" />
				<param name="protrusion" value="10" />
				<param name="size" value="$PARAM[border_size]" />
				<param name="color" value="$PARAM[border_color]" />
				<param name="texture" value="$PARAM[border_texture]" />
			</include>
		</include>
	</include>

	<include name="GridView_Multiart_Animated">
		<param name="art_diffuse" default="false" />
		<definition>
			<include content="ListIcon_Animated">
				<param name="visible" value="$PARAM[visible]" />
				<param name="position" value="$PARAM[position]" />
				<param name="left" value="$PARAM[left]" />
				<param name="top" value="$PARAM[top]" />
				<param name="width" value="$PARAM[width]" />
				<param name="height" value="$PARAM[height]" />
				<param name="art_icon" value="$PARAM[art_icon]" />
				<param name="art_diffuse" value="$PARAM[art_diffuse]" />
				<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
				<param name="fallback" value="$PARAM[fallback]" />
				<param name="animationtype" value="$PARAM[animationtype]" />
				<param name="animationeffect" value="$PARAM[animationeffect]" />
				<param name="animationend" value="$PARAM[animationend]" />
				<param name="animationcondition" value="$PARAM[animationcondition]" />
				<!-- Multiart -->
				<include content="Icon_Component_Multiart_Animated" condition="Skin.HasSetting(Multiart_Slideshow) + !Window.Is(movieinformation) + !Window.Is(musicinformation) + !Window.Is(songinformation)">
					<param name="visible" value="$PARAM[multiart] + String.IsEqual(Window(home).Property(Multiart_Fadeout),true)" />
					<param name="art_diffuse" value="$PARAM[art_diffuse]" />
					<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
					<param name="animationtype" value="$PARAM[multiartanimationtype]" />
					<param name="animationeffect" value="$PARAM[multiartanimationeffect]" />
					<param name="animationend" value="$PARAM[multiartanimationend]" />
					<param name="animationcondition" value="$PARAM[multiartanimationcondition]" />
				</include>
				<!-- Progress overlay -->
				<include content="Icon_Component_Progress_Overlay" condition="Window.Is(home) | Window.Is(videos) | Window.Is(movieinformation)">
					<param name="visible" value="!String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap($PARAM[position]).Label) + ![Window.Is(movieinformation) + Control.HasFocus(50)]" />
				</include>
			</include>
		</definition>
	</include>

	<include name="GridView_Animated">
		<param name="target_id" />
		<param name="displaytype_label" />
		<param name="displaytype_isfanart" />
		<param name="item_top" />
		<param name="item_height" />
		<param name="item_width_minus_dropshadow_width" />
		<param name="item_width" />
		<param name="item_width_plus_dropshadow_width" />
		<param name="2x_item_width" />
		<param name="3x_item_width" />
		<param name="4x_item_width" />
		<param name="5x_item_width" />
		<param name="6x_item_width" />
		<param name="art_icon" />
		<param name="fallback" />
		<param name="focus_border_visible" />
		<param name="focus_border_edge" />
		<param name="focus_border_size" />
		<param name="focus_border_color" />
		<param name="focus_border_texture" />
		<definition>
			<control type="group">
				<visible>$EXP[GridView_Display_Is$PARAM[displaytype_label]] + !$EXP[Container_Switching]</visible>
				<include content="Visible_Fade_Animation" />
				<!-- Previous Scroll -->
				<control type="group">
					<visible>$EXP[Content_Previous] + !String.IsEqual(Container($PARAM[target_id]).NumItems,1)</visible>
					<!-- Unfocused -->
					<!-- Move -1 to 0 -->
					<include content="GridView_ListIcon_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnPrevious + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(-1).Label)" />
						<param name="position" value="-1" />
						<param name="left" value="-$PARAM[2x_item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="$PARAM[item_width],0" />
					</include>
					<!-- Move Icon 0 to 1 -->
					<include content="GridView_Multiart_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnPrevious + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(1).Label)" />
						<param name="position" value="1" />
						<param name="left" value="0" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="$PARAM[item_width],0" />
						<param name="multiart" value="Container($PARAM[target_id]).OnPrevious" />
						<param name="multiartanimationtype" value="Hidden" />
						<param name="multiartanimationeffect" value="fade" />
						<param name="multiartanimationend" value="0" />
						<param name="multiartanimationcondition" value="true" />
					</include>
					<!-- Move Icon 1 to 2 -->
					<include content="GridView_ListIcon_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnPrevious + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(2).Label)" />
						<param name="position" value="2" />
						<param name="left" value="$PARAM[item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="$PARAM[item_width],0" />
					</include>
					<!-- Move Icon 2 to 3 -->
					<include content="GridView_ListIcon_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnPrevious + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(3).Label)" />
						<param name="position" value="3" />
						<param name="left" value="$PARAM[2x_item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="$PARAM[item_width],0" />
					</include>
					<!-- Move Icon 3 to 4 -->
					<include content="GridView_ListIcon_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnPrevious + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(4).Label)" />
						<param name="position" value="4" />
						<param name="left" value="$PARAM[3x_item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="$PARAM[item_width],0" />
					</include>
					<!-- Move Icon 4 to 5 -->
					<include content="GridView_ListIcon_Animated" condition="!$PARAM[displaytype_isfanart]">
						<param name="visible" value="Container($PARAM[target_id]).OnPrevious + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(5).Label)" />
						<param name="position" value="5" />
						<param name="left" value="$PARAM[4x_item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="$PARAM[item_width],0" />
					</include>
					<!-- Move Icon 5 to 6 -->
					<include content="GridView_ListIcon_Animated" condition="!$PARAM[displaytype_isfanart]">
						<param name="visible" value="Container($PARAM[target_id]).OnPrevious + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(6).Label)" />
						<param name="position" value="6" />
						<param name="left" value="$PARAM[5x_item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="$PARAM[item_width],0" />
					</include>
					<!-- Dropshadow -->
					<control type="group">
						<visible>[!$EXP[TransparentDialog_IsVisible] | Window.Is(videobookmarks)] + !$EXP[Scrollbar_HasFocus]</visible>
						<include content="Visible_Fade_Animation" />
						<include content="DropShadow">
							<param name="visible" value="Container($PARAM[target_id]).OnPrevious + ![String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(-1).Label) + String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(-1).Art(thumb))]" />
							<param name="left" value="-$PARAM[item_width_plus_dropshadow_width]" />
							<param name="top" value="$PARAM[item_top]" />
							<param name="width" value="120" />
							<param name="height" value="$PARAM[item_height]" />
							<param name="animationtype" value="Hidden" />
							<param name="animationcondition" value="true" />
							<param name="animationeffect" value="slide" />
							<param name="animationend" value="$PARAM[item_width]" />
						</include>
						<!-- Right Side -->
						<include content="DropShadow">
							<param name="visible" value="Container($PARAM[target_id]).OnPrevious + ![String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(1).Label) + String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(1).Art(thumb))]" />
							<param name="left" value="0" />
							<param name="width" value="120" />
							<param name="top" value="$PARAM[item_top]" />
							<param name="height" value="$PARAM[item_height]" />
							<param name="flipx" value="true" />
							<param name="animationtype" value="Hidden" />
							<param name="animationcondition" value="true" />
							<param name="animationeffect" value="slide" />
							<param name="animationend" value="$PARAM[item_width]" />
						</include>
					</control>
					<!-- Focused -->
					<!-- Move Icon -1 to 0 -->
					<include content="GridView_ListIcon_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnPrevious" />
						<param name="position" value="0" />
						<param name="left" value="-$PARAM[item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="$PARAM[item_width],0" />
						<param name="border_visible" value="$PARAM[focus_border_visible]" />
						<param name="border_size" value="$PARAM[focus_border_size]" />
						<param name="border_color" value="$PARAM[focus_border_color]" />
						<param name="border_texture" value="$PARAM[focus_border_texture]" />
					</include>
				</control>
				<!-- Next scroll -->
				<control type="group">
					<visible>$EXP[Content_Next] + !String.IsEqual(Container($PARAM[target_id]).NumItems,1)</visible>
					<!-- Unfocused -->
					<!-- Move -1 to -2 -->
					<include content="GridView_ListIcon_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnNext + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(-2).Label)" />
						<param name="position" value="-2" />
						<param name="left" value="-$PARAM[item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="-$PARAM[item_width],0" />
					</include>
					<!-- Move Icon 0 to -1 -->
					<include content="GridView_Multiart_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnNext + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(-1).Label)" />
						<param name="position" value="-1" />
						<param name="left" value="0" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="-$PARAM[item_width],0" />
						<param name="multiart" value="Container($PARAM[target_id]).OnNext" />
						<param name="multiartanimationtype" value="Hidden" />
						<param name="multiartanimationeffect" value="fade" />
						<param name="multiartanimationend" value="0" />
						<param name="multiartanimationcondition" value="true" />
					</include>
					<!-- Move Icon 2 to 1 -->
					<include content="GridView_ListIcon_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnNext + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(1).Label)" />
						<param name="position" value="1" />
						<param name="left" value="$PARAM[2x_item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="-$PARAM[item_width],0" />
					</include>
					<!-- Move Icon 3 to 2 -->
					<include content="GridView_ListIcon_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnNext + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(2).Label)" />
						<param name="position" value="2" />
						<param name="left" value="$PARAM[3x_item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="-$PARAM[item_width],0" />
					</include>
					<!-- Move Icon 4 to 3 -->
					<include content="GridView_ListIcon_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnNext + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(3).Label)" />
						<param name="position" value="3" />
						<param name="left" value="$PARAM[4x_item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="-$PARAM[item_width],0" />
					</include>
					<!-- Move Icon 5 to 4 -->
					<include content="GridView_ListIcon_Animated" condition="!$PARAM[displaytype_isfanart]">
						<param name="visible" value="Container($PARAM[target_id]).OnNext + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(4).Label)" />
						<param name="position" value="4" />
						<param name="left" value="$PARAM[5x_item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="-$PARAM[item_width],0" />
					</include>
					<!-- Move Icon 6 to 5 -->
					<include content="GridView_ListIcon_Animated" condition="!$PARAM[displaytype_isfanart]">
						<param name="visible" value="Container($PARAM[target_id]).OnNext + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(5).Label)" />
						<param name="position" value="5" />
						<param name="left" value="$PARAM[6x_item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="-$PARAM[item_width],0" />
					</include>
					<!-- Dropshadow -->
					<control type="group">
						<visible>[!$EXP[TransparentDialog_IsVisible] | Window.Is(videobookmarks)] + !$EXP[Scrollbar_HasFocus]</visible>
						<include content="Visible_Fade_Animation" />
						<include content="DropShadow">
							<param name="visible" value="Container($PARAM[target_id]).OnNext + ![String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(-1).Label) + String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(-1).Art(thumb))]" />
							<param name="left" value="$PARAM[item_width_minus_dropshadow_width]" />
							<param name="width" value="120" />
							<param name="top" value="$PARAM[item_top]" />
							<param name="height" value="$PARAM[item_height]" />
							<param name="animationtype" value="Hidden" />
							<param name="animationcondition" value="true" />
							<param name="animationeffect" value="slide" />
							<param name="animationend" value="-$PARAM[item_width],0" />
						</include>
						<include content="DropShadow">
							<param name="visible" value="Container($PARAM[target_id]).OnNext + ![String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(1).Label) + String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(1).Art(thumb))]" />
							<param name="left" value="$PARAM[2x_item_width]" />
							<param name="width" value="120" />
							<param name="top" value="$PARAM[item_top]" />
							<param name="height" value="$PARAM[item_height]" />
							<param name="flipx" value="true" />
							<param name="animationtype" value="Hidden" />
							<param name="animationcondition" value="true" />
							<param name="animationeffect" value="slide" />
							<param name="animationend" value="-$PARAM[item_width]" />
						</include>
					</control>
					<!-- Focused -->
					<!-- Move Icon 1 to 0 -->
					<include content="GridView_ListIcon_Animated">
						<param name="visible" value="Container($PARAM[target_id]).OnNext" />
						<param name="position" value="0" />
						<param name="left" value="$PARAM[item_width]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="animationtype" value="Hidden" />
						<param name="animationcondition" value="true" />
						<param name="animationeffect" value="slide" />
						<param name="animationend" value="-$PARAM[item_width],0" />
						<param name="border_visible" value="$PARAM[focus_border_visible]" />
						<param name="border_size" value="$PARAM[focus_border_size]" />
						<param name="border_color" value="$PARAM[focus_border_color]" />
						<param name="border_texture" value="$PARAM[focus_border_texture]" />
					</include>
				</control>
			</control>
		</definition>
	</include>

	<include name="GridView_Static">
		<param name="target_id" />
		<param name="displaytype_label" />
		<param name="displaytype_isfanart" />
		<param name="left" default="0" />
		<param name="top" default="0" />
		<param name="item_top" />
		<param name="item_width" />
		<param name="item_height" />
		<param name="2x_item_width" />
		<param name="3x_item_width" />
		<param name="4x_item_width" />
		<param name="5x_item_width" />
		<param name="art_icon" />
		<param name="fallback" />
		<param name="focus_border_visible" />
		<param name="focus_border_protrusion" />
		<param name="focus_border_size" />
		<param name="focus_border_color" />
		<param name="focus_border_texture" />
		<definition>
			<control type="group">
				<visible>$EXP[GridView_Display_Is$PARAM[displaytype_label]] + !$EXP[Container_Switching] + !$EXP[Options_Switching]</visible>
				<left>$PARAM[left]</left>
				<top>$PARAM[top]</top>
				<include content="Visible_Fade_Animation" />
				<control type="group">
					<visible>!$EXP[Content_Switching]</visible>
					<include content="GridView_ListIcon_Static_Unfocused">
						<param name="visible" value="true" />
						<param name="position" value="-1" />
						<param name="left" value="-$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
					</include>
					<include content="GridView_ListIcon_Static_Unfocused">
						<param name="visible" value="true" />
						<param name="position" value="1" />
						<param name="left" value="$PARAM[item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
					</include>
					<include content="GridView_ListIcon_Static_Unfocused">
						<param name="visible" value="true" />
						<param name="position" value="2" />
						<param name="left" value="$PARAM[2x_item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
					</include>
					<include content="GridView_ListIcon_Static_Unfocused">
						<param name="visible" value="true" />
						<param name="position" value="3" />
						<param name="left" value="$PARAM[3x_item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
					</include>
					<include content="GridView_ListIcon_Static_Unfocused" condition="!$PARAM[displaytype_isfanart]">
						<param name="visible" value="true" />
						<param name="position" value="4" />
						<param name="left" value="$PARAM[4x_item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
					</include>
					<include content="GridView_ListIcon_Static_Unfocused" condition="!$PARAM[displaytype_isfanart]">
						<param name="visible" value="true" />
						<param name="position" value="5" />
						<param name="left" value="$PARAM[5x_item_width]" />
						<param name="top" value="$PARAM[item_top]" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
					</include>
					<control type="group">
						<visible>!$EXP[TransparentDialog_IsVisible] | $EXP[StripView_IsVisible] | Window.IsVisible(videobookmarks)</visible>
						<include content="Visible_Fade_Animation" />
						<!-- Dropshadow Left Side -->
						<include content="DropShadow">
							<param name="visible" value="$PARAM[focus_border_visible] + ![String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(-1).Label) + String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(-1).Art(thumb))]" />
							<param name="left" value="-120" />
							<param name="top" value="$PARAM[item_top]" />
							<param name="height" value="$PARAM[item_height]" />
						</include>
						<!-- Dropshadow Right Side -->
						<include content="DropShadow">
							<param name="visible" value="$PARAM[focus_border_visible] + ![String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(1).Label) + String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap(1).Art(thumb))]" />
							<param name="left" value="$PARAM[item_width]" />
							<param name="top" value="$PARAM[item_top]" />
							<param name="height" value="$PARAM[item_height]" />
							<param name="flipx" value="true" />
						</include>
					</control>
					<include content="GridView_ListIcon_Static_Focused">
						<param name="position" value="0" />
						<param name="left" value="0" />
						<param name="width" value="$PARAM[item_width]" />
						<param name="height" value="$PARAM[item_height]" />
						<param name="art_icon" value="$PARAM[art_icon]" />
						<param name="fallback" value="$PARAM[fallback]" />
						<param name="border_visible" value="$PARAM[focus_border_visible]" />
						<param name="border_protrusion" value="$PARAM[focus_border_protrusion]" />
						<param name="border_size" value="$PARAM[focus_border_size]" />
						<param name="border_color" value="$PARAM[focus_border_color]" />
						<param name="border_texture" value="$PARAM[focus_border_texture]" />
					</include>
				</control>
			</control>
		</definition>
	</include>

	<include name="GridView_Art">
		<param name="target_id" />
		<param name="displaytype_label" />
		<param name="displaytype_isfanart" />
		<param name="art_icon" />
		<param name="fallback" />
		<param name="top" />
		<param name="item_top" />
		<param name="item_width_minus_dropshadow_width" />
		<param name="item_width" />
		<param name="item_width_plus_dropshadow_width" />
		<param name="item_height" />
		<param name="2x_item_width" />
		<param name="3x_item_width" />
		<param name="4x_item_width" />
		<param name="5x_item_width" />
		<param name="6x_item_width" />
		<param name="focus_border_visible" default="true" />
		<definition>
			<control type="group">
				<animation effect="slide" start="0,0" end="60,0" time="0" condition="true">Conditional</animation>
				<nested />
				<include content="GridView_Animated">
					<param name="target_id" value="$PARAM[target_id]" />
					<param name="viewtype_label" value="Grid" />
					<param name="displaytype_label" value="$PARAM[displaytype_label]" />
					<param name="displaytype_isfanart" value="$PARAM[displaytype_isfanart]" />
					<param name="item_top" value="$PARAM[top]" />
					<param name="item_height" value="$PARAM[item_height]" />
					<param name="item_width_minus_dropshadow_width" value="$PARAM[item_width_minus_dropshadow_width]" />
					<param name="item_width" value="$PARAM[item_width]" />
					<param name="item_width_plus_dropshadow_width" value="$PARAM[item_width_plus_dropshadow_width]" />
					<param name="2x_item_width" value="$PARAM[2x_item_width]" />
					<param name="3x_item_width" value="$PARAM[3x_item_width]" />
					<param name="4x_item_width" value="$PARAM[4x_item_width]" />
					<param name="5x_item_width" value="$PARAM[5x_item_width]" />
					<param name="6x_item_width" value="$PARAM[6x_item_width]" />
					<param name="art_icon" value="$PARAM[art_icon]" />
					<param name="fallback" value="$PARAM[fallback]" />
					<param name="focus_border_visible" value="$PARAM[focus_border_visible]" />
					<param name="focus_border_protrusion" value="10" />
					<param name="focus_border_size" value="11" />
					<param name="focus_border_color" value="$VAR[Accent_Color]" />
					<param name="focus_border_texture" value="views/border_10px.png" />
				</include>
				<include content="GridView_Static">
					<param name="target_id" value="$PARAM[target_id]" />
					<param name="displaytype_label" value="$PARAM[displaytype_label]" />
					<param name="displaytype_isfanart" value="$PARAM[displaytype_isfanart]" />
					<param name="top" value="$PARAM[top]" />
					<param name="item_top" value="0" />
					<param name="item_height" value="$PARAM[item_height]" />
					<param name="item_width" value="$PARAM[item_width]" />
					<param name="2x_item_width" value="$PARAM[2x_item_width]" />
					<param name="3x_item_width" value="$PARAM[3x_item_width]" />
					<param name="4x_item_width" value="$PARAM[4x_item_width]" />
					<param name="5x_item_width" value="$PARAM[5x_item_width]" />
					<param name="art_icon" value="$PARAM[art_icon]" />
					<param name="fallback" value="$PARAM[fallback]" />
					<param name="focus_border_visible" value="$PARAM[focus_border_visible]" />
					<param name="focus_border_protrusion" value="10" />
					<param name="focus_border_size" value="11" />
					<param name="focus_border_color" value="$VAR[Accent_Color]" />
					<param name="focus_border_texture" value="views/border_10px.png" />
				</include>
			</control>
		</definition>
	</include>

	<include name="GridView_Art_Posters">
		<param name="target_id" />
		<param name="art_icon" />
		<definition>
			<include content="GridView_Art">
				<param name="target_id" value="$PARAM[target_id]" />
				<param name="displaytype_label" value="Posters" />
				<param name="displaytype_isfanart" value="false" />
				<param name="top" value="270" />
				<param name="item_height" value="540" />
				<param name="item_width_minus_dropshadow_width" value="240" />
				<param name="item_width" value="360" />
				<param name="item_width_plus_dropshadow_width" value="480" />
				<param name="2x_item_width" value="720" />
				<param name="3x_item_width" value="1080" />
				<param name="4x_item_width" value="1440" />
				<param name="5x_item_width" value="1800" />
				<param name="6x_item_width" value="2160" />
				<param name="art_icon" value="$PARAM[art_icon]" />
			</include>
		</definition>
	</include>

	<include name="GridView_Art_Fanart">
		<param name="target_id" />
		<param name="art_icon" />
		<definition>
			<include content="GridView_Art">
				<param name="target_id" value="$PARAM[target_id]" />
				<param name="displaytype_label" value="Fanart" />
				<param name="displaytype_isfanart" value="true" />
				<param name="top" value="374" />
				<param name="item_height" value="333" />
				<param name="item_width_minus_dropshadow_width" value="472" />
				<param name="item_width" value="592" />
				<param name="item_width_plus_dropshadow_width" value="712" />
				<param name="2x_item_width" value="1184" />
				<param name="3x_item_width" value="1776" />
				<param name="4x_item_width" value="2368" />
				<param name="5x_item_width" value="2960" />
				<param name="art_icon" value="$PARAM[art_icon]" />
				<param name="focus_border_visible" value="$PARAM[focus_border_visible]" />
				<nested />
			</include>
		</definition>
	</include>

	<include name="GridView_Art_Square">
		<param name="target_id" />
		<param name="art_icon" />
		<definition>
			<include content="GridView_Art">
				<param name="target_id" value="$PARAM[target_id]" />
				<param name="displaytype_label" value="Square" />
				<param name="displaytype_isfanart" value="false" />
				<param name="top" value="360" />
				<param name="item_height" value="360" />
				<param name="item_width_minus_dropshadow_width" value="240" />
				<param name="item_width" value="360" />
				<param name="item_width_plus_dropshadow_width" value="480" />
				<param name="2x_item_width" value="720" />
				<param name="3x_item_width" value="1080" />
				<param name="4x_item_width" value="1440" />
				<param name="5x_item_width" value="1800" />
				<param name="6x_item_width" value="2160" />
				<param name="art_icon" value="$PARAM[art_icon]" />
			</include>
		</definition>
	</include>

	<include name="Progress_Grid_Fanart">
		<param name="id" />
		<definition>
			<include content="Progress_Grid">
				<param name="id" value="$PARAM[id]" />
				<param name="left" value="188" />
				<param name="bottom" value="384" />
				<param name="progress_indicator_background" value="$VAR[Accent_Color]" />
				<param name="slides" value="Default" />
			</include>
		</definition>
	</include>

	<include name="Progress_Grid_Posters">
		<param name="id" />
		<definition>
			<include content="Progress_Grid">
				<param name="id" value="$PARAM[id]" />
				<param name="left" value="120" />
				<param name="bottom" value="281" />
				<param name="width" value="240" />
				<param name="progress_indicator_background" value="$VAR[Accent_Color]" />
				<param name="slides" value="Narrow" />
			</include>
		</definition>
	</include>

	<include name="Progress_Grid_Square">
		<param name="id" />
		<definition>
			<include content="Progress_Grid">
				<param name="id" value="$PARAM[id]" />
				<param name="left" value="120" />
				<param name="bottom" value="371" />
				<param name="width" value="240" />
				<param name="progress_indicator_background" value="$VAR[Accent_Color]" />
				<param name="slides" value="Narrow" />
			</include>
		</definition>
	</include>

</includes>