rem:  /* To be fixed. We dont want to directly access sytle from here */ document.styleSheets[1].cssRules[0].style.backgroundPosition="1000px 100%"; 
add:   document.getElementById("urlbar").inputField.style.backgroundPosition=gURLBarBoxObject.width+20+"px 100%"; 
context:   onStateChange : function(aWebProgress, aRequest, aStateFlags, aStatus)  {    var refBrowser=null;    var tabItem=null;        if (aStateFlags & nsIWebProgressListener.STATE_IS_NETWORK)    {            if (aStateFlags & nsIWebProgressListener.STATE_START)      {        // disable and hides the nav-menu-button; and enables unhide the stop button        document.getElementById("nav-menu-button").className="stop-button";        document.getElementById("nav-menu-button").setAttribute("command","cmd_BrowserStop");        // Notify anyone interested that we are loading.        try {          var os = Components.classes["@mozilla.org/observer-service;1"]                             .getService(Components.interfaces.nsIObserverService);          var host = aRequest.QueryInterface(Components.interfaces.nsIChannel).URI.host;          os.notifyObservers(null, "loading-domain", host);        }        catch(e) {}        document.getElementById("statusbar").hidden=false;        //        document.getElementById("menu_NavPopup").		if(aRequest && aWebProgress.DOMWindow == content) {          this.startDocumentLoad(aRequest);		}        return;      }            if (aStateFlags & nsIWebProgressListener.STATE_STOP)      {        document.getElementById("statusbar").hidden=true;                /* To be fixed. We dont want to directly access sytle from here */        document.styleSheets[1].cssRules[0].style.backgroundPosition="1000px 100%";                if (aRequest) {            if (aWebProgress.DOMWindow == content) this.endDocumentLoad(aRequest, aStatus);        }        // disable and hides the nav-stop-button; and enables unhides the nav-menu-button button        document.getElementById("nav-menu-button").className="menu-button";        document.getElementById("nav-menu-button").setAttribute("command","cmd_BrowserNavMenu");        return;      }      return;    }        if (aStateFlags & nsIWebProgressListener.STATE_IS_DOCUMENT)    {       if (aStateFlags & nsIWebProgressListener.STATE_START)      {        return;      }            if (aStateFlags & nsIWebProgressListener.STATE_STOP)      {        //         //        try {        //          var imageCache = Components.classes["@mozilla.org/image/cache;1"]        //                                   .getService(nsCI.imgICache);        //          imageCache.clearCache(false);        //        }        //        catch(e) {}                        return;      }      return;    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ce37805370052ef3f60f79cda5e6beffc61664e2/minimo.js/buggy/minimo/chrome/content/minimo.js