rem: ContentWindow.location = id; 
add: if(appCore) {  appCore.loadUrl(id); } else {  ContentWindow.location = id; } 
context: function openURL(event, root){  if( event.type == "click" &&       ( event.button != 1 || event.detail != 2 ) )     return false;  else if( event.type == "keypress" && event.which != 13 )    return false;  var treeitem = document.getElementById(root).selectedItems[0];	if (treeitem.getAttribute('container') == 'true' ||      treeitem.getAttribute("type") == "http://home.netscape.com/NC-rdf#BookmarkSeparator")		return(false);	var id = treeitem.getAttribute('id');	if (!id)	return(false);	// rjc: add support for anonymous resources; if the node has	// a "#URL" property, use it, otherwise default to using the id	try	{		var rootNode = document.getElementById(root);		var ds = null;		if (rootNode)		{			ds = rootNode.database;		}		var rdf = Components.classes["component://netscape/rdf/rdf-service"].getService();		if (rdf)   rdf = rdf.QueryInterface(Components.interfaces.nsIRDFService);		if (rdf)		{			if (ds)			{				var src = rdf.GetResource(id, true);				var prop = rdf.GetResource("http://home.netscape.com/NC-rdf#URL", true);				var target = ds.GetTarget(src, prop, true);				if (target)	target = target.QueryInterface(Components.interfaces.nsIRDFLiteral);				if (target)	target = target.Value;				if (target)	id = target;			}		}	}	catch(ex)	{	}	ContentWindow.location = id;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/f7b26a1e4e3b392ec90d0ffe84e69ea74599b9fb/related-panel.js/clean/xpfe/components/related/resources/related-panel.js