<window type="buttonMenu" id="111">
	<defaultcontrol>9000</defaultcontrol>
	<onload>Dialog.Close(playercontrols)</onload>
	<include>OnLoadDialogsClose</include>
	<coordinates>
		<system>1</system>
		<posx>0</posx>
		<posy>0</posy>
	</coordinates>
	<controls>

	 <control type="group">
		<posx>45</posx>
		<posy>25</posy>
	  <include>TopOptionsSlideAnimations</include>
	  <control type="grouplist" id="9000">
			<posx>0</posx>
			<posy>50</posy>
			<width>460</width>
			<height max="520">auto</height>
			<itemgap>0</itemgap>
			<onleft>Close</onleft>
			<onright>Close</onright>
			<onup>9000</onup>
			<ondown>9000</ondown>
			<control type="button" id="1">
				<description>Exit button</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
				<onclick>XBMC.Quit()</onclick>
				<label>$LOCALIZE[13012] XBMC</label>
				<visible>System.ShowExitButton</visible>
			</control>
			<control type="button" id="2">
				<description>Settings button</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
        <include>OnClickDialogsClose</include>
				<onclick>ActivateWindow(AppearanceSettings)</onclick>
				<label>$LOCALIZE[5]</label>
        <visible>System.Loggedon</visible>
			</control>
			<control type="button" id="3">
				<description>System Info button</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
        <include>OnClickDialogsClose</include>
				<onclick>ActivateWindow(SystemInfo)</onclick>
				<label>$LOCALIZE[130]</label>
        <visible>System.Loggedon</visible>
			</control>
			<control type="button" id="4">
				<description>File Manager button</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
        <include>OnClickDialogsClose</include>
				<onclick>ActivateWindow(FileManager)</onclick>
				<label>$LOCALIZE[31016]</label>
        <visible>System.Loggedon</visible>
			</control>
			<control type="button" id="5">
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
        <include>OnClickDialogsClose</include>
				<onclick>XBMC.Powerdown()</onclick>
				<visible>System.CanPowerDown</visible>
				<label>$LOCALIZE[13016]</label>
			</control>
			<control type="button" id="6">
				<description>Custom Shutdown Timer</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
				<onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Powerdown())</onclick>
				<label>$LOCALIZE[20150]</label>
				<visible>!System.HasAlarm(shutdowntimer)</visible>
				<visible>System.CanPowerDown</visible>
			</control>
			<control type="button" id="7">
				<description>Cancel Shutdown Timer</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
				<onclick>XBMC.CancelAlarm(shutdowntimer)</onclick>
				<label>$LOCALIZE[20151]</label>
				<visible>System.HasAlarm(shutdowntimer)</visible>
			</control>
			<control type="button" id="8">
				<description>Suspend button</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
				<onclick>XBMC.Suspend()</onclick>
				<label>$LOCALIZE[13011]</label>
				<visible>System.CanSuspend</visible>
			</control>
			<control type="button" id="9">
				<description>Hibernate button</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
				<onclick>XBMC.Hibernate()</onclick>
				<label>$LOCALIZE[13010]</label>
				<visible>System.CanHibernate</visible>
			</control>
			<control type="button" id="10">
				<description>Reboot button</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>22000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
				<onclick>XBMC.Reset()</onclick>
				<visible>System.CanReboot</visible>
				<label>$LOCALIZE[13013]</label>
			</control>
			<control type="button" id="11">
				<description>Logoff button</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
				<onclick>dialog.close(all,true)</onclick>
				<onclick>System.LogOff</onclick>
				<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
				<visible>System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)</visible>
				<visible>System.Loggedon</visible>
			</control>
			<control type="togglebutton" id="12">
				<description>Master mode button</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
				<usealttexture>!System.IsMaster</usealttexture>
				<alttexturefocus>buttons/contextmenu_fo.png</alttexturefocus>
				<alttexturenofocus>buttons/contextmenu_nf.png</alttexturenofocus>
				<onclick>xbmc.mastermode</onclick>
				<label>$LOCALIZE[20046]</label>
				<altlabel>$LOCALIZE[20045]</altlabel>
				<visible>System.HasLocks</visible>
			</control>
			<control type="button" id="13">
				<description>Profiles button</description>
				<width>460</width>
				<height>40</height>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<focusedcolor>white</focusedcolor>
			  <disabledcolor>44white</disabledcolor>
			  <shadowcolor>99000000</shadowcolor>
				<align>left</align>
				<aligny>top</aligny>
				<textwidth>430</textwidth>
				<textoffsetx>23</textoffsetx>
				<textoffsety>5</textoffsety>
				<texturefocus>buttons/contextmenu_fo.png</texturefocus>
				<texturenofocus>buttons/contextmenu_nf.png</texturenofocus>
        <include>OnClickDialogsClose</include>
				<onclick>ActivateWindow(Profiles)</onclick>
				<label>$LOCALIZE[13200]</label>
        <visible>System.Loggedon</visible>
			</control>
	  </control>

	  <!-- ================ -->
	  <!-- Top Content Info -->
	  <!-- ================ -->
		<control type="grouplist">
			<posx>0</posx>
			<posy>0</posy>
			<height>70</height>
			<width>1000</width>
			<align>left</align>
			<itemgap>20</itemgap>
			<orientation>horizontal</orientation>
			<control type="label">
			  <include>TopBigLabel</include>
				<label>$LOCALIZE[13005] $LOCALIZE[33061]</label>
			</control>
	    <control type="fadelabel">
			  <include>TopZoomedSmallLabel</include>
				<label>$INFO[System.Date], $INFO[System.Time]</label>
				<label>$INFO[System.Uptime, $LOCALIZE[12390]: ]</label>
				<label>$INFO[System.TotalUptime, $LOCALIZE[12394]: ]</label>
	      <scroll>false</scroll>
	      <scrollout>false</scrollout>
	      <scrollspeed>100</scrollspeed>
	      <pauseatend>5000</pauseatend>
	      <visible>!System.HasAlarm(shutdowntimer)</visible>
		    <animation effect="fade" start="0" end="100" time="400" tween="sine" easing="inout">Visible</animation>
		    <animation effect="fade" start="100" end="0" time="400" tween="sine" easing="inout">Hidden</animation>
			</control>
	    <control type="fadelabel">
			  <include>TopZoomedSmallLabel</include>
				<label>[COLOR=blue]$INFO[System.Alarmpos, $LOCALIZE[31008] ][/COLOR]</label>
				<label>$INFO[System.Date], $INFO[System.Time]</label>
				<label>$INFO[System.Uptime, $LOCALIZE[12390]: ]</label>
				<label>$INFO[System.TotalUptime, $LOCALIZE[12394]: ]</label>
	      <scroll>false</scroll>
	      <scrollout>false</scrollout>
	      <scrollspeed>100</scrollspeed>
	      <pauseatend>5000</pauseatend>
			  <visible>System.HasAlarm(shutdowntimer)</visible>
		    <animation effect="fade" start="0" end="100" time="400" tween="sine" easing="inout">Visible</animation>
		    <animation effect="fade" start="100" end="0" time="400" tween="sine" easing="inout">Hidden</animation>
			</control>
		</control>
	 </control>


	 <!-- ================= -->
	 <!-- Small System Info -->
	 <!-- ================= -->
	 <control type="group">
	  <posx>45</posx>
		<posy>540</posy>
    <animation type="WindowOpen" reversible="false">
      <effect type="fade" start="0" end="100" time="300" tween="sine" easing="in"  />
      <effect type="slide" start="0,55" end="0,0" time="350" tween="cubic" easing="out" />
    </animation>
    <animation type="WindowClose" reversible="false">
      <effect type="fade" start="100" end="0" time="300" tween="sine" easing="out" />
      <effect type="slide" start="0,0" end="0,55" time="350" tween="sine" easing="out" />
    </animation>
    <animation type="Visible" reversible="false">
      <effect type="fade" start="0" end="100" time="300" tween="sine" easing="in"  />
      <effect type="slide" start="0,90" 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,90" time="350" tween="sine" easing="out" />
    </animation>
		<control type="grouplist">
			<posx>0</posx>
			<posy>0</posy>
			<height>200</height>
			<width>1190</width>
			<itemgap>0</itemgap>
		  <aligny>bottom</aligny>
			<control type="label" id="1">
				<height>50</height>
				<width>1190</width>
				<font>FontSize_40</font>
				<textcolor>white</textcolor>
				<shadowcolor>99000000</shadowcolor>
		    <align>right</align>
		    <aligny>center</aligny>
				<scroll>false</scroll>
				<label>$LOCALIZE[13000]</label>
			</control>
			<control type="label" id="1">
				<height>25</height>
				<width>1190</width>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<shadowcolor>99000000</shadowcolor>
		    <align>right</align>
		    <aligny>center</aligny>
				<scroll>false</scroll>
				<label>$INFO[System.CPUUsage, $LOCALIZE[13271] ]</label>
			</control>
			<control type="label" id="1">
				<height>25</height>
				<width>1190</width>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<shadowcolor>99000000</shadowcolor>
		    <align>right</align>
		    <aligny>center</aligny>
				<scroll>false</scroll>
				<label>$INFO[System.Memory(used.percent), $LOCALIZE[31027] ]</label>
			</control>
			<control type="label" id="1">
				<height>25</height>
				<width>1190</width>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<shadowcolor>99000000</shadowcolor>
		    <align>right</align>
		    <aligny>center</aligny>
				<scroll>false</scroll>
				<label>$INFO[Network.IPAddress, $LOCALIZE[150]: ]</label>
			</control>
			<control type="label" id="1">
				<height>25</height>
				<width>1190</width>
				<font>FontSize_22</font>
				<textcolor>77white</textcolor>
				<shadowcolor>99000000</shadowcolor>
		    <align>right</align>
		    <aligny>center</aligny>
				<scroll>false</scroll>
				<label>$INFO[System.ScreenResolution]</label>
			</control>
		</control>
	 </control>

  </controls>
</window>