1 2 3 4 5 6
function confirm_delete(type, name) { return confirm("Are you sure you want to delete the " + type + " '" + name + "'?"); }