<!--
var http_modify_comment = getHTTPObject();
var url_modify_comment = "modify_comment.php?";

function handleHttpResponse_modify_comment() {
	if (http_modify_comment.readyState == 4) { 
		if(http_modify_comment.status == 200 || http_modify_comment.status == 304 || http_modify_comment.status == 307){ 
			document.getElementById('commenti').style.display = 'none';
			document.getElementById('div_area_info').style.display = 'block';
			document.getElementById('area_info').innerHTML = http_modify_comment.responseText;
			occupato_modify_comment = false;
		}
	}
}


var occupato_modify_comment = false;
function modify_comment_xmlhttprequest(class_name,comment,new_comment) {
	if (!occupato_modify_comment && http_modify_comment) { 
		var url_modify_comment_completo = url_modify_comment+"classe="+encodeURIComponent(class_name)+"&commento="+encodeURIComponent(comment)+"&nuovo_commento="+encodeURIComponent(new_comment);
		http_modify_comment.open("GET", url_modify_comment_completo, true);
		http_modify_comment.onreadystatechange = handleHttpResponse_modify_comment;
		occupato_modify_comment = true;
		http_modify_comment.send(null);
	}
}
//-->
