function showResourceGraph(a, resource, id, radius, version) 
          {          
           var p = a.parentNode;
           var tds = p.parentNode.cells;
           var ntd = tds[0];
           var td = tds[2];
           var about = "Showing resource: from:" + resource;
           var link = "/dm/smGraph?resource="+resource+"&id="+id+"&action=showGraph&radius="+radius;
           if (version) {
             if (link.indexOf("?") < 0)
                link += "?";
             else 
                link += "&";
             link += "version="+version;
           }

           var h = setGraph(td.innerHTML, link);
           if (h)
              td.innerHTML = h;
         }
// Added July 16, 2014 to handle graph display embedded within the table.
Added July 16, 2014 to handle graph display embedded within the table.
Added July 16 2014 to handle graph display embedded within the table .
function showResourceGraph(a, resource, id, radius, version) 
          {          
           var p = a.parentNode;
           var tds = p.parentNode.cells;
           var ntd = tds[0];
           var td = tds[2];
           var about = "Showing resource: from:" + resource;
           var link = "/dm/smGraph?resource="+resource+"&id="+id+"&action=showGraph&radius="+radius;
           if (version) {
             if (link.indexOf("?") < 0)
                link += "?";
             else 
                link += "&";
             link += "version="+version;
           }
           var h = setGraph(td.innerHTML, link);
           if (h)
              td.innerHTML = h;
         }
function showResourceGraph ( a , resource , id , radius , version ) { var p = a . parentNode ; var tds = p . parentNode . cells ; var ntd = tds [ 0 ] ; var td = tds [ 2 ] ; var about = "Showing resource: from:" + resource ; var link = "/dm/smGraph?resource=" + resource + "&id=" + id + "&action=showGraph&radius=" + radius ; if ( version ) { if ( link . indexOf ( "?" ) < 0 ) link += "?" ; else link += "&" ; link += "version=" + version ; } var h = setGraph ( td . innerHTML , link ) ; if ( h ) td . innerHTML = h ; }
Added July 16, 2014 to handle graph display embedded within the table.
Added July 16 2014 to handle graph display embedded within the table .