You can code around that interface, you could populate the list with a for loop if you had to. The important part of this code for your purposes is the if statement with the mod operator.
–
ubiquibaconAug 2 '10 at 6:34