var panelPlatforms = getAttribute(helpFileDS, panelDef, NC_PLATFORM, platform); 
var panelPlatforms = getAttribute(helpFileDS, panelDef, NC_PLATFORM, null); 
function loadHelpRDF() {  if (!helpFileDS) {    try {      helpFileDS = RDF.GetDataSourceBlocking(helpFileURI);    } catch (e if (e.result == NSRESULT_RDF_SYNTAX_ERROR)) {      log("Help file: " + helpFileURI + " contains a syntax error.");    } catch (e) {      log("Help file: " + helpFileURI + " was not found.");    }    try {      document.title = getAttribute(helpFileDS, RDF_ROOT, NC_TITLE, "");      helpBaseURI = getAttribute(helpFileDS, RDF_ROOT, NC_BASE, helpBaseURI);      // if there's no nc:defaulttopic in the content pack, set "welcome"      // as the default topic      defaultTopic = getAttribute(helpFileDS,        RDF_ROOT, NC_DEFAULTTOPIC, "welcome");      var panelDefs = helpFileDS.GetTarget(RDF_ROOT, NC_PANELLIST, true);      RDFContainer.Init(helpFileDS, panelDefs);      var iterator = RDFContainer.GetElements();      while (iterator.hasMoreElements()) {        var panelDef = iterator.getNext();        var panelID        = getAttribute(helpFileDS, panelDef, NC_PANELID, null);        var datasources    = getAttribute(helpFileDS, panelDef, NC_DATASOURCES, "");        var panelPlatforms = getAttribute(helpFileDS, panelDef, NC_PLATFORM, platform);        if (panelPlatforms.split(/\s+/).indexOf(platform) == -1)          continue; // ignore datasources for other platforms        // empty datasources are valid on search panel definitions        // convert them to "rdf:null" which can be filtered and ignored        if (!datasources)          datasources = "rdf:null";        datasources = normalizeLinks(helpBaseURI, datasources);        var datasourceArray = datasources.split(/\s+/)                                         .filter(function(x) { return x != "rdf:null"; })                                         .map(RDF.GetDataSourceBlocking);        // Cache Additional Datasources to Augment Search Datasources.        if (panelID == "search") {          emptySearchText = getAttribute(helpFileDS, panelDef, NC_EMPTY_SEARCH_TEXT, emptySearchText);          emptySearchLink = getAttribute(helpFileDS, panelDef, NC_EMPTY_SEARCH_LINK, emptySearchLink);          datasourceArray.forEach(helpSearchPanel.database.AddDataSource,                                  helpSearchPanel.database);          filterDatasourceByPlatform(helpSearchPanel.database);          continue; // to next panel definition        }        // cache toc datasources list for use in getLink()        if (panelID == "toc")          gTocDSList += " " + datasources;        var tree = document.getElementById("help-" + panelID + "-panel");        // add each datasource to the current tree        datasourceArray.forEach(tree.database.AddDataSource,                                tree.database);        // filter and display the current tree        filterDatasourceByPlatform(tree.database);        tree.builder.rebuild();      }    } catch (e) {      log(e + "");    }  }}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/dceab00b9ef5090dc8fa50159c3b467d46886e9d/help.js/clean/toolkit/components/help/content/help.js