updated forms.php: added IF statement to see if data has been submitted via POST.  Moved javascript validation script into header as opposed to in form submit. Minor cosmetic fixes to code.