code: function showPanel(on){
          var fc_rules = $('#fc_rules');
          if (!fc_rules.length) {
              fc_rules = $('<style id="fc_rules"><\/style>').appendTo('head');
          }
          fc_rules.text(!on ? "" : " #tool_topath { display: none !important; }");
          $('#polygon_panel').toggle(on);
      }
docs: var ccDebug = document.getElementById('debugpanel'); /* var properlySourceSizeTextArea = function(){
  TODO: remove magic numbers here and get values from CSS
  var height = $('#svg_source_container').height() - 80;
  $('#svg_source_textarea').css('height', height);
  };