function esqueciSenha(cpf)
{
  PT_CPF = isCPF(cpf);
  
	if(PT_CPF==true)
	{
	  http.open("GET", "site_associado_envia_senha_associado.php?PT_CPF="+cpf, true);
	  http.onreadystatechange = handleHttpRespostaEnviaSenha;
	  http.send(null);
	}
	else
	{
		alert('O CPF informado não é válido.');
		document.frmEsqueciSenha.txtCpfAssociado.value='';
		document.frmEsqueciSenha.txtCpfAssociado.focus();
	}
}

function handleHttpRespostaEnviaSenha()
{
  if (http.readyState == 4) 
  {
    document.getElementById("enviaSenha").innerHTML = http.responseText;
  }
}
