<!--

function callServer()
{
  // Get the document id that was selected
  var doc_id = document.doc_download.doc_id.value;

  // Only go on if there is a value for the field
  if ((doc_id == null) || (doc_id == ""))
  {
    return;
  }

  // Build the URL to connect to
  var url = "http://www.chatwithGod.org/includes/download_count.php4?did=" + escape(doc_id);

  // Open a connection to the server
  xmlHttp.open("GET", url, true);

  // Setup a function for the server to run when it's done
  //xmlHttp.onreadystatechange = updatePage;

  // Send the request
  xmlHttp.send(null);
}

//-->

