How to reference an object in the parent window of a layout

How do I reference an object in the parent window where a dhtmlXLayout object is created?

(content)

attachURL is used to load another web page into the

with an id of layoutDiv.

I need to able to toggle div1’s visibility.

You may use parent to reference an object in the parent window:

parent.document.getElementById(“someId”).style.display = “none”;