Accessing the parent div of a window

Hi there,
due to some rendering reasons i need to attach an iframe to each of my smartgwt window divs.
when looking at the window in the dev console and clicking it (mine has id isc_OID_0), i see that the whole window (with borders) is selected (w x h: 115 x 375). Now this is where the problem arises: If i inspect this window, i see that there is a DIV with id isc_1E, but this one is NOT the real window div, as its smaller than the window itself (105x370), the borders seem not to be included.
When using getDom() on the window, i get this isc_1E div as the DOM object.
When inspecting the whole document, i see the mentioned 1E div and also another div on the same level (under the body level) called isc_1Y. This DIV is the real window div (has the same size as the window and when selecting it, i see that it exactly matches the outline of my window). The thing i am now wondering is:

How can i access this bigger DIV from my gwt code? And also, is this behaviour the same in IE and FF?

Never try to manipulate the automatically rendered DOM, it differs by browser. In your case, use an HtmlPane. In general, if you have a reason to manipulate DOM elements directly (the only valid reason being third party library integration, typically), create your own, separate DOM elements via setContents or an override of getInnerHTML()

I already thought that manipulating the rendered DOM might be a bad idea, so thanks for your input. Still, I’m not quite sure how i could achieve my goals using a HtmlPane. Maybe i can elaborate a bit further on the problem at hand:
I want to display smartgwt windows in front of a browser plugin, and to be able to do that, i need to use a shimming technique where i attach an iframe to each windows main DIV (and later, i would like to do the same to the content area of the window only).
Do you mean i should put the window into a htmlpane with my div? Because the div has to be inside the windows div so it can auto-adjust its size and position to match the window itself.
Regarding the idea with setContents()/getInnerHtml(), do you mean i should just add my div this way? Because that would maybe also be a problem as i am not sure if i have to manually remove/hide the iframe if the window gets closed.

Thanks again for your help!

They are already shimmed with iframes (have you tried it yet?)

What kind of shim did you want to use?

Regardless this doesn’t have to do with the DOM of the Window. Just make another component and make it a peer of the Window (addPeer()).