<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>9000</defaultcontrol>
	<backgroundcolor>background</backgroundcolor>
	<onload condition="String.IsEmpty(Skin.String(poster_align))">Skin.SetString(poster_align,center)</onload>
	<onload condition="String.IsEmpty(Skin.String(poster_aspect))">Skin.SetString(poster_aspect,scale)</onload>
	<onload condition="String.IsEmpty(Skin.String(background_overlay))">Skin.SetString(background_overlay,1)</onload>
	<onload condition="Skin.HasSetting(EnableCustomMenu)">RunScript(special://home/addons/skin.estuaryplus/resources/lib/check_includes.py)</onload>
	<controls>
		<include>DefaultBackground</include>
		<control type="multiimage">
			<depth>DepthBackground</depth>
			<include>FullScreenDimensions</include>
			<aspectratio>scale</aspectratio>
			<fadetime>600</fadetime>
			<animation effect="zoom" center="auto" end="102,102" time="0" condition="Integer.IsGreater(System.StereoscopicMode,0)">conditional</animation>
			<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
			<animation effect="fade" time="400">VisibleChange</animation>
			<imagepath background="true" colordiffuse="bg_overlay">$INFO[Skin.String(HomeFanart.path)]settings$INFO[Skin.String(HomeFanart.ext)]</imagepath>
			<visible>!Player.HasMedia + !String.IsEmpty(Skin.String(HomeFanart.path))</visible>
		</control>
		<control type="group" id="10000">
			<left>470</left>
			<include>OpenClose_Right</include>
			<control type="grouplist" id="700">
				<top>160</top>
				<left>0</left>
				<right>0</right>
				<bottom>140</bottom>
				<onleft>9000</onleft>
				<onright>60</onright>
				<onup>700</onup>
				<ondown>700</ondown>
				<visible>Container(9000).HasFocus(1)</visible>
				<control type="radiobutton" id="708">
					<label>$LOCALIZE[131009]</label>
					<include>DefaultSettingButton</include>
					<selected>Skin.HasSetting(DialogInfoPlus)</selected>
					<onclick>Skin.ToggleSetting(DialogInfoPlus)</onclick>
				</control>
				<control type="radiobutton" id="701">
					<label>$LOCALIZE[31095]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(no_slide_animations)</selected>
					<onclick>Skin.ToggleSetting(no_slide_animations)</onclick>
				</control>
				<control type="radiobutton" id="702">
					<label>$LOCALIZE[20189]</label>
					<include>DefaultSettingButton</include>
					<onclick>Skin.ToggleSetting(autoscroll)</onclick>
					<selected>Skin.HasSetting(autoscroll)</selected>
				</control>
				<control type="radiobutton" id="703">
					<label>$LOCALIZE[31158]</label>
					<include>DefaultSettingButton</include>
					<onclick>Skin.ToggleSetting(touchmode)</onclick>
					<selected>Skin.HasSetting(touchmode)</selected>
				</control>
				<control type="radiobutton" id="704">
					<label>$LOCALIZE[31093]</label>
					<include>DefaultSettingButton</include>
					<onclick condition="!String.IsEmpty(Weather.Plugin)">Skin.ToggleSetting(show_weatherinfo)</onclick>
					<onclick condition="String.IsEmpty(Weather.Plugin)">ActivateWindow(servicesettings,weather)</onclick>
					<selected>Skin.HasSetting(show_weatherinfo) + !String.IsEmpty(Weather.Plugin)</selected>
				</control>
				<control type="radiobutton" id="705">
					<label>$LOCALIZE[31160]</label>
					<include>DefaultSettingButton</include>
					<onclick>Skin.ToggleSetting(hide_mediaflags)</onclick>
					<selected>!Skin.HasSetting(hide_mediaflags)</selected>
				</control>
				<control type="button" id="706">
					<label>$LOCALIZE[31024]</label>
					<include>DefaultSettingButton</include>
					<onclick>Skin.SelectBool(31024, 38018|circle_userrating, 563|circle_rating, 16018|circle_none)</onclick>
					<label2>$VAR[RatingSettingLabel2Var]</label2>
				</control>
				<control type="button" id="707">
					<label>$LOCALIZE[31164]</label>
					<include>DefaultSettingButton</include>
					<onclick>Skin.SelectBool(31164, 31165|show_profilename, 31166|show_profileavatar, 16018|show_none)</onclick>
					<label2>$VAR[ProfileIdentificationLabel2Var]</label2>
				</control>
			</control>
			<control type="grouplist" id="610">
				<top>160</top>
				<left>0</left>
				<right>0</right>
				<bottom>140</bottom>
				<onleft>9000</onleft>
				<onright>60</onright>
				<onup>610</onup>
				<pagecontrol>60</pagecontrol>
				<ondown>610</ondown>
				<visible>Container(9000).HasFocus(2)</visible>
				<control type="radiobutton" id="602">
					<label>$LOCALIZE[131008]</label>
					<include>DefaultSettingButton</include>
					<selected>Skin.HasSetting(HideHomeMenu)</selected>
					<onclick>Skin.ToggleSetting(HideHomeMenu)</onclick>
				</control>
				<control type="radiobutton" id="621">
					<label>$LOCALIZE[31008]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(home_no_categories_widget)</selected>
					<onclick>Skin.ToggleSetting(home_no_categories_widget)</onclick>
				</control>
				<control type="radiobutton" id="611">
					<label>$LOCALIZE[342]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoMovieButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoMovieButton)</onclick>
				</control>
				<control type="radiobutton" id="7611">
					<label>- $LOCALIZE[131096]</label>
					<include>DefaultSettingButton</include>
					<selected>Skin.HasSetting(EnablePlusMovie)</selected>
					<onclick>Skin.ToggleSetting(EnablePlusMovie)</onclick>
					<enable>!Skin.HasSetting(HomeMenuNoMovieButton)</enable>
				</control>
				<control type="radiobutton" id="612">
					<label>$LOCALIZE[20343]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoTVShowButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoTVShowButton)</onclick>
				</control>
				<control type="radiobutton" id="7612">
					<label>- $LOCALIZE[131096]</label>
					<include>DefaultSettingButton</include>
					<selected>Skin.HasSetting(EnablePlusTVShow)</selected>
					<onclick>Skin.ToggleSetting(EnablePlusTVShow)</onclick>
					<enable>!Skin.HasSetting(HomeMenuNoTVShowButton)</enable>
				</control>
				<control type="radiobutton" id="613">
					<label>$LOCALIZE[2]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoMusicButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoMusicButton)</onclick>
				</control>
				<control type="radiobutton" id="6131">
					<label>$LOCALIZE[20389]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoMusicVideoButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoMusicVideoButton)</onclick>
				</control>
				<control type="radiobutton" id="618">
					<label>$LOCALIZE[19020]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoTVButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoTVButton)</onclick>
				</control>
				<control type="radiobutton" id="619">
					<label>$LOCALIZE[19021]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoRadioButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoRadioButton)</onclick>
				</control>
				<control type="radiobutton" id="614">
					<label>$LOCALIZE[24001]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoProgramsButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoProgramsButton)</onclick>
				</control>
				<control type="radiobutton" id="615">
					<label>$LOCALIZE[1]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoPicturesButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoPicturesButton)</onclick>
				</control>
				<control type="radiobutton" id="616">
					<label>$LOCALIZE[3]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoVideosButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoVideosButton)</onclick>
				</control>
				<control type="radiobutton" id="620">
					<label>$LOCALIZE[15016]</label>
					<visible>System.GetBool(gamesgeneral.enable)</visible>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoGamesButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoGamesButton)</onclick>
				</control>
				<control type="radiobutton" id="6160">
					<label>$LOCALIZE[10134]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoFavButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoFavButton)</onclick>
				</control>
				<control type="radiobutton" id="617">
					<label>$LOCALIZE[8]</label>
					<include>DefaultSettingButton</include>
					<selected>!Skin.HasSetting(HomeMenuNoWeatherButton)</selected>
					<onclick>Skin.ToggleSetting(HomeMenuNoWeatherButton)</onclick>
				</control>
			</control>
			<control type="grouplist" id="630">
				<top>160</top>
				<left>0</left>
				<right>0</right>
				<bottom>140</bottom>
				<onleft>9000</onleft>
				<onright>60</onright>
				<onup>630</onup>
				<pagecontrol>60</pagecontrol>
				<ondown>630</ondown>
				<visible>Container(9000).HasFocus(4)</visible>
				<control type="radiobutton" id="631">
					<label>$LOCALIZE[131062]</label>
					<include>DefaultSettingButton</include>
					<selected>Skin.HasSetting(EnableCustomMenu)</selected>
					<onclick>Skin.ToggleSetting(EnableCustomMenu)</onclick>
					<onclick>ReloadSkin()</onclick>
				</control>
				<include condition="Skin.HasSetting(EnableCustomMenu)">SettingMenuAction</include>
				<include condition="Skin.HasSetting(EnableCustomMenu)">SettingMenuItem</include>
			</control>
			<control type="grouplist" id="600">
				<top>160</top>
				<left>0</left>
				<right>0</right>
				<bottom>140</bottom>
				<onleft>9000</onleft>
				<onright>60</onright>
				<onup>600</onup>
				<ondown>600</ondown>
				<visible>Container(9000).HasFocus(3)</visible>
				<control type="button" id="601">
					<label>$LOCALIZE[131157]</label>
					<label2>$VAR[PosterAlignTypeVar]</label2>
					<include>DefaultSettingButton</include>
					<onclick condition="String.IsEqual(Skin.String(poster_align),left)">Skin.SetString(poster_align,center)</onclick>
					<onclick condition="String.IsEqual(Skin.String(poster_align),center)">Skin.SetString(poster_align,right)</onclick>
					<onclick condition="String.IsEqual(Skin.String(poster_align),right)">Skin.SetString(poster_align,left)</onclick>
				</control>
				<control type="button" id="603">
					<label>$LOCALIZE[131158]</label>
					<label2>$VAR[PosterAspectTypeVar]</label2>
					<include>DefaultSettingButton</include>
					<onclick condition="String.IsEqual(Skin.String(poster_aspect),keep)">Skin.SetString(poster_aspect,scale)</onclick>
					<onclick condition="String.IsEqual(Skin.String(poster_aspect),scale)">Skin.SetString(poster_aspect,stretch)</onclick>
					<onclick condition="String.IsEqual(Skin.String(poster_aspect),stretch)">Skin.SetString(poster_aspect,keep)</onclick>
				</control>
				<control type="button" id="607">
					<label>$LOCALIZE[31156]</label>
					<label2>$VAR[BackgroundOverlayTypeVar]</label2>
					<include>DefaultSettingButton</include>
					<onclick condition="String.IsEqual(Skin.String(background_overlay),7)">Skin.SetString(background_overlay,0)</onclick>
					<onclick condition="String.IsEqual(Skin.String(background_overlay),6)">Skin.SetString(background_overlay,7)</onclick>
					<onclick condition="String.IsEqual(Skin.String(background_overlay),5)">Skin.SetString(background_overlay,6)</onclick>
					<onclick condition="String.IsEqual(Skin.String(background_overlay),4)">Skin.SetString(background_overlay,5)</onclick>
					<onclick condition="String.IsEqual(Skin.String(background_overlay),3)">Skin.SetString(background_overlay,4)</onclick>
					<onclick condition="String.IsEqual(Skin.String(background_overlay),2)">Skin.SetString(background_overlay,3)</onclick>
					<onclick condition="String.IsEqual(Skin.String(background_overlay),1)">Skin.SetString(background_overlay,2)</onclick>
					<onclick condition="String.IsEqual(Skin.String(background_overlay),0)">Skin.SetString(background_overlay,1)</onclick>
				</control>
				<control type="radiobutton" id="604">
					<label>$LOCALIZE[131156]</label>
					<include>DefaultSettingButton</include>
					<onclick>Skin.ToggleSetting(DisableClearLogo)</onclick>
					<selected>!Skin.HasSetting(DisableClearLogo)</selected>
				</control>
				<control type="radiobutton" id="605">
					<label>$LOCALIZE[31002]</label>
					<include>DefaultSettingButton</include>
					<onclick>Skin.ToggleSetting(no_fanart)</onclick>
					<selected>!Skin.HasSetting(no_fanart)</selected>
				</control>
				<control type="button" id="608">
					<label>$LOCALIZE[31131]</label>
					<label2>$INFO[Skin.String(HomeFanart.name)]</label2>
					<include>DefaultSettingButton</include>
					<onclick condition="System.HasAddon(script.image.resource.select)">RunScript(script.image.resource.select,property=HomeFanart&amp;type=resource.images.skinbackgrounds)</onclick>
					<onclick condition="!System.HasAddon(script.image.resource.select)">InstallAddon(script.image.resource.select)</onclick>
					<enable>!Skin.HasSetting(no_fanart)</enable>
				</control>
				<control type="button" id="609">
					<label>$LOCALIZE[31062]</label>
					<label2>$INFO[Skin.String(WeatherFanart.name)]</label2>
					<include>DefaultSettingButton</include>
					<onclick condition="System.HasAddon(script.image.resource.select)">RunScript(script.image.resource.select,property=WeatherFanart&amp;type=resource.images.weatherfanart)</onclick>
					<onclick condition="!System.HasAddon(script.image.resource.select)">InstallAddon(script.image.resource.select)</onclick>
					<enable>!Skin.HasSetting(no_fanart)</enable>
				</control>
				<control type="button" id="6066">
					<label>$LOCALIZE[31149]</label>
					<label2>$INFO[Skin.String(MovieGenreFanart.Name)]</label2>
					<include>DefaultSettingButton</include>
					<onclick condition="!System.HasAddon(script.image.resource.select)">InstallAddon(script.image.resource.select)</onclick>
					<onclick condition="System.HasAddon(script.image.resource.select)">RunScript(script.image.resource.select,property=MovieGenreFanart&amp;type=resource.images.moviegenrefanart)</onclick>
				</control>
			</control>
			<control type="image">
				<description>Dialog Header image</description>
				<left>0</left>
				<top>160</top>
				<right>0</right>
				<height>3</height>
				<texture colordiffuse="button_focus" border="2">dialogs/separator-grey.png</texture>
			</control>
			<control type="image">
				<description>Dialog Header image</description>
				<left>0</left>
				<bottom>134</bottom>
				<right>0</right>
				<height>3</height>
				<texture colordiffuse="button_focus" border="2">dialogs/separator-grey.png</texture>
			</control>
		</control>
		<control type="group">
			<depth>DepthContentPanel</depth>
			<left>0</left>
			<include>OpenClose_Left</include>
			<include content="ContentPanel">
				<param name="width" value="530" />
			</include>
			<control type="list" id="9000">
				<description>button area</description>
				<left>0</left>
				<top>160</top>
				<width>470</width>
				<height>700</height>
				<onleft>10000</onleft>
				<onright>10000</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
				<itemlayout height="90" width="470">
					<control type="label">
						<textoffsetx>30</textoffsetx>
						<width>470</width>
						<height>90</height>
						<label>$INFO[ListItem.Label]</label>
						<font>font37</font>
						<aligny>center</aligny>
					</control>
				</itemlayout>
				<focusedlayout height="90" width="470">
					<control type="image">
						<width>470</width>
						<height>90</height>
						<texture colordiffuse="button_focus">lists/focus.png</texture>
						<animation effect="fade" start="100" end="50" time="40" condition="!Control.HasFocus(9000)">Conditional</animation>
					</control>
					<control type="label">
						<textoffsetx>30</textoffsetx>
						<width>470</width>
						<height>90</height>
						<font>font37</font>
						<aligny>center</aligny>
						<label>$INFO[ListItem.Label]</label>
					</control>
				</focusedlayout>
				<content>
					<item id="4">
						<label>$LOCALIZE[131061]</label>
						<onclick>noop</onclick>
					</item>
					<item id="2">
						<label>$LOCALIZE[31061]</label>
						<onclick>noop</onclick>
					</item>
					<item id="3">
						<label>$LOCALIZE[31159]</label>
						<onclick>noop</onclick>
					</item>
					<item id="1">
						<label>$LOCALIZE[128]</label>
						<onclick>noop</onclick>
					</item>
				</content>
			</control>
		</control>
		<control type="group">
			<right>0</right>
			<top>163</top>
			<bottom>137</bottom>
			<width>60</width>
			<control type="scrollbar" id="60">
				<right>0</right>
				<top>0</top>
				<bottom>0</bottom>
				<width>12</width>
				<orientation>vertical</orientation>
				<texturesliderbackground />
				<animation effect="slide" end="6,0" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(60)">conditional</animation>
				<onleft>5</onleft>
				<onright>5</onright>
				<animation effect="fade" start="0" end="100" time="200" delay="300">Visible</animation>
				<animation effect="fade" start="100" end="0" time="200">Hidden</animation>
				<animation effect="fade" start="0" end="100" delay="300" time="320">WindowOpen</animation>
				<animation effect="fade" start="100" end="0" time="150">WindowClose</animation>
				<hitrect x="0" y="0" w="60" h="100%" />
				<visible>Control.IsVisible(610)</visible>
			</control>
		</control>
		<include content="TopBar">
			<param name="breadcrumbs_label" value="$LOCALIZE[5] / $LOCALIZE[20077]" />
		</include>
		<include>BottomBar</include>
		<control type="textbox" id="6">
			<include>OpenClose_Right</include>
			<description>description area</description>
			<left>510</left>
			<bottom>27</bottom>
			<width>1350</width>
			<height>100</height>
			<font>font12</font>
			<align>justify</align>
			<textcolor>button_focus</textcolor>
			<label>$VAR[SkinSettingsHelpTextVar]</label>
			<autoscroll time="3000" delay="5000" repeat="5000">true</autoscroll>
		</control>
	</controls>
</window>
