function envia()
{
if (document.fale.empresa.value == "")
	{alert ('Preencha o campo EMPRESA');
	 document.fale.empresa.focus();
	 return false;}
if (document.fale.cidade.value == "")
	{alert ('Preencha o campo CIDADE');
	 document.fale.cidade.focus();
	 return false;}
if (document.fale.estado.value == "")
	{alert ('Preencha o campo CIDADE');
	 document.fale.estado.focus();
	 return false;}
if (document.fale.nome.value == "")
	{alert ('Preencha o campo NOME');
	 document.fale.nome.focus();
	 return false;}	
if (document.fale.cargo.value == "")
	{alert ('Preencha o campo CARGO');
	 document.fale.cargo.focus();
	 return false;}
if (document.fale.endereco.value == "")
	{alert ('Preencha o campo ENDERECO');
	 document.fale.endereco.focus();
	 return false;}
if (document.fale.email.value == "")
	{alert ('Preencha o campo E-MAIL');
	 document.fale.email.focus();
	 return false;}
if (document.fale.cep.value == "")
	{alert ('Preencha o campo CEP');
	 document.fale.cep.focus();
	 return false;}
if (document.fale.telefone.value == "")
	{alert ('Preencha o campo TELEFONE');
	 document.fale.telefone.focus();
	 return false;}
document.fale.submit();}

function Troca(tipo,resp)
{if (tipo == "T")
	{if (resp == "S")
	 {document.fale.tecn.value = 'S';
	  document.fale.tecnicos.checked = true;
	  document.fale.tecnicon.checked = false;}
	 else
	 {document.fale.tecn.value = 'N';
	  document.fale.tecnicos.checked = false;
	  document.fale.tecnicon.checked = true;}}
 if (tipo == "I")
	{if (resp == "S")
	 {document.fale.info.value = 'S';
	  document.fale.informacaos.checked = true;
	  document.fale.informacaon.checked = false;}
	 else
	 {document.fale.info.value = 'N';
	  document.fale.informacaos.checked = false;
	  document.fale.informacaon.checked = true;}}
}