It's working perfectly. Thanks for wading through my code to figure out whats wrong. I'll try to remember to use more usefull variable names from now on.