$xTbl->setWidth();
    return $xTbl->Show();
    //return $sqlCred;
}
$jxc->exportFunction('jsaGetCreditos', array('idproducto', 'idestado', 'idperiocidad', 'idoficial'), "#id-listado-de-creditos");
$jxc->process();
$jscallback = parametro("callback");
$tiny = parametro("tiny");
$form = parametro("form");
$action = parametro("action", SYS_NINGUNO);
$xHP->init();
$xFRM = new cHForm("frmAsignarOficiales", "./");
$xSel = new cHSelect();
$msg = "";
$xFRM->addHElem($xSel->getListaDeProductosDeCredito()->get(true));
$xFRM->addHElem($xSel->getListaDeEstadosDeCredito()->get(true));
$xFRM->addHElem($xSel->getListaDeOficiales()->get(true));
$xFRM->addHElem($xSel->getListaDePeriocidadDePago()->get(true));
$xFRM->addHTML("<div id='id-listado-de-creditos'></div>");
$xFRM->OButton("TR.Obtener", "jsaGetCreditos()", $xFRM->ic()->EJECUTAR);
$xFRM->OButton("TR.Guardar", "jsSetOficial()", $xFRM->ic()->GUARDAR);
//$xFRM->addJsBasico();
//$xFRM->addCreditBasico();
//$xFRM->addSubmit();
echo $xFRM->get();
$jxc->drawJavaScript(false, true);
?>
<script>
var Frm 					= document.frmAsignarOficiales;
var divLiteral				= STD_LITERAL_DIVISOR;
var xGen					= new Gen();