function checkRegister(frm) {
var Msg = 'Please fill in the missing items below\n\n';
if (frm.hear.value == '') {
  Msg += 'Where did you hear about us?\n';
}
if (frm.name.value == '') {
  Msg += 'Name\n';
}
if (frm.telephone.value == '') {
  Msg += 'Telephone\n';
}
if (frm.email.value == '') {
  Msg += 'Email Address\n';
} else if (frm.email.value.search(/[\w\-_]+\@[\w\-_]+\.[\w\-_]+/) == -1) {
  Msg += 'Valid Email Address\n';
}
if (Msg != 'Please fill in the missing items below\n\n') {
  alert(Msg);
  return false;
} else {
  return true;
}
}