// JavaScript Document
function requestFile(id) {
 var xmlHttp;
  try
    {
    // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
    }
  catch (e)
    {
    // Internet Explorer
    try
      {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }
    catch (e)
      {
      try
        {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
      catch (e)
        {
        alert("Your browser does not support AJAX!");
        return false;
        }
      }
    }
	
  var url = "lookup.php?id="+id;
  xmlHttp.open('get', url, false);
  xmlHttp.send(null);  // synchronous; returns when response is complete
  var detailsDiv = document.getElementById('details');
  var response = xmlHttp.responseText;
  response = response.split('@@@@@@');
  detailsDiv.innerHTML = response[0];
  
  var details2 = document.getElementById('details2');
  details2.innerHTML = response[1];
  //alert(xmlHttp.responseText);

  var details3 = document.getElementById('details3');
  details3.innerHTML = response[2];
}

///// now just make a file called lookup.php.  This file should take the id from the URL, perform the lookup, and return the 
///// info formatted as you please.  Make sure that lookup.php echos only/exactly what you want to see on the screen, and nothing more
///// call this function with an onchange or something
