function checkForm(TheForm) {

if (TheForm.industry.selectedIndex == 0) {
   window.alert("Please select your industry!");
   return false;
  }

if (TheForm.a1.value == "")
{
alert("Please enter the number of employees!");
TheForm.a1.focus();
return false;
}

if (TheForm.a2.value == "")
{
alert("Please enter the annual turnover percentage!");
TheForm.a2.focus();
return false;
}

if (TheForm.a5.value == "")
{
alert("Please enter the average weeks training your new employees!");
TheForm.a5.focus();
return false;
}

if (TheForm.a6.value == "")
{
alert("Please enter the average weekly hours in training your new employees!");
TheForm.a6.focus();
return false;
}

if (TheForm.a8.value == "")
{
alert("Please enter the average hourly salary for the new employees!");
TheForm.a8.focus();
return false;
}

if (TheForm.a17.value == "")
{
alert("Please enter the average hourly salary for your trainer!");
TheForm.a17.focus();
return false;
}
   
 
  return true;
}

// end function checkalForm