// JavaScript Document
				function validate(theForm)
				{
				  var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;	

				  
				  if (theForm.campus.value == "")
				  {
				    alert("Please choose a campus.");
					theForm.campus.focus();
				    return (false);
				  }
				  
				  if (theForm.program.value == "")
				  {
				    alert("Please choose a program.");
					theForm.program.focus();
				    return (false);
				  }
				  

				  
				  if (theForm.fname.value == "")
				  {
				    alert("Please enter your First Name.");
				    theForm.fname.focus();
				    return (false);
				  }
				  
				  if (theForm.lname.value == "")
				  {
				    alert("Please enter your Last Name.");
				    theForm.lname.focus();
				    return (false);
				  }
				  
				  if (!theForm.email.value.match(emailExp))
				  {
		           alert("Not a Valid Email!");
		           theForm.email.focus();
		           return (false);
	               }
				  
				  
				  if (theForm.phone.value == "")
				  {
				    alert("Please enter your phone number.");
				    theForm.phone.focus();
				    return (false);
				  }
				  				  
				  
				  if (theForm.address.value == "")
				  {
				    alert("Please enter your address.");
				    theForm.address.focus();
				    return (false);
				  }
				  
				  if (theForm.city.value == "")
				  {
				    alert("Please enter your city.");
				    theForm.city.focus();
				    return (false);
				  }
				  
				  if (theForm.state.value == "")
				  {
				    alert("Please choose your state.");
				    theForm.state.focus();
				    return (false);
				  }
				  
				  if (theForm.zip.value == "")
				  {
				    alert("Please enter your zip code.");
				    theForm.zip.focus();
				    return (false);
				  }
				  
				  if (theForm.graduation.value == "")
				  {
				    alert("Please enter your graduation year.");
					theForm.graduation.focus();
				    return (false);
				  }
				  
				  
				  if (theForm.highestlevel.value == "")
				  {
				    alert("Please choose your education level.");
					theForm.highestlevel.focus();
				    return (false);
				  }
				  
				  
				  if (theForm.begintime.value == "")
				  {
				    alert("Please select a class start time.");
					theForm.begintime.focus();
				    return (false);
				  }

				  document.form.submit();
				  
				  }
				  