rem:  var stopMenu   = document.getElementById( "menuitem-stop" ); if ( stopMenu ) { if ( stopDisabled == "true") stopMenu.setAttribute( "disabled", "true" ); else stopMenu.setAttribute( "disabled", "" ); } } 
context: function BrowserCanStop() {  var stop = document.getElementById("canStop");  if ( stop ) {    var stopDisabled = stop.getAttribute("disabled");    var stopButton   = document.getElementById( "stop-button" );    if ( stopButton ) {      if ( stopDisabled == "true")        stopButton.setAttribute( "disabled", "true" );      else        stopButton.setAttribute( "disabled", "" );    }  }  //Enable/disable the stop menu item  var stopMenu   = document.getElementById( "menuitem-stop" );  if ( stopMenu ) {    if ( stopDisabled == "true")      stopMenu.setAttribute( "disabled", "true" );    else      stopMenu.setAttribute( "disabled", "" );  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1e1ba37fe43340db5f075581a53c8d4d6987ce7f/navigator.js/clean/suite/browser/navigator.js