if (!('CQ' in window)) var CQ = new Object();

CQ.show_details = function(id) {
  var slot = document.getElementById('selected-project');
  try { slot.removeChild(slot.firstChild); } catch (error) {}
  var project = document.getElementById(id).cloneNode(true);
  project.style.display = '';
  slot.appendChild(project);
};