<window id="2">
	<defaultcontrol always="true">50</defaultcontrol>
	<allowoverlay>no</allowoverlay>
	<views>50,51,53,594,9999,597,598</views>
	<controls>
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath>$INFO[Skin.String(Custom_Back_Pictures_Folder)]</imagepath>
			<aspectratio>scale</aspectratio>
			<timeperimage>5000</timeperimage>
			<randomize>true</randomize>
			<fadetime>2000</fadetime>
			<include condition="Skin.HasSetting(AnimateBackgrounds)">backgroundanimation</include>
			<include>VisibleFadeEffect</include>
			<visible>Skin.HasSetting(ContentPictures) + Skin.HasSetting(Enable_Custom_Back_Pictures) + IsEmpty(Container(597).ListItem(0).Thumb)</visible>
		</control>
		<control type="largeimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<texture>special://skin/images/backgrounds/background-pictures.jpg</texture>
			<aspectratio>scale</aspectratio>
			<include>VisibleFadeEffect</include>
			<visible>Skin.HasSetting(ContentPictures) + !Skin.HasSetting(Enable_Custom_Back_Pictures) + IsEmpty(Container(597).ListItem(0).Thumb)</visible>
		</control>
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath>$INFO[Skin.String(Custom_Back_Comics_Folder)]</imagepath>
			<aspectratio>scale</aspectratio>
			<timeperimage>5000</timeperimage>
			<randomize>true</randomize>
			<fadetime>2000</fadetime>
			<include condition="Skin.HasSetting(AnimateBackgrounds)">backgroundanimation</include>
			<include>VisibleFadeEffect</include>
			<visible>Skin.HasSetting(ContentComics) + Skin.HasSetting(Enable_Custom_Back_Comics)</visible>
		</control>
		<control type="largeimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<texture>special://skin/images/backgrounds/background-comics.jpg</texture>
			<aspectratio>scale</aspectratio>
			<include>VisibleFadeEffect</include>
			<visible>Skin.HasSetting(ContentComics) + !Skin.HasSetting(Enable_Custom_Back_Comics)</visible>
		</control>
		<include condition="!Skin.HasSetting(SafeMode)">fanart-programspicturesscripts</include>
		<control type="largeimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<texture>$INFO[Container(597).Listitem(0).Icon]</texture>
			<aspectratio>scale</aspectratio>
			<colordiffuse>FF555555</colordiffuse>
			<fadetime>1000</fadetime>
			<include>VisibleFadeEffect</include>
			<visible>Control.IsVisible(597) + !IsEmpty(Container(597).ListItem(0).Thumb)</visible>
		</control>
		<control type="largeimage">
			<posx>-14</posx>
			<posy>-14</posy>
			<width>1308</width>
			<height>748</height>
			<texture background="true">$INFO[ListItem.FilenameAndPath]</texture>
			<fadetime>FanartCrossfadeTime</fadetime>
			<aspectratio>keep</aspectratio>
			<bordertexture border="17">poster-shadow.png</bordertexture>
			<bordersize>14</bordersize>
			<include>VisibleFadeEffect</include>
			<visible>[Control.IsVisible(594) | Control.IsVisible(598)] + !Skin.HasSetting(Picture_Fullscreen)</visible>
		</control>
		<control type="largeimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<texture background="true">$INFO[ListItem.FilenameAndPath]</texture>
			<fadetime>FanartCrossfadeTime</fadetime>
			<aspectratio>scale</aspectratio>
			<include>VisibleFadeEffect</include>
			<visible>[Control.IsVisible(594) | Control.IsVisible(598)] + Skin.HasSetting(Picture_Fullscreen)</visible>
		</control>
		<control type="group">
			<include>ContentFade</include>
			<include>Polaroid</include>
			<include>PicThumb</include>
		</control>
		<control type="group">
			<include>ContentFade</include>
			<include>Window_OpenClose_Right_Panel_Animation</include>
			<include>ContentPanel</include>
			<include>FullList</include>
			<include>PicWall</include>
			<include>List</include>
			<include>Thumbnail</include>
			<include>Fanart-ProgramsPicturesScripts</include>
			<include>AllViewCommonPageControls</include>
			<include>ScrollOffsetLabel</include>
			<animation effect="slide" start="0,0" end="700,111" time="300" tween="quadratic" easing="out" condition="Control.IsVisible(598) + !Skin.HasSetting(FanartShort) + !Skin.HasSetting(FanartLong)">Conditional</animation>
			<animation effect="slide" start="0,0" end="700,257" time="300" tween="quadratic" easing="out" condition="Control.IsVisible(598) + Skin.HasSetting(FanartShort)">Conditional</animation>
			<animation effect="slide" start="0,0" end="700,-122" time="300" tween="quadratic" easing="out" condition="Control.IsVisible(598) + Skin.HasSetting(FanartLong)">Conditional</animation>
			<animation effect="slide" start="0,0" end="1105,0" time="300" tween="quadratic" easing="out" condition="[Control.IsVisible(594) | Control.IsVisible(597)]">Conditional</animation>
			<animation effect="slide" start="0,0" end="75,0" time="200" delay="200" tween="quadratic" easing="out" condition="Skin.HasSetting(WideSideMenuButtons) + ControlGroup(9000).HasFocus + ![Control.IsVisible(57) | Control.IsVisible(597) | Control.IsVisible(598)]">Conditional</animation>
		</control>
		<control type="group">
			<include>ContentFade2</include>
			<include>Window_OpenClose_Animation</include>
			<include>Fanart-ProgramsPicturesScripts-Extras</include>
		</control>
		<control type="group">
			<posy>23</posy>
			<include>ContentFade</include>
			<include>Window_OpenClose_Left_Panel_Animation</include>
			<include>CommonNowPlaying</include>
			<control type="group" id="9000">
				<include condition="!Skin.HasSetting(WideSideMenuButtons)">Window_OpenClose_Left_Panel_Position_Normal</include>
				<include condition="Skin.HasSetting(WideSideMenuButtons)">Window_OpenClose_Left_Panel_Position_Wide</include>
				<animation effect="slide" start="0,0" end="176,0" time="400" tween="quadratic" easing="out" condition="ControlGroup(9000).HasFocus + !Skin.HasSetting(WideSideMenuButtons)">Conditional</animation>
				<animation effect="slide" start="0,0" end="251,0" time="400" tween="quadratic" easing="out" condition="ControlGroup(9000).HasFocus + Skin.HasSetting(WideSideMenuButtons)">Conditional</animation>
				<control type="image">
					<posx>0</posx>
					<posy>-16</posy>
					<height>16</height>
					<texture border="0,0,15,0">shadow-top2.png</texture>
					<include condition="!Skin.HasSetting(WideSideMenuButtons)">ButtonCommonValuesNormal</include>
					<include condition="Skin.HasSetting(WideSideMenuButtons)">ButtonCommonValuesWide</include>
				</control>
				<control type="button" id="2">
					<description>View As button</description>
					<posx>0</posx>
					<posy>0</posy>
					<include>ButtonCommonValues</include>
					<label>-</label>
					<onleft>50</onleft>
					<onright>50</onright>
					<onup>603</onup>
					<ondown>3</ondown>
				</control>
				<control type="button" id="3">
					<description>Sort by button</description>
					<posx>0</posx>
					<posy>45</posy>
					<include>ButtonCommonValues</include>
					<label>103</label>
					<onleft>50</onleft>
					<onright>4</onright>
					<onup>2</onup>
					<ondown>6</ondown>
				</control>
				<control type="togglebutton" id="4">
					<description>Sort asc</description>
					<posy>63</posy>
					<width>15</width>
					<height>15</height>
					<label>-</label>
					<onleft>3</onleft>
					<onright>50</onright>
					<onup>2</onup>
					<ondown>6</ondown>
					<include condition="!Skin.HasSetting(WideSideMenuButtons)">ToggleButtonNormal</include>
					<include condition="Skin.HasSetting(WideSideMenuButtons)">ToggleButtonWide</include>
				</control>
				<control type="button" id="6">
					<description>Slideshow</description>
					<posx>0</posx>
					<posy>90</posy>
					<include>ButtonCommonValues</include>
					<label>108</label>
					<onleft>50</onleft>
					<onright>50</onright>
					<onup>3</onup>
					<ondown>7</ondown>
				</control>
				<control type="button" id="7">
					<description>Recersive Slideshow</description>
					<posx>0</posx>
					<posy>135</posy>
					<include>ButtonCommonValues</include>
					<label>361</label>
					<onleft>50</onleft>
					<onright>50</onright>
					<onup>6</onup>
					<ondown>9</ondown>
				</control>
				<control type="radiobutton" id="9">
					<description>Randomize Toggle</description>
					<posx>0</posx>
					<posy>180</posy>
					<include>ButtonCommonValues</include>
					<label>13319</label>
					<onleft>50</onleft>
					<onright>50</onright>
					<onup>7</onup>
					<ondown>610</ondown>
					<visible>!Control.IsVisible(597)</visible>
				</control>
				<control type="button" id="610">
					<description>Fake Button to fix Player Controls Navigation</description>
					<onup>9</onup>
					<ondown>603</ondown>
					<visible>false</visible>
				</control>
				<control type="group">
					<posx>0</posx>
					<posy>225</posy>
					<include>CommonNowPlaying_Controls</include>
					<animation effect="slide" end="0,-45" time="0" condition="Control.IsVisible(597)">Conditional</animation>
				</control>
				<control type="button" id="611">
					<description>Fake Button to fix Player Controls Navigation</description>
					<onup>607</onup>
					<ondown>2</ondown>
					<visible>false</visible>
				</control>
				<control type="image">
					<posx>0</posx>
					<posy>227</posy>
					<height>16</height>
					<texture border="0,0,5,0">shadow-bottom2.png</texture>
					<animation effect="slide" end="0,-45" time="0" condition="Control.IsVisible(597)">Conditional</animation>
					<animation effect="slide" end="0,45" time="0" condition="Player.HasAudio | Player.HasVideo">Conditional</animation>
					<include condition="!Skin.HasSetting(WideSideMenuButtons)">ButtonCommonValuesNormal</include>
					<include condition="Skin.HasSetting(WideSideMenuButtons)">ButtonCommonValuesWide</include>
				</control>
			</control>
		</control>
		<control type="group">
			<animation effect="slide" start="0,0" end="0,-65" time="300" tween="quadratic" easing="out" condition="Control.IsVisible(594) | Control.IsVisible(598) | Control.IsVisible(9999)">Conditional</animation>
			<include>ContentFade</include>
			<include condition="Skin.HasSetting(HateTransparency)">T-Header1</include>
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>1280</width>
				<height>74</height>
				<texture>Header.png</texture>
			</control>
			<include>CommonFileCount</include>
			<control type="label">
				<include>WindowTitleCommons</include>
				<label>XBMC - $LOCALIZE[1]$INFO[Container.PluginName, - ]</label>
				<visible>Skin.HasSetting(ContentPictures)</visible>
			</control>
			<control type="label">
				<include>WindowTitleCommons</include>
				<label>XBMC - $LOCALIZE[31405]$INFO[Container.PluginName, - ]</label>
				<visible>Skin.HasSetting(ContentComics)</visible>
			</control>
		</control>
	</controls>
</window>
