function formValidator(theForm)

		{
		
		/* AGENCY FIELD NOT REQUIRED
		rb1 = new Boolean(document.theForm.agency[0].checked);
		rb2 = new Boolean(document.theForm.agency[1].checked);
			if (rb1 == false && rb2 == false){
				alert("Please specify if you are affiliated with an Agency.");
				theForm.agency[0].focus();				
				return (false);
				}
		*/		
		
		if (theForm.first_name.value == "")
		{
			alert("Please enter a value for the \"First Name\" field.");
			theForm.first_name.focus();
			return (false);
			}

		

		if (theForm.last_name.value == "")
		{
			alert("Please enter a value for the \"Last Name\" field.");
			theForm.last_name.focus();
			return (false);
			}

		

		
		if (theForm.company.value == "")
		{
			alert("Please enter a value for the \"Company\" field.");
			theForm.company.focus();
			return (false);
			}

		if (theForm.email.value == "")
		{
			alert("Please enter a value for the \"Email\" field.");
			theForm.email.focus();
			return (false);
			}
		
		if (theForm.phone.value == "")
		{
			alert("Please enter a value for the \"Phone\" field.");
			theForm.phone.focus();
			return (false);
			}
	
		
		if (theForm.city.value == "")
		{
			alert("Please enter a value for the \"City\" field.");
			theForm.city.focus();
			return (false);
			}
			
		if (theForm.industry.value == "")
		{
			alert("Please enter a value for the \"Industry\" field.");
			theForm.industry.focus();
			return (false);
			}
			
		if (theForm.lead_source.value == "")
		{
			alert("How did you hear about us?");
			theForm.lead_source.focus();
			return (false);
			}
			

		rb1 = new Boolean(document.theForm.demo[0].checked);
		rb2 = new Boolean(document.theForm.demo[1].checked);
			if (rb1 == false && rb2 == false){
				alert("Please select if you would like a Nielsen//NetRatings service demo.");
				theForm.demo[0].focus();				
				return (false);
				}


	

		return (true);
		}
