function jsaSetUltimoCheque($persona, $credito, $cuenta_bancaria)
{
    $xBanc = new cCuentaBancaria($cuenta_bancaria);
    $cheque = $xBanc->getUltimoCheque();
    $xCred = new cCredito($credito);
    $xCred->init();
    $montocheque = $xCred->getMontoAutorizado();
    $tab = new TinyAjaxBehavior();
    $tab->add(TabSetValue::getBehavior("idnumerocheque", $cheque));
    $tab->add(TabSetValue::getBehavior("idmontocheque", $montocheque));
    $tab->add(TabSetValue::getBehavior("idmontooriginal", $montocheque));
    return $tab->getString();
}