<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="Viewtype_Showcase.xml" />
	
	<include file="IncludesHomeVertical.xml" />
	<include file="IncludesHomeHorizontal.xml" />

	<constant name="FanartCrossfadeTime">500</constant>
	<constant name="IconCrossfadeTime">400</constant>

	<include name="CommonMediaPlayingBackground">
		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<texture>special://skin/backgrounds/media-overlay.png</texture>
			<visible>Player.HasVideo + Skin.HasSetting(ShowBackgroundVideo)</visible>
		</control>
		<control type="visualisation">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<visible>Player.HasAudio + Skin.HasSetting(ShowBackgroundVis)</visible>
		</control>
		<control type="videowindow">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<visible>Player.HasVideo + Skin.HasSetting(ShowBackgroundVideo)</visible>
		</control>
	</include>
	<include name="CommonVideoBackground">
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/videos.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
			<visible>Window.IsVisible(VideoFiles)</visible>
			<visible>[IsEmpty(Fanart.Image) + IsEmpty(listitem.property(fanart_image))] | [Skin.HasSetting(VideoFilesFanart) + !Control.IsVisible(508)]</visible>
		</control>
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/videos.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
			<visible>Window.IsVisible(VideoPlaylist) | Window.IsVisible(VideosSettings) | Window.IsVisible(VideoLibrary) + ![Container.Content(Movies) | Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes)]</visible>
		</control>
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/videos.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
			<visible>Container.Content(Movies)</visible>
			<visible>[IsEmpty(Fanart.Image) + IsEmpty(listitem.property(fanart_image))] | [Skin.HasSetting(VideoLibraryMovieFanart) + ![Control.IsVisible(508) | Control.IsVisible(520)]]</visible>
		</control>
		<control type="multiimage"> 
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/videos.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
			<visible>[Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes)]</visible>
			<visible>[IsEmpty(Fanart.Image) + IsEmpty(listitem.property(fanart_image))] | Skin.HasSetting(VideoLibraryTVFanart)</visible>
		</control>	
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/videos.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Movies_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
			<visible>Container.Content(Movies) + [!IsEmpty(Skin.String(Home_Custom_Back_Movies_Folder)) + Skin.HasSetting(HomeMenuNoMoviesButton)]</visible>
			<visible>[IsEmpty(Fanart.Image) + IsEmpty(listitem.property(fanart_image))] | Skin.HasSetting(VideoLibraryMovieFanart)</visible>
		</control>
		<control type="multiimage"> 
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/videos.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_TVShow_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
			<visible>[Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes)] + [!IsEmpty(Skin.String(Home_Custom_Back_TVShow_Folder) + Skin.HasSetting(HomeMenuNoTVShowsButton)]</visible>
			<visible>[IsEmpty(Fanart.Image) + IsEmpty(listitem.property(fanart_image))] | Skin.HasSetting(VideoLibraryTVFanart)</visible>
		</control>		
	</include>
	<include name="CommonMusicBackground">
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/music.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Music_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
		</control>
	</include>
	<include name="CommonPictureBackground">
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/pictures.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Pictures_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
		</control>
	</include>
	<include name="CommonProgramsBackground">
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/programs.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Programs_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
		</control>
	</include>
	<include name="CommonScriptBackground">
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/addons.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Addons_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
		</control>
	</include>
	<include name="CommonWeatherBackground">
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/weather.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Weather_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
			<visible>![Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))]</visible>
		</control>
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath background="true">$INFO[Skin.String(WeatherFanartDir)]$INFO[Weather.FanartCode]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
			<visible>Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))</visible>
			<animation effect="fade" time="200">WindowClose</animation>
		</control>
	</include>
	<include name="CommonSettingsBackground">
		<control type="multiimage">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<imagepath fallback="special://skin/backgrounds/settings.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Settings_Folder)]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
		</control>
	</include>
	<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(PluginSettings) | 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-Apple_Movie_Trailers-settings.xml) | Window.IsActive(script-Apple_Movie_Trailers-chooser.xml) | Window.IsActive(script-Apple_Movie_Trailers-search.xml) | Window.IsActive(script-Apple_Movie_Trailers-showtimes.xml) | Window.IsActive(script-XBMC_Lyrics-settings.xml) | Window.IsActive(script-RSS_Editor-rssEditor.xml) | Window.IsActive(script-RSS_Editor-setEditor.xml)</visible>
		</control>
	</include>
	<include name="WindowTitleCommons">
		<posy>0</posy>
		<width>1060</width>
		<height>28</height>
		<font>font12caps</font>
		<textcolor>white</textcolor>
		<scroll>false</scroll>
		<align>right</align>
		<aligny>center</aligny>
	</include>
	<include name="WindowTitleHomeButton">
		<control type="group">
			<posx>20</posx>
			<posy>0</posy>
			<animation effect="slide" end="-270,0" time="400" tween="quadratic" easing="out" condition="Window.Next(Home)">WindowClose</animation>
			<animation effect="slide" start="-270,0" time="400" tween="quadratic" easing="out" condition="Window.Previous(Home)">WindowOpen</animation>
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>80</width>
				<height>35</height>
				<texture border="0,0,32,0">header.png</texture>
			</control>
			<control type="button">
				<hitrect x="0" y="0" w="60" h="30" />
				<posx>20</posx>
				<posy>5</posy>
				<width>25</width>
				<height>20</height>
				<texturenofocus>HomeIcon.png</texturenofocus>
				<texturefocus>HomeIcon-Focus.png</texturefocus>
				<label>-</label>
				<onclick>ActivateWindow(Home)</onclick>
			</control>
		</control>
	</include>
	<include name="ButtonCommonValues">
		<height>40</height>
		<width>250</width>
		<textoffsetx>10</textoffsetx>
		<textwidth>235</textwidth>
		<aligny>center</aligny>
		<font>font13caps</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>font13_title</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus border="5">button-nofocus.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="ButtonHomeSubCommonValues">
		<height>40</height>
		<width>221</width>
		<textoffsetx>20</textoffsetx>
		<textwidth>195</textwidth>
		<aligny>center</aligny>
		<font>font13_title</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus border="5">button-nofocus.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="ButtonInfoDialogsCommonValues">
		<height>40</height>
		<width>170</width>
		<textoffsetx>20</textoffsetx>
		<align>center</align>
		<aligny>center</aligny>
		<font>font18_title</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus border="5">button-nofocus.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="ButtonSMSDialogsCommonValues">
		<height>30</height>
		<width>82</width>
		<textoffsetx>20</textoffsetx>
		<align>center</align>
		<aligny>center</aligny>
		<font>font11caps</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus border="5">button-nofocus.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="SideBladeRight">
		<control type="image">
			<posx>26r</posx>
			<posy>0</posy>
			<width>846</width>
			<height>720</height>
			<texture flipx="true">HomeBlade.png</texture>
			<animation effect="slide" start="26,0" end="0,0" time="300" tween="quadratic" easing="out">WindowOpen</animation>
			<animation effect="slide" start="0,0" end="26,0" time="200" delay="200" tween="quadratic" easing="out">WindowClose</animation>
		</control>
	</include>
	<include name="SideBladeLeft">
		<control type="image">
			<posx>-820</posx>
			<posy>0</posy>
			<width>846</width>
			<height>720</height>
			<texture>HomeBlade.png</texture>
			<animation effect="slide" start="-26,0" end="0,0" time="300" tween="quadratic" easing="out">WindowOpen</animation>
			<animation effect="slide" start="0,0" end="-26,0" time="200" delay="200" tween="quadratic" easing="out">WindowClose</animation>
		</control>
	</include>
	<include name="CommonPageCount">
		<control type="label">
			<posx>40</posx>
			<posy>30r</posy>
			<width>700</width>
			<height>20</height>
			<label>([COLOR=blue]$INFO[Player.Time] / $INFO[Player.Duration,][/COLOR]) - $INFO[MusicPlayer.Title]$INFO[VideoPlayer.Title]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>grey2</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>Player.HasMedia</visible>
			<include>VisibleFadeEffect</include>
			<include>Window_OpenClose_Animation</include>		
		</control>
		<control type="label">
			<description>Page Count Label</description>
			<posx>40r</posx>
			<posy>30r</posy>
			<width>500</width>
			<height>20</height>
			<font>font12</font>
			<textcolor>grey2</textcolor>
			<scroll>false</scroll>
			<align>right</align>
			<aligny>center</aligny>
			<label>([COLOR=blue]$INFO[Container.NumItems][/COLOR]) $LOCALIZE[31025]$INFO[Container.TotalTime, - $LOCALIZE[180] ([COLOR=blue],[/COLOR])] - $LOCALIZE[31024] ([COLOR=blue]$INFO[Container.CurrentPage]/$INFO[Container.NumPages][/COLOR])</label>
			<include>Window_OpenClose_Animation</include>		
		</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>font13_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>370</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>font13_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>font13_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>font13_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">
		<visible>[Player.HasAudio | Player.HasVideo]</visible>
		<include>VisibleFadeEffect</include>
		<control type="label">
			<posx>250</posx>
			<posy>0</posy>
			<width>250</width>
			<height>40</height>
			<font>font28_title</font>
			<textcolor>grey2</textcolor>
			<align>right</align>
			<aligny>center</aligny>
			<label>31023</label>
		</control>
		<control type="group" id="9005">
			<posx>12</posx>
			<posy>40</posy>
			<control type="button" id="600">
				<posx>0</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>608</ondown>
				<onclick>XBMC.PlayerControl(Previous)</onclick>
			</control>
			<control type="button" id="606">
				<posx>40</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>608</ondown>
				<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>40</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>601</onleft>
					<onleft>606</onleft> 
 	                <onright>601</onright> 
 	                <onup>610</onup> 
 	                <ondown>608</ondown> 
 	                <onclick>XBMC.PlayerControl(Play)</onclick> 
 	            </control> 
 	            <control type="button" id="601"> 
 	                <posx>80</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>608</ondown>
					<onclick>down</onclick> 
					<onclick>XBMC.PlayerControl(Stop)</onclick>
				</control>
				<control type="button" id="607">
					<posx>120</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>608</ondown>
					<onclick>XBMC.PlayerControl(Forward)</onclick>
					<visible>Window.IsVisible(MusicPlaylist) | Window.IsVisible(VideoPlaylist) | Player.HasVideo</visible>
				</control>
				<control type="button" id="602">
					<posx>120</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>608</ondown>
					<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>160</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>608</ondown>
				</control>
				<control type="image">
					<posx>160</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>160</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>160</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>160</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>160</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>160</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>200</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>608</ondown>
				</control>
			</control>
		</control>
	</include>
	<include name="CommonNowPlaying">
		<control type="group">
			<posx>10</posx>
			<posy>345</posy>
			<visible>Player.HasAudio</visible>
			<include>VisibleFadeEffect</include>
			<control type="button" id="608">
				<posx>38</posx>
				<posy>0</posy>
				<width>164</width>
				<height>164</height>
				<label>-</label>
				<texturefocus border="5">folder-focus.png</texturefocus>
				<texturenofocus>-</texturenofocus>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>603</onup>
				<ondown>611</ondown>
				<onclick>fullscreen</onclick>
			</control>
			<control type="image">
				<posx>40</posx>
				<posy>2</posy>
				<width>160</width>
				<height>160</height>
				<texture>$INFO[MusicPlayer.Cover]</texture>
				<bordertexture border="3">black-back2.png</bordertexture>
				<bordersize>5</bordersize>
				<aspectratio align="center">keep</aspectratio>
			</control>
			<control type="fadelabel">
				<posx>0</posx>
				<posy>170</posy>
				<width>240</width>
				<height>20</height>
				<label>$INFO[MusicPlayer.Title]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<scrollout>false</scrollout>
				<pauseatend>2000</pauseatend>
			</control>
			<control type="fadelabel">
				<posx>0</posx>
				<posy>190</posy>
				<width>240</width>
				<height>20</height>
				<label>$INFO[MusicPlayer.Artist]$INFO[MusicPlayer.Album, | ]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font10</font>
				<textcolor>grey2</textcolor>
				<shadowcolor>black</shadowcolor>
				<scrollout>false</scrollout>
				<pauseatend>2000</pauseatend>
			</control>
		</control>
		<control type="group">
			<posx>10</posx>
			<posy>345</posy>
			<visible>Player.HasVideo</visible>
			<include>VisibleFadeEffect</include>
			<control type="button" id="608">
				<posx>0</posx>
				<posy>0</posy>
				<width>240</width>
				<height>164</height>
				<label>-</label>
				<texturefocus border="5">folder-focus.png</texturefocus>
				<texturenofocus>-</texturenofocus>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>603</onup>
				<ondown>611</ondown>
				<onclick>fullscreen</onclick>
			</control>
			<control type="videowindow">
				<posx>2</posx>
				<posy>2</posy>
				<width>236</width>
				<height>160</height>
			</control>
			<control type="fadelabel">
				<posx>0</posx>
				<posy>170</posy>
				<width>240</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.Title]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<scrollout>false</scrollout>
				<pauseatend>2000</pauseatend>
			</control>
			<control type="fadelabel">
				<posx>0</posx>
				<posy>190</posy>
				<width>240</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.TVShowTitle,, - ]$INFO[VideoPlayer.Season,,x]$INFO[VideoPlayer.Episode]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font10</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<scrollout>false</scrollout>
				<pauseatend>2000</pauseatend>
				<visible>VideoPlayer.Content(Episodes)</visible>
			</control>
			<control type="fadelabel">
				<posx>0</posx>
				<posy>190</posy>
				<width>240</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.Year]$INFO[VideoPlayer.Director, | ]$INFO[VideoPlayer.Genre, | ]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font10</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<scrollout>false</scrollout>
				<pauseatend>2000</pauseatend>
				<visible>VideoPlayer.Content(Movies)</visible>
			</control>
		</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>28</height>
			<align>center</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>FFDD0000</textcolor>
			<label>[B]$LOCALIZE[158]: $INFO[System.FreeMemory][/B]</label>
			<visible>IntegerGreaterThan(system.memory(used.percent),90)</visible>
		</control>
		<control type="group">
			<posx>160r</posx>
			<posy>0</posy>
			<animation effect="slide" start="0,0" end="-60,0" delay="0" time="300" condition="Window.IsVisible(MuteBug)">conditional</animation>
			<animation effect="slide" start="0,0" end="210,0" delay="0" time="300" condition="Window.Next(Home) | Window.IsVisible(FullscreenVideo) | Window.IsVisible(Visualisation)">WindowClose</animation>
			<animation effect="slide" start="210,0" end="0,0" delay="0" time="300" condition="Window.Previous(Home) | Window.IsVisible(FullscreenVideo) | Window.IsVisible(Visualisation)">WindowOpen</animation>
			<control type="image">
				<description>time background</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>150</width>
				<height>35</height>
				<texture flipx="true" border="32,0,0,0">header.png</texture>
			</control>
			<control type="label">
				<description>time label</description>
				<posx>30</posx>
				<posy>0</posy>
				<width>400</width>
				<height>28</height>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>white</textcolor>
				<label>$INFO[System.Time]</label>
			</control>
		</control>
	</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>