function reportBan(item_id, item_type)
{
	var url = 'http://'+location.host+'/bans/ajax_report_ban.php';
	var reason = $("reason").value;
	var pars = 'item_id=' + item_id + '&item_type=' + item_type + '&reason=' + reason;	
	var myAjax = new Ajax.Updater( 'div_ban_'+item_id, url, { method: 'get', parameters: pars });

}
