//-------------------------------------- borraRegistro = function () { estado_lv = new LoadVars(); estado_lv.id = id; estado_lv.sendAndLoad("http://www.loteriabcn.com/flash/php/cliente_delete.php", estado_lv, "POST"); estado_lv.onLoad = function() { // mc_estado_alerta.estado = "Info: Datos enviados con exito"; }; }; btn_reg_delete.onRelease = function() { borraRegistro(); }