// JavaScript Document

function checkform (form) {

    var AlertText = ''
  
  // ** START **
    if (form.YourName.value == 'Your name') {
    AlertText = AlertText + 'Please enter your name\n';
  }
  // ** END **

  // ** START **
  if (form.EmailAddress.value == 'Your email') {
      AlertText = AlertText + 'Please enter your email\n';
  }
  // ** END **

  // ** START **
  if (form.YourCompany.value == 'Your company') {
      AlertText = AlertText + 'Please enter your company name\n';
  }
  // ** END **

  // ** START **
  if (form.YourTelephone.value == 'Your telephone') {
      AlertText = AlertText + 'Please enter your telephone number\n';
  }
  // ** END **

  // ** START **
  if (form.Notes.value == 'Notes') {
      AlertText = AlertText + 'Please enter a comment\n';
  }
  // ** END **


  if (AlertText == '') {
      return true;} else {
      alert(AlertText);
      return false;
  }


}


