<!--

// zekkaa formi
function chkForm(theForm) {

  var blnErr = new Boolean(false);
  var strErr = new String('Please check the following fields:\n');

  if (trim(theForm.contact_name.value) == '') {
    blnErr = true;
    strErr += '\n - Name...';
  }

  if (chkExp(trim(theForm.contact_email.value), /^[\w][\w\.-]*[\w]@[\w][\w\.-]*[\w]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$/) == true) {
    blnErr = true;
    strErr += '\n - Email address...';
  } 

  if (trim(theForm.contact_enquiry.value) == '') {
    blnErr = true;
    strErr += '\n - Question or comment...';
  }

  if (blnErr == true) {
    self.window.alert(strErr);
    return (false)
  } else {
    return (true)
  }
}

// -->
