You are welcome. Don't feel like an idiot though. I've spent hours debugging code, when the only problem was a stupid typo in a variable name. It's just part of programming, but the more you learn, the quicker you will be able to figure out whats going on.