function submit_delete_record($id) { return CRecordManager::DeleteRecord($id); }
function submit_delete_detail() { return CRecordManager::DeleteRecord($_POST['id']); }