var error_title = 'Error';
var entendu_msg = 'You must specify where you heard about this site.';
var validations = {
	'#txt-lastname': {
		'obg' : 'true',
		'err' : 'You must enter your last name.'
	},
	'#txt-firstname': {
		'obg' : 'true',
		'err' : 'You must enter your first name.'
	},
	'#txt-username': {
		'obg' : 'true',
		'err' : 'You must enter your nickname.',
		'minlength' : '4',
		'errorlength' : 'Your nickname must contain at least 4 characters.',
		'special' : 'nospecial',
		'errorspecial' : 'Your nickname must not contain special characters.'
	},
	'#txt-email': {
		'obg' : 'true',
		'err' : 'You must enter your email address.',
		'special' : 'email',
		'errorspecial' : 'The format of your email address is invalid.'
	},
	'#txt-passwd': {
		'obg' : 'true',
		'err' : 'You must enter your password.',
		'minlength' : '4',
		'errorlength' : 'Your password must be at least 4 characters.',
		'special' : 'nospecial',
		'errorspecial' : 'Your password must not contain any special characters.'
	},
	'#txt-password2': {
		'obg' : 'true',
		'err' : 'You must enter your password again.',
		'special' : 'mustequal',
		'depend_id' : 'txt-passwd',
		'errorspecial' : 'Both password are not the same.'
	},
	'#txt-phone': {
		'obg' : 'true',
		'err' : 'You must enter your phone number.',
		'special' : 'tel',
		'errorspecial' : 'The format of your phone number is incorrect.'
	},
	'#txt-other-phone': {
		'special' : 'tel',
		'errorspecial' : 'The format of your other phone number is incorrect.'
	},
	'#txt-address': {
		'obg' : 'true',
		'err' : 'You must enter your address.'
	},
	'#txt-city': {
		'obg' : 'true',
		'err' : 'You must enter your city.'
	},
	'#txt-province': {
		'obg' : 'true',
		'err' : 'You must enter your province.'
	}
	,
	'#txt-postalcode': {
		'obg' : 'true',
		'err' : 'You must enter your postal code.',
		'special' : 'codepostal',
		'errorspecial' : 'The format of your postal code is incorrect.'
	},
	'#chk-condition' : {
		'obg' : 'check',
		'err' : 'You must agree with the website rules.'
	}
}