final int h, final boolean allowResize, final boolean isModal) {
mainWindow.shell.getDisplay().syncExec(new AERunnable() {
public void runSupport() {
String realURL = url;
ContentNetwork cn = ContentNetworkUtils.getContentNetworkFromTarget(target);
if ( !realURL.startsWith( "http" )
&& !realURL.startsWith("#")) {
if ("_blank".equals(target)) {
realURL = cn.getExternalSiteRelativeURL(realURL, false );
} else {
realURL = cn.getSiteRelativeURL(realURL, false );
}
}
if (target == null) {
if (UrlFilter.getInstance().urlCanRPC(realURL)) {
realURL = cn.appendURLSuffix(realURL, false, true);
}
BrowserWindow window = new BrowserWindow(mainWindow.shell, realURL,
w, h, allowResize, isModal);
window.waitUntilClosed();
} else {