tentIdx;
  var currentPC;
        function onPercentClick(index) {
    if (visible)
      visible.style.display = 'none';
    visible = document.getElementById("function_" + index);
    visible.style.display = 'block';
    document.getElementById("right_pane").scrollTo(0, 0);
    toggleCloseBtn();
  }
  function onFileClick(index) {
    if (visible)
      visible.style.display = 'none';
    visible = document.getElementById("contents_" + index);
    visible.style.display = 'block';
    contentIdx = index;
 