This is confusing - you had three topics all about the same thing I've replied to the first, deleted another which was a copy of this and then realised that you have moved along with your code but instead of posting it to the initial thread have started another.
The answer to your question is in the thread I replied to. I'm locking this one, you can continue everything in the original thread.