function checkCheckBox(f) {
  if (f.agree.checked == false) {
    alert('Please check the box to accept the terms and conditions');
    return false;
  } else
    return true;
}

