Please post your code correctly using code or highlight tags which are explained near the top of this link.

Most will not help with improperly posted code. It's too hard to read, and I'm not...