<!--
var doc = 'document.frmContactForm.';

function resetForm()
{
   eval(doc+'Name').value = '';
   eval(doc+'Org').value = '';
   eval(doc+'EMail').value = '';
   eval(doc+'Tel').value = '';
   eval(doc+'Msg').value = '';
   eval(doc+'Name').focus();
}


function submitForm()
{
	if (!isText(eval(doc+'Name'), 3, 'Name', true, false)) {return;}
	if (!isText(eval(doc+'Org'), 2, 'Organization', true, false)) {return;}
	if (!isEMail(eval(doc+'EMail'))) {return;}
	if (!isText(eval(doc+'Tel'), 7, 'Telephone', true, false)) {return;}
	if (!isText(eval(doc+'Msg'), 7, 'Message', true, false)) {return;}
	if (isHealthSouth(eval(doc+'EMail'), false)) {return;}
	
	//if there is no error, then submit the form
	document.frmContactForm.btnSubmit.value = 'Please wait...';
	document.frmContactForm.btnSubmit.disabled = true;
	document.frmContactForm.submit();
}
//-->
