Read this FAQ for instructions on how to post code correctly and other useful tips for newcomers.

Is there a question? What's the purpose of this thread?