function errors_replace_codes(errors)
{
	errors = errors.replace(/DTE-01/g, "You need to fill the date gap.");
	errors = errors.replace(/DTE-02/g, "Incorrect number of date elements.");
	errors = errors.replace(/DTE-03/g, "The day must be a number.");
	errors = errors.replace(/DTE-04/g, "The month must be a number.");
	errors = errors.replace(/DTE-05/g, "The year must be a number.");
	errors = errors.replace(/DTE-06/g, "The day number can not be under 1.");
	errors = errors.replace(/DTE-07/g, "The month number must be between 1-12.");
	errors = errors.replace(/DTE-08/g, "The year format must be YY o YYYY.");
	errors = errors.replace(/DTE-09/g, "This month has no more than 29 days.");
	errors = errors.replace(/DTE-10/g, "This month has no more than 28 days.");
	errors = errors.replace(/DTE-11/g, "This month has no more than 31 days.");
	errors = errors.replace(/DTE-12/g, "This month has no more than 30 days.");


	errors = errors.replace(/MAL-01/g, "You need to fill the e-mail gap.");
	errors = errors.replace(/MAL-02/g, "Invalid e-mail.");


	errors = errors.replace(/NUM-01/g, "You need to fill the number gap.");
	errors = errors.replace(/NUM-02/g, "The number has non numerical characters.");
	errors = errors.replace(/NUM-03/g, "The thousands format is not correct.");
	errors = errors.replace(/NUM-04/g, "The number has non numerical characters.");
	errors = errors.replace(/NUM-05/g, "The decimal format is not correct.");
	errors = errors.replace(/NUM-06/g, "You must choose a whole number.");


	errors = errors.replace(/RNG-01/g, "The number is over the allowed maximum.");
	errors = errors.replace(/RNG-02/g, "The number is under the allowed minimum.");


	errors = errors.replace(/STR-01/g, "You need to fill the text gap.");
	errors = errors.replace(/STR-02/g, "The text must be alphabetical.");
	errors = errors.replace(/STR-03/g, "The text must be numerical.");
	errors = errors.replace(/STR-04/g, "The text includes invalid characters.");


	errors = errors.replace(/TME-01/g, "You need to fill the time gap.");
	errors = errors.replace(/TME-02/g, "Invalid time number of elements HH:MM:SS.");
	errors = errors.replace(/TME-03/g, "Invalid time number of elements HH:MM:SS.");
	errors = errors.replace(/TME-04/g, "The hour must be a number.");
	errors = errors.replace(/TME-05/g, "The minutes must be numbers.");
	errors = errors.replace(/TME-06/g, "The seconds must be numbers.");
	errors = errors.replace(/TME-07/g, "The hour number must be between 0 and 23.");
	errors = errors.replace(/TME-08/g, "The minutes number must be between 0 and 59.");
	errors = errors.replace(/TME-09/g, "The seconds number must be between 0 and 59.");


	return(errors);
}
