var validationSet = {
  'firstname' : {
    'regex' : /^[-A-Za-z]+$/,
    'toperror' : 'The first name field must contain at least one character and cannot contain spaces.',
    'lineerror' : 'Required field: No spaces allowed'
  },
  'lastname' : {
    'regex' : /^[-A-Za-z]+$/,
    'toperror' : 'The last name field must contain at least one character and cannot contain spaces.',
    'lineerror' : 'Required field: No spaces allowed'
  },
  'zip' : {
    'regex' : /^\d{5}$|^\d{5}-\d{4}$/,
    'toperror' : 'The zip code field is empty or improperly formatted. It must be of the form XXXXX or XXXXX-XXXX.',
    'lineerror' : 'Required field: Format xxxxx or xxxxx-xxxx'
  },
  'email' : {
    'regex' : /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/,
    'toperror' : 'The email field is empty or the address is invalid. It should be of the form me@some.domain.',
    'lineerror' : 'Required field: Format me@some.domain'
  }
};
