lots of info here:
I would think you could test the index in the loop to see if it is odd or even somehow.