// File Name: e2-inc.js
// Author: B. Lavery
// Services C2.asp and E2.asp

var btnBack = 0;
var btnNext = 0;

function validate(theForm) 
{
    if ((btnBack == 1) && (btnNext == 0)) {
      history.go(-1);
      return false;
      }
    if (theForm.bkgno.value == '')
        {
        alert("No Booking Number entered.");
        theForm.bkgno.focus();
        return false;
        }
    if (theForm.lname.value == '')
        {
        alert("No Name entered.");
        theForm.lname.focus();
        return false;
        }
    return true;
}



