<window id="25">
	<defaultcontrol always="true">50</defaultcontrol>
  <allowoverlay>yes</allowoverlay>
	<views>50,51,52,53,54,58,580,55,56,560,561,57</views>
  <backgroundcolor>0</backgroundcolor>
	<onload condition="System.HasAddon(script.tv.show.next.aired) + Library.HasContent(TVShows) + Skin.HasSetting(NextAiredEnabled)">RunScript(script.tv.show.next.aired,backend=True)</onload>
  <onload condition="System.HasAddon(script.tvtunes) + Library.HasContent(TVShows) + !Player.HasMedia + Skin.HasSetting(TVTunesEnabled)">RunScript(script.tvtunes,backend=True&amp;loop=False)</onload>
	<onload condition="IsEmpty(Skin.String(ListViewWideThumbTVShows))">Skin.SetString(ListViewWideThumbTVShows,1)</onload>
	<onload condition="IsEmpty(Skin.String(GalleryViewWideThumbTVShows))">Skin.SetString(GalleryViewWideThumbTVShows,1)</onload>
	<onload condition="IsEmpty(Skin.String(ListViewWideThumbMovies))">Skin.SetString(ListViewWideThumbMovies,1)</onload>
	<onload condition="IsEmpty(Skin.String(GalleryViewWideThumbMovies))">Skin.SetString(GalleryViewWideThumbMovies,1)</onload>	
	<controls>
		<include>BackgroundItems</include>
		<include>VideoViews</include>

    <!-- ==================== -->
    <!-- Top Options Controls -->
    <!-- ==================== -->
	  <control type="group"  id="9000">
			<posx>45</posx>
			<posy>25</posy>
      <include>TopOptionsSlideAnimations</include>
			<visible>!Skin.HasSetting(EnableKioskMode)</visible>
      <!-- Main Options -->
			<control type="grouplist" id="9111">
				<posx>0</posx>
				<posy>0</posy>
				<width>0</width>
				<height>0</height>
				<itemgap>0</itemgap>
				<align>left</align>
				<orientation>horizontal</orientation>
				<onleft>9111</onleft>
				<onright>9111</onright>
				<onup>noop</onup>
				<ondown>50</ondown>
				<onback>50</onback>
				<control type="button" id="2">
					<description>View as</description>
				  <label>-</label>
				  <include>TopButton</include>
				</control>
				<control type="button" id="95">
					<description>Viewtype Options</description>
				  <label>-</label>
					<onclick>SetFocus(9222)</onclick>
				  <include>TopButton</include>
			    <visible>[Control.IsVisible(50) + [Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Movies) | Container.Content(Sets)]] | [Control.IsVisible(52) + [Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Movies) | Container.Content(Sets)]] | [Control.IsVisible(55) + Container.Content(Movies)] | [Control.IsVisible(560) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(TVShows) | Container.Content(Seasons) | Window.IsVisible(VideoPlaylist)]]</visible>
				</control>
				<control type="button" id="96">
					<description>General Options</description>
				  <label>-</label>
					<onclick>SetFocus(9333)</onclick>
				  <include>TopButton</include>
				</control>
				<control type="button" id="19">
					<description>Filter</description>
					<label>587</label>
				  <include>TopButton</include>
					<visible>Container.CanFilter + !Container.CanFilterAdvanced</visible>
				</control>
				<control type="button" id="20">
					<description>Filter</description>
					<label>587</label>
				  <include>TopButton</include>
					<visible>Container.CanFilterAdvanced</visible>
					<onclick>Filter</onclick>
				</control>
				<control type="button" id="8">
					<description>Search</description>
					<label>137</label>
				  <include>TopButton</include>
				</control>
				<control type="button" id="97">
					<description>TVGuide</description>
				  <include>TopButton</include>
					<label>$LOCALIZE[31001]</label>
					<onclick>XBMC.RunScript(script.tv.show.next.aired)</onclick>
          <visible>[Container.Content(TVShows) | Container.Content(Seasons)| Container.Content(Episodes)] + System.HasAddon(script.tv.show.next.aired)</visible>
				</control>
			</control>
      <!-- Main Options Labels -->
			<control type="grouplist">
		    <visible allowhiddenfocus="true">ControlGroup(9111).HasFocus + !Window.IsActive(ContextMenu) + !Window.IsActive(ShutdownMenu)</visible>
	      <animation type="Visible"  reversible="false">
	          <effect type="fade" start="0" end="100" time="300" tween="sine" easing="in"  />
	          <effect type="slide" start="0,-35" end="0,0" time="350" tween="cubic" easing="out" />
	      </animation>
	      <animation type="Hidden" reversible="false">
	          <effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
	          <effect type="slide" start="0,0" end="0,-35" time="350" tween="sine" easing="out" />
	      </animation>
				<posx>0</posx>
				<posy>0</posy>
				<height>70</height>
				<width>1190</width>
				<itemgap>15</itemgap>
				<align>left</align>
				<orientation>horizontal</orientation>
				<control type="label">
				  <include>TopBigLabel</include>
				  <label>$LOCALIZE[33063]:</label>
				</control>
				<control type="label">
					<description>View as</description>
				  <include>TopSmallLabel</include>
          <label>$INFO[Control.GetLabel(2)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(2)" reversible="true">Conditional</animation>
          <animation effect="zoom" start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(2)" reversible="true">Conditional</animation>
				</control>
				<control type="label">
					<description>Viewtype Options</description>
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[31014]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(95)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(95)" reversible="true">Conditional</animation>
			    <visible>[Control.IsVisible(50) + [Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Movies) | Container.Content(Sets)]] | [Control.IsVisible(52) + [Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Movies) | Container.Content(Sets)]] | [Control.IsVisible(55) + Container.Content(Movies)] | [Control.IsVisible(560) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(TVShows) | Container.Content(Seasons) | Window.IsVisible(VideoPlaylist)]]</visible>
				</control>
				<control type="label">
					<description>General Options</description>
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[31015]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(96)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(96)" reversible="true">Conditional</animation>
				</control>
				<control type="label">
					<description>Filter</description>
				  <include>TopSmallLabel</include>
					<label>$INFO[Control.GetLabel(19)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(19)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(19)" reversible="true">Conditional</animation>
					<visible>Container.CanFilter + !Container.CanFilterAdvanced</visible>
				</control>
				<control type="label">
					<description>Filter</description>
				  <include>TopSmallLabel</include>
					<label>$INFO[Control.GetLabel(20)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(20)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(20)" reversible="true">Conditional</animation>
					<visible>Container.CanFilterAdvanced</visible>
				</control>
				<control type="label">
					<description>Search</description>
				  <include>TopSmallLabel</include>
					<label>$INFO[Control.GetLabel(8)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(8)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(8)" reversible="true">Conditional</animation>
				</control>
				<control type="label">
					<description>TVGuide</description>
				  <include>TopSmallLabel</include>
					<label>$INFO[Control.GetLabel(97)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9111).HasFocus(97)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9111).HasFocus(97)" reversible="true">Conditional</animation>
				  <visible>System.HasAddon(script.tv.show.next.aired)</visible>
          <visible>Container.Content(TVShows) | Container.Content(Seasons)| Container.Content(Episodes)</visible>
				</control>
			</control>
	
      <!-- Viewtype Options -->
			<control type="grouplist" id="9222">
				<posx>6</posx>
				<posy>12</posy>
				<width>1190</width>
				<height>70</height>
				<itemgap>0</itemgap>
				<align>left</align>
				<orientation>horizontal</orientation>
				<onleft>9222</onleft>
				<onright>9222</onright>
				<onup>noop</onup>
				<ondown>9111</ondown>
				<onback>9111</onback>
				<control type="button" id="290">
					<description>ListView WideThumb (TVShows)</description>
	        <label>$LOCALIZE[31217]: $VAR[FanartThumbsOptionsLabels]</label>
			    <onclick condition="Stringcompare(Skin.String(ListViewWideThumbTVShows),3)">Skin.SetString(ListViewWideThumbTVShows,1)</onclick>
			    <onclick condition="Stringcompare(Skin.String(ListViewWideThumbTVShows),2)">Skin.SetString(ListViewWideThumbTVShows,3)</onclick>
			    <onclick condition="Stringcompare(Skin.String(ListViewWideThumbTVShows),1)">Skin.SetString(ListViewWideThumbTVShows,2)</onclick>
			    <onclick condition="Stringcompare(Skin.String(ListViewWideThumbTVShows),3)">Skin.SetString(ListViewWideThumbTVShows,1)</onclick>
				  <include>TopButton</include>
				  <visible>Control.IsVisible(50) + [Container.Content(TVShows) | Container.Content(Seasons)]</visible>
				</control>
				<control type="button" id="291">
					<description>ListView WideThumb (Movies)</description>
	        <label>$LOCALIZE[31217]: $VAR[FanartThumbsOptionsLabels]</label>
			    <onclick condition="Stringcompare(Skin.String(ListViewWideThumbMovies),3)">Skin.SetString(ListViewWideThumbMovies,1)</onclick>
			    <onclick condition="Stringcompare(Skin.String(ListViewWideThumbMovies),2)">Skin.SetString(ListViewWideThumbMovies,3)</onclick>
			    <onclick condition="Stringcompare(Skin.String(ListViewWideThumbMovies),1)">Skin.SetString(ListViewWideThumbMovies,2)</onclick>
			    <onclick condition="Stringcompare(Skin.String(ListViewWideThumbMovies),3)">Skin.SetString(ListViewWideThumbMovies,1)</onclick>
				  <include>TopButton</include>
				  <visible>Control.IsVisible(50) + [Container.Content(Movies) | Container.Content(Sets)]</visible>
				</control>
				<control type="button" id="292">
					<description>ListView WideThumb (TVShows)</description>
	        <label>$LOCALIZE[31217]: $VAR[FanartThumbsOptionsLabels]</label>
			    <onclick condition="Stringcompare(Skin.String(GalleryViewWideThumbTVShows),3)">Skin.SetString(GalleryViewWideThumbTVShows,1)</onclick>
			    <onclick condition="Stringcompare(Skin.String(GalleryViewWideThumbTVShows),2)">Skin.SetString(GalleryViewWideThumbTVShows,3)</onclick>
			    <onclick condition="Stringcompare(Skin.String(GalleryViewWideThumbTVShows),1)">Skin.SetString(GalleryViewWideThumbTVShows,2)</onclick>
			    <onclick condition="Stringcompare(Skin.String(GalleryViewWideThumbTVShows),3)">Skin.SetString(GalleryViewWideThumbTVShows,1)</onclick>
				  <include>TopButton</include>
				  <visible>Control.IsVisible(52) + [Container.Content(TVShows) | Container.Content(Seasons)]</visible>
				</control>
				<control type="button" id="293">
					<description>ListView WideThumb (Movies)</description>
	        <label>$LOCALIZE[31217]: $VAR[FanartThumbsOptionsLabels]</label>
			    <onclick condition="Stringcompare(Skin.String(GalleryViewWideThumbMovies),3)">Skin.SetString(GalleryViewWideThumbMovies,1)</onclick>
			    <onclick condition="Stringcompare(Skin.String(GalleryViewWideThumbMovies),2)">Skin.SetString(GalleryViewWideThumbMovies,3)</onclick>
			    <onclick condition="Stringcompare(Skin.String(GalleryViewWideThumbMovies),1)">Skin.SetString(GalleryViewWideThumbMovies,2)</onclick>
			    <onclick condition="Stringcompare(Skin.String(GalleryViewWideThumbMovies),3)">Skin.SetString(GalleryViewWideThumbMovies,1)</onclick>
				  <include>TopButton</include>
				  <visible>Control.IsVisible(52) + [Container.Content(Movies) | Container.Content(Sets)]</visible>
				</control>	
				<control type="togglebutton" id="294">
					<description>Flashing Cinema Lights</description>
					<label>$LOCALIZE[31124]: $LOCALIZE[31012]</label>
					<altlabel>$LOCALIZE[31124]: $LOCALIZE[31011]</altlabel>
				  <include>TopButton</include>
					<onclick>Skin.ToggleSetting(FlashingCinemaLights)</onclick>
					<selected>Skin.HasSetting(FlashingCinemaLights)</selected>
				  <visible>Control.IsVisible(55) + Container.Content(Movies)</visible>
				</control>
				<control type="togglebutton" id="295">
					<description>Show Thumbnails Info</description>
					<label>$LOCALIZE[22081]: $LOCALIZE[31012]</label>
					<altlabel>$LOCALIZE[22081]: $LOCALIZE[31011]</altlabel>
				  <include>TopButton</include>
					<onclick>Skin.ToggleSetting(ThumbnailShowInfo)</onclick>
			    <onclick>Reloadskin</onclick>
					<selected>Skin.HasSetting(ThumbnailShowInfo)</selected>
				  <visible>Control.IsVisible(560) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(TVShows) | Container.Content(Seasons) | Window.IsVisible(VideoPlaylist)]</visible>
				</control>
			</control>
      <!-- Viewtype Options Labels -->
			<control type="grouplist">
		    <visible allowhiddenfocus="true">ControlGroup(9222).HasFocus  + !Window.IsActive(ContextMenu) + !Window.IsActive(ShutdownMenu)</visible>
	      <animation type="Visible"  reversible="false">
	          <effect type="fade" start="0" end="100" time="300" tween="sine" easing="in"  />
	          <effect type="slide" start="0,35" end="0,0" time="350" tween="cubic" easing="out" />
	      </animation>
	      <animation type="Hidden" reversible="false">
	          <effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
	          <effect type="slide" start="0,0" end="0,35" time="350" tween="sine" easing="out" />
	      </animation>
				<posx>0</posx>
				<posy>0</posy>
				<height>70</height>
				<width>1190</width>
				<itemgap>15</itemgap>
				<align>left</align>
				<orientation>horizontal</orientation>
				<control type="label">
				  <include>TopBigLabel</include>
				  <label>$LOCALIZE[31014]:</label>
				</control>
				<control type="label">
					<description>ListView WideThumb (TVShows)</description>
				  <include>TopSmallLabel</include>
					<label>$INFO[Control.GetLabel(290)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9222).HasFocus(290)" reversible="true">Conditional</animation>
          <animation effect="zoom" start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9222).HasFocus(290)" reversible="true">Conditional</animation>
				  <visible>Control.IsVisible(50) + [Container.Content(TVShows) | Container.Content(Seasons)]</visible>
				</control>
				<control type="label">
					<description>ListView WideThumb (Movies)</description>
				  <include>TopSmallLabel</include>
					<label>$INFO[Control.GetLabel(291)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9222).HasFocus(291)" reversible="true">Conditional</animation>
          <animation effect="zoom" start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9222).HasFocus(291)" reversible="true">Conditional</animation>
				  <visible>Control.IsVisible(50) + [Container.Content(Movies) | Container.Content(Sets)]</visible>
				</control>
				<control type="label">
					<description>GalleryView WideThumb (TVShows)</description>
				  <include>TopSmallLabel</include>
					<label>$INFO[Control.GetLabel(292)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9222).HasFocus(292)" reversible="true">Conditional</animation>
          <animation effect="zoom" start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9222).HasFocus(292)" reversible="true">Conditional</animation>
				  <visible>Control.IsVisible(52) + [Container.Content(TVShows) | Container.Content(Seasons)]</visible>
				</control>
				<control type="label">
					<description>GalleryView WideThumb (Movies)</description>
				  <include>TopSmallLabel</include>
					<label>$INFO[Control.GetLabel(293)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9222).HasFocus(293)" reversible="true">Conditional</animation>
          <animation effect="zoom" start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9222).HasFocus(293)" reversible="true">Conditional</animation>
				  <visible>Control.IsVisible(52) + [Container.Content(Movies) | Container.Content(Sets)]</visible>
				</control>
				<control type="label">
					<description>Flashing Cinema Lights</description>
				  <include>TopSmallLabel</include>
					<label>$INFO[Control.GetLabel(294)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9222).HasFocus(294)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9222).HasFocus(294)" reversible="true">Conditional</animation>
				  <visible>Control.IsVisible(55) + Container.Content(Movies)</visible>
				</control>
				<control type="label">
					<description>Show Thumbnails Info</description>
				  <include>TopSmallLabel</include>
					<label>$INFO[Control.GetLabel(295)]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9222).HasFocus(295)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9222).HasFocus(295)" reversible="true">Conditional</animation>
				  <visible>Control.IsVisible(560) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(TVShows) | Container.Content(Seasons) | Window.IsVisible(VideoPlaylist)]</visible>
				</control>
			</control>
			
      <!-- General Options -->
			<control type="grouplist" id="9333">
				<posx>6</posx>
				<posy>12</posy>
				<width>1190</width>
				<height>70</height>
				<itemgap>0</itemgap>
				<align>left</align>
				<orientation>horizontal</orientation>
				<onleft>9333</onleft>
				<onright>9333</onright>
				<onup>noop</onup>
				<ondown>9111</ondown>
				<onback>9111</onback>
				<control type="button" id="3">
					<description>Sort by</description>
				  <label>-</label>
					<onclick>noop</onclick>
				  <include>TopButton</include>
				</control>
				<control type="togglebutton" id="4">
					<description>Sort asc</description>
					<label>31007</label>
					<altlabel>31006</altlabel>
				  <include>TopButton</include>
					<alttexturefocus>-</alttexturefocus>
					<alttexturenofocus>-</alttexturenofocus>
				</control>
				<control type="button" id="10">
					<description>Watched/Unwatched Toggle</description>
					<label>20367</label>
				  <include>TopButton</include>
				</control>
				<control type="button" id="99">
					<description>Files</description>
					<label>744</label>
				  <include>TopButton</include>
          <onclick>ActivateWindow(Videos,Files,return)</onclick>
					<selected>Window.IsVisible(videos)</selected>
				</control>
				<control type="radiobutton" id="17">
					<description>Flatten</description>
					<label>20411</label>
				  <include>TopButton</include>
					<textureradiofocus>-</textureradiofocus>
					<textureradionofocus>-</textureradionofocus>
					<font>-</font>
				</control>
				<control type="radiobutton" id="7">
					<description>Stack</description>
					<label>14000</label>
				  <include>TopButton</include>
					<textureradiofocus>-</textureradiofocus>
					<textureradionofocus>-</textureradionofocus>
		      <visible>!SubString(Container.FolderPath,videodb://)</visible>
				</control>
			</control>
      <!-- General Options Labels -->
			<control type="grouplist">
		    <visible allowhiddenfocus="true">ControlGroup(9333).HasFocus  + !Window.IsActive(ContextMenu) + !Window.IsActive(ShutdownMenu)</visible>
	      <animation type="Visible"  reversible="false">
	          <effect type="fade" start="0" end="100" time="300" tween="sine" easing="in"  />
	          <effect type="slide" start="0,35" end="0,0" time="350" tween="cubic" easing="out" />
	      </animation>
	      <animation type="Hidden" reversible="false">
	          <effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
	          <effect type="slide" start="0,0" end="0,35" time="350" tween="sine" easing="out" />
	      </animation>
				<posx>0</posx>
				<posy>0</posy>
				<height>70</height>
				<width>1190</width>
				<itemgap>15</itemgap>
				<align>left</align>
				<orientation>horizontal</orientation>
				<control type="label">
				  <include>TopBigLabel</include>
				  <label>$LOCALIZE[31015]:</label>
				</control>
				<control type="label">
					<description>Sort by</description>
				  <include>TopSmallLabel</include>
          <label>$INFO[Control.GetLabel(3)]</label>
					<animation effect="fade" start="100" end="60" time="200" tween="cubic" easing="inout" condition="!Control.IsEnabled(3)" reversible="true">Conditional</animation>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9333).HasFocus(3)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9333).HasFocus(3)" reversible="true">Conditional</animation>
				</control>
				<control type="label">
					<description>Sort asc</description>
				  <include>TopSmallLabel</include>
					<label>$INFO[Control.GetLabel(4)]</label>
					<altlabel>$INFO[Control.GetLabel(4)]</altlabel>
					<animation effect="fade" start="100" end="60" time="200" tween="cubic" easing="inout" condition="!Control.IsEnabled(4)" reversible="true">Conditional</animation>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9333).HasFocus(4)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9333).HasFocus(4)" reversible="true">Conditional</animation>
				</control>
				<control type="label">
					<description>Watched/Unwatched Toggle</description>
				  <include>TopSmallLabel</include>
          <label>$INFO[Control.GetLabel(10)]</label>
					<animation effect="fade" start="100" end="60" time="200" tween="cubic" easing="inout" condition="!Control.IsEnabled(10)" reversible="true">Conditional</animation>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9333).HasFocus(10)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9333).HasFocus(10)" reversible="true">Conditional</animation>
				</control>
				<control type="label">
					<description>Files</description>
				  <include>TopSmallLabel</include>
          <label>$INFO[Control.GetLabel(99)]</label>
					<animation effect="fade" start="100" end="60" time="200" tween="cubic" easing="inout" condition="!Control.IsEnabled(99)" reversible="true">Conditional</animation>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9333).HasFocus(99)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9333).HasFocus(99)" reversible="true">Conditional</animation>
					<visible>Window.IsVisible(videos)</visible>
				</control>
				<control type="label">
					<description>Flatten No</description>
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[20411]: $LOCALIZE[31012]</label>
					<animation effect="fade" start="100" end="60" time="200" tween="cubic" easing="inout" condition="!Control.IsEnabled(17)" reversible="true">Conditional</animation>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9333).HasFocus(17)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9333).HasFocus(17)" reversible="true">Conditional</animation>
			    <visible>!SubString(Control.GetLabel(17),*)</visible>
				</control>
				<control type="label">
					<description>Flatten Yes</description>
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[20411]: $LOCALIZE[31011]</label>
					<animation effect="fade" start="100" end="60" time="200" tween="cubic" easing="inout" condition="!Control.IsEnabled(17)" reversible="true">Conditional</animation>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9333).HasFocus(17)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9333).HasFocus(17)" reversible="true">Conditional</animation>
			    <visible>SubString(Control.GetLabel(17),*)</visible>
				</control>
				<control type="label">
					<description>Stack No</description>
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[14000]: $LOCALIZE[31012]</label>
					<animation effect="fade" start="100" end="60" time="200" tween="cubic" easing="inout" condition="!Control.IsEnabled(7)" reversible="true">Conditional</animation>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9333).HasFocus(7)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9333).HasFocus(7)" reversible="true">Conditional</animation>
		      <visible>!SubString(Container.FolderPath,videodb://)</visible>
			    <visible>!SubString(Control.GetLabel(7),*)</visible>
				</control>
				<control type="label">
					<description>Stack Yes</description>
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[14000]: $LOCALIZE[31011]</label>
					<animation effect="fade" start="100" end="60" time="200" tween="cubic" easing="inout" condition="!Control.IsEnabled(7)" reversible="true">Conditional</animation>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="inout" condition="!ControlGroup(9333).HasFocus(7)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="inout" center="auto" condition="!ControlGroup(9333).HasFocus(7)" reversible="true">Conditional</animation>
		      <visible>!SubString(Container.FolderPath,videodb://)</visible>
			    <visible>SubString(Control.GetLabel(7),*)</visible>
				</control>
			</control>
	  </control>

    <include condition="Skin.HasSetting(EnableNextAiredNotifications) + Skin.HasSetting(NextAiredEnabled)">NextAiredNotifications</include>
	  <include>CommonItems</include>

    <!-- ================ -->
    <!-- Top Content Info -->
    <!-- ================ -->
	  <control type="group">
			<posx>45</posx>
			<posy>25</posy>
		  <visible>!ControlGroup(9000).HasFocus + !Window.IsActive(ContextMenu) + !Window.IsActive(ShutdownMenu) + !Window.IsActive(filestackingdialog) + !Window.IsActive(MovieInformation) + !Window.IsActive(AddonInformation)</visible>
		  <include>CommonSlideAnimations</include>
		  <include>CommonWeatherAndClock</include>
			<control type="grouplist">
				<posx>0</posx>
				<posy>0</posy>
				<height>70</height>
				<width>1000</width>
				<align>left</align>
				<itemgap>20</itemgap>
				<orientation>horizontal</orientation>
		    <include>CommonSlideAnimations</include>
				<control type="label">
				  <include>TopBigLabel</include>
					<label>$LOCALIZE[3]</label>
		      <visible>![Container.Content(Movies) | Container.Content(Sets) | Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes)]</visible>
				</control>
				<control type="label">
				  <include>TopBigLabel</include>
					<label>$LOCALIZE[20389]</label>
		      <visible>Container.Content(MusicVideos)</visible>
				</control>
				<control type="label">
				  <include>TopZoomedSmallLabel</include>
			    <label>$INFO[Container.FolderName]</label>
		      <visible>![Container.Content(Movies) | Container.Content(Sets) | Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes)]</visible>
				</control>
				<!-- Movies -->
				<control type="label">
				  <include>TopBigLabel</include>
					<label>$LOCALIZE[20342]</label>
		      <visible>Container.Content(Movies) | Container.Content(Sets)</visible>
				</control>
				<control type="label">
				  <include>TopZoomedSmallLabel</include>
			    <label>$INFO[Container.FolderName]</label>
	        <visible>Container.Content(Movies) | Container.Content(Sets)</visible>
				</control>
				<!-- TV Shows -->
				<control type="label">
				  <include>TopBigLabel</include>
					<label>$LOCALIZE[31002]</label>
		      <visible>Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes)</visible>
				</control>
				<control type="label">
				  <include>TopZoomedSmallLabel</include>
			    <label>$INFO[Container.FolderName]</label>
		      <visible>Container.Content(TVShows) | Container.Content(Seasons)</visible>
				</control>
				<control type="label">
				  <include>TopZoomedSmallLabel</include>
			    <label>$INFO[Container.FolderName]</label>
		      <visible>SubString(Container.FolderPath,videodb://5/)</visible>
				</control>
				<control type="label">
				  <include>TopZoomedSmallLabel</include>
			    <label>$INFO[ListItem.TVShowTitle]</label>
		      <visible>Container.Content(Episodes)</visible>
				</control>
				<control type="label">
				  <include>TopZoomedSmallLabel</include>
			    <label>$INFO[ListItem.Season,$LOCALIZE[20373] ]</label>
		      <visible>Container.Content(Episodes) + !IsEmpty(ListItem.Season)</visible>
				</control>
			</control>
	  </control>

	</controls>
</window>
