var ajaxdestination="";

function getdata(what,where)
 {
 	document.getElementById(where).style.cursor = 'progress';
  try
   {
    xmlhttp = window.XMLHttpRequest?new XMLHttpRequest():
  	new ActiveXObject("Microsoft.XMLHTTP");
   }
  catch (e)
   {
   	// do nothing
   }
 	ajaxdestination=where;
 	xmlhttp.onreadystatechange = triggered;
 	xmlhttp.open("GET", what);
 	xmlhttp.send(null);
  return false;
 }

function triggered()
 {
  if (xmlhttp.readyState == 4) if (xmlhttp.status == 200)
   {
    document.getElementById(ajaxdestination).innerHTML =xmlhttp.responseText;
    document.getElementById(ajaxdestination).style.cursor = 'auto';
   }
 }