rem: var pageSourceURI = document.getElementById("contentFrame").getAttribute("src"); 
add: var pageSourceURI = contentFrame.location.href; 
context: function doHelpButton() {  // Get the URI of the page loaded in the AccountManager's content frame.  var pageSourceURI = document.getElementById("contentFrame").getAttribute("src");  // Get the help tag corresponding to the page loaded.  var helpTag = pageTagPairs[pageSourceURI];  // If the help tag is generic or offline, check if there is a need to set tags per server type  if ((helpTag == "mail") || (helpTag == "mail-offline-accounts")) {    // Get server type, as we may need to set help tags per server type for some pages    var serverType = GetServerType();      /**     * Check the page to be loaded. Following pages needed to be presented with the      * help content that is based on server type. For any pages with such requirement     * do add comments here about the page and a new case statement for pageSourceURI     * switch.     * - server settings ("chrome://messenger/content/am-server.xul")     * - offline/diskspace settings ("chrome://messenger/content/am-offline.xul")     */     switch (pageSourceURI) {      case "chrome://messenger/content/am-server.xul":        helpTag = "mail_server_" + serverType;        break;      case "chrome://messenger/content/am-offline.xul":        helpTag = "mail_offline_" + serverType;        break;      default :        break;    }  }  if ( helpTag )   	openHelp(helpTag);    else	openHelp('mail'); }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/14f1ad4c7f81cfad5717cce4729eada5467621a4/am-help.js/clean/mailnews/base/prefs/resources/content/am-help.js