anchor.diff:              ev.preventDefault();
               items = $(list).select("li");
               items.removeClass('selected');
  -            el.addClassName("selected");
  +            el.addClass("selected");
               toggle_to_corresponding_content(el);
           });
       });
   };
   
   function toggle_to_corresponding_content(tab){
  -    list = tab.up(".language-list");
  +    list = tab.closest(".language-list");
       items = $(list).select("li");
  -    content = list.previous(".language-content");
  -    idx = items.indexOf(tab);
  -    corresponding = content.children()[idx];
  +    content = list.prevAll(".language-content");
  +    idx = items.index(tab);
  +    corresponding = content.children(idx);
       content.children().hide();
       corresponding.show()
   }
  
positive.code: 			par = '.'+elements[0]
  			child = '.'+elements[1]
  		
  			child_container = el.up('.par')
  			parent_object_id = el.up(par).find('input').first().name.match(/.*\[(\d+)\]/)[1]
  		
  			tempname = el.href.replace(/.*#/, '');
  			template = eval('window.' + tempname + '_template') || eval(tempname + '$' + elements[0] + '_template')
  
negative.code: 			par = '.'+elements[0]
  			child = '.'+elements[2]
  			
  			child_container = el.closest('.par')
  			parent_object_id = el.closest(par).find('input').first().name.match(/.*\[(\d+)\]/)[1]
  			middle_object_id = el.closest('fieldset').find('input').first().name.match(/\d+/g)[1]
  			
  			template = eval(el.href.replace(/.*#/, '') + '$' + elements[1] + '$' + elements[0] + '_template')
  			
  