var timer = "";
function gotHim(bob) {
  var hld = document.f.oppP.value.split("^");
  document.f.pName.value = hld[1];
  document.getElementById('plaID').innerHTML="<input type='hidden' name='pNum' id='pNum' value="+hld[0]+">"
}
function ajF() {
  if (timer != "") {
    clearTimeout(timer);
  }
  timer = setTimeout("doIt()",500); 
}
function doIt()
{ 
  if (timer != "")
    timer="";
  document.getElementById('plaID').innerHTML="";
  var xmlHttp;
  if (window.XMLHttpRequest) { // Mozilla, Safari, ...
    xmlHttp = new XMLHttpRequest();
    if (xmlHttp.overrideMimeType) {
      xmlHttp.overrideMimeType('text/xml');
      // See note below about this line
    }
  } 
  else {
  // Internet Explorer
  try {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  }
  catch (e) {
    try {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
    catch (e) {
      return false;
      }
    }
  }
  xmlHttp.onreadystatechange=function() {
    if(xmlHttp.readyState==4) {
      if (xmlHttp.status == 200) 
        document.getElementById('aj').innerHTML=xmlHttp.responseText;
      else
        alert ("AJAX malfunction");
    }
  }
  try {
  xmlHttp.open("POST",("ajInfo.asp?n="+document.f.pName.value),true);
  document.getElementById('aj').innerHTML="<br><br><b><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;working...</i></b>"
  xmlHttp.send('');
  }
  catch (e){
      alert(e)
  }
}

