function validateForm(theForm)
	{
		//var emailFormat = /^[\w]+([\w]+|[\.]+[^ ]+)*@[\w]+([\w]+|[-]+|[\.]+[^ ]+)*\.[a-zA-Z]+$/;
		var emailFormat = /^[\w]+([\w]+|[\.]+|[-]+[^ ]+)*@[\w]+([\w]+|[-]+|[\.]+[^ ]+)*\.[a-zA-Z]+$/;	

		
		if ((theForm.txtEmail.value != "")  && (theForm.txtEmail.value.search(emailFormat) == -1))
  		{
		alert("Please enter your correct email address in the \"Email\" text field.");
    	theForm.txtEmail.focus();
    	return (false);
  		}
		
		if (theForm.relation[4].checked == true && theForm.txtother.value == "")
		{
		alert("Please enter a value into the \"Other\" text field.");
		theForm.txtother.focus();
		return (false);
		}
	}