// ***************************************
// **** UTILITY FUNCTIONS - VER.3.0.0 ****
// ***************************************
// Dichiarazione variabili contenenti le parole chiave per le funzioni di validazione

// Tipi di dati (dt: data types)
var dtName = 'Name';
var dtSurname = 'Surname';
var dtFullName = 'Full Name';
var dtFarm = 'Society';
var dtUsername = 'Username';
var dtPassword = 'Password';
var dtConfirmPassword = 'Confirm Password'; 
var dtAddress = 'Address';
var dtZipCode = 'Zip Code';
var dtZipCodeWorld = 'Zip Code (Italy or Foreign Country)';
var dtCity = 'City';
var dtSelectProvince = 'Select Province/State';
var dtProvince = 'Province/State';
var dtEmail = 'E-mail';
var dtUrl = 'URL';
var dtDate = 'Date';
var dtBirthday = 'Date of birthday';
var dtCodFisc = 'Fiscal Code';      // ???
var dtIva = 'VAT Code';
var dtTel = 'Telephone';
var dtTelWorld = 'Telephone (Italy or Foreign Country)';
var dtFax = 'Fax';
var dtFaxWorld = 'Fax (Italy or Foreign Country)';
var dtCell = 'Mobile';
var dtCellWorld = 'Mobile (Italy or Foreign Country)';
var dtNumber = 'Number';
var dtEuro = 'Eur';
var dtNumberList = 'Numbers list';
var dtWordList = 'Words list';
var dtIdAlfanum = 'Alfanumeric ID';
var dtAlfanum = 'Alfanumeric string';
var dtAlfabetic = 'Alfabetic string';
var dtRegExp = 'Reg.Exp.';

// Controlli aggiuntivi (dc: data controls)
var dcRequired	= 'required';
var dcMaxChar = 'n. max characters: [0-9]+';
var dcMaxDigit	= 'n. digits: [0-9]+';
var dcMaxDecimal = 'n. decimals: [0-9]+';
var dcDecimalSep = 'decimals qualified by: [,/.]';
var dcCharRange = 'n. characters min/max: [0-9]+ - [0-9]+';
var dcNoSeparator = 'no separator';
var dcNoValue = '[no value]';
var dcListSep = 'qualified by: [,;]';
var dcNoPunctuation = 'no punctuation';
var dcNoWhiteSpace = 'no white space';

// Messaggi di alert (msg: messages)
var msgAlfanum = 'Insert an alfanumeric string';
var msgAcceptPunctuation = 'Dot (.), comma (,), minus (-) and apex (\') accepted';
var msgAcceptWhiteSpace = 'White space ( ) accepted';
var msgAlfabetic = 'Insert an alfabetic string';
var msgIdAlfanum = 'Insert an alfanumeric string wich starts with a letter (underscore \'_\' accepted)';
var msgNumberList = 'Insert a number list qualified by';
var msgWordList = 'Insert a word list qualified by';
var msgCharRange = 'Insert a string with a number of characters between';
var msgAnd = 'and';
var msgRegExp = 'Insert a string that matches the Reg.Exp.';
var msgNoDate = 'Insert the Date';
var msgDate = 'Date not valid, use the format \'dd/mm/yyyy\' or \'d/m/yyyy\'';
var msgMonth = 'Month not valid';
var msgDay = 'Day not valid';
var msgYear = 'Year not valid';
var msgNoNumber = 'Insert a number';
var msgNumber = 'Number not valid';
var msgNoUrl = 'Insert the web address';
var msgUrl = 'Web address not valid';
var msgUrlHttp = 'Web address has to start with \'http://\'.';
var msgNoEmail = 'Insert the E-mail address';
var msgEmail = 'E-mail address not valid';
var msgNoCodfisc = 'Insert the Fiscal Code';	// ???
var msgCodFisc = 'Fiscal Code not valid';		// ???
var msgNoIva = 'Insert the VAT code';
var msgIva = 'VAT code not vaid';
var msgNoZipCode = 'Insert the ZIP Code';
var msgZipCode = 'ZIP Code not valid';
var msgNoTel = 'Insert the Telephone number';
var msgTel ='Telephone number not valid' ;
var msgNoFax = 'Insert the Fax number';
var msgFax = 'Fax number not valid';
var msgNoCell = 'Insert the Mobile phone number';
var msgCell = 'Mobile phone number not valid';
var msgInput = 'Type text into';
var msgSelectBox = 'Select an item from the pop-up menu';
var msgCheckBox = 'Choose one or more option from the list';
var msgRadioBtn = 'Choose an option from the list';
var msgIntoField = 'into field';
var msgConfirmPassword = 'Password and Confirm Password must have the same value.';

// Funzioni specifiche
var msgVerifyPassword = 'Insert and Verify input for Password must have the same value and must not be empty.';
