Best practice: calling a function again

Best practice: calling a function again

Hi,

I have a simple line of code to add a class for a zebra list:

$("ul.block li:even").addClass("even");


then I have a click function to remove li elements of this ul.

$("li").click(function () {
      $(this).remove();
    });


The following problem occurs: when deleting one row the
color alternating doesn't fit anymore. How do I have to write
the code to call the "zebra function" again?

thx
TC