function flagComment(chkbx){
	if(chkbx.tagName != "INPUT") return;
	cid = chkbx.id.substring(chkbx.id.indexOf("_")+1, chkbx.id.length);
	new Ajax.Request('/sfSimpleBlog/flagBadComment/cid/'+cid+'.html', {asynchronous:true, evalScripts:false});
	divId = 'divThx_'.concat(cid);
	document.getElementById(divId).style.visibility = (chkbx.checked)?'visible':'hidden';
	chkbx.disabled = true;
}