Please use code tags in your post to make the code more readable, as described in this thread: Using code tags properly