// validation

	<script type="text/javascript">
			function isEMail(strValue) {
			  var objRegExp  = /^[a-z]\w*([.\-]\w+)*@[a-z]\w*([.\-]\w+)*\.[a-z]{2,3}$/i;
			  return objRegExp.test(strValue);
			}
			function validateAll(theForm)	{
			
			if (theForm.fname.value == "")	{
			alert("Please include your first name");
			theForm.fname.focus();
			return false;
			}
			
			if (theForm.lname.value.length < 2)	{
			alert("Please include your last name")	
			theForm.lname.focus()
			return false;
			}
		
			if (theForm.email.value.length == "")	{
			alert("Please include your e-mail address");
			theForm.email.focus();
			return false;
			}
		
			 if(!isEMail(theForm.email.value)){
			 alert('Please enter a valid E-mail address to submit the form');
			 theForm.email.select();
			 theForm.email.focus();
			 return false;
			 }
		
			if (theForm.phone.value.length < 10)	{
			alert("Please be sure to include your full 10-digit phone number");
			theForm.phone.focus();
			return false;
			}
		
			if (theForm.comments.value.length < 10 && theForm.website.value.length < 10)	{
			alert("Please tell us a little about your advertising needs");
			theForm.comments.focus();
			return false;
			}
				
			return true;
		}
	</script>