function leftTrim(texto) {
	while (texto.substring(0,1) == ' ') {
		texto = texto.substring(1, texto.length);
	}
	return texto;
}
function rightTrim(texto) {
	while (texto.substring(texto.length-1, texto.length) == ' ') {
		texto = texto.substring(0,texto.length-1);
	}
	return texto;
}
function trim(texto) {
	while (texto.substring(0,1) == ' ') {
		texto = texto.substring(1, texto.length);
	}
	while (texto.substring(texto.length-1, texto.length) == ' ') {
		texto = texto.substring(0,texto.length-1);
	}
	return texto;
}


