Do yourself a favor by helping others help you i.e. add code tags and reformat your code.
[code]your formatted code goes here[/code]