Embedded Objects - An Object in an Object
<p>I need this structure to organize my code...so that I can call it like this </p>

<pre><code>Control.Menu
</code></pre>

<p>Here is my attempt:</p>

<pre><code>var Control = 
{
    Menu : menu  
    {
        menu_timer:     0,
        menu_element:   0,

        top_mouse_over: function ( id ) 
        {
            Menu.bottom_mouse_over();
            Menu.menu_element = document.getElementById( id );
            Menu.menu_element.style.visibility = 'visible';
        },
...
    }
};
</code></pre>
