rem: bundle = srGetStrBundle( "chrome: 
add: doSetOKCancel(open, 0, 0, 0); 
context: function onLoad()   {    bundle = srGetStrBundle( "chrome://navigator/locale/openLocation.properties" );    	dialog                = new Object;  	dialog.input          = document.getElementById( "dialog.input" );  	dialog.help           = document.getElementById( "dialog.help" );    dialog.open           = document.getElementById( "ok" );    dialog.openAppList    = document.getElementById( "openAppList" );    dialog.openTopWindow  = document.getElementById( "currentWindow" );    dialog.openEditWindow = document.getElementById( "editWindow" );      	browser = window.arguments[0];      if ( !browser )       {        // No browser supplied - we are calling from Composer        dialog.openAppList.selectedItem = dialog.openEditWindow;        dialog.openTopWindow.setAttribute("disabled", "true");      }     else      dialog.openAppList.selectedItem = dialog.openTopWindow;      // change OK button text to 'open'    dialog.open.setAttribute("value", bundle.GetStringFromName( "openButtonLabel" ));  	doSetOKCancel(open, 0, 0, 0);      doEnabling();      	/* Give input field the focus. */  	dialog.input.focus();    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9bf4ee2adc664e16c40661b6cdac1a6b7deabc27/openLocation.js/buggy/xpfe/browser/resources/content/openLocation.js