Haha, that's a lot of code to look at.

I don't know what's wrong with it, but I'd recommend you edit / repost it using the CODE tags so it looks much more readable.

Also might help if you...