var xmlHttp

function liste_adherents(alpha)
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Votre navigateur ne supporte pas AJAX !");
  return;
  } 
var url="script-listeadherents-exe.asp";
url=url+"?numalpha="+alpha;
url=url+"&alea="+Math.random();
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}

function stateChanged() 
{ 
if (xmlHttp.readyState==4)
{ 
document.getElementById("adherents").innerHTML=xmlHttp.responseText;
}
}

function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp;
}

function affiche_fiche(numfiche)
{
if($("#bloc_c").is(":hidden")) {
	$("#bloc_c").BlindRight(500);
	}
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Votre navigateur ne supporte pas AJAX !");
  return;
  } 
var url="script-afficheadherent-exe.asp";
url=url+"?numfiche="+numfiche;
url=url+"&alea="+Math.random();
xmlHttp.onreadystatechange=stateChanged2;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}

function stateChanged2() 
{ 
if (xmlHttp.readyState==4)
{ 
document.getElementById("infos").innerHTML=xmlHttp.responseText;
}
}