<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">50</defaultcontrol>
  <menucontrol>9000</menucontrol>
	<backgroundcolor>bgcolor</backgroundcolor>
	<views>50,660</views>
	<controls>
		<include>BackgroundItems</include>
		<include>FavouritesBrowserViews</include>
		<include>CommonItems</include>

		<!-- ================ -->
		<!-- Top Options Menu -->
		<!-- ================ -->
		<control type="group"  id="9000">
			<defaultcontrol always="true">9111</defaultcontrol>
			<include>TextViewerHideAnimations</include>
			<include>ShutdownMenuAnimation</include>
			<!-- Options -->
			<control type="group">
				<left>30</left>
				<top>25</top>
				<include>OptionsTopMenuAnimation</include>
				<include>OptionsTopMenuHeader</include>
				<visible allowhiddenfocus="true">!ControlGroup(9222).HasFocus</visible>
				<control type="grouplist" id="9111">
					<include>OptionsTopMenuVars</include>
					<control type="button" id="280"> <!-- Views "3" -->
						<description>View as</description>
						<include>TopLeftMenusButton</include>
						<label>$INFO[Control.GetLabel(2)]</label>
						<onclick>SetFocus(9222)</onclick>
					</control>
					<control type="button" id="287">
						<description>BelloGeneric  Aspect Ratio Thumbs</description>
						<label>$LOCALIZE[31085]: $VAR[BelloGenericAspectRatioLabels]</label>
						<onclick condition="String.IsEqual(Skin.String(BelloGenericAspectRatioThumbs),3)">Skin.SetString(BelloGenericAspectRatioThumbs,1)</onclick>
						<onclick condition="String.IsEqual(Skin.String(BelloGenericAspectRatioThumbs),2)">Skin.SetString(BelloGenericAspectRatioThumbs,3)</onclick>
						<onclick condition="String.IsEqual(Skin.String(BelloGenericAspectRatioThumbs),1)">Skin.SetString(BelloGenericAspectRatioThumbs,2)</onclick>
						<onclick condition="String.IsEqual(Skin.String(BelloGenericAspectRatioThumbs),3)">Skin.SetString(BelloGenericAspectRatioThumbs,1)</onclick>
						<include>TopLeftMenusButton</include>
						<visible>Control.IsVisible(660) + $EXP[BelloViewGeneric_660]</visible>
					</control>
					<control type="button" id="311"> <!-- Sort "3" -->
						<description>Sort by</description>
						<include>TopLeftMenusButton</include>
						<label>$INFO[Control.GetLabel(3)]</label>
						<onclick>Action(left)</onclick>
						<onclick>SendClick(3)</onclick>
						<enable>Control.IsEnabled(3)</enable>
					</control>
					<control type="togglebutton" id="4"> <!-- Sort Mode "4" -->
						<description>Sort Ascending/Descending</description>
						<label>$LOCALIZE[21429]: $LOCALIZE[584]</label>
						<altlabel>$LOCALIZE[21429]: $LOCALIZE[585]</altlabel>
						<include>TopLeftMenusButton</include>
					</control>
					<control type="edit" id="19">
						<description>Filter</description>
						<label>$LOCALIZE[587]</label>
						<textwidth>305</textwidth>
						<include>TopLeftMenusButton</include>
						<visible>Container.CanFilter + !Container.CanFilterAdvanced + !Window.IsActive(VirtualKeyboard)</visible>
					</control>
					<include>OptionsTopMenuEnd</include>
				</control>
			</control>

			<!-- Views -->
			<control type="group">
				<left>30</left>
				<top>25</top>
				<include>OptionsTopMenuAnimation</include>
				<include>ViewsTopMenuHeader</include>
				<visible allowhiddenfocus="true">ControlGroup(9222).HasFocus</visible>
				<control type="grouplist" id="9222">
					<include content="OptionsTopMenuVars">
						<param name="top_id" value="997"/>
					</include>
					<control type="button" id="940">
						<description>List</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[535]$VAR[ActiveViewList, (,)]</label>
						<onclick>Container.SetViewMode(50)</onclick>
					</control>
					<control type="button" id="959">
						<description>BelloView Generic</description>
						<include>TopLeftMenusButton</include>
						<label>Bello$VAR[ActiveViewBello, (,)]</label>
						<onclick>Container.SetViewMode(660)</onclick>
						<visible>$EXP[BelloViewGeneric_660]</visible>
					</control>
					<include content="ViewsTopMenuEnd">
						<param name="end_id" value="996"/>
					</include>
				</control>
			</control>
		</control>

		<!-- ================ -->
		<!-- Top Content Info -->
		<!-- ================ -->
		<control type="group">
			<left>45</left>
			<top>25</top>
			<include>ShutdownMenuAnimation</include>
			<include>InfoDialogs_ContentInfoAnimation</include>
			<include>VisibleHiddenSlideAnimation</include>
			<visible>!ControlGroup(9000).HasFocus</visible>
			<control type="grouplist">
				<include>CommonTopInfoGroupList</include>
				<include>OpenCloseSlideAnimationTwo</include>
				<control type="label">
					<include>TopBigLabel</include>
					<label>$LOCALIZE[1036]</label>
				</control>
			</control>
		</control>

		<include>HiddenDefaultButtons</include>
		<include>JumpToFirstSortLetter</include>
		<include>CommonWeatherAndClock</include>
	</controls>
</window>
