rem: desiredWindow.focus(); 
add: toOpenWindow(desiredWindow); 
context: function ShowWindowFromResource( node ){	var windowManagerDS = Components.classes['@mozilla.org/rdf/datasource;1?name=window-mediator'].getService(nsIWindowDataSource);        var desiredWindow = null;    var url = node.getAttribute('id');	desiredWindow = windowManagerDS.getWindowForResource( url );	if ( desiredWindow )	{		desiredWindow.focus();	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1a71df196271f262cac6847df8022e131472622c/tasksOverlay.js/buggy/xpfe/communicator/resources/content/tasksOverlay.js