I have about 5 of these but I can't figure out how to consolidate them.
$('#togglemass').toggle(function () {
$("#plusmass").attr("src", "minus.png");
},
function () {
$(".plusmass").attr("src", "plus.png");
});
$('#togglestar').toggle(function () {
$(".plusstar").attr("src", "minus.png");
},
function () {
$(".plusstar").attr("src", "plus.png");
});