// JavaScript Document
				function validate(theForm)
				{
				 var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;	

				  if (theForm.program.value == "0")
				  {
				    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.address1.value == "")
				  {
				    alert("Please enter your address.");
				    theForm.address1.focus();
				    return (false);
				  }
				  
				  if (theForm.city.value == "")
				  {
				    alert("Please enter your city.");
				    theForm.city.focus();
				    return (false);
				  }
				  
				  if (theForm.state.value == "0")
				  {
				    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.phone1.value == "")
				  {
				    alert("Please enter your phone number.");
				    theForm.phone1.focus();
				    return (false);
				  }
				  
				  if (theForm.contacttime.value == "0")
				  {
				    alert("Please choose the best time to contact you.");
				    theForm.contacttime.focus();
				    return (false);
				  }
				 
				  if (theForm.education.value == "0")
				  {
				    alert("Please choose your education level.");
				    theForm.education.focus();
				    return (false);
				  }
				  
				  if (theForm.graduation.value == "0")
				  {
				    alert("Please enter your graduation year.");
				    theForm.graduation.focus();
				    return (false);
				  }
				  
				 
				  
				  if (theForm.class_start.value == "")
				  {
				    alert("Please select a class start time.");
				    theForm.class_start.focus();
				    return (false);
				  }
				  document.form1.submit();
				  
				  }
				  
