<?xml version="1.0" encoding="UTF-8"?>
<window id="0">
  <defaultcontrol always="true">8998</defaultcontrol>
  <allowoverlay>no</allowoverlay>
  <include>OpenClose</include>
  <onload condition="IsEmpty(Window(Home).Property(Quartz_Watchlist))">RunScript(script.watchlist,$VAR[WatchlistParameters])</onload>
  <onload condition="IsEmpty(Window(Home).Property(Quartz_Watchlist))">SetProperty(Quartz_Watchlist,True,0)</onload>
  <controls>
    <include>MiniBackground</include>
	<control type="button" id="8998" description="Fix ATV1 focus bug">
      <include>HiddenButton</include>
      <onfocus>Control.SetFocus(9000)</onfocus>
      <onclick>Control.SetFocus(9000)</onclick>
    </control>
    <control type="group" description="Furniture">
      <control type="image" description="Stage">
        <posx>0</posx>
        <posy>0</posy>
        <width>1920</width>
        <height>478</height>
        <aspectratio>stretch</aspectratio>
        <texture>img/HomeStage.png</texture>
      </control>
      <control type="image" description="Navbar">
        <posx>-90</posx>
        <posy>476</posy>
        <width>2100</width>
        <height>1</height>
        <aspectratio>stretch</aspectratio>
        <texture>img/Line1.png</texture>
      </control>
      <control type="image" description="Navbar">
        <posx>-300</posx>
        <posy>568</posy>
        <width>2520</width>
        <height>1</height>
        <aspectratio>stretch</aspectratio>
        <texture>img/Line1.png</texture>
      </control>
    </control>
    <control type="grouplist" description="Sliders">
      <visible>!Control.HasFocus(311) + !Control.HasFocus(312) + !Control.HasFocus(313) + !Control.HasFocus(314) + !Control.HasFocus(315) + !Control.HasFocus(316)</visible>
      <posx>0</posx>
      <posy>568</posy>
      <width>auto</width>
      <height>420</height>
      <align>center</align>
      <aligny>top</aligny>
      <itemgap>-75</itemgap>
      <orientation>horizontal</orientation>
      <include>Slider301</include>
      <include>Slider302</include>
      <include>Slider303</include>
      <include>Slider304</include>
      <include>Slider305</include>
      <include>Slider306</include>
    </control>
    <control type="grouplist" id="9000" description="Submenus">
      <posx>0</posx>
      <posy>585</posy>
      <itemgap>0</itemgap>
      <width>auto</width>
      <height>420</height>
      <align>center</align>
      <aligny>top</aligny>
      <onup>700</onup>
      <orientation>horizontal</orientation>
      <control type="list" id="301" description="Movies">
        <visible>!Skin.HasSetting(MoviesSectionHide)</visible>
        <visible>IntegerGreaterThan(Container(301).NumItems,0)</visible>
        <onleft>306</onleft>
        <onright>302</onright>
        <onup>311</onup>
        <ondown>-</ondown>
        <include>Sublist</include>
        <focusposition>3</focusposition>
        <movement>3</movement>
        <content>
          <item id="0" description="MyMovies">
            <visible>!Skin.HasSetting(Movies1)</visible>
            <visible>Library.HasContent(Movies)</visible>
            <label>342</label>
            <onclick>ActivateWindow(VideoLibrary,MovieTitles,return)</onclick>
          </item>
          <item id="1" description="RA Movies">
            <visible>!Skin.HasSetting(Movies2)</visible>
            <visible>Library.HasContent(Movies)</visible>
            <label>31289</label>
            <onclick>ActivateWindow(VideoLibrary,RecentlyAddedMovies,return)</onclick>
          </item>
          <item id="2" description="Genres">
            <visible>!Skin.HasSetting(Movies3)</visible>
            <visible>Library.HasContent(Movies)</visible>
            <label>135</label>
            <onclick>ActivateWindow(videolibrary,moviegenres,return)</onclick>
          </item>
          <item id="3" description="Custom Movies">
            <visible>!IsEmpty(Skin.String(CustomMovies.1.Path))</visible>
            <label>$INFO[Skin.String(CustomMovies.1.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMovies.1.Path)]</onclick>
          </item>
          <item id="4" description="Shortcut2">
            <visible>!IsEmpty(Skin.String(CustomMovies.2.Path))</visible>
            <label>$INFO[Skin.String(CustomMovies.2.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMovies.2.Path)]</onclick>
          </item>
          <item id="5" description="Shortcut3">
            <visible>!IsEmpty(Skin.String(CustomMovies.3.Path))</visible>
            <label>$INFO[Skin.String(CustomMovies.3.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMovies.3.Path)]</onclick>
          </item>
          <item id="6" description="Shortcut4">
            <visible>!IsEmpty(Skin.String(CustomMovies.4.Path))</visible>
            <label>$INFO[Skin.String(CustomMovies.4.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMovies.4.Path)]</onclick>
          </item>
          <item id="7" description="Shortcut5">
            <visible>!IsEmpty(Skin.String(CustomMovies.5.Path))</visible>
            <label>$INFO[Skin.String(CustomMovies.5.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMovies.5.Path)]</onclick>
          </item>
          <item id="7" description="Shortcut6">
            <visible>!IsEmpty(Skin.String(CustomMovies.6.Path))</visible>
            <label>$INFO[Skin.String(CustomMovies.6.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMovies.6.Path)]</onclick>
          </item>
          <item id="7" description="Shortcut7">
            <visible>!IsEmpty(Skin.String(CustomMovies.7.Path))</visible>
            <label>$INFO[Skin.String(CustomMovies.7.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMovies.7.Path)]</onclick>
          </item>
          <item id="8" description="Browse">
            <visible>!Skin.HasSetting(Movies4)</visible>
            <label>1024</label>
            <onclick>ActivateWindow(Videolibrary,root)</onclick>
          </item>
          <item id="9" description="Search">
            <visible>!Skin.HasSetting(Movies5)</visible>
            <visible>Library.HasContent(Movies)</visible>
            <label>137</label>
            <onclick>ActivateWindow(VideoLibrary)</onclick>
            <onclick>SendClick(8)</onclick>
          </item>
        </content>
        <include>Animation301</include>
      </control>
      <control type="list" id="302" description="TVShows">
        <visible>!Skin.HasSetting(TVSectionHide)</visible>
        <visible>IntegerGreaterThan(Container(302).NumItems,0)</visible>
        <onleft>301</onleft>
        <onright>303</onright>
        <onup>312</onup>
        <ondown>-</ondown>
        <include>Sublist</include>
        <content>
          <item id="0" description="MyTV">
            <visible>!Skin.HasSetting(TV1)</visible>
            <visible>Library.HasContent(TVShows)</visible>
            <label>20343</label>
            <onclick>ActivateWindow(VideoLibrary,TVShowTitles,return)</onclick>
          </item>
          <item id="1" description="RA TV">
            <visible>!Skin.HasSetting(TV2)</visible>
            <visible>Library.HasContent(TVShows)</visible>
            <label>31289</label>
            <onclick>ActivateWindow(VideoLibrary,RecentlyAddedEpisodes,return)</onclick>
          </item>
          <item id="2" description="Browse 5 MENU ITEM ADDED Watchlist">
            <visible>!Skin.HasSetting(TV5)</visible>
            <visible>Library.HasContent(TVShows)</visible>
            <label>31981</label>
            <onclick>ActivateWindow(1113)</onclick>
          </item>
          <item id="3" description="Custom TV">
            <visible>!IsEmpty(Skin.String(CustomTV.1.Path))</visible>
            <label>$INFO[Skin.String(CustomTV.1.Label)]</label>
            <onclick>$INFO[Skin.String(CustomTV.1.Path)]</onclick>
          </item>
          <item id="4" description="Shortcut2">
            <visible>!IsEmpty(Skin.String(CustomTV.2.Path))</visible>
            <label>$INFO[Skin.String(CustomTV.2.Label)]</label>
            <onclick>$INFO[Skin.String(CustomTV.2.Path)]</onclick>
          </item>
          <item id="5" description="Shortcut3">
            <visible>!IsEmpty(Skin.String(CustomTV.3.Path))</visible>
            <label>$INFO[Skin.String(CustomTV.3.Label)]</label>
            <onclick>$INFO[Skin.String(CustomTV.3.Path)]</onclick>
          </item>
          <item id="6" description="Shortcut4">
            <visible>!IsEmpty(Skin.String(CustomTV.4.Path))</visible>
            <label>$INFO[Skin.String(CustomTV.4.Label)]</label>
            <onclick>$INFO[Skin.String(CustomTV.4.Path)]</onclick>
          </item>
          <item id="7" description="Shortcut5">
            <visible>!IsEmpty(Skin.String(CustomTV.5.Path))</visible>
            <label>$INFO[Skin.String(CustomTV.5.Label)]</label>
            <onclick>$INFO[Skin.String(CustomTV.5.Path)]</onclick>
          </item>
          <item id="7" description="Shortcut6">
            <visible>!IsEmpty(Skin.String(CustomTV.6.Path))</visible>
            <label>$INFO[Skin.String(CustomTV.6.Label)]</label>
            <onclick>$INFO[Skin.String(CustomTV.6.Path)]</onclick>
          </item>
          <item id="7" description="Shortcut7">
            <visible>!IsEmpty(Skin.String(CustomTV.7.Path))</visible>
            <label>$INFO[Skin.String(CustomTV.7.Label)]</label>
            <onclick>$INFO[Skin.String(CustomTV.7.Path)]</onclick>
          </item>
          <item id="8" description="Browse">
            <visible>!Skin.HasSetting(TV3)</visible>
            <label>1024</label>
            <onclick>ActivateWindow(Videolibrary,root)</onclick>
          </item>
          <item id="9" description="Search">
            <visible>!Skin.HasSetting(TV4)</visible>
            <visible>Library.HasContent(TVShows)</visible>
            <label>137</label>
            <onclick>ActivateWindow(VideoLibrary)</onclick>
            <onclick>SendClick(8)</onclick>
          </item>
        </content>
        <include>Animation302</include>
      </control>
      <control type="list" id="303" description="Music">
        <visible>!Skin.HasSetting(MusicSectionHide)</visible>
        <visible>IntegerGreaterThan(Container(303).NumItems,0)</visible>
        <onleft>302</onleft>
        <onright>304</onright>
        <onup>313</onup>
        <ondown>-</ondown>
        <include>Sublist</include>
        <content>
          <item id="0" description="Artists">
            <visible>!Skin.HasSetting(Music1) + Library.HasContent(Music)</visible>
            <label>133</label>
            <onclick condition="Library.HasContent(Music)">ActivateWindow(MusicLibrary,Artists,return)</onclick>
          </item>
          <item id="1" description="Music Videos">
            <visible>!Skin.HasSetting(Music2) + Library.HasContent(MusicVideos)</visible>
            <label>3</label>
            <onclick>ActivateWindow(VideoLibrary,MusicVideos,return)</onclick>
          </item>
          <item id="2" description="Library">
            <visible>!Skin.HasSetting(Music3) + Library.HasContent(Music)</visible>
            <label>14022</label>
            <onclick>ActivateWindow(MusicLibrary,root)</onclick>
          </item>
          <item id="3" description="Files">
            <visible>!Skin.HasSetting(Music4)</visible>
            <label>744</label>
            <onclick>ActivateWindow(MusicFiles,root)</onclick>
          </item>
          <item id="3" description="Custom Music">
            <visible>!IsEmpty(Skin.String(CustomMusic.1.Path))</visible>
            <label>$INFO[Skin.String(CustomMusic.1.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMusic.1.Path)]</onclick>
          </item>
          <item id="4" description="Shortcut2">
            <visible>!IsEmpty(Skin.String(CustomMusic.2.Path))</visible>
            <label>$INFO[Skin.String(CustomMusic.2.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMusic.2.Path)]</onclick>
          </item>
          <item id="5" description="Shortcut3">
            <visible>!IsEmpty(Skin.String(CustomMusic.3.Path))</visible>
            <label>$INFO[Skin.String(CustomMusic.3.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMusic.3.Path)]</onclick>
          </item>
          <item id="6" description="Shortcut4">
            <visible>!IsEmpty(Skin.String(CustomMusic.4.Path))</visible>
            <label>$INFO[Skin.String(CustomMusic.4.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMusic.4.Path)]</onclick>
          </item>
          <item id="7" description="Shortcut5">
            <visible>!IsEmpty(Skin.String(CustomMusic.5.Path))</visible>
            <label>$INFO[Skin.String(CustomMusic.5.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMusic.5.Path)]</onclick>
          </item>
          <item id="7" description="Shortcut6">
            <visible>!IsEmpty(Skin.String(CustomMusic.6.Path))</visible>
            <label>$INFO[Skin.String(CustomMusic.6.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMusic.6.Path)]</onclick>
          </item>
          <item id="7" description="Shortcut7">
            <visible>!IsEmpty(Skin.String(CustomMusic.7.Path))</visible>
            <label>$INFO[Skin.String(CustomMusic.7.Label)]</label>
            <onclick>$INFO[Skin.String(CustomMusic.7.Path)]</onclick>
          </item>
          <item id="10" description="Search">
            <visible>!Skin.HasSetting(Music5) + [Library.HasContent(Music) | Library.HasContent(MusicVideos)]</visible>
            <label>137</label>
            <onclick>ActivateWindow(MusicLibrary)</onclick>
            <onclick>SendClick(8)</onclick>
          </item>
        </content>
        <include>Animation303</include>
      </control>
      <control type="list" id="304" description="Pictures">
        <visible>!Skin.HasSetting(PicturesSectionHide)</visible>
        <visible>IntegerGreaterThan(Container(304).NumItems,0)</visible>
        <onleft>303</onleft>
        <onright>305</onright>
        <onup>314</onup>
        <ondown>-</ondown>
        <include>Sublist</include>
        <content>
          <item id="1" description="Pictures">
            <visible>!Skin.HasSetting(Pictures1)</visible>
            <label>1</label>
            <onclick>ActivateWindow(Pictures)</onclick>
          </item>
          <item id="3" description="Custom Pictures">
            <visible>!IsEmpty(Skin.String(CustomPictures.1.Path))</visible>
            <label>$INFO[Skin.String(CustomPictures.1.Label)]</label>
            <onclick>$INFO[Skin.String(CustomPictures.1.Path)]</onclick>
          </item>
          <item id="4" description="Shortcut2">
            <visible>!IsEmpty(Skin.String(CustomPictures.2.Path))</visible>
            <label>$INFO[Skin.String(CustomPictures.2.Label)]</label>
            <onclick>$INFO[Skin.String(CustomPictures.2.Path)]</onclick>
          </item>
          <item id="5" description="Shortcut3">
            <visible>!IsEmpty(Skin.String(CustomPictures.3.Path))</visible>
            <label>$INFO[Skin.String(CustomPictures.3.Label)]</label>
            <onclick>$INFO[Skin.String(CustomPictures.3.Path)]</onclick>
          </item>
          <item id="6" description="Shortcut4">
            <visible>!IsEmpty(Skin.String(CustomPictures.4.Path))</visible>
            <label>$INFO[Skin.String(CustomPictures.4.Label)]</label>
            <onclick>$INFO[Skin.String(CustomPictures.4.Path)]</onclick>
          </item>
          <item id="7" description="Shortcut5">
            <visible>!IsEmpty(Skin.String(CustomPictures.5.Path))</visible>
            <label>$INFO[Skin.String(CustomPictures.5.Label)]</label>
            <onclick>$INFO[Skin.String(CustomPictures.5.Path)]</onclick>
          </item>
          <item id="8" description="Shortcut6">
            <visible>!IsEmpty(Skin.String(CustomPictures.6.Path))</visible>
            <label>$INFO[Skin.String(CustomPictures.6.Label)]</label>
            <onclick>$INFO[Skin.String(CustomPictures.6.Path)]</onclick>
          </item>
          <item id="9" description="Shortcut7">
            <visible>!IsEmpty(Skin.String(CustomPictures.7.Path))</visible>
            <label>$INFO[Skin.String(CustomPictures.7.Label)]</label>
            <onclick>$INFO[Skin.String(CustomPictures.7.Path)]</onclick>
          </item>
        </content>
        <include>Animation304</include>
      </control>
      <control type="list" id="305" description="Addons">
        <visible>!Skin.HasSetting(AddonsSectionHide) | Skin.HasSetting(PVR_Enabled)</visible>
        <visible>IntegerGreaterThan(Container(305).NumItems,0)</visible>
        <onleft>304</onleft>
        <onright>306</onright>
        <onup>315</onup>
        <ondown>-</ondown>
        <include>Sublist</include>
        <content>
          <item id="0" description="LiveTV">
            <visible>Skin.HasSetting(PVR_Enabled)</visible>
            <label>31502</label>
            <onclick>ActivateWindow(PVR)</onclick>
          </item>
          <item id="1" description="Weather">
            <visible>!Skin.HasSetting(Addons1)</visible>
            <label>8</label>
            <onclick>ActivateWindow(Weather)</onclick>
          </item>
          <item id="2" description="Program apps">
            <visible>!Skin.HasSetting(Addons2)</visible>
            <label>0</label>
            <onclick>XBMC.ActivateWindow(Programs,Addons,return)</onclick>
          </item>
          <item id="3" description="Picture apps">
            <visible>!Skin.HasSetting(Addons3)</visible>
            <label>1</label>
            <onclick>XBMC.ActivateWindow(Pictures,Addons,return)</onclick>
          </item>
          <item id="4" description="Video apps">
            <visible>!Skin.HasSetting(Addons4)</visible>
            <label>157</label>
            <onclick>ActivateWindow(VideoLibrary,Addons,return)</onclick>
          </item>
          <item id="5" description="Music apps">
            <visible>!Skin.HasSetting(Addons5)</visible>
            <label>2</label>
            <onclick condition="Library.HasContent(Music)">ActivateWindow(MusicLibrary,Addons,return)</onclick>
            <onclick condition="!Library.HasContent(Music)">ActivateWindow(MusicFiles,Addons,return)</onclick>
          </item>
          <item id="6" description="Settings">
            <visible>!Skin.HasSetting(Addons6)</visible>
            <label>5</label>
            <onclick>ActivateWindow(AddonBrowser,root)</onclick>
          </item>
          <item id="3" description="Custom Apps">
            <visible>!IsEmpty(Skin.String(CustomAddons.1.Path))</visible>
            <label>$INFO[Skin.String(CustomAddons.1.Label)]</label>
            <onclick>$INFO[Skin.String(CustomAddons.1.Path)]</onclick>
          </item>
          <item id="4" description="Shortcut2">
            <visible>!IsEmpty(Skin.String(CustomAddons.2.Path))</visible>
            <label>$INFO[Skin.String(CustomAddons.2.Label)]</label>
            <onclick>$INFO[Skin.String(CustomAddons.2.Path)]</onclick>
          </item>
          <item id="5" description="Shortcut3">
            <visible>!IsEmpty(Skin.String(CustomAddons.3.Path))</visible>
            <label>$INFO[Skin.String(CustomAddons.3.Label)]</label>
            <onclick>$INFO[Skin.String(CustomAddons.3.Path)]</onclick>
          </item>
          <item id="6" description="Shortcut4">
            <visible>!IsEmpty(Skin.String(CustomAddons.4.Path))</visible>
            <label>$INFO[Skin.String(CustomAddons.4.Label)]</label>
            <onclick>$INFO[Skin.String(CustomAddons.4.Path)]</onclick>
          </item>
          <item id="7" description="Shortcut5">
            <visible>!IsEmpty(Skin.String(CustomAddons.5.Path))</visible>
            <label>$INFO[Skin.String(CustomAddons.5.Label)]</label>
            <onclick>$INFO[Skin.String(CustomAddons.5.Path)]</onclick>
          </item>
          <item id="8" description="Shortcut6">
            <visible>!IsEmpty(Skin.String(CustomAddons.6.Path))</visible>
            <label>$INFO[Skin.String(CustomAddons.6.Label)]</label>
            <onclick>$INFO[Skin.String(CustomAddons.6.Path)]</onclick>
          </item>
        </content>
        <include>Animation305</include>
      </control>
      <control type="list" id="306" description="XBMC">
        <onleft>305</onleft>
        <onright>301</onright>
        <onup>316</onup>
        <ondown>306</ondown>
        <include>Sublist</include>
        <content>
          <item id="1" description="Now playing Video">
            <visible>Player.HasMedia</visible>
            <label>31977</label>
            <onclick>fullscreen</onclick>
          </item>
          <item id="2" description="Settings">
            <visible>!Skin.HasSetting(HideSettings)</visible>
            <label>5</label>
            <onclick>ActivateWindow(Settings)</onclick>
          </item>
          <item id="3" description="Favorites">
            <visible>!Skin.HasSetting(XBMC2)</visible>
            <label>1036</label>
            <onclick>ActivateWindow(Favourites)</onclick>
          </item>
          <item id="4" description="LogOff Profile">
            <visible>System.HasLoginScreen</visible>
            <visible>System.Loggedon</visible>
            <label>20126</label>
            <onclick>dialog.close(all,true)</onclick>
            <onclick>System.LogOff</onclick>
          </item>
          <item id="5" description="Master mode button">
            <visible>System.HasLocks + System.IsMaster</visible>
            <label>12332</label>
            <onclick>xbmc.mastermode</onclick>
          </item>
          <item id="6" description="Master mode button">
            <visible>System.HasLocks + !System.IsMaster</visible>
            <label>12333</label>
            <onclick>xbmc.mastermode</onclick>
          </item>
          <item id="7" description="Disc">
            <visible>![System.Platform.ios | System.Platform.atv2]</visible>
            <visible>!Skin.HasSetting(XBMC3)</visible>
            <label>446</label>
            <onclick>ActivateWindow(1112)</onclick>
          </item>
          <item id="8" description="Quit">
            <visible>!Skin.HasSetting(XBMC4) + IsEmpty(Skin.String(shutdown))</visible>
            <label fallback="13009">$VAR[QuitLabel2]</label>
            <onclick>ActivateWindow(shutdownmenu)</onclick>
          </item>
          <item id="9" description="Quit">
            <visible>!Skin.HasSetting(XBMC4) + StringCompare(Skin.String(shutdown),quit)</visible>
            <label fallback="13009">$VAR[QuitLabel2]</label>
            <onclick>XBMC.quit()</onclick>
          </item>
          <item id="10" description="Quit">
            <visible>!Skin.HasSetting(XBMC4) + StringCompare(Skin.String(shutdown),powerdown)</visible>
            <label fallback="13009">$VAR[QuitLabel2]</label>
            <onclick>XBMC.powerdown()</onclick>
          </item>
          <item id="11" description="Quit">
            <visible>!Skin.HasSetting(XBMC4) + StringCompare(Skin.String(shutdown),hibernate)</visible>
            <label fallback="13009">$VAR[QuitLabel2]</label>
            <onclick>XBMC.hibernate()</onclick>
          </item>
          <item id="12" description="Quit">
            <visible>!Skin.HasSetting(XBMC4) + StringCompare(Skin.String(shutdown),suspend)</visible>
            <label fallback="13009">$VAR[QuitLabel2]</label>
            <onclick>XBMC.suspend()</onclick>
          </item>
          <item id="13" description="Quit">
            <visible>!Skin.HasSetting(XBMC4) + StringCompare(Skin.String(shutdown),reboot)</visible>
            <label fallback="13009">$VAR[QuitLabel2]</label>
            <onclick>XBMC.reboot()</onclick>
          </item>
        </content>
        <include>Animation306</include>
      </control>
      <animation type="Conditional" condition="Control.HasFocus(700)">
        <effect type="fade" start="100" end="75" time="300" reversible="true" />
      </animation>
    </control>
    <control type="group" description="Main Bar items">
      <animation effect="slide" start="0,0" end="750,0" time="0" condition="StringCompare(Container(500).NumItems,1)">conditional</animation>
      <animation effect="slide" start="0,0" end="600,0" time="0" condition="StringCompare(Container(500).NumItems,2)">conditional</animation>
      <animation effect="slide" start="0,0" end="450,0" time="0" condition="StringCompare(Container(500).NumItems,3)">conditional</animation>
      <animation effect="slide" start="0,0" end="300,0" time="0" condition="StringCompare(Container(500).NumItems,4)">conditional</animation>
      <animation effect="slide" start="0,0" end="150,0" time="0" condition="StringCompare(Container(500).NumItems,5)">conditional</animation>
      <control type="image" description="Bar NF">
        <animation type="Conditional" condition="!ControlGroup(700).HasFocus()">
          <effect type="fade" start="100" end="0" time="200" reversible="true" />
        </animation>
        <posx>-15</posx>
        <posy>472</posy>
        <width>450</width>
        <height>100</height>
        <align>center</align>
        <aligny>center</aligny>
        <aspectratio>stretch</aspectratio>
        <texture border="50,0,50,0">img/HomeBarNF.png</texture>
        <include>HomeBarAnimation</include>
      </control>
      <control type="image" description="Bar FO">
        <animation type="Conditional" condition="ControlGroup(700).HasFocus()">
          <effect type="fade" start="100" end="0" time="200" reversible="true" />
        </animation>
        <posx>-15</posx>
        <posy>472</posy>
        <width>450</width>
        <height>100</height>
        <align>center</align>
        <aligny>center</aligny>
        <aspectratio>stretch</aspectratio>
        <texture border="50,0,50,0">img/HomeBarFO.png</texture>
        <include>HomeBarAnimation</include>
      </control>
      <control type="list" id="500" description="Navbar">
        <onleft>-</onleft>
        <onright>-</onright>
        <onup>700</onup>
        <ondown>300</ondown>
        <posx>60</posx>
        <posy>480</posy>
        <height>81</height>
        <width>1800</width>
        <orientation>horizontal</orientation>
        <itemlayout height="81" width="300">
          <control type="label">
            <posx>150</posx>
            <width>300</width>
            <height>81</height>
            <font>size28</font>
            <textcolor>White2</textcolor>
            <shadowcolor>Black</shadowcolor>
            <textoffsetx>0</textoffsetx>
            <align>center</align>
            <label>$INFO[ListItem.Label]</label>
          </control>
        </itemlayout>
        <focusedlayout height="81" width="300">
          <control type="label">
            <posx>150</posx>
            <width>300</width>
            <height>81</height>
            <font>size28</font>
            <textcolor>White2</textcolor>
            <shadowcolor>Black</shadowcolor>
            <textoffsetx>0</textoffsetx>
            <align>center</align>
            <label>$INFO[ListItem.Label]</label>
          </control>
        </focusedlayout>
        <content>
          <item id="1" description="MyMovies">
            <visible>Control.IsVisible(301)</visible>
            <label fallback="20342">$INFO[Skin.String(MoviesName)]</label>
            <onclick>SetFocus(301)</onclick>
          </item>
          <item id="2" description="TV">
            <visible>Control.IsVisible(302)</visible>
            <label fallback="20343">$INFO[Skin.String(TVName)]</label>
            <onclick>SetFocus(302)</onclick>
          </item>
          <item id="3" description="Music">
            <visible>Control.IsVisible(303)</visible>
            <label fallback="2">$INFO[Skin.String(MusicName)]</label>
            <onclick>SetFocus(303)</onclick>
          </item>
          <item id="4" description="Pictures">
            <visible>Control.IsVisible(304)</visible>
            <label fallback="1">$INFO[Skin.String(PicturesName)]</label>
            <onclick>SetFocus(304)</onclick>
          </item>
          <item id="5" description="Addons">
            <visible>Control.IsVisible(305)</visible>
            <label fallback="24001">$INFO[Skin.String(AddonsName)]</label>
            <onclick>SetFocus(305)</onclick>
          </item>
          <item id="6" description="XBMC">
            <label fallback="XBMC">$INFO[Skin.String(XBMCName)]</label>
            <onclick>SetFocus(306)</onclick>
          </item>
        </content>
      </control>
    </control>
    <control type="group" id="700" description="Shelf items">
      <include condition="!Skin.HasSetting(MoviesShelf_Image)">Movies_RA</include>
      <include condition="!Skin.HasSetting(TVShelf_Image)">TV_RA</include>
      <include condition="!Skin.HasSetting(MusicShelf_Image)">Music_RA</include>
      <include condition="Skin.HasSetting(PicturesShelf_Custom)">Pictures_Shortcuts</include>
      <include condition="Skin.HasSetting(AddonsShelf_Custom)">Addons_Shortcuts</include>
      <control type="group" description="Playing">
        <visible>ControlGroup(9000).HasFocus(306) + Player.HasMedia</visible>
        <posy>57</posy>
        <animation effect="fade" start="100" end="0" time="100">Hidden</animation>
        <animation effect="fade" start="0" end="100" delay="300" time="300">VisibleChange</animation>
        <include>PlayingInfo</include>
      </control>
      <control type="image" description="Custom Image">
        <visible>[ControlGroup(9000).HasFocus(301) + Skin.HasSetting(MoviesShelf_Image)] | [ControlGroup(9000).HasFocus(302) + Skin.HasSetting(TVShelf_Image)] | [ControlGroup(9000).HasFocus(303) + Skin.HasSetting(MusicShelf_Image)] | [ControlGroup(9000).HasFocus(304) + Skin.HasSetting(PicturesShelf_Image)] | [ControlGroup(9000).HasFocus(305) + Skin.HasSetting(AddonsShelf_Image)] | [ControlGroup(9000).HasFocus(306) + Skin.HasSetting(XBMCShelf_Image) + !Player.HasMedia]</visible>
        <include>ListVisibleFade</include>
        include&gt;
        <posx>68</posx><posy>111</posy><width>1785</width><height>303</height><fadetime>100</fadetime><aspectratio aligny="bottom">keep</aspectratio><texture>$VAR[ShelfIcon]</texture></control>
      <control type="image" description="Reflection Custom Image">
        <visible>[ControlGroup(9000).HasFocus(301) + Skin.HasSetting(MoviesShelf_Image)] | [ControlGroup(9000).HasFocus(302) + Skin.HasSetting(TVShelf_Image)] | [ControlGroup(9000).HasFocus(303) + Skin.HasSetting(MusicShelf_Image)] | [ControlGroup(9000).HasFocus(304) + Skin.HasSetting(PicturesShelf_Image)] | [ControlGroup(9000).HasFocus(305) + Skin.HasSetting(AddonsShelf_Image)] | [ControlGroup(9000).HasFocus(306) + Skin.HasSetting(XBMCShelf_Image) + !Player.HasMedia]</visible>
        <include>ListVisibleFade</include>
        include&gt;
        <posx>68</posx><posy>414</posy><width>1785</width><height>303</height><aspectratio aligny="top">keep</aspectratio><texture flipy="true" diffuse="img/Reflection.png">$VAR[ShelfIcon]</texture></control>
      <control type="image" description="Logo">
        <visible>[ControlGroup(9000).HasFocus(301) + !Skin.HasSetting(MoviesShelf_Image) + !Control.IsVisible(311)] | [ControlGroup(9000).HasFocus(302) + !Skin.HasSetting(TVShelf_Image) + !Control.IsVisible(312)] | [ControlGroup(9000).HasFocus(303) + !Skin.HasSetting(MusicShelf_Image) + !Control.IsVisible(313)] | [ControlGroup(9000).HasFocus(304) + !Skin.HasSetting(PicturesShelf_Image) + !Control.IsVisible(314)] | [ControlGroup(9000).HasFocus(305) + !Skin.HasSetting(AddonsShelf_Image) + !Control.IsVisible(315)] | [ControlGroup(9000).HasFocus(306) + !Skin.HasSetting(XBMCShelf_Image) + !Player.HasMedia]</visible>
        <include>ListVisibleFade</include>
        include&gt;
        <posx>68</posx><posy>138</posy><width>1785</width><height>324</height><aspectratio aligny="bottom">keep</aspectratio><texture>img/XBMCHomeLogo.png</texture></control>
    </control>
    <control type="group" description="RSS">
      <control type="rss" description="RSS Feed">
        <visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
        <visible>ControlGroup(9000).HasFocus(306)</visible>
        <include>VisibleFadeEffect</include>
        <posx>0</posx>
        <posy>1038</posy>
        <width>1920</width>
        <height>33</height>
        <font>size15</font>
        <urlset>1</urlset>
        <shadowcolor>Black</shadowcolor>
        <titlecolor>White</titlecolor>
        <headlinecolor>White</headlinecolor>
        <textcolor>Grey</textcolor>
      </control>
      <control type="image" description="RSS Left fade">
        <visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
        <posx>0</posx>
        <posy>1038</posy>
        <width>90</width>
        <height>33</height>
        <texture>img/DefaultGradientH.png</texture>
      </control>
      <control type="image" description="RSS Left fade">
        <visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
        <posx>1830</posx>
        <posy>1038</posy>
        <width>90</width>
        <height>33</height>
        <texture flipx="true">img/DefaultGradientH.png</texture>
      </control>
    </control>
    <control type="group" description="Player Info">
      <visible>Player.HasMedia</visible>
      <visible>!IntegerGreaterThan(Player.Time,8) | !IntegerGreaterThan(Player.TimeRemaining,8)</visible>
      <include>VisibleFadeEffect</include>
      <animation effect="fade" start="100" end="0" time="100" condition="Control.HasFocus(301)">conditional</animation>
      <posx>15</posx>
      <posy>960</posy>
      <control type="image" description="Playing BG">
        <width>390</width>
        <height>105</height>
        <texture border="14">img/ProgressBG.png</texture>
      </control>
      <control type="group">
        <control type="image">
          <posx>15</posx>
          <posy>15</posy>
          <width>75</width>
          <height>75</height>
          <texture>$INFO[MusicPlayer.Cover]</texture>
          <aspectratio>keep</aspectratio>
        </control>
        <control type="image">
          <posx>15</posx>
          <posy>21</posy>
          <width>75</width>
          <height>75</height>
          <texture>$INFO[VideoPlayer.Cover]</texture>
          <aspectratio>keep</aspectratio>
        </control>
        <control type="label">
          <posx>105</posx>
          <posy>9</posy>
          <aligny>center</aligny>
          <width>261</width>
          <height>36</height>
          <font>size16</font>
          <textcolor>White2</textcolor>
          <label>$INFO[MusicPlayer.Title]</label>
        </control>
        <control type="label">
          <posx>105</posx>
          <posy>36</posy>
          <aligny>center</aligny>
          <width>261</width>
          <height>36</height>
          <font>size14</font>
          <label>$INFO[MusicPlayer.Artist]</label>
        </control>
        <control type="label">
          <posx>105</posx>
          <posy>60</posy>
          <aligny>center</aligny>
          <width>261</width>
          <height>36</height>
          <font>size14</font>
          <label>$INFO[MusicPlayer.Album]</label>
        </control>
        <control type="label">
          <posx>105</posx>
          <posy>9</posy>
          <aligny>center</aligny>
          <width>261</width>
          <height>36</height>
          <font>size16</font>
          <textcolor>White2</textcolor>
          <label>$INFO[VideoPlayer.Title]</label>
        </control>
        <control type="label">
          <posx>105</posx>
          <posy>36</posy>
          <aligny>center</aligny>
          <width>261</width>
          <height>36</height>
          <font>size14</font>
          <label>$INFO[VideoPlayer.Artist]</label>
        </control>
        <control type="label">
          <posx>105</posx>
          <posy>60</posy>
          <aligny>center</aligny>
          <width>261</width>
          <height>36</height>
          <font>size14</font>
          <label>$INFO[VideoPlayer.Album]</label>
        </control>
      </control>
    </control>
  </controls>
</window>