Table with rows of alternating color

first row: style class d0
second row: style class d1
third row: style class d0
fourth row: style class d1

Now if I insert a row in the middle:

first row: style class d0
second row: style class d1
What style class do I make this row's tr?
third row: style class d0
fourth row: style class d1