jQuery(document).ready(function() {
    jQuery('#char_gallery a.delete').bind('click', deletePicture);
});

deletePicture = function(event) {
    var confirmation = confirm("Do you really want to delete that picture?");

    if (confirmation) {
        return true;
    }

    return false;
}

