function deleteRespons(nid, global)
{
	if(global == null)
	{
		global = false;
	}
	new Request({
		url:'/admin/deleteResponse.html'+(global?'?global':''),
		method:'post',
		data:new Hash({action:'deleteRespons',id:nid}),
		onSuccess:function(t,x){
			location.href = location.href;
		}
	}).send();
}
