function validateSaveGig(f) {
	var bErrorFound = false;
	var strErrorMsg = 'Please correct the following problems:\n'

	if (empty(f.dDate)) {
		strErrorMsg = strErrorMsg + '\n - Date is required';
		bErrorFound = true;
	}
	
	if (!empty(f.dDate.value) && !isDate(f.dDate.value)) {
		strErrorMsg = strErrorMsg + '\n - Date must be in the format (mm/dd/yyyy)';
		bErrorFound = true;			
	}	

	if (empty(f.vTitle)) {
		strErrorMsg = strErrorMsg + '\n - Description of Gig is required';
		bErrorFound = true;
	}

	if (empty(f.tDescription)) {
		strErrorMsg = strErrorMsg + '\n - Requirements are required';
		bErrorFound = true;
	}

	if (empty(f.vName)) {
		strErrorMsg = strErrorMsg + '\n - Name is required';
		bErrorFound = true;
	}

	if (empty(f.vEmail)) {
		strErrorMsg = strErrorMsg + '\n - Email Address is required';
		bErrorFound = true;
	}
 
	if (!empty(f.vEmail) && !verifyEmail(f.vEmail.value)) {
		strErrorMsg = strErrorMsg + '\n - Email Address must be a valid e-mail address';
		bErrorFound = true;
	}
	
	if (empty(f.vCode)) {
		strErrorMsg = strErrorMsg + '\n - Verification Code is required';
		bErrorFound = true;
	}	

	if (bErrorFound == true) {
		alert(strErrorMsg);
		return false;
	} else {		
		return true;	
	}
}

