When posting code, make sure you use the code or highlight tags. I've added them for you this time.

But you'd be better off not posting so much code- instead, post a specific question and an SSCCE...