<includes>
	<include file="defaults.xml" />
	<include file="ViewsVideoLibrary.xml" />
	<include file="ViewsMusicLibrary.xml" />
	<include file="ViewsFileMode.xml" />
	<include file="ViewsPictures.xml" />
	
	<include file="IncludesCodecFlagging.xml" />
	<include file="IncludesHomeRecentlyAdded.xml" />
	<include file="IncludesHomeMenuItems.xml" />
	<include file="IncludesBackgroundBuilding.xml" />
	
	<constant name="FanartCrossfadeTime">500</constant>
	<constant name="IconCrossfadeTime">400</constant>

	<include name="BehindDialogFadeOut">
		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<texture>black-back.png</texture>
			<animation effect="fade" time="400">Visible</animation>
			<animation effect="fade" time="200">Hidden</animation>
			<visible>Window.IsActive(MovieInformation) | Window.IsActive(MusicInformation) | Window.IsActive(SongInformation) | Window.IsActive(FileBrowser) | Window.IsActive(TextViewer) | Window.IsActive(ContentSettings) | Window.IsActive(SelectDialog) | Window.IsActive(FileStackingDialog)	| Window.IsActive(MediaSource) | Window.IsActive(PictureInfo) | Window.IsActive(PlayerControls) | Window.IsActive(VirtualKeyboard) | Window.IsActive(NumericInput) | Window.IsActive(ProfileSettings) | Window.IsActive(LockSettings) | Window.IsActive(SmartPlaylistEditor) | Window.IsActive(SmartPlaylistRule) | Window.IsActive(script-RSS_Editor-rssEditor.xml) | Window.IsActive(script-RSS_Editor-setEditor.xml) | Window.IsActive(script-XBMC_Lyrics-main.xml) | Window.IsActive(script-XBMC_Lyrics-settings.xml)</visible>
		</control>
	</include>
	<include name="WindowTitleCommons">
		<posx>0</posx>
		<posy>0</posy>
		<width min="0" max="800">auto</width>
		<height>30</height>
		<font>font14</font>
		<textcolor>white</textcolor>
		<shadowcolor>black</shadowcolor>
		<scroll>false</scroll>
		<align>left</align>
		<aligny>center</aligny>
	</include>
	<include name="ButtonCommonValues">
		<height>40</height>
		<width>250</width>
		<textoffsetx>10</textoffsetx>
		<textwidth>200</textwidth>
		<aligny>center</aligny>
		<font>font13</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus>-</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="ButtonMediaSubCommonValues">
		<height>40</height>
		<width>221</width>
		<textoffsetx>20</textoffsetx>
		<textwidth>195</textwidth>
		<aligny>center</aligny>
		<font>font12_title</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus border="5">button-nofocus.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="ButtonHomeSubCommonValues">
		<height>35</height>
		<width>180</width>
		<textwidth>195</textwidth>
		<align>center</align>
		<aligny>center</aligny>
		<font>font12</font>
		<textcolor>grey2</textcolor>
		<focusedcolor>white</focusedcolor>
		<texturefocus border="5">HomeSubFO.png</texturefocus>
		<texturenofocus border="5">HomeSubNF.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="HomeSubMenuCommonValues">
		<posx>0</posx>
		<posy>0</posy>
		<width>1280</width>
		<height>35</height>
		<align>center</align>
		<onup>9000</onup>
		<ondown>9002</ondown>
		<itemgap>0</itemgap>
		<orientation>Horizontal</orientation>
		<animation effect="slide" start="0,-40" end="0,0" delay="200" time="200" tween="quadratic" easing="out">Visible</animation>
		<animation effect="slide" start="0,0" end="0,-40" time="200" tween="quadratic" easing="out">Hidden</animation>
	</include>
	<include name="ButtonInfoDialogsCommonValues">
		<height>40</height>
		<width>170</width>
		<textoffsetx>20</textoffsetx>
		<align>center</align>
		<aligny>center</aligny>
		<font>font12_title</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus border="5">button-nofocus.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="SideBladeLeft">
		<animation effect="slide" start="0,0" end="250,0" time="400" tween="quadratic" easing="out" condition="ControlGroup(9000).HasFocus | Control.HasFocus(9001)">Conditional</animation>
		<animation effect="slide" start="0,0" end="-300,0" time="400" tween="quadratic" easing="out" condition="ControlGroup(9000).HasFocus | Control.HasFocus(9001)">WindowClose</animation>
		<animation effect="slide" start="0,0" end="-50,0" time="300" tween="quadratic" easing="out" condition="![ControlGroup(9000).HasFocus | Control.HasFocus(9001)]">WindowClose</animation>
		<animation effect="slide" start="-50,0" end="0,0" time="300" tween="quadratic" easing="out">WindowOpen</animation>
		<control type="button" id="9001">
			<posx>250</posx>
			<posy>260</posy>
			<width>42</width>
			<height>128</height>
			<font>-</font>
			<texturefocus>HasSub.png</texturefocus>
			<texturenofocus>HasSub.png</texturenofocus>
		</control>
		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
			<width>260</width>
			<height>720</height>
			<texture border="0,0,10,0">MediaBladeSub.png</texture>
		</control>
		<control type="image">
			<description>LOGO</description>
			<posx>15</posx>
			<posy>50</posy>
			<width>220</width>
			<height>80</height>
			<aspectratio>keep</aspectratio>
			<texture>Confluence_Logo.png</texture>
		</control>
	</include>
	<include name="CommonNowPlaying">
		<control type="group">
			<visible>Player.HasMedia</visible> 
		<!--<visible>!SubString(Window(videolibrary).Property(TvTunesIsAlive),True)</visible> -->
			<include>VisibleFadeEffect</include>
			<animation effect="fade" time="250" condition="Window.Previous(Home)">WindowOpen</animation>
			<animation effect="fade" time="250" condition="Window.Next(Home)">WindowClose</animation>
			<control type="image">
				<description>Player Icon background</description>
				<posx>30</posx>
				<posy>55r</posy>
				<width>45</width>
				<height>45</height>
				<aspectratio>keep</aspectratio>
				<texture>floor_button.png</texture>
			</control>
			<control type="image">
				<description>Player Icon</description>
				<posx>35</posx>
				<posy>50r</posy>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_player.png</texture>
			</control>
			<control type="label">
				<posx>85</posx>
				<posy>53r</posy>
				<width>700</width>
				<height>20</height>
				<label>$INFO[MusicPlayer.Title]$INFO[VideoPlayer.Title] - ([COLOR=blue]$INFO[Player.Time] / $INFO[Player.Duration,][/COLOR])</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<posx>85</posx>
				<posy>32r</posy>
				<width>700</width>
				<height>20</height>
				<label>$INFO[MusicPlayer.Artist]$INFO[MusicPlayer.Album, - ]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasAudio</visible>
			</control>
			<control type="label">
				<posx>85</posx>
				<posy>30r</posy>
				<width>700</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.Studio]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasVideo + VideoPlayer.Content(Movies)</visible>
			</control>
			<control type="label">
				<posx>85</posx>
				<posy>30r</posy>
				<width>700</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.TVShowTitle]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasVideo + VideoPlayer.Content(Episodes)</visible>
			</control>
			<control type="label">
				<posx>85</posx>
				<posy>30r</posy>
				<width>700</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.Artist]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasVideo + VideoPlayer.Content(MusicVideos)</visible>
			</control>
		</control>
	</include>
	<include name="CommonPageCount">
		<control type="group">
			<control type="label">
				<description>Page Count Label</description>
				<posx>40r</posx>
				<posy>53r</posy>
				<width>500</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<scroll>false</scroll>
				<align>right</align>
				<aligny>center</aligny>
				<label>$INFO[Window.Property(filter),$LOCALIZE[587] ([COLOR=blue],[/COLOR]) - ]$INFO[Container.NumItems,([COLOR=blue],[/COLOR]) $LOCALIZE[31025]]$INFO[Container.CurrentPage, - $LOCALIZE[31024] ([COLOR=blue]]$INFO[Container.NumPages,/,[/COLOR])]</label>
				<include>Window_OpenClose_Animation</include>
			</control>
			<control type="label">
				<description>Container Duration Label</description>
				<posx>40r</posx>
				<posy>32r</posy>
				<width>500</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<scroll>false</scroll>
				<align>right</align>
				<aligny>center</aligny>
				<label>$INFO[Container.TotalTime,$LOCALIZE[31009] ([COLOR=blue],[/COLOR])]</label>
				<include>Window_OpenClose_Animation</include>
			</control>
		</control>
	</include>
	<include name="SmallMusicInfo">
		<control type="image">
			<description>gradient</description>
			<posx>0</posx>
			<posy>0</posy>
			<width>500</width>
			<height>165</height>
			<colordiffuse>DDFFFFFF</colordiffuse>
			<texture border="20">OverlayDialogBackground.png</texture>
		</control>
		<control type="image">
			<description>Cover image</description>
			<posx>20</posx>
			<posy>17</posy>
			<width>130</width>
			<height>130</height>
			<texture>$INFO[MusicPlayer.Cover]</texture>
		</control>
		<control type="label">
			<description>Artist label</description>
			<posx>160</posx>
			<posy>20</posy>
			<height>30</height>
			<width>325</width>
			<label>$INFO[MusicPlayer.Artist]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>grey2</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
		<control type="fadelabel">
			<description>Title label</description>
			<posx>160</posx>
			<posy>43</posy>
			<height>30</height>
			<width>325</width>
			<label>$INFO[MusicPlayer.Title]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font13_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<scrollout>false</scrollout>
			<pauseatend>2000</pauseatend>
		</control>
		<control type="label">
			<description>Album Label</description>
			<posx>160</posx>
			<posy>70</posy>
			<height>30</height>
			<width>325</width>
			<label>$INFO[MusicPlayer.Album]$INFO[musicplayer.discnumber, - $LOCALIZE[427]:]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
		<control type="label">
			<description>Time Label</description>
			<posx>160</posx>
			<posy>95</posy>
			<height>30</height>
			<width>325</width>
			<label>$INFO[MusicPlayer.Time]$INFO[MusicPlayer.Duration, / ]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
		<control type="label">
			<description>Next Label</description>
			<posx>485</posx>
			<posy>120</posy>
			<height>30</height>
			<width>325</width>
			<label>[COLOR=blue]$LOCALIZE[209] :[/COLOR] $INFO[MusicPlayer.offset(1).Title]</label>
			<align>right</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>grey</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
	</include>
	<include name="SmallVideoInfo">
		<control type="image">
			<description>gradient</description>
			<posx>0</posx>
			<posy>0</posy>
			<width>500</width>
			<height>165</height>
			<colordiffuse>DDFFFFFF</colordiffuse>
			<texture border="20">OverlayDialogBackground.png</texture>
		</control>
		<control type="image">
			<description>Cover image</description>
			<posx>20</posx>
			<posy>17</posy>
			<width>130</width>
			<height>130</height>
			<aspectratio>keep</aspectratio>
			<texture>$INFO[VideoPlayer.cover]</texture>
		</control>
		<control type="label">
			<description>Studio label</description>
			<posx>160</posx>
			<posy>20</posy>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Studio]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>grey2</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>!videoplayer.content(episodes) + !videoplayer.content(musicvideos)</visible>
		</control>
		<control type="label">
			<description>TV Show Title label</description>
			<posx>160</posx>
			<posy>20</posy>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.tvshowtitle]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(episodes)</visible>
		</control>
		<control type="fadelabel">
			<description>Music Video Artist label</description>
			<posx>160</posx>
			<posy>20</posy>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Artist]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(musicvideos)</visible>
			<scrollout>false</scrollout>
			<pauseatend>2000</pauseatend>
		</control>
		<control type="fadelabel">
			<description>Title label</description>
			<posx>160</posx>
			<posy>43</posy>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Title]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font13_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<scrollout>false</scrollout>
			<pauseatend>2000</pauseatend>
		</control>
		<control type="label">
			<description>Genre label</description>
			<posx>160</posx>
			<posy>70</posy>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Genre]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>!videoplayer.content(episodes) + !videoplayer.content(musicvideos)</visible>
		</control>
		<control type="label">
			<posx>160</posx>
			<posy>70</posy>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Album]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(musicvideos)</visible>
		</control>
		<control type="label">
			<description>Season and Episode label</description>
			<posx>160</posx>
			<posy>70</posy>
			<height>30</height>
			<width>325</width>
			<label>$LOCALIZE[20373] $INFO[VideoPlayer.Season] - $LOCALIZE[20359] $INFO[VideoPlayer.episode]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(episodes)</visible>
		</control>
		<control type="label">
			<description>Time Label</description>
			<posx>160</posx>
			<posy>95</posy>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Time]$INFO[VideoPlayer.Duration, / ]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
	</include>
	<include name="CommonNowPlaying_Controls">
		<control type="label" id="202">
			<width>250</width>
			<height>35</height>
			<font>font12</font>
			<label>31023</label>
			<textcolor>blue</textcolor>
			<align>center</align>
			<aligny>center</aligny>
			<visible>[Player.HasAudio | Player.HasVideo]</visible>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="button" id="610">
			<description>Fake Button to fix Player Controls Navigation</description>
			<visible>false</visible>
		</control>
		<control type="group" id="9005">
			<visible>[Player.HasAudio | Player.HasVideo]</visible>
			<include>VisibleFadeEffect</include>
			<width>250</width>
			<height>45</height>
			<defaultcontrol always="true">603</defaultcontrol>
			<control type="button" id="600">
				<posx>5</posx>
				<posy>2</posy>
				<width>39</width>
				<height>39</height>
				<label>-</label>
				<texturefocus>OSDPrevTrackFO.png</texturefocus>
				<texturenofocus>OSDPrevTrackNF.png</texturenofocus>
				<onleft>50</onleft>
				<onright>606</onright>
				<onup>610</onup>
				<ondown>611</ondown>
				<onback>50</onback>
				<onclick>XBMC.PlayerControl(Previous)</onclick>
			</control>
			<control type="button" id="606">
				<posx>45</posx>
				<posy>2</posy>
				<width>39</width>
				<height>39</height>
				<label>-</label>
				<texturefocus>OSDRewindFO.png</texturefocus>
				<texturenofocus>OSDRewindNF.png</texturenofocus>
				<onleft>600</onleft>
				<onright>603</onright>
				<onup>610</onup>
				<ondown>611</ondown>
				<onback>50</onback>
				<onclick>XBMC.PlayerControl(Rewind)</onclick>
				<visible>Window.IsVisible(MusicPlaylist) | Window.IsVisible(VideoPlaylist) | Player.HasVideo</visible>
			</control>
			<control type="group">
				<animation effect="slide" start="0,0" end="40,0" time="0" condition="Window.IsVisible(MusicPlaylist) | Window.IsVisible(VideoPlaylist) | Player.HasVideo">Conditional</animation>
				<control type="togglebutton" id="603">
					<posx>45</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDPauseFO.png</texturefocus>
					<texturenofocus>OSDPauseNF.png</texturenofocus>
					<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
					<alttexturefocus>OSDPlayFO.png</alttexturefocus>
					<alttexturenofocus>OSDPlayNF.png</alttexturenofocus>
					<onleft>606</onleft>
					<onright>601</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
					<onclick>XBMC.PlayerControl(Play)</onclick>
				</control>
				<control type="button" id="601">
					<posx>85</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDStopFO.png</texturefocus>
					<texturenofocus>OSDStopNF.png</texturenofocus>
					<onleft>603</onleft>
					<onright>607</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
					<onclick>down</onclick>
					<onclick>XBMC.PlayerControl(Stop)</onclick>
				</control>
				<control type="button" id="607">
					<posx>125</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDForwardFO.png</texturefocus>
					<texturenofocus>OSDForwardNF.png</texturenofocus>
					<onleft>601</onleft>
					<onright>602</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
					<onclick>XBMC.PlayerControl(Forward)</onclick>
					<visible>Window.IsVisible(MusicPlaylist) | Window.IsVisible(VideoPlaylist) | Player.HasVideo</visible>
				</control>
				<control type="button" id="602">
					<posx>125</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDNextTrackFO.png</texturefocus>
					<texturenofocus>OSDNextTrackNF.png</texturenofocus>
					<onleft>607</onleft>
					<onright>604</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
					<onclick>XBMC.PlayerControl(Next)</onclick>
					<animation effect="slide" start="0,0" end="40,0" time="0" condition="Window.IsVisible(MusicPlaylist) | Window.IsVisible(VideoPlaylist) | Player.HasVideo">Conditional</animation>
				</control>
			</control>
			<control type="group">
				<visible>!Window.IsVisible(MusicPlaylist) + !Window.IsVisible(VideoPlaylist) + !Player.HasVideo</visible>
				<control type="button" id="604">
					<posx>165</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>-</texturefocus>
					<texturenofocus>-</texturenofocus>
					<onclick>XBMC.PlayerControl(Repeat)</onclick>
					<onleft>602</onleft>
					<onright>605</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
				</control>
				<control type="image">
					<posx>165</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<texture>OSDRepeatNF.png</texture>
					<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
					<visible>!Control.HasFocus(604)</visible>
				</control>
				<control type="image">
					<posx>165</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<texture>OSDRepeatFO.png</texture>
					<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
					<visible>Control.HasFocus(604)</visible>
				</control>
				<control type="image">
					<posx>165</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<texture>OSDRepeatOneNF.png</texture>
					<visible>Playlist.IsRepeatOne</visible>
					<visible>!Control.HasFocus(604)</visible>
				</control>
				<control type="image">
					<posx>165</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<texture>OSDRepeatOneFO.png</texture>
					<visible>Playlist.IsRepeatOne</visible>
					<visible>Control.HasFocus(604)</visible>
				</control>
				<control type="image">
					<posx>165</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<texture>OSDRepeatAllNF.png</texture>
					<visible>Playlist.IsRepeat</visible>
					<visible>!Control.HasFocus(604)</visible>
				</control>
				<control type="image">
					<posx>165</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<texture>OSDRepeatAllFO.png</texture>
					<visible>Playlist.IsRepeat</visible>
					<visible>Control.HasFocus(604)</visible>
				</control>
				<control type="togglebutton" id="605">
					<posx>205</posx>
					<posy>2</posy>
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDRandomOffFO.png</texturefocus>
					<texturenofocus>OSDRandomOffNF.png</texturenofocus>
					<usealttexture>Playlist.IsRandom</usealttexture>
					<alttexturefocus>OSDRandomOnFO.png</alttexturefocus>
					<alttexturenofocus>OSDRandomOnNF.png</alttexturenofocus>
					<onclick>XBMC.PlayerControl(Random)</onclick>
					<onleft>604</onleft>
					<onright>50</onright>
					<onup>610</onup>
					<ondown>611</ondown>
					<onback>50</onback>
				</control>
			</control>
		</control>
		<control type="radiobutton" id="611">
			<description>Go to fullscreen Playback</description>
			<include>ButtonCommonValues</include>
			<label>31008</label>
			<onclick>fullscreen</onclick>
			<textureradiofocus>GoFullscreen.png</textureradiofocus>
			<textureradionofocus>GoFullscreen.png</textureradionofocus>
			<visible>Player.HasMedia</visible>
		</control>
	</include>
	<include name="ScrollOffsetLabel">
		<control type="group">
			<visible>Container.Scrolling + [StringCompare(Container.SortMethod,$LOCALIZE[551]) | StringCompare(Container.SortMethod,$LOCALIZE[561]) | StringCompare(Container.SortMethod,$LOCALIZE[558]) | StringCompare(Container.SortMethod,$LOCALIZE[557]) | StringCompare(Container.SortMethod,$LOCALIZE[556])]</visible>
			<animation effect="slide" start="0,0" end="0,-60" time="100">Visible</animation>
			<animation effect="slide" start="0,-60" end="0,0" delay="400" time="100">Hidden</animation>
			<posx>300r</posx>
			<posy>720</posy>
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>70</width>
				<height>65</height>
				<texture border="20,20,20,2">InfoMessagePanel.png</texture>
			</control>
			<control type="label">
				<posx>5</posx>
				<posy>0</posy>
				<width>65</width>
				<height>60</height>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.SortLetter]</label>
				<textcolor>white</textcolor>
				<font>font30_title</font>
			</control>
		</control>
	</include>
	<include name="Clock">
		<control type="label">
			<description>Low free memory label</description>
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>30</height>
			<align>center</align>
			<aligny>center</aligny>
			<font>font13</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<label>$LOCALIZE[158]: $INFO[System.FreeMemory]</label>
			<visible>IntegerGreaterThan(system.memory(used.percent),85)</visible>
		</control>
		<control type="label">
			<description>time label</description>
			<posx>20r</posx>
			<posy>5</posy>
			<width>200</width>
			<height>30</height>
			<align>right</align>
			<aligny>center</aligny>
			<font>font28_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<label>$INFO[System.Time]</label>
			<animation effect="slide" start="0,0" end="-40,0" time="100" condition="Window.IsVisible(Mutebug)">conditional</animation>
		</control>
	</include>
	<include name="HomeAddonsCommonLayout">
		<include>Window_OpenClose_Animation</include>
		<animation type="Visible">
			<effect type="slide" start="0,30" end="0,0" delay="200" easing="out" tween="quadratic" time="200" />
			<effect type="fade" start="0" end="100" delay="200" time="200" />
		</animation>
		<animation type="Hidden">
			<effect type="zoom" start="100" end="70" center="auto" easing="in" tween="quadratic" time="300" />
			<effect type="fade" start="100" end="0" time="300" />
		</animation>
		<posx>0</posx>
		<posy>190r</posy>
		<width>1280</width>
		<height>200</height>
		<pagecontrol>-</pagecontrol>
		<scrolltime>300</scrolltime>
		<focusposition>3</focusposition>
		<movement>2</movement>
		<orientation>Horizontal</orientation>
		<itemlayout height="200" width="182">
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">button-nofocus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="image">
				<posx>5</posx>
				<posy>120</posy>
				<width>170</width>
				<height>110</height>
				<aspectratio aligny="top">keep</aspectratio>
				<texture diffuse="diffuse_mirror2.png" flipy="true" background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="label">
				<posx>91</posx>
				<posy>125</posy>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
			</control>
		</itemlayout>
		<focusedlayout height="200" width="182">
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">button-nofocus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
				<visible>!ControlGroup(9002).HasFocus</visible>
			</control>
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">folder-focus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
				<visible>ControlGroup(9002).HasFocus</visible>
			</control>
			<control type="image">
				<posx>5</posx>
				<posy>120</posy>
				<width>170</width>
				<height>110</height>
				<aspectratio aligny="top">keep</aspectratio>
				<texture diffuse="diffuse_mirror2.png" flipy="true" background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="label">
				<posx>91</posx>
				<posy>125</posy>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>white</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
				<visible>Control.HasFocus(9002)</visible>
			</control>
			<control type="label">
				<posx>91</posx>
				<posy>125</posy>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
				<visible>!Control.HasFocus(9002)</visible>
			</control>
		</focusedlayout>
	</include>
	<include name="backgroundfade">
		 <animation effect="fade" time="600">Visible</animation>
		 <animation effect="fade" time="600">Hidden</animation>
	</include>
	<include name="Window_OpenClose_Animation">
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
	</include>
	<include name="dialogeffect">
		<animation effect="fade" time="250">WindowOpen</animation>
		<animation effect="fade" time="250">WindowClose</animation>
	</include>
	<include name="VisibleFadeEffect">
		<animation effect="fade" time="300">Visible</animation>
		<animation effect="fade" time="300">Hidden</animation>
	</include>
</includes>