function CheckForm(oForm) {
	if (oForm.first_name.value == '') {
		alert('Please enter a first name');
		oForm.first_name.focus();
		return false;
	}
	if (oForm.surname.value == '') {
		alert('Please enter a surname');
		oForm.surname.focus();
		return false;
	}
	if (oForm.country.options[oForm.country.selectedIndex].value == ' - select one -') {
		alert('Please enter a country');
		oForm.country.focus();
		return false;
	}
	if (oForm.college.options[oForm.college.selectedIndex].value == ' - select one -') {
		alert('Please enter a college');
		oForm.college.focus();
		return false;
	}
	if (oForm.year_of_event.options[oForm.year_of_event.selectedIndex].value == ' - select one -') {
		alert('Please enter a year');
		oForm.year_of_event.focus();
		return false;
	}
	if (oForm.username.value == '') {
		alert('Please enter a username');
		oForm.username.focus();
		return false;
	}
	if (oForm.password.value == '') {
		alert('Please enter a password');
		oForm.password.focus();
		return false;
	}
	if (oForm.password_check.value == '') {
		alert('Please re-enter your password');
		oForm.password_check.focus();
		return false;
	}
	if (oForm.password.value != oForm.password_check.value) {
		alert('You may have miss-typed your password. Please check your spelling');
		oForm.password.focus();
		return false;
	}
}