return value;
}
protected void exploreMainMenu() {
nsIDOMNode node = this.getElementById("mt");
nsIDOMHTMLDivElement div = asDiv(node);
System.out.println("=== Inspecting the div node ===");
inspect(div);
System.out.println("=== Listing the menu ===");
nsIDOMNodeList anchors = div.getElementsByTagName("a");
for (long i = 0, len = anchors.getLength(); i < len; i++) {
nsIDOMHTMLAnchorElement anchor = asAnchor(anchors.item(i));
String text = this.exploreTableCell(anchor);
System.out.println("Menu #" + (i+1) + " is " + text);
}