Obtaining the Structure Tree Object

The structure tree is always contained in the topmost frameset of the application.

To get a reference to the structure tree object, use the following:

var objStructureTree = top.objStructureTree;