function statusNRenderer (val, meta, record, rowIndex, colIndex, store) {
	var rd = record.data;
	if (val == "1") {
		return '<a target="_blank" class="nounder" href="/news/'
			+ rd.id + '.html">\u2714</a> '
	} else {
		return "\u2718 ";
	}
}

function statusARenderer (val, meta, record, rowIndex, colIndex, store) {
	var rd = record.data;
	if (val == "1") {
		return '<a target="_blank" class="nounder" href="/articles/'
			+ rd.id + '.html">\u2714</a> ' //'.html">\u2605</a> '
	} else {
		return "\u2718";//"\u2606 ";
	}
}

function categoryRenderer (val, meta, record, rowIndex, colIndex, store) {

	var rd = record.data;
	
	// console.log (rd.category);
	
	var c = rd.category;
	
	return (c.internal_title ? '[' + c.internal_title + '] ' : '') + (c.html_title ? c.html_title : '');
}


function sourceRenderer (val, meta, record, rowIndex, colIndex, store) {

	var rd = record.data;
	
	return '<a target="_blank" href="'+rd.source_url+'">'
		+ rd.source_title + '</a>';
}

//function titleARenderer (val, meta, record, rowIndex, colIndex, store) {
//	return '<span title="' + val + '">' + val + '</span>';
//}

function titleRenderer (val, meta, record, rowIndex, colIndex, store) {
	return val;
}

