I basically took the formtoemail php page and customized it to create a pop up window that says "thanks for submitting" on submit instead of the default reaction to the submit button which is to load the HTML document inside the formtoemail.php file.
So the pop up window and it's code works well here:
http://audiomediasolutions.net/contact/index.php
I implimented the exact SAME code on my wordpress pages and it seems that wordpress is actually adding a slash to the url path which i believe is what is breaking it.
The code basically tells the form that on submit, use the formtoemail.php file to process and that file tells the page to display the div called #thanks which is by default hidden until the form is submitted.
The div is there, the form is being submitted, but something is breaking somewhere in between and i BELIEVE it's because when I click submit it is showing
domain.com/offices/#thanks
where it should be
domain.com/offices#thanks
Here is a test
CLICK HERE