
function addComment(resID) {
  $('addComment').hide();
$('addBitton').show();
  new Ajax.Updater('addComment', 'actcommadd',
    { method: 'get',
	  parameters: { id: resID },
	  onComplete: function () {
        $('addComment').show();
$('addBitton').hide();
$('noreg').hide();
	  }
	}
  );
}
