function delete_obj(id,obj) {
    var doIt = confirm('You sure you want to delete this?');
    if (doIt) {
        $.get('ajax_delete.html?id=' + id + '&obj=' + obj);
        $('#' + id).hide('slow');
        //$('#' + id).remove();
    }
}