I still don't understand what you are trying to do.
And I can't comprehend your code at all.
Getting late here. (yawn) Goodnight.