<window type="buttonMenu" id="111">
	<defaultcontrol always="true">3112</defaultcontrol>
	<coordinates>
		<system>1</system>
		<posx>0</posx>
		<posy>320</posy>
	</coordinates>
	<animation effect="zoom" start="600" center="640,290" time="700">WindowOpen</animation>
	<animation effect="fade" time="200">WindowClose</animation>
	<controls>
		<control type="image">
			<posx>0</posx>
			<posy>-7</posy>
			<width>1280</width>
			<height>116</height>
			<texture border="1,11,1,23">sub-background.png</texture>
		</control>
		<control type="group">
			<posx>280</posx>
			<visible>System.LoggedOn</visible>
			<animation effect="slide" time="0" end="40,0" condition="!System.HasLoginScreen">Conditional</animation>
			<control type="togglebutton" id="3118">
				<description>Master mode button</description>
				<visible>System.HasLocks</visible>
				<posx>0</posx>
				<posy>5</posy>
				<width>80</width>
				<height>81</height>
				<label>20046</label>
				<altlabel>20045</altlabel>
				<texturefocus>sub-master-focus.gif</texturefocus>
				<texturenofocus>sub-master-nofocus.png</texturenofocus>
				<usealttexture>!System.IsMaster</usealttexture>
				<alttexturefocus>sub-nomaster-focus.gif</alttexturefocus>
				<alttexturenofocus>sub-nomaster-nofocus.png</alttexturenofocus>
				<onclick>xbmc.mastermode</onclick>
				<pulseonselect>no</pulseonselect>
				<onleft>3116</onleft>
				<onright>3113</onright>
				<onup>3118</onup>
				<ondown>3118</ondown>
				<font>-</font>
			</control>
			<control type="group">
				<animation effect="slide" time="0" end="-40,0" condition="!System.HasLocks">Conditional</animation>
				<control type="button" id="3113">
					<description>System Info button</description>
					<posx>80</posx>
					<posy>5</posy>
					<width>80</width>
					<height>81</height>
					<texturefocus>sub-info-focus.gif</texturefocus>
					<texturenofocus>sub-info-nofocus.png</texturenofocus>
					<onclick>XBMC.ActivateWindow(7)</onclick>
					<pulseonselect>no</pulseonselect>
					<onleft>3118</onleft>
					<onright>3117</onright>
					<onup>3113</onup>
					<ondown>3113</ondown>
					<font>-</font>
					<label>130</label>
				</control>
				<control type="button" id="3117">
					<description>Profile LogOff</description>
					<visible>System.HasLoginScreen</visible>
					<posx>160</posx>
					<posy>5</posy>
					<width>80</width>
					<height>81</height>
					<texturefocus>sub-logoff-focus.gif</texturefocus>
					<texturenofocus>sub-logoff-nofocus.png</texturenofocus>
					<onclick>dialog.close(all,true)</onclick>
					<onclick>system.logoff</onclick>
					<pulseonselect>no</pulseonselect>
					<onleft>3113</onleft>
					<onright>3119</onright>
					<onup>3117</onup>
					<ondown>3117</ondown>
					<font>-</font>
					<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
				</control>
				<control type="group">
					<animation effect="slide" time="0" end="-80,0" condition="!System.HasLoginScreen">Conditional</animation>
					<control type="button" id="3119">
						<description>Exit xbmc</description>
						<posx>240</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturefocus>sub-exit-focus.gif</texturefocus>
						<texturenofocus>sub-exit-nofocus.png</texturenofocus>
						<onclick>dialog.close(all,true)</onclick>
						<onclick>XBMC.Quit()</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3117</onleft>
						<onright>3112</onright>
						<onup>3119</onup>
						<ondown>3119</ondown>
						<font>-</font>
						<label>$LOCALIZE[13012] XBMC</label>
					</control>
					<control type="button" id="3200">
						<description>30min ShutdownTimer button</description>
						<posx>320</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturefocus>-</texturefocus>
						<texturenofocus>-</texturenofocus>
						<onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Shutdown(),30)</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3119</onleft>
						<onright>3120</onright>
						<onup>3201</onup>
						<ondown>3112</ondown>
						<font>-</font>
						<label>20147</label>
					</control>
					<control type="button" id="3201">
						<description>60min ShutdownTimer button</description>
						<posx>320</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturefocus>-</texturefocus>
						<texturenofocus>-</texturenofocus>
						<onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Shutdown(),60)</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3119</onleft>
						<onright>3120</onright>
						<onup>3202</onup>
						<ondown>3200</ondown>
						<font>-</font>
						<label>20148</label>
					</control>
					<control type="button" id="3202">
						<description>120min ShutdownTimer button</description>
						<posx>320</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturefocus>-</texturefocus>
						<texturenofocus>-</texturenofocus>
						<onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Shutdown(),120)</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3119</onleft>
						<onright>3120</onright>
						<onup>3203</onup>
						<ondown>3201</ondown>
						<font>-</font>
						<label>20149</label>
					</control>
					<control type="button" id="3203">
						<description>Custom ShutdownTimer button</description>
						<posx>320</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturefocus>-</texturefocus>
						<texturenofocus>-</texturenofocus>
						<onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Shutdown())</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3119</onleft>
						<onright>3120</onright>
						<onup>3204</onup>
						<ondown>3202</ondown>
						<font>-</font>
						<label>20150</label>
					</control>
					<control type="button" id="3204">
						<description>Cancel ShutdownTimer button</description>
						<visible>System.HasAlarm(shutdowntimer)</visible>
						<posx>320</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturefocus>-</texturefocus>
						<texturenofocus>-</texturenofocus>
						<onclick>XBMC.CancelAlarm(shutdowntimer)</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3119</onleft>
						<onright>3120</onright>
						<onup>3112</onup>
						<ondown>3203</ondown>
						<font>-</font>
						<label>20151</label>
					</control>
					<control type="button" id="3112">
						<description>Shutdown button</description>
						<posx>320</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturefocus>-</texturefocus>
						<texturenofocus>sub-shutdown-nofocus.png</texturenofocus>
						<onclick>XBMC.Shutdown()</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3119</onleft>
						<onright>3120</onright>
						<onup>3200</onup>
						<ondown>3204</ondown>
						<font>-</font>
						<label>13005</label>
					</control>
					<control type="image">
						<description>Shutdown focus image</description>
						<posx>320</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texture>sub-shutdown-focus.gif</texture>
						<visible>[Control.HasFocus(3112) | Control.HasFocus(3200) | Control.HasFocus(3201) | Control.HasFocus(3202) | Control.HasFocus(3203) | Control.HasFocus(3204)]</visible>
					</control>
					<control type="button" id="3120">
						<description>Suspend button</description>
						<posx>400</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturefocus>sub-suspend-focus.gif</texturefocus>
						<texturenofocus>sub-suspend-nofocus.png</texturenofocus>
						<onclick>XBMC.Suspend()</onclick>
						<onclick>dialog.close(all,true)</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3112</onleft>
						<onright>3110</onright>
						<onup>3120</onup>
						<ondown>3120</ondown>
						<font>-</font>
						<label>13011</label>
						<visible>!Skin.HasSetting(ShutdownUseHibernate)</visible>
					</control>
					<control type="button" id="3120">
						<description>Hibernate button</description>
						<posx>400</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturefocus>sub-suspend-focus.gif</texturefocus>
						<texturenofocus>sub-suspend-nofocus.png</texturenofocus>
						<onclick>XBMC.Hibernate()</onclick>
						<onclick>dialog.close(all,true)</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3112</onleft>
						<onright>3110</onright>
						<onup>3120</onup>
						<ondown>3120</ondown>
						<font>-</font>
						<label>13010</label>
						<visible>Skin.HasSetting(ShutdownUseHibernate)</visible>
					</control>
					<control type="button" id="3110">
						<description>Favourites button</description>
						<posx>480</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturefocus>sub-favs-focus.gif</texturefocus>
						<texturenofocus>sub-favs-nofocus.png</texturenofocus>
						<onclick>XBMC.ActivateWindow(Favourites)</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3120</onleft>
						<onright>3114</onright>
						<onup>3110</onup>
						<ondown>3110</ondown>
						<font>-</font>
						<label>1036</label>
					</control>
					<control type="button" id="3114">
						<description>Reboot button</description>
						<posx>560</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturefocus>sub-reboot-focus.gif</texturefocus>
						<texturenofocus>sub-reboot-nofocus.png</texturenofocus>
						<onclick>XBMC.Reset()</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3110</onleft>
						<onright>3116</onright>
						<onup>3114</onup>
						<ondown>3114</ondown>
						<font>-</font>
						<label>13013</label>
					</control>
					<control type="button" id="3116">
						<description>Eject Drive button</description>
						<posx>640</posx>
						<posy>5</posy>
						<width>80</width>
						<height>81</height>
						<texturenofocus>sub-eject-nofocus.png</texturenofocus>
						<texturefocus>sub-eject-focus.gif</texturefocus>
						<onclick>XBMC.EjectTray()</onclick>
						<pulseonselect>no</pulseonselect>
						<onleft>3114</onleft>
						<onright>3118</onright>
						<onup>3116</onup>
						<ondown>3116</ondown>
						<font>-</font>
						<label>$LOCALIZE[13391] $LOCALIZE[155]</label>
					</control>
				</control>
			</control>
		</control>
		<!--- Logon Screen -->
		<control type="group">
			<visible>!System.Loggedon</visible>
			<control type="button" id="3119">
				<description>Exit xbmc</description>
				<posx>480</posx>
				<posy>5</posy>
				<width>80</width>
				<height>81</height>
				<texturefocus>sub-exit-focus.gif</texturefocus>
				<texturenofocus>sub-exit-nofocus.png</texturenofocus>
				<onclick>dialog.close(all,true)</onclick>
				<onclick>XBMC.Quit()</onclick>
				<pulseonselect>no</pulseonselect>
				<onleft>3117</onleft>
				<onright>3112</onright>
				<onup>3119</onup>
				<ondown>3119</ondown>
				<font>-</font>
				<label>$LOCALIZE[13012] XBMC</label>
			</control>
			<control type="button" id="3112">
				<description>Shutdown button</description>
				<posx>560</posx>
				<posy>5</posy>
				<width>80</width>
				<height>81</height>
				<texturefocus>sub-shutdown-focus.gif</texturefocus>
				<texturenofocus>sub-shutdown-nofocus.png</texturenofocus>
				<onclick>XBMC.Shutdown()</onclick>
				<onclick>dialog.close(all,true)</onclick>
				<pulseonselect>no</pulseonselect>
				<onleft>3119</onleft>
				<onright>3120</onright>
				<onup>3112</onup>
				<ondown>3112</ondown>
				<font>-</font>
				<label>13005</label>
			</control>
			<control type="button" id="3120">
				<description>Suspend button</description>
				<posx>640</posx>
				<posy>5</posy>
				<width>80</width>
				<height>81</height>
				<texturefocus>sub-suspend-focus.gif</texturefocus>
				<texturenofocus>sub-suspend-nofocus.png</texturenofocus>
				<onclick>XBMC.Suspend()</onclick>
				<onclick>dialog.close(all,true)</onclick>
				<pulseonselect>no</pulseonselect>
				<onleft>3112</onleft>
				<onright>3110</onright>
				<onup>3120</onup>
				<ondown>3120</ondown>
				<font>-</font>
				<label>13011</label>
				<visible>!Skin.HasSetting(ShutdownUseHibernate)</visible>
			</control>
			<control type="button" id="3120">
				<description>Hibernate button</description>
				<posx>640</posx>
				<posy>5</posy>
				<width>80</width>
				<height>81</height>
				<texturefocus>sub-suspend-focus.gif</texturefocus>
				<texturenofocus>sub-suspend-nofocus.png</texturenofocus>
				<onclick>XBMC.Hibernate()</onclick>
				<onclick>dialog.close(all,true)</onclick>
				<pulseonselect>no</pulseonselect>
				<onleft>3112</onleft>
				<onright>3110</onright>
				<onup>3120</onup>
				<ondown>3120</ondown>
				<font>-</font>
				<label>13010</label>
				<visible>Skin.HasSetting(ShutdownUseHibernate)</visible>
			</control>
			<control type="button" id="3114">
				<description>Reboot button</description>
				<posx>720</posx>
				<posy>5</posy>
				<width>80</width>
				<height>81</height>
				<texturefocus>sub-reboot-focus.gif</texturefocus>
				<texturenofocus>sub-reboot-nofocus.png</texturenofocus>
				<onclick>XBMC.Reset()</onclick>
				<onclick>dialog.close(all,true)</onclick>
				<pulseonselect>no</pulseonselect>
				<onleft>3120</onleft>
				<onright>3119</onright>
				<onup>3115</onup>
				<ondown>3115</ondown>
				<font>-</font>
				<label>13013</label>
			</control>
		</control>
		<control type="image" id="0">
			<posx>0</posx>
			<posy>-60</posy>
			<width>1280</width>
			<height>50</height>
			<colordiffuse>CCFFFFFF</colordiffuse>
			<texture>sub-background-label.png</texture>
			<visible>system.hasloginscreen + System.Loggedon</visible>
		</control>
		<control type="label">
			<description>Label control</description>
			<posx>640</posx>
			<posy>-64</posy>
			<width>-</width>
			<height>45</height>
			<label>$LOCALIZE[20125] $INFO[system.profilename]</label>
			<align>center</align>
			<aligny>center</aligny>
			<textcolor>grey2</textcolor>
			<font>font11</font>
			<visible>system.hasloginscreen + System.Loggedon</visible>
		</control>
		<control type="image" id="0">
			<posx>0</posx>
			<posy>110</posy>
			<width>1280</width>
			<height>50</height>
			<colordiffuse>CCFFFFFF</colordiffuse>
			<texture>sub-background-label.png</texture>
		</control>
		<control type="label" id="3100">
			<description>Label control</description>
			<posx>640</posx>
			<posy>110</posy>
			<width>-</width>
			<height>40</height>
			<label>-</label>
			<align>center</align>
			<aligny>center</aligny>
			<font>font12</font>
		</control>
	</controls>
</window>