
function b_report( r_href_id, cid, ctype ) {
	var d_r_s = dojo.byId(r_href_id);
	d_r_s.href = "javascript:void(0)";
	dojo.xhrGet({
		url: "/includes/nflag.php?id=" + cid + "&t=" + ctype,
		handleAs: "text",
		timeout: 5000,
		load: function( response, ioArgs ) {
			d_r_s.innerHTML = "Thanks for bringing this to our attention.";
			return response;
		},
		error: function( response, ioArgs ) {
			d_r_s.innerHTML = "Sorry, can't report this due to an error. Please send your request by using our contact page.";
			return response;
		}
	});
}
