function validateCatalog(f) {
	var bErrorFound = false;
	var strErrorMsg = 'Please correct the following problems:\n';

	if (f.Company_Name.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - Company Name is required';
		bErrorFound = true;
	}

	if (f.First_Name.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - First Name is required';
		bErrorFound = true;
	}
	
	if (f.Last_Name.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - Last Name is required';
		bErrorFound = true;
	}	

	if (f.Title.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - Title is required';
		bErrorFound = true;
	}

	if (f.Email.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - E-mail Address is required';
		bErrorFound = true;
	}
 
	if (f.Email.value.replace(/\s*/g,'').length > 0 && !verifyEmail(f.Email.value)) {
		strErrorMsg = strErrorMsg + '\n - E-mail Address must be a valid e-mail address';
		bErrorFound = true;
	}

	if (f.Mailing_Street_1.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - Mailing Address, line 1 is required';
		bErrorFound = true;
	}	

	if (f.Mailing_City.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - Mailing City is required';
		bErrorFound = true;
	}

	if (f.Mailing_State.selectedIndex == 0) {
		strErrorMsg = strErrorMsg + '\n - Mailing State is required';
		bErrorFound = true;
	}	

	if (f.Mailing_Zip.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - Mailing Postal Code is required';
		bErrorFound = true;
	}	

	if (f.Phone.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - Phone is required';
		bErrorFound = true;
	}

	if (bErrorFound == true) {
		alert(strErrorMsg);
		return false;
	} else {		
		return true;	
	}
}

