/***********************************************************************
 * 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 = 'inputError';
// classname you want for your fields without highlighting
inputclassnormal = 'inputNormal';
// 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 these to set your own decimal separator and your date format
DECIMAL_SEP ='.';
THOUSAND_SEP = ',';
DATE_FORMAT = 'dd-MM-yyyy';

// change to set your own rules based on regular expressions
alphabetic_regex = "^[A-Za-z]*$";
alphanumeric_regex = "^[A-Za-z0-9]*$";
alnumhyphen_regex = "^[A-Za-z0-9\-_]*$";
alnumhyphenat_regex = "^[A-Za-z0-9\-_@]*$";
alphaspace_regex = "^[A-Za-z0-9\-_ \n\r\t]*$";
email_regex = "^(([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}){0,1}$";

// change this to set your own rule separator
RULE_SEP = '|';

// change these strings for your own translation (do not change {n} values!)
HEADER_MSG = 'Ungltige Angaben:';
FOOTER_MSG = 'Bitte korrigieren und erneut versuchen.';
DEFAULT_MSG = 'Die Angaben sind ungltig.';
REQUIRED_MSG = 'Eingabe {1}.';
ALPHABETIC_MSG = '{1} ungltig. Zulssige Zeichen: A-Za-z';
ALPHANUMERIC_MSG = '{1} ungltig. Zulssige Zeichen: A-Za-z0-9';
ALNUMHYPHEN_MSG = '{1} ungltig. Zulssige Zeichen: A-Za-z0-9\-_';
ALNUMHYPHENAT_MSG = '{1} ungltig. Zulssige Zeichen: A-Za-z0-9\-_@';
ALPHASPACE_MSG = '{1} ungltig. Zulssige Zeichen: A-Za-z0-9\-_space';
MINLENGTH_MSG = '{1} muss mindestens {2} Zeichen enthalten.';
MAXLENGTH_MSG = '{1} darf {2} Zeichen nicht berschreiten.';
NUMRANGE_MSG = '{1} muss eine Zahl in {2} sein.';
DATE_MSG = '{1} Datum nach dem Format ' + DATE_FORMAT + 'ungltig.';
NUMERIC_MSG = '{1} muss eine Zahl sein.';
INTEGER_MSG = '{1} muss eine ganze Zahl sein';
DOUBLE_MSG = '{1} muss eine Dezimalzahl sein.';
REGEXP_MSG = '{1} ungltig. Zulssiges Format: {2}.';
EQUAL_MSG = '{1} muss gleich {2} sein.';
NOTEQUAL_MSG = '{1} darf nicht gleich {2} sein.';
DATE_LT_MSG = '{1} muss vor {2} liegen.';
DATE_LE_MSG = '{1} darf nicht nach {2} liegen.';
EMAIL_MSG = '{1} sollte eine gltige E-Mail-Adresse sein.';
EMPTY_MSG = '{1} muss eine leer.';
