Like Chris said, make sure you cover all basis and add as many conditions as you need.

And btw, I just copied the code from the first post and added my condition. So make sure you did get rid of the extra endif.
_________________________
Eric