if ( includeVersionsMenu && oi.getPriorVersions() != null && oi.getPriorVersions().size() > 0 ) {
ont_mb.addSeparator();
ont_mb.addItem(_createMenuItemVersions(oi));
}
ExternalViewersInfo xvi = pctrl.getExternalViewersInfo(oi, includeVersion);
if ( xvi != null ) {
ont_mb.addSeparator();
MenuItem mi = new MenuItem(xvi.hrefHtml.getHTML(), true, nullCmd);
mi.setTitle(xvi.tooltip);
ont_mb.addItem(mi);