function ValidateForm(prForm) {
	/*
	if (prForm.attend[0].checked){
		//alert ("yes"); do nothing
	} else if(prForm.attend[1].checked) {
		//alert ("no"); do nothing
	} else {
		alert("Please confirm whether you are attending or not");prForm.attend.focus();return(false);
	}
	if (!prForm.name.checked) {alert("Please fill out your name");prForm.name.focus();return(false);}
	if (prForm.rsa_id_form.value.length != 13) {alert("Please fill in your South African ID Number");prForm.rsa_id_form.focus();return(false);}
	*/
	if (prForm.name.value.length < 3) {alert("Please fill out your name");prForm.name.focus();return(false);}
	return true;
}	

function SubmitForm(){
	var frm = document.getElementById('freeform');
	//frm.submit();
	var yy = "fff";
	//alert ("check: " + yy);
	if (!ValidateForm(frm)){ 
		return false;
	} else {;
		frm.submit();
	}
}

