rem: document.documentElement.currentPage = document.getElementById("versioninfo"); 
add: var ioService = Components.classes["@mozilla.org/network/io-service;1"] .getService(Components.interfaces.nsIIOService); if (ioService.offline) document.documentElement.currentPage = document.getElementById("offline"); else document.documentElement.currentPage = document.getElementById("versioninfo"); 
context:   init: function ()  {    var em = Components.classes["@mozilla.org/extensions/manager;1"]                        .getService(Components.interfaces.nsIExtensionManager);    // Retrieve all items in order to sync their app compatibility information    this.items = em.getItemList(nsIUpdateItem.TYPE_ADDON, { });    var pref =         Components.classes["@mozilla.org/preferences-service;1"].        getService(Components.interfaces.nsIPrefBranch);    this.shouldSuggestAutoChecking =       gShowMismatch &&       !pref.getBoolPref(PREF_UPDATE_EXTENSIONS_AUTOUPDATEENABLED);    try {      this.xpinstallEnabled = pref.getBoolPref(PREF_XPINSTALL_ENABLED);      this.xpinstallLocked = pref.prefIsLocked(PREF_XPINSTALL_ENABLED);    }    catch (e) {    }    document.documentElement.currentPage =       document.getElementById("versioninfo");  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2c8f4174ddad4389a9851519c2dd7ee70ce47597/update.js/clean/toolkit/mozapps/extensions/content/update.js