Eric Blade wrote: [... snipped code ...] If it's possible, consider posting to something like pastebin or some other online snippets clipboard so we can see the whole code. It's even more difficult debugging something when you only have half the code! :) TJG