Arduino Code Problem!

Please, take a look at:

Then, fix your first post, editing it so all of the code is within the code tags. That allows helpers to capture your code and import it into their IDE, where they can work on fixing it up for you.

Finally, search on this forum for tutorials about doing many things at once. Your code is a prime candidate for such a mechanism.
Thanks