These items are lengthier than normal, and have extra spacing due to the fancy borders. Leftwards popout with a negative x and y relative to its trigger. These two lines handle the window resize bug in NS4. Use if you want. This is just the moving command for the example.
Array index is the menu number.
If we've reached the top of the hierarchy, return. If a target frame is specified, also add that to the tag. Set target's parents to this menu item. Insert a div tag to the end of the BODY with menu HTML in place for IE4. In NS4, create a reference to a new layer and write the items to it.