function Verify(f) {
   // set up params
   var ErrorString  = "";
   f.jsEnabled.value = 0;
   
	if (f.isPublicSiteForJS.value == 0) {
		if (isSelected(f.modelnumber,0)) ErrorString += "\n - Please select a model number";
		if ( isBlank(f.receiptdate) ) ErrorString += "\n - Purchase Date is required";
		else if ( checkDateWSlash(f.receiptdate) ) ErrorString += "\n - Purchase Date must be a date";
	} else {
		if ( isSelected(f.modelnumber,0) && isBlank(f.altmodelnumber) ) ErrorString += "\n - Please select a model number";
		if ( isBlank(f.receiptdate) ) ErrorString += "\n - Receipt Date is required";
		else if ( checkDateWSlash(f.receiptdate) ) ErrorString += "\n - Receipt Date must be a date";
	}
	
	//if (isBlank(f.purchaseplace)) ErrorString += "\n - Place of Purchase is required";
	if (isBlank(f.companyname)) ErrorString += "\n - Company is required";
   if (isBlank(f.contactname)) ErrorString += "\n - Contact Name is required";
	if (isBlank(f.address)) ErrorString += "\n - Address is required";
	if (isBlank(f.city)) ErrorString += "\n - City is required";
	if (isSelected(f.stateprovince,0)) ErrorString += "\n - Please select a state/ province";
	if (isBlank(f.postalcode))  ErrorString += "\n - Postal code is required";
	//else if (checkZip(f.postalcode)) ErrorString += "\n - The postal code is in an improper format";
	if (isSelected(f.country,0)) ErrorString += "\n - Please select a country";
	
	// NOT Required Fields, but if filled out, make sure filled out properly
	if (!isBlank(f.email) && testSimpleEmail(f.email)) ErrorString += "\n - E-mail address is formatted improperly (optional field)";
	if (!isBlank(f.phone1) || !isBlank(f.phone2) || !isBlank(f.phone3)) {
		if ( 
			(isBlank(f.phone1) || isTooShort(f.phone1,3)) ||
			(isBlank(f.phone2) || isTooShort(f.phone2,3)) ||
			(isBlank(f.phone3) || isTooShort(f.phone3,4))
		) 
			ErrorString += "\n - Phone number is incomplete (optional field)";
		if (isNotANumber(f.phone1) || isNotANumber(f.phone2) || isNotANumber(f.phone3) )
			ErrorString += "\n - Phone number must be numeric (optional field)";
	}
	if (!isBlank(f.fax1) || !isBlank(f.fax2) || !isBlank(f.fax3)) {
		if ( 
			(isBlank(f.fax1) || isTooShort(f.fax1,3)) ||
			(isBlank(f.fax2) || isTooShort(f.fax2,3)) ||
			(isBlank(f.fax3) || isTooShort(f.fax3,4))
		) 
			ErrorString += "\n - Fax number is incomplete (optional field)";
		if (isNotANumber(f.fax1) || isNotANumber(f.fax2) || isNotANumber(f.fax3) )
			ErrorString += "\n - Fax number must be numeric (optional field)";
	}
   
	return errorAlert(ErrorString);
}
