rem:    var prettyPrintBox = document.getElementById("prettyPrintTree"); var tree = document.createElement("tree"); prettyPrintBox.appendChild(tree); var treeChildren = addChildrenToTree(tree,"Top Level"); var childOfFirstChild = addChildrenToTree(treeChildren, "Second Level:1"); var levelone2 = addChildrenToTree(treeChildren,"Second Level:2"); var levelthree1 = addChildrenToTree(childOfFirstChild,"Third Level:1"); 
add: var certDumpOutliner = Components.classes[nsASN1Outliner]. createInstance(nsIASN1Outliner); certDumpOutliner.loadASN1Structure(cert.ASN1Structure); document.getElementById('prettyDumpOutliner'). outlinerBoxObject.view =  certDumpOutliner; 
context: function BuildPrettyPrint(cert){  // For now, I'm just gonna build some dummy stuff  // just to get the helper functions I need up and  // running.  var prettyPrintBox = document.getElementById("prettyPrintTree");  var tree = document.createElement("tree");  prettyPrintBox.appendChild(tree);  var treeChildren = addChildrenToTree(tree,"Top Level");   var childOfFirstChild = addChildrenToTree(treeChildren, "Second Level:1");  var levelone2 = addChildrenToTree(treeChildren,"Second Level:2");  var levelthree1 = addChildrenToTree(childOfFirstChild,"Third Level:1");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d41928522e534dd9a0996236faf1a714b84070a7/viewCertDetails.js/clean/security/manager/pki/resources/content/viewCertDetails.js