..wow. An amazing piece of code. It took me a while to understand it but it definitely does what it is supposed to do. I'm glad you left the commented out code there ;)