rem: if (ContentWindow) { refetchRelatedLinks(Handler, ContentWindow.location); 
add: if (oContentWindow && oFrame) { window.setTimeout('window._content.resizeBy(0,1);window._content.resizeBy(0,-1);',0); var oObserverService = Components.classes["component: oObserverService = oObserverService.QueryInterface(Components.interfaces.nsIObserverService);  oNavObserver = new NavObserver(oFrame,oContentWindow); oNavObserver.TrackContext(''+oContentWindow.location);  if (oObserverService && oNavObserver) { oObserverService.AddObserver(oNavObserver, "StartDocumentLoad"); oObserverService.AddObserver(oNavObserver, "EndDocumentLoad"); oObserverService.AddObserver(oNavObserver, "FailDocumentLoad"); debug("added observer\n"); } else { oNavObserver = null; debug("FAILURE to get observer service\n"); } 
context: function Init(){	// Initialize the Related Links panel	// Create a Related Links handler, and install it in the tree	var Tree = document.getElementById("Tree");	Tree.database.AddDataSource(Handler.QueryInterface(Components.interfaces.nsIRDFDataSource));	// Install the observer so we'll be notified when new content is loaded.	var ObserverService = Components.classes["component://netscape/observer-service"].getService();	ObserverService = ObserverService.QueryInterface(Components.interfaces.nsIObserverService);	if (ObserverService)	{		ObserverService.AddObserver(Observer, "StartDocumentLoad");		ObserverService.AddObserver(Observer, "EndDocumentLoad");		ObserverService.AddObserver(Observer, "FailDocumentLoad");		debug("added observer\n");	}	else	{		debug("FAILURE to get observer service\n");	}	if (ContentWindow) {		refetchRelatedLinks(Handler, ContentWindow.location);	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7f551486bb37dd767e156b04be91701427442aef/related-panel.js/buggy/suite/common/related/related-panel.js