function CheckForm() {
  var retVal = true;
  if (frmSubmitLine.line1.value == "") {
      alert("Please enter a line");
      frmSubmitLine.line1.focus();
      retVal = false;
  } else if (frmSubmitLine.chkAccept.checked == false) {
      alert("You must agree to the terms and conditions.");
      frmSubmitLine.chkAccept.focus();
      retVal = false;
  } 
  return retVal;
}