uicomment = function(id, sideid, support, commentid) {
	var purl = HOST_TRANHLUAN+'ajax/uicomment';
	var pdata = {
		id: id,
		sideid: sideid,
		support: support,
		commentid: commentid
	}
	$.ajax({
		cache	: false,
		async	: false,
		data	: pdata,
		url		: purl,
		dataType: 'jsonp',
		jsonp	: 'callback',
		success	: function(response) {
			var error = response['error'];
			var msg = response['msg'];
			if (error == 2) {
				uiupdateinfo(id);				
			}
			if (msg) {
				if (error == 1) {
					alert(msg);
				} else {
					$.blockUI({
						message: msg,
						css: {
							background: '#fff',
							width: 600+'px',
							border: 'none',
							top:  ($(window).height() - 500)/2 + 'px',
							left: ($(window).width() - 600)/2 + 'px',
							cursor: 'pointer'
						}
					});
				}
			} 
		}
	});
}
