Get code structured using tabs...

Please put your entire sketch in a zip file and attach it to a reply in this thread. You will see the "Attachments and other options" link after you click the "Reply" button.