And in addition to this, keep in mind that you can nest submenu's as far as you want, ie:
code:
<ScriptMenu>
<MenuEntry Id="foo">Normal menu entry</MenuEntry>
<SubMenu Label="SubMenu name here">
<SubMenu Label="SubMenu2">
<SubMenu Label="SubMenu3">
<SubMenu Label="SubMenu4">
<SubMenu Label="SubMenu5">
<MenuEntry Id="bar">SubMenu entry</MenuEntry>
</SubMenu>
</SubMenu>
</SubMenu>
</SubMenu>
</SubMenu>
</ScriptMenu>
Is a valid menu