function validarString (cadenaAnalizar) {
for (var i = 0; i< cadenaAnalizar.length; i++) {
var caracter = cadenaAnalizar.charAt(i);
if( caracter == "ñ" || caracter == "Ñ") {
alert("Caracter no permitido");
return false;
} else {
return true;
}
}
}