//Função habilitar/desabilitar o campo de entrada de outra cidade --------------------------------
function OutraCidade(obj, objOutra, strTR) {
  //Declarar variáveis
  var intSelecionado = obj.selectedIndex;

  //Sair se nenhuma cidade está selecionada
  if (intSelecionado == -1)
    return;

  //Quebrar a lista de TR
  astrTR = strTR.split("|");

  for (var i = 0; i < astrTR.length; i++) {
    if (obj.options[intSelecionado].value == "x") {
      document.getElementById(astrTR[i]).style.display = "";

      objOutra.focus();
    }
    else {
      document.getElementById(astrTR[i]).style.display = "none";

      objOutra.value = "";
    }
  }
}

