// alert("test");function validateContactForm(frm) {		if (isBlank(frm.firstName) ||		isBlank(frm.lastName) ||		isBlank(frm.email) ||		isBlank(frm.address1) ||		isBlank(frm.city) ||		isBlank(frm.postalCode) ||	    isBlank(frm.phone) ||	    isBlank(frm.state)) {		alert('Sorry!  A required field missing. Please fill in\nall the fields with a red asterisk.');		return false;	}	return true;}function isBlank(field) {	if (trim(field.value).length <=0) return true;	return false;}function trim(value) {	var temp = value;	var obj = /^(\s*)([\W\w]*)(\b\s*$)/;	if (obj.test(temp)) { temp = temp.replace(obj, '$2'); }	if (temp.search(/\S/) < 0) { temp = ""; }	return temp;	}