assign("RETURN_URL", "&return_module=$current_module&return_action=$action&return_id=$focus->id");
//$xtpl->parse("main");
//$xtpl->out("main");
$button = "
\n";
$ListView = new ListView();
$ListView->initNewXTemplate( 'modules/Potentials/SubPanelView.html',$current_module_strings);
$ListView->xTemplateAssign("RETURN_URL", "&return_module=".$currentModule."&return_action=DetailView&return_id={$_REQUEST['record']}");
$ListView->setHeaderTitle($current_module_strings['LBL_MODULE_NAME'] );
$ListView->setHeaderText($button);
$ListView->processListView($focus_list, "main", "OPPORTUNITY");
?>