function _fnWriteCell(td, val) {
		if (val && typeof val === 'object' && val.nodeName) {
			$(td)
				.empty()
				.append(val);
		}
		else {
			td.innerHTML = val;
		}
	}
Write a value to a cell
@param {*} td Cell
@param {*} val Value