So are you asking for help on code that differs from what is posted in this thread? Why don't you go ahead and fix all of the errors I mentioned, and then follow up in this thread with new code samples if you're still having errors.

If this is going to be an iterative process we're going to have to see what the latest version of the code we're debugging looks like.