var ajaxdestination="";
function getdata(what,where) {
  try {
    xmlhttp = window.XMLHttpRequest?new XMLHttpRequest():
    new ActiveXObject("Microsoft.XMLHTTP");
  }
  catch (e) { }
  document.getElementById(where).innerHTML ="<p style='text-align:center'><img src='images/design/loading.gif'><br /><br /><span style='font-size:18px;'>Lade Inhalt...</span></p>";
  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;
}