form_validate = function() { valid = true; var oForm = document.forms["content_form"]; var subject = oForm.subject.value; var name = oForm.name.value; var email = oForm.email.value; var message = oForm.message.value; var alertMsg = "

Errors were found, please correct them and try again

" /*alert(alertMsg);*/ window.scrollTo(0,0); return false; } return valid; }