<?xml version="1.0" encoding="utf-8"?>
<window type="dialog" id="1101">
	<defaultcontrol always="true">11000</defaultcontrol>
	<include>Animation_DialogPopupOpenClose</include>
	<controls>
		<control type="group">
			<centerleft>50%</centerleft>
			<height>460</height>
			<centertop>50%</centertop>
			<width>700</width>
			<visible>!Window.IsActive(DialogSettings.xml) + !Window.IsActive(DialogSlider.xml)</visible>
			<animation effect="fade" time="200">VisibleChange</animation>
			<include content="DialogBackgroundCommons">
				<param name="width" value="700" />
				<param name="height" value="80" />
				<param name="header_label" value="$INFO[Window(home).Property(settingslist_Header)]" />
				<param name="header_id" value="1" />
			</include>
			<control type="group" id="11000">
				<left>0</left>
				<top>80</top>
				<control type="grouplist" id="11100">
					<visible>String.IsEqual(window(home).Property(settingslist_content),osd)</visible>
					<width>700</width>
					<height>360</height>
					<itemgap>0</itemgap>
					<onup>11100</onup>
					<ondown>11100</ondown>
					<orientation>vertical</orientation>
					<control type="button" id="11111">
						<width>700</width>
						<include>DialogSettingButton</include>
						<label>$LOCALIZE[13396]</label>
						<onclick>ActivateWindow(osdaudiosettings)</onclick>
					</control>
					<control type="button" id="11102">
						<width>700</width>
						<include>DialogSettingButton</include>
						<label>$LOCALIZE[13395]</label>
						<onclick>ActivateWindow(osdvideosettings)</onclick>
					</control>
					<control type="button" id="11105">
						<width>700</width>
						<include>DialogSettingButton</include>
						<label>$LOCALIZE[36560]</label>
						<onclick>ActivateWindow(osdcmssettings)</onclick>
						<visible>System.HasCMS</visible>
					</control>
					<control type="button" id="11103">
						<width>700</width>
						<include>DialogSettingButton</include>
						<label>$LOCALIZE[15020]</label>
						<onclick>ActivateWindow(AudioDSPManager)</onclick>
						<visible>ADSP.HasModes</visible>
					</control>
					<control type="button" id="11104">
						<width>700</width>
						<include>DialogSettingButton</include>
						<label>$LOCALIZE[31112]</label>
						<label2>[B]$INFO[VideoPlayer.AudioLanguage][/B]</label2>
						<onclick>AudioNextLanguage</onclick>
					</control>
				</control>
				<control type="grouplist" id="12100">
					<visible>String.IsEqual(window(home).Property(settingslist_content),subtitle)</visible>
					<width>700</width>
					<height>360</height>
					<itemgap>0</itemgap>
					<onup>12100</onup>
					<ondown>12100</ondown>
					<orientation>vertical</orientation>
					<control type="radiobutton" id="12104">
						<width>700</width>
						<include>DialogSettingButton</include>
						<label>$LOCALIZE[449]</label>
						<radioposx>590</radioposx>
						<onclick>ShowSubtitles</onclick>
						<selected>VideoPlayer.SubtitlesEnabled + VideoPlayer.HasSubtitles</selected>
						<enable>VideoPlayer.HasSubtitles</enable>
					</control>
					<control type="button" id="12101">
						<description>Download with Subtitles script</description>
						<width>700</width>
						<label>33003</label>
						<include>DialogSettingButton</include>
						<onclick>Close</onclick>
						<onclick>Dialog.Close(VideoOSD)</onclick>
						<onclick>ActivateWindow(SubtitleSearch)</onclick>
						<enable>!VideoPlayer.Content(LiveTV)</enable>
					</control>
					<control type="button" id="12102">
						<width>700</width>
						<include>DialogSettingButton</include>
						<label>$LOCALIZE[22006]</label>
						<onclick>SubtitleDelay</onclick>
						<enable>VideoPlayer.HasSubtitles + VideoPlayer.SubtitlesEnabled</enable>
					</control>
					<control type="button" id="12103">
						<width>700</width>
						<include>DialogSettingButton</include>
						<label>$LOCALIZE[31051]</label>
						<label2>[B]$INFO[VideoPlayer.SubtitlesLanguage][/B]</label2>
						<onclick>CycleSubtitle</onclick>
						<enable>VideoPlayer.HasSubtitles + VideoPlayer.SubtitlesEnabled</enable>
					</control>
				</control>
				<control type="grouplist" id="13100">
					<visible>String.IsEqual(window(home).Property(settingslist_content),3d)</visible>
					<width>700</width>
					<height>360</height>
					<itemgap>0</itemgap>
					<onup>13100</onup>
					<ondown>13100</ondown>
					<orientation>vertical</orientation>
					<control type="radiobutton" id="13101">
						<width>700</width>
						<include>DialogSettingButton</include>
						<radioposx>590</radioposx>
						<label>$LOCALIZE[24022]</label>
						<onclick>ToggleStereoMode</onclick>
						<selected>Integer.IsGreater(System.StereoscopicMode,0)</selected>
					</control>
					<control type="button" id="13102">
						<width>700</width>
						<include>DialogSettingButton</include>
						<label>$LOCALIZE[31004]</label>
						<label2>[B]$INFO[VideoPlayer.StereoscopicMode][/B]</label2>
						<onclick>StereoMode</onclick>
					</control>
					<control type="radiobutton" id="13103">
						<width>700</width>
						<include>DialogSettingButton</include>
						<radioposx>590</radioposx>
						<label>$LOCALIZE[31005]</label>
						<onclick>StereoModeToMono</onclick>
						<selected>Integer.IsEqual(System.StereoscopicMode,9)</selected>
					</control>
				</control>
			</control>
		</control>
	</controls>
</window>
