It looks like you have a lot of extraneous code on the page now. You've probably applied the map to the page several times and didn't remove all the code for it.
As for being forwarded to the thank you page, the contact form's action points back to the contactus.php page. The code that processes the information and forwards to the thank you page is at the top. It looks like the code for the contact form is being triggered to execute for your other form post as well. This is most likely because you set the trigger on that code to any form post, so when either of the forms is posted, the code forward to the thank you page.