If you explain WHAT you're trying to do - a code example would be great - someone here can explain HOW to do it. The solution won't include the approach you've suggested.