function resetCommentValues(fieldList){
	resetSecurityNr();
	for (var i=0;i<fieldList.length;i++){
		document.getElementById(fieldList[i]).value = '';
	}
	document.getElementById('commentArea').style.display = 'none';
	document.getElementById('showHideLayer').className = 'hideLayer';
}//end function resetValues(fieldList)

function resetSecurityNr(){
	document.getElementById('imgSecureNr').src += '?' + Math.random();
}//end function resetCommentValues()

function updateComments(path, id){
	AjaxRequest.get(
    {
      'url':path,
	  'onLoading':function(req){ document.getElementById('loadingImg').style.display = "block"; }
      ,'onSuccess':function(req){ document.getElementById('loadingImg').style.display = "none"; updateField(req.responseText, id);}
    }
  );
}

function updateField(innerInfo, id){
	document.getElementById('row_'+id).innerHTML = innerInfo;
}