switching between 2 loops possible?

If you want some thing or if you wonder about something just ask.

Why should I have to ask you to post code that isn't a incomprehensible mess? You'd have a much easier time writing the code is you paid attention to indenting as you went.

  if(Serial.read())
  {

If it what? This is completely inaccurate code, at the beginning of loop(). Since reading and discarding the first byte available, if any is available to read, is not a bright thing to do, I can't see that the code in the of block is going to accomplish anything useful. So, I didn't read it.