The following javascript in a form may be used to hide left-hand navigation items. Note that is unsupported because it is not documented in the SDK.
In this example, the navigation item is for More Addresses – replaces navAddresses with the appropriate item.
document.getElementById(“navAddresses”).style.display=”none”
To display the navigation item use:
document.getElementById(“navAddresses”).style.display=”inline”