Would be best to minimize the amount of times you are querying the dom.

    var all = $("#select_all");
    var none = $("#select_none");

    all.css('cursor', 'pointer');
    non.css('cursor', 'pointer');

    all.click(...);
    none.click(...);