Please attach the actual file instead of cutting and pasting the code if you want me to look at your page so I can look at it in dreamweaver.
I see the email includes are too low on the page. Move these to the top:
<?php require_once("webassist/email/mail_php.php"); ?>
<?php require_once("webassist/email/mailformatting_php.php"); ?>