function validateForm(d) {	field_A = ["fname", "lname", "saddress", "city", "state", "zip", "email"];	label_A = ["First name", "Last name", "Street address", "City", "State", "ZIP", "E-mail"];	for (var i = 0; i<field_A.length; i++){		//remove focus		d[field_A[i]].blur();		//find the empty field		if(d[field_A[i]].value == ""){			alert("Please enter a value for the \""+label_A[i]+"\" field.");			d[field_A[i]].focus();			return (false);			break;		}	}	//	industry_A = ["planning", "hospitality", "marketing", "media", "nonprofit", "prelations", "restaurant", "wine"];	var noIndustry = true;	for (i=0; i<(industry_A.length); i++) {		if(d[industry_A[i]].checked == true){			noIndustry = false;			break;		}	}	if(noIndustry == true && d.industryother.value == ""){		alert("Please specify an industry type.");		return (false);	}	//	var noHow = true;	for(var i=1;i<8;i++){		if(d["how"+i].checked == true){			//verify if "other" is filled			if(i==7){				if(d.howother.value==""){					alert("Please enter how did you hear about us");					d.howother.focus();					return (false);					break;				}			}			noHow = false;			break;		}	}	if(noHow == true){		alert("Please specify how did you hear about us.");		return (false);	}	//	return (true);}function checkHowhear(id){	d = document.formList	if(id == "how7"){		d.howother.disabled = false;		d.howother.focus()	} else {		d.howother.disabled = true;	}}