function validate_fields(Form)
{

  if (Form.name.value == "")
  {
    alert("Please enter your Name in the \"Name\" field.");
    Form.name.focus();
    return (false);
  }

  if (Form.name.value.length < 3)
  {
    alert("Please enter your Name in the \"Name\" field.");
    Form.name.focus();
    return (false);
  }

  if (Form.e_mail.value.length < 8)
  {
    alert("Email address not valid !");
    Form.e_mail.focus();
    Form.e_mail.select();
    return (false);
  }

var FyneEmail = Form.e_mail.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.biz)|(\.info)|(\..{2,2}))$)\b/gi);
   if (FyneEmail) {
   Fyne = true
   } else {
    alert("Email address not valid !");
    Form.e_mail.focus();
    Form.e_mail.select();
    return (false);
   }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@-._";
  var checkStr = Form.e_mail.value;
  var allValid = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid)
  {
    alert("Email address not valid !");
    Form.e_mail.focus();
    Form.e_mail.select();
    return (false);
  }

  if (Form.tele.value == "")
  {
    alert("Please enter your Telephone No. in the \"Telephone No.\" field.");
    Form.tele.focus();
    return (false);
  }

  if (Form.tele.value.length < 11)
  {
    alert("Please include STD code in the \"Telephone No.\" field.");
    Form.tele.focus();
    return (false);
  }

  if (Form.tele.value.length > 18)
  {
    alert("Please enter a valid length Telephone number in the \"Telephone No.\" field.");
    Form.tele.value = "";
    Form.tele.focus();
    return (false);
  }

  var checkOK = "0123456789-()+";
  var checkStr = Form.tele.value;
  var allValid = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid)
  {
    alert("Please enter only digits in the \"Telephone No.\" field.");
    Form.tele.value = "";
    Form.tele.focus();
    return (false);
  }

// ---------------ArrivalDate
  if (Form.arrivaldate.value.length < 10)
  {
    alert("Please use date Format 31\/12\/2005 in the \"Arrival Date\" field.");
    Form.arrivaldate.focus();
    Form.arrivaldate.value = "";
    return (false);
  }

  var checkOK = "0123456789/";
  var checkStr = Form.arrivaldate.value;
  var allValid = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid)
  {
    alert("Please use date Format 31\/12\/2005 in the \"Arrival Date\" field.");
    Form.arrivaldate.focus();
    Form.arrivaldate.value = "";
    return (false);
  }

var dateor = 0;
var datein = (Form.arrivaldate.value);
varcheck = datein.match(/^\d{2}\/\d{2}\/\d{4}$/);
if (varcheck != datein) {
dateor++;
}
if (dateor == "1")
{
alert("Please use date Format 31\/12\/2005 in the \"Arrival Date\" field.");
Form.arrivaldate.focus();
Form.arrivaldate.value = "";
return (false);
}

// ---------------DepartDate
  if (Form.departdate.value.length < 10)
  {
    alert("Please use date Format 31\/12\/2005 in the \"Depart Date\" field.");
    Form.departdate.focus();
    Form.departdate.value = "";
    return (false);
  }

  var checkOK = "0123456789/";
  var checkStr = Form.departdate.value;
  var allValid = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid)
  {
    alert("Please use date Format 31\/12\/2005 in the \"Depart Date\" field.");
    Form.departdate.focus();
    Form.departdate.value = "";
    return (false);
  }

var dateor = 0;
var datein = (Form.departdate.value);
varcheck = datein.match(/^\d{2}\/\d{2}\/\d{4}$/);
if (varcheck != datein) {
dateor++;
}
if (dateor == "1")
{
alert("Please use date Format 31\/12\/2005 in the \"Depart Date\" field.");
Form.departdate.focus();
Form.departdate.value = "";
return (false);
}

  if (Form.departdate.value.length < 10)
  {
    alert("Please use date Format 31\/12\/2005 in the \"Depart Date\" field.");
    Form.departdate.focus();
    Form.departdate.value = "";
    return (false);
  }

  if (Form.comments.value.length < 12)
  {
    alert("Please enter your Enquiry  !");
    Form.comments.focus();
    return (false);
  }

  if (Form.comments.value.length > 299)
  {
    alert("Please reduce length of Enquiry  !");
    Form.comments.focus();
    return (false);
  }

  return (true);
}