/***********************************************************************
 * YAV - Yet Another Validator  v1.4.1                                 *
 * Copyright (C) 2005-2008                                             *
 * Author: Federico Crivellaro <f.crivellaro@gmail.com>                *
 * WWW: http://yav.sourceforge.net                                     *
 ***********************************************************************/

// CHANGE THESE VARIABLES FOR YOUR OWN SETUP

// if you want yav to highligh fields with errors
inputhighlight = true;
// if you want to use multiple class names
multipleclassname = true;
// classname you want for the error highlighting
inputclasserror = 'inputTextBoxError';
// classname you want for your fields without highlighting
inputclassnormal = 'inputTextBox';
// classname you want for the inner html highlighting
innererror = 'innerError';
// div name where errors will appear (or where jsVar variable is dinamically defined)
errorsdiv = 'errorsDiv';
// if you want yav to alert you for javascript errors (only for developers)
debugmode = false;
// if you want yav to trim the strings
trimenabled = true;

// change to set your own decimal separator and your date format
DECIMAL_SEP ='.';
THOUSAND_SEP = ',';
DATE_FORMAT = 'MM-dd-yyyy';

// change to set your own rules based on regular expressions
alphabetic_regex = "^[A-Za-z]*$";
alphanumeric_regex = "^[A-Za-z0-9]*$";
alnumhyphenat_regex = "^[A-Za-z0-9\-_@.+ ()#]*$";
email_regex = "^(([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}){0,1}$";
numericsym_regex = "^[0-9\-_().]*$";
alphaspace_regex = "^[A-Za-z0-9\-_ \n\r\t.]*$";

// change to set your own rule separator
RULE_SEP = '|';

// change these strings for your own translation (do not change {n} values!)
HEADER_MSG = 'There is a problem with the information you provided.';
FOOTER_MSG = 'Please review the error(s) and try again.';
DEFAULT_MSG = 'The data is invalid.';
REQUIRED_MSG = 'You need to fill out all the required information.';
ALPHASPACE_MSG = 'Your input contains invalid characters.';
ALPHABETIC_MSG = 'Your input contains invalid characters.';
ALPHANUMERIC_MSG = 'Your input contains invalid characters.';
ALNUMHYPHEN_MSG = '';
ALNUMHYPHENAT_MSG = 'Your input contains invalid characters.';
MINLENGTH_MSG = 'Your input is too short.';
MAXLENGTH_MSG = 'Your input is too long.';
NUMRANGE_MSG = 'Your input has the incorrect number of characters.';
DATE_MSG = '';
NUMERIC_MSG = '';
INTEGER_MSG = '';
DOUBLE_MSG = '';
REGEXP_MSG = '';
EQUAL_MSG = '';
NOTEQUAL_MSG = '';
DATE_LT_MSG = '';
DATE_LE_MSG = '';
EMAIL_MSG = 'Your email address does not appear to be valid.';
EMPTY_MSG = '';
