function getComents() {
   var url='templates.php?action=cbox';
   var pars = '';
   var myAjax = new Ajax.Updater(
      {success: 'ComentBox'},
      url,
      {
        method: 'get',
        parameters: pars,
        onFailure: reportError
      });
}

function getLastContent() {
   var url='actualstuff.php';
   var pars = '';
   var myAjax = new Ajax.Updater(
      {success: 'LastContent'},
      url,
      {
        method: 'get',
        parameters: pars,
        onFailure: reportError
      });
}

function reportError(request)
{
  alert('Sorry. There was an error.');
}

