tito, I mean no offense by this, but for future reference may I recommend you start your thread with stating clearly and concisely the ultimate problem and goal you have along with the source code?
I am reading the 'flow' of your posts within this thread, and step by step (as people solve what you are asking from them), you reveal more and more about the problem at hand.
I believe the problem here stems from a solution you have in mind (conceptually), but it may not be the best one. By presenting the entire problem and desired end goal with the code you have, it makes it much clearer from the start to members who are willing to spend some time to help out.
Just makes the flow of threads like this much smoother flowing (and perhaps eliminates [or at the very least cuts down] any possible mounting frustrations as well as wasted time).