rem: } 
context:       switchPage:        function ()          {            var prefPanelTree = document.getElementById( "prefsTree" );            var selectedItem = prefPanelTree.contentView.getItemAtIndex(prefPanelTree.currentIndex);            var oldURL = document.getElementById( this.contentFrame ).getAttribute("tag");            if( !oldURL )              {                oldURL = document.getElementById( this.contentFrame ).getAttribute("src");              }            this.wsm.savePageData( oldURL );      // save data from the current page.             var newURL = selectedItem.firstChild.firstChild.getAttribute("url");            var newTag = selectedItem.firstChild.firstChild.getAttribute("tag");            if( newURL != oldURL )              {                document.getElementById( this.contentFrame ).setAttribute( "src", newURL );                if( !newTag )                  document.getElementById( this.contentFrame ).removeAttribute( "tag" );                else                  document.getElementById( this.contentFrame ).setAttribute( "tag", newTag );              }          },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/12b0dce117b973f932a32f53c4167652ad0051cb/nsPrefWindow.js/buggy/suite/common/pref/nsPrefWindow.js