rem: if (window == wnd) wnd = window.content; 
add: if (window == wnd) wnd = window._content; 
context: function UpdateBookmarksLastVisitedDate(event){	if ((window.content.location.href) && (window.content.location.href != ""))	{		try		{      var wnd = document.commandDispatcher.focusedWindow;      if (window == wnd) wnd = window.content;      var docCharset = wnd.document.characterSet;			// if the URL is bookmarked, update its "Last Visited" date			var bmks = Components.classes["component://netscape/browser/bookmarks-service"].getService();			if (bmks)	bmks = bmks.QueryInterface(Components.interfaces.nsIBookmarksService);			if (bmks)	bmks.UpdateBookmarkLastVisitedDate(window.content.location.href, docCharset);		}		catch(ex)		{			dump("failed to update bookmark last visited date.\n");		}	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/40f3672db101cce04f656a54daffd267b7fa2e91/navigator.js/clean/xpfe/browser/resources/content/navigator.js