function progress () {
  var pars = 'status=' + encodeURIComponent($('status').value);
  var ret = new Ajax.Request(
    '/update', {
      method: 'post',
      postBody: pars,
      onLoading: function (o) {
        $('submit').disabled = true;
        var processing = $('processing');
        processing.innerHTML = '';
        var imgTag = document.createElement('IMG');
        imgTag.src = '/images/progress.gif';
        imgTag.width  = 16;
        imgTag.height = 16;
        processing.appendChild(imgTag);
      },
      onComplete: function (o) {
        $('processing').innerHTML = o.responseText;
        $('submit').disabled = false;
        $('status').value = '';
      }
    }
  );
}
