Validation.add('validate-postal-code', 'is not a valid postal code.', {
  pattern : /^(\d{5}(-\d{4})?|[A-Za-z]\d[A-Za-z] \d[A-Za-z]\d)$/, // zip code validator stuff
  minLength : 5, // value must be at least 5 characters
  maxLength : 9 // value must be no longer than 9 characters
}); 