Please use code tags to make your code more readable.
Take a look at this article: Using code tags properly .