anchor.diff:      var parentNode = $("#"+tagId);
       alert ("load subnodes for "+nodeName+"-"+parentNode.parents('li:eq(0)').attr("id")+"-" );
       var liNode = parentNode.parents('li:eq(0)');
  -    alert(liNode.children('ul').size());
  -    if (liNode.children('ul').size() == 0 ) {
  +    var ulNode = liNode.children('ul:eq(0)');
  +    var inputNodev;
  +//    alert (ulNode);
  +//    if (liNode.children('ul').size() > 0 ) {
  +//        inputNodev = ulNode.children('input:eq(0)');
  +//    }
  +    
  +    
  +    //if (liNode.children('ul').size() == 0 ) {
  +    if (liNode.children('ul').size() == 0 || ulNode.children('input').size() == 0 ) {
  +        alert(liNode.children('ul').size());
           $.ajax({
            url: 'researchAreasLoad.jsp',
            type: 'GET',
            dataType: 'html',
  +         data:'researchAreaCode='+getResearchAreaCode(nodeName),
  +         cache: false,
            timeout: 1000,
            error: function(){
               alert('Error loading XML document');
  
positive.code:          success: function(xml){
              //alert("success"+xml);
              i++;
              var ulTag = $('<ul class="filetree"></ul>').attr("id","ul"+i);
              //alert(ulTag.html());
              
              ulTag.appendTo(parentNode);
              $(xml).find('h3').each(function(){
              var item_text = $(this).text();
              i++;
  
negative.code:            // if (i == 1) {
              var tag = $('<a style = "margin-left:2px;" ></a>').attr("id",tagId).html(item_text);
              var div = $('<div  class="hierarchydetail" style="margin-top:2px; "></div>').attr("id",divId);
         $(document).ready(function () {
              tag.click(
  					function()
  					{
  