function ValidateForm(theform)
		{
		
			if (theform.txtLastName.value == "")
			{
				theform.txtName.select();
				alert("Please provide your last name.");
				return false;
			}

			if (theform.txtFirstName.value == "")
			{
				theform.txtFirstName.select();
				alert("Please provide your first name.");
				return false;
			}
						
			if (theform.txtEmail.value == "")
			{
				theform.txtEmail.focus();
				theform.txtEmail.select();
				alert("Please provide your email address.");
				return false;
			}
			else
			{
				if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(theform.txtEmail.value)))
				{
					theform.txtEmail.focus();
					theform.txtEmail.select();
					alert("Please enter a valid email address in the form of myname@server.domain");
					return false;
				}
			}
			
			if (theform.txtHometown.value == "")
			{
				theform.txtHometown.focus();
				theform.txtHometown.select();
				alert("Please provide the name of your hometown.");
				return false;
			}
			
			for (var i=0; i<theform.selCollege.length; i++)
			{
				if (theform.selCollege.options[i].selected && theform.selCollege.options[i].value == "")
				{
					theform.selCollege.focus();
					alert("Please select your college from the list provided.");
					return false;
				}
			}
			
			if (theform.txtMajor.value == "")
			{
				theform.txtMajor.focus();
				theform.txtMajor.select();
				alert("Please provide your major.");
				return false;
			}
			
			for (var i=0; i<theform.selDegree.length; i++)
			{
				if (theform.selDegree.options[i].selected && theform.selDegree.options[i].value == "")
				{
					theform.selDegree.focus();
					alert("Please your degree program from the list provided.");
					return false;
				}
			}
			
			if (theform.memoPlans.value=="" && theform.memoExperience.value=="" && theform.memoMoments.value=="" && theform.memoInfluence1.value=="" && theform.memoInfluence2.value=="" && theform.memoAdvice.value=="")
			{
				theform.memoPlans.focus();
				alert("Please answer at least one of the Questionnaire questions.");
				return false;
			}
			
			if (theform.txtPhone.value == "")
			{
				theform.txtPhone.focus();
				theform.txtPhone.select();
				alert("Please provide your phone number.");
				return false;
			}
			else
			{
				checkOK = "1234567890()+- ";
				checkStr = theform.txtPhone.value;
				allValid = true;
				newStr = ""
				
				for (i = 0;  i < checkStr.length; i++)
				{
					ch = checkStr.charAt(i);
					for (j = 0;  j < checkOK.length; j++)
					  if (ch == checkOK.charAt(j))
						newStr = newStr + ch;
				}
				
				checkStr = newStr;
				theform.txtPhone.value = checkStr;
				
				if (checkStr.length < 10)
				{
					alert("Please enter a valid phone number with area code.");
					theform.txtPhone.focus();
					theform.txtPhone.select();
					return false;
				}
			}
			
			return true;
		}
		

