<?xml version="1.0" encoding="utf-8"?>
<window id="105">
    <defaultcontrol always="true">51</defaultcontrol>
    <coordinates>
        <system>1</system>
        <posx>915.15</posx>
        <posy>43.75</posy>
    </coordinates>
    <controls>
        <control type="group">
            <control type="image">
                <posx>373.17</posx>
                <posy>-43.75</posy>
                <width>373.17</width>
                <height>720</height>
                <texture>Right Curtain Panel.png</texture>
                <visible>!Skin.HasSetting(Wallpaper)</visible>
                <visible>!Skin.HasSetting(Default Wallpaper)</visible>
            </control>
			 <control type="image">
                <posx>373.17</posx>
                <posy>-43.75</posy>
                <width>373.17</width>
                <height>720</height>
                <texture>black.png</texture>
                <visible>!Skin.HasSetting(Wallpaper)</visible>
                <visible>!Skin.HasSetting(Default Wallpaper)</visible>
            </control>
            <control type="image">
                <posx>373.17</posx>
                <posy>-43.75</posy>
                <width>373.17</width>
                <height>720</height>
                <texture>Background2.png</texture>
				<colordiffuse>E1FFFFFF</colordiffuse>
				<visible>Skin.HasSetting(Wallpaper) |Skin.HasSetting(Default Wallpaper)</visible>
            </control>
            <!--New Sub menu controls-->
            <control type="list" id="51">
                <viewtype label="535">list</viewtype>
                <posx>373.17</posx>
                <posy>0</posy>
                <width>373.17</width>
                <height>562.50</height>
                <pagecontrol>90</pagecontrol>
                <onleft>2</onleft>
                <onright>2</onright>
                <onup>51</onup>
                <ondown>51</ondown>
                <itemlayout height="37.50" width="373.17">
                    <control type="label">
                        <posx>18</posx>
                        <posy>6.25</posy>
                        <width>355.40</width>
                        <height>25.00</height>
                        <font>fontKB</font>
                        <textcolor>white</textcolor>
                        <shadowcolor>black</shadowcolor>
                        <info>ListItem.Label</info>
                        <align>center</align>
                        <aligny>center</aligny>
                        <visible>Control.HasFocus(51)</visible>
                    </control>
                </itemlayout>
                <focusedlayout height="37.50" width="373.17">
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>373.17</width>
                        <height>37.50</height>
                        <texture>button3.png</texture>
                        <colordiffuse>66ffffff</colordiffuse>
                        <visible>Control.HasFocus(51)</visible>
                        <include>List Scroll</include>
                    </control>
                    <control type="label">
                        <posx>18</posx>
                        <posy>6.25</posy>
                        <width>355.40</width>
                        <height>25.00</height>
                        <font>fontKB</font>
                        <textcolor>white</textcolor>
                        <shadowcolor>black</shadowcolor>
                        <scroll>true</scroll>
                        <info>ListItem.Label</info>
                        <align>center</align>
                        <aligny>center</aligny>
                        <visible>Control.HasFocus(51)</visible>
                    </control>
                </focusedlayout>
                <content>
                    <item id="1">
                        <label>31028</label>
                        <icon />
                        <thumb />
                        <visible />
                        <onclick>Dialog.Close(105)</onclick>
                        <onclick>XBMC.ActivateWindow(SkinSettings)</onclick>
                    </item>
                    <item id="2">
                        <label>3</label>
                        <icon />
                        <thumb />
                        <onclick>Dialog.Close(105)</onclick>
                        <visible>Skin.HasSetting(Videos)</visible>
                        <onclick>XBMC.ActivateWindow(Videos,Files,return)</onclick>
                    </item>
                    <item id="3">
                        <label>2</label>
                        <icon />
                        <thumb />
                        <onclick>Dialog.Close(105)</onclick>
                        <visible>Skin.HasSetting(Music)</visible>
                        <onclick>ActivateWindow(Music)</onclick>
                    </item>
                    <item id="4">
                        <label>0</label>
                        <icon />
                        <thumb />
                        <onclick>Dialog.Close(105)</onclick>
                        <visible>Skin.HasSetting(Programs)</visible>
                        <onclick>XBMC.ActivateWindow(MyPrograms)</onclick>
                    </item>
                    <item id="5">
                        <label>1</label>
                        <icon />
                        <thumb />
                        <onclick>Dialog.Close(105)</onclick>
                        <visible>Skin.HasSetting(Pictures)</visible>
                        <onclick>XBMC.ActivateWindow(MyPictures)</onclick>
                    </item>
                    <item id="6">
                        <label>7</label>
                        <icon />
                        <thumb />
                        <onclick>Dialog.Close(105)</onclick>
                        <onclick>XBMC.ActivateWindow(MyFiles)</onclick>
                        <visible>!Skin.HasSetting(Files)</visible>
                    </item>
                    <item id="7">
                        <label>8</label>
                        <icon />
                        <thumb />
                        <visible>Skin.HasSetting(weather1)</visible>
                        <onclick>Dialog.Close(105)</onclick>
                        <onclick>XBMC.ActivateWindow(Weather)</onclick>
                    </item>
                    <item id="8">
                        <label>5</label>
                        <icon />
                        <thumb />
                        <visible>Skin.HasSetting(Settings)</visible>
                        <onclick>Dialog.Close(105)</onclick>
                        <onclick>XBMC.ActivateWindow(Settings)</onclick>
                    </item>
                    <item id="9">
                        <icon />
                        <thumb />
                        <visible>Skin.HasSetting(DialogSubMenu1)</visible>
                        <label>$INFO[Skin.String(DialogSubMenu1Title)]</label>
                        <onclick>Dialog.Close(105)</onclick>
                        <onclick>XBMC.RunScript($INFO[Skin.String(DialogSubMenu1_Path)])</onclick>
                    </item>
                    <item id="10">
                        <icon />
                        <thumb />
                        <visible>Skin.HasSetting(DialogSubMenu2)</visible>
                        <label>$INFO[Skin.String(DialogSubMenu2Title)]</label>
                        <onclick>Dialog.Close(105)</onclick>
                        <onclick>XBMC.RunScript($INFO[Skin.String(DialogSubMenu2_Path)])</onclick>
                    </item>
                    <item id="11">
                        <icon />
                        <thumb />
                        <visible>Skin.HasSetting(DialogSubMenu3)</visible>
                        <label>$INFO[Skin.String(DialogSubMenu3Title)]</label>
                        <onclick>Dialog.Close(105)</onclick>
                        <onclick>XBMC.RunScript($INFO[Skin.String(DialogSubMenu3_Path)])</onclick>
                    </item>
                    <item id="12">
                        <icon />
                        <thumb />
                        <visible>Skin.HasSetting(DialogSubMenu4)</visible>
                        <label>$INFO[Skin.String(DialogSubMenu4Title)]</label>
                        <onclick>Dialog.Close(105)</onclick>
                        <onclick>XBMC.RunScript($INFO[Skin.String(DialogSubMenu4_Path)])</onclick>
                    </item>
                    <item id="13">
                        <icon />
                        <thumb />
                        <visible>Skin.HasSetting(DialogSubMenu5)</visible>
                        <label>$INFO[Skin.String(DialogSubMenu5Title)]</label>
                        <onclick>Dialog.Close(105)</onclick>
                        <onclick>XBMC.RunScript($INFO[Skin.String(DialogSubMenu5_Path)])</onclick>
                    </item>
                    <item id="14">
                        <icon />
                        <thumb />
                        <visible>Skin.HasSetting(DialogSubMenu6)</visible>
                        <label>$INFO[Skin.String(DialogSubMenu6Title)]</label>
                        <onclick>Dialog.Close(105)</onclick>
                        <onclick>XBMC.RunScript($INFO[Skin.String(DialogSubMenu6_Path)])</onclick>
                    </item>
                </content>
            </control>
            <control type="image">
                <description>Time</description>
                <posx>373.17</posx>
                <posy>562.50</posy>
                <width>373.17</width>
                <height>50.00</height>
                <texture>homebutton-horizontal-nofocus.png</texture>
                <align>center</align>
            </control>
            <control type="label">
                <description>Time</description>
                <posx>373.17</posx>
                <posy>562.50</posy>
                <width>373.17</width>
                <height>50.00</height>
                <label>555</label>
                <info>System.Time</info>
                <align>center</align>
                <aligny>center</aligny>
                <font>special16</font>
                <textcolor>white</textcolor>
                <shadowcolor>black</shadowcolor>
            </control>
            <control type="image">
                <posx>373.17</posx>
                <posy>-43.75</posy>
                <width>2.66</width>
                <height>720</height>
                <texture>background2.png</texture>
                <colordiffuse>AAFFFFFF</colordiffuse>
            </control>
            <animation effect="slide" end="-376.72,0" delay="50" tween="cubic" time="400">WindowOpen</animation>
            <animation effect="slide" start="-376.72,0" end="8.88,0" delay="50" tween="cubic" time="400">WindowClose</animation>
        </control>
    </controls>
</window>