rem: this.stopreloadButton.onClick = "BrowserStop()"; 
add: this.stopreloadButton.command = "cmd_BrowserStop"; 
context:   onStateChange : function(aWebProgress, aRequest, aStateFlags, aStatus)  {    var refBrowser=null;    var tabItem=null;        if (aStateFlags & nsIWebProgressListener.STATE_IS_NETWORK)    {      if (aStateFlags & nsIWebProgressListener.STATE_START)      {        this.stopreloadButton.className = "stop-button";        this.stopreloadButton.onClick = "BrowserStop()";                return;      }            if (aStateFlags & nsIWebProgressListener.STATE_STOP)      {              /* Find this Browser and this Tab */                 if (getBrowser().mTabbedMode) {          for (var i = 0; i < getBrowser().mPanelContainer.childNodes.length; i++) {            if(getBrowser().getBrowserAtIndex(i).contentDocument==aWebProgress.DOMWindow.document) {				              refBrowser=getBrowser().getBrowserAtIndex(i);              tabItem=getBrowser().mTabContainer.childNodes[i];			}           }        }                /* Apply RSS fetch if the request type is for rss view.            Gotta fix this to use a better approach.  */                const rsschromemask = "rssblank";        if(aRequest.name.indexOf(rsschromemask)>-1) {          rssfetch(tabItem,refBrowser.contentDocument,refBrowser.contentDocument.body);        }              /* To be fixed. We dont want to directly access sytle from here */        document.styleSheets[1].cssRules[0].style.backgroundPosition="1000px 100%";        this.stopreloadButton.className = "reload-button";        this.stopreloadButton.onClick = "BrowserReload()";                return;      }      return;    }    if (aStateFlags & nsIWebProgressListener.STATE_IS_DOCUMENT)    {       if (aStateFlags & nsIWebProgressListener.STATE_START)      {        return;      }            if (aStateFlags & nsIWebProgressListener.STATE_STOP)      {        return;      }      return;    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/8b6e112ddac59e75c0ba2e972f31aab206baee96/minimo.js/clean/minimo/chrome/content/minimo.js