initScript.append("O$.addLoadEvent( function() {\n");
}
initScript.initScript(context, borderLayoutPanel, "O$._initBorderLayoutPanel_content",
Rendering.getRolloverClass(context, borderLayoutPanel),
new RawScript(JSEventsObject.JSEventObject("oncontentresize", borderLayoutPanel.getOncontentresize()))
);
if (Environment.isMozillaFF2(context)) { // fix bug with FF2 + Facelets + JSF 1.2 context // todo add isFacelets() filter
initScript.append("O$('").append(clientId).append("').style.visibility = 'visible';\n"); // todo: why isn't this built-in into O$._initBorderLayoutPanel_content function itself?
initScript.append("});\n");