// ---------------------------------------------------------------------------------------	
// Verifica se o campo foi preenchido só com letras ou numeros ou caracteres especiais
// ---------------------------------------------------------------------------------------	
function Texto(field, caracesp){
		var checkOK = "1234567890ABCDEFGHIJKLMNOPQRSTUVXYZW ";
		if (caracesp==true){
		  checkOK = checkOK + "&-.,/";
		  }
		var checkStr = field.value.toUpperCase();
		for (i = 0;  i < checkStr.length;  i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0;  j < checkOK.length;  j++)
				if (ch == checkOK.charAt(j))
				break;
			if (j == checkOK.length)
		    {
				return false;
				break;
			}
		}
		
		return true;
}
