  // Little javascript, which is automatically loaded by ALL pages and which
 // does the homephone magic of caveseekers.com.
 // m_strPathUp is defined before this little code is loaded. this way
 // it finds its way to the geheimdienst.php - regardless from it's pages
 // location
 
function homephoneResult(txt,xml)
{

  if (txt >= 0)
  {
    window.location=m_strPathUp+"php/screambox/homebase.php";
  }
  clSecretServiceTimer = setTimeout('phonehome()',7000);
}

function phonehome()
{
  var myAjax = new Ajax();
  myAjax.url=m_strPathUp+"php/classes/Geheimdienst.php";
  myAjax.bypassBrowserCache=true;
  myAjax.onSuccess=homephoneResult;
  myAjax.doRequest();
}
phonehome();
