// JavaScript Document
				function validate(theForm)
				{
				  var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
				  
				  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.citystate.value == "Please enter valid zipcode!")
				  {
				    alert("Please enter your correct zipcode.");
				    theForm.citystate.focus();
				    return (false);
				  }
				  
				  if (theForm.zip.value == "")
				  {
				    alert("Please enter your Zip.");
				    theForm.zip.focus();
				    return (false);
				  }
				  
				   if (theForm.program.value == "")
				  {
				    alert("Please choose a program.");
				    theForm.program.focus();
				    return (false);
				  }
				  
				   if (theForm.title.value == "")
				  {
				    alert("Please enter a title.");
				    theForm.title.focus();
				    return (false);
				  }
				  
				   if (theForm.companyname.value == "")
				  {
				    alert("Please enter a Company Name.");
				    theForm.companyname.focus();
				    return (false);
				  }

				  theForm.submit();
				  
				  }
				  
