function formCheck(form){
	err="";
	check = [
		["text","company_name","Company Name"],
		["text","contact_name","Contact Name"],
		["text","address","Address"],
		["text","city","City"],
		["text","state","State"],
		["number","zip","Zip"],
		["number","phone_area","Phone Number Area Code"],
		["number","phone_prefix","Phone Number Prefix"],
		["number","phone_number","Phone Number"],
		["email","email","Email"]
	];
	
	if(form["services[]"][form["services[]"].length-1].checked==true){
		check.push(["text","servicesother","Other Service"]);
	}else if(form['servicesother'].value!=""){
		err+="Please do not enter a value for 'Other Service' unless 'Other' is checked.\n";
	}
	
	err+=checkFormArray(form,check);
	
	if(err!=""){
		alert(err);
		return false;
	}else{
		return true;
	}
}


 
 

