function checkform()
{
	if (document.feedback.Name.value == '')
	{
		alert('Please fill in Name');
		return false;
	}

	else if (document.feedback.Company.value == '')
	{
		// something else is wrong
		alert('Please fill in Company Name');
		return false;
	}

	else if (document.feedback.Email.value == '')
	{
		// something else is wrong
		alert('Please fill in your email address');
		return false;
	}
	
		else if (document.feedback.Position.value == '')
	{
		// something else is wrong
		alert('Please fill in your position');
		return false;
	}
	
	else if (document.feedback.Telephone.value == '')
	{
		// something else is wrong
		alert('Please fill in your contact land line number');
		return false;
	}	
	
	else if (document.feedback.ContactTime.value == '')
	{
		// something else is wrong
		alert('Please fill in the best time for us to contact you');
		return false;
	}	
	
	else if (document.feedback.Description.value == '')
	{
		// something else is wrong
		alert('Please fill in a brief description of the training you require');
		return false;
	}	
	
		else if (document.feedback.TrainingDates.value == '')
	{
		// something else is wrong
		alert('Please enter the dates you would like training');
		return false;
	}	
	

	else if (!document.feedback.TrainingType[0].checked &&
!document.feedback.TrainingType[1].checked&&
!document.feedback.TrainingType[2].checked)
	{
	// no radio button is selected
alert('Please state the type of training you require');
		return false;
	}

	return true;
}