/**
 * Set up some variables that will be used by JS validation 
 */
var validationContext = {
	messages : {
		'emailAddress': {
			'remote':'Email address is already in use.',
			'required':'Please enter a valid email address',
			'email':'Please enter a valid email address'
		},
		'email': {
			'remote':'Email address is already in use.',
			'required':'Please enter a valid email address',
			'email':'Please enter a valid email address'
		},
		'postalCode': 'Please enter a valid zipcode',
		"firstName": 'Please enter your first name',
		"lastName":'Please enter your last name',
		
		'pitcher[]': 'Please select a filter type',
		'frequency[]': 'Please select a reminder frequency',
		'nextdate[]': 'Please select a reminder date',
		
		'stopUsing': 'Please pledge to save at least 1 bottle',
		
		// have to specify for each field, and then use "group" option when configuring validation for a form to only the message once for the group
		"birthDay":'Sorry, you are too young to register',
		"birthMonth":'Sorry, you are too young to register',
		"birthYear":'Sorry, you are too young to register',
		
		"username":'Please enter your email',
		"loginPassword":'Please enter a password',
		
		"password":'Please enter a password (between 3 and 20 characters)',
		"regPassword": {
			required: 'Please enter a password (between 3 and 20 characters)',
			rangelength: 'Please enter a password (between 3 and 20 characters)',
			complexPassword: 'Please enter a password that contains a letter and number'
		},
		"regPasswordVerify":'Please confirm your password',
		
		"passwordOverlay": null,
		
		"termsOfUse":'Please agree to the terms of use',
		
		"addressLine1":'Please enter an address',
		"addressLine2":'Please enter an address',
		"city":'Please enter a city',
		"state":'Please enter a state',
		"postalCode":'Please enter a postal code',
		
		"phoneMain1":'Please enter a valid US phone number',
		"phoneMain2":'Please enter a valid US phone number',
		"phoneMain3":'Please enter a valid US phone number',
		
		"phoneMobile1":'Please enter a valid US mobile phone number',
		"phoneMobile2":'Please enter a valid US mobile phone number',
		"phoneMobile3":'Please enter a valid US mobile phone number',
		
		"brandOptOut":'Please check the subscriptions you would no longer like to receive',
		'reminderOptOut':'Please check the subscriptions you would no longer like to receive'
	}		
};

