
function checkform(thisform) {
//	if (thisform.Email_address.value == '') {
//		alert("Please enter your e-mail address.");
//		thisform.Email_address.focus();
//		return false;
//	}
if (thisform.Email_address.value == ""){
    alert("Please enter your E-MAIL ADDRESS");
    checkerror = 1;
		thisform.Email_address.focus();
    return false;
  }else{
    var eadd = "";
    var eadd = thisform.Email_address.value;
    var foundeadd = "";
    var foundeadd1 = "";
    for (j = 0; j < eadd.length; j++){
      if ((eadd.substring(j,j+1) == "@")){
        foundeadd = "Found";
      }
      if ((eadd.substring(j,j+1) == ".")){
        foundeadd1 = "Found";
      }
    }
    if (foundeadd != "Found" && foundeadd1 != "Found"){
      alert("Your E-MAIL address is invalid!");
      checkerror = 1;
  		thisform.Email_address.focus();
      return false; 
    }
  }
  if (thisform.license_mm.selectedIndex == 0) {
    alert("The date of first issue of your driving license has a bearing on your eligibility to rent a vehicle and the applicable accident, fire and theft excess. Kindly fill in that field before submitting this page.");
    checkerror = 1;
 		thisform.license_mm.focus();
    return false;
  }
  if ((thisform.license_yy.selectedIndex == 0)){
    alert("The date of first issue of your driving license has a bearing on your eligibility to rent a vehicle and the applicable accident, fire and theft excess. Kindly fill in that field before submitting this page.");
    checkerror = 1;
 		thisform.license_yy.focus();
    return false;
  }  
  if ((thisform.Day_required.selectedIndex == 0)){
    alert("To enable the submission of a quotation or acceptance of a reservation, the start and end dates and times are required. Kindly fill in the required fields.");
    checkerror = 1;
 		thisform.Day_required.focus();
    return false;
  } 
   if ((thisform.Month_required.selectedIndex == 0)){
    alert("To enable the submission of a quotation or acceptance of a reservation, the start and end dates and times are required. Kindly fill in the required fields.");
    checkerror = 1;
 		thisform.Month_required.focus();
    return false;
  } 
   if ((thisform.Year_required.selectedIndex == 0)){
    alert("To enable the submission of a quotation or acceptance of a reservation, the start and end dates and times are required. Kindly fill in the required fields.");
    checkerror = 1;
 		thisform.Year_required.focus();
    return false;
  } 
   if ((thisform.Hour_required.selectedIndex == 0)){
    alert("To enable the submission of a quotation or acceptance of a reservation, the start and end dates and times are required. Kindly fill in the required fields.");
    checkerror = 1;
 		thisform.Hour_required.focus();
    return false;
  } 
   if ((thisform.Minute_required.selectedIndex == 0)){
    alert("To enable the submission of a quotation or acceptance of a reservation, the start and end dates and times are required. Kindly fill in the required fields.");
    checkerror = 1;
 		thisform.Minute_required.focus();
    return false;
  } 
  if ((thisform.Day_returned.selectedIndex == 0)){
    alert("To enable the submission of a quotation or acceptance of a reservation, the start and end dates and times are required. Kindly fill in the required fields.");
    checkerror = 1;
 		thisform.Day_returned.focus();
    return false;
  } 
   if ((thisform.Month_returned.selectedIndex == 0)){
    alert("To enable the submission of a quotation or acceptance of a reservation, the start and end dates and times are required. Kindly fill in the required fields.");
    checkerror = 1;
 		thisform.Month_returned.focus();
    return false;
  } 
   if ((thisform.Year_returned.selectedIndex == 0)){
    alert("To enable the submission of a quotation or acceptance of a reservation, the start and end dates and times are required. Kindly fill in the required fields.");
    checkerror = 1;
 		thisform.Year_returned.focus();
    return false;
  } 
   if ((thisform.Hour_returned.selectedIndex == 0)){
    alert("To enable the submission of a quotation or acceptance of a reservation, the start and end dates and times are required. Kindly fill in the required fields.");
    checkerror = 1;
 		thisform.Hour_returned.focus();
    return false;
  } 
   if ((thisform.Minute_returned.selectedIndex == 0)){
    alert("To enable the submission of a quotation or acceptance of a reservation, the start and end dates and times are required. Kindly fill in the required fields.");
    checkerror = 1;
 		thisform.Minute_returned.focus();
    return false;
  } 
	}

