anchor.diff:            frt = rt.empty? ? "" : rt[:tree].empty? ? "" : rt[:tree]
             unless frt.empty? %>
               <h3>Hierarchy tree</h3>
  +            <div id='relation_tree_container2'></div>
               <div id='relation_tree_container'></div>
   <%        end
             unless fnit.empty? %>
  
positive.code:   return tree;
  }
  $(document).ready(function(){
    <% unless frt.empty? %>
        $('#relation_tree_container').fancytree({
  				extensions: ["glyph"],
  
negative.code: 
  <% #TODO: when flyout uses fancytree remove this js %>
  <%= javascript_include_tag 'kmaps_tree/jquery.fancytree-all.min' %>
  <%= javascript_include_tag 'kmaps_engine/kmaps_fancytree' %>
  <%#= stylesheet_link_tag 'ui.fancytree.min' %>
  <%= stylesheet_link_tag 'kmaps_tree/kmapstree' %>
  <script type='text/javascript'>
  