rem:  dialog.findKey.focus(); 
context:         function loadDialog()        {            // Set initial dialog field contents.            dialog.findKey.setAttribute( "value", data.searchString );            if ( data.caseSensitive ) {                dialog.caseSensitive.setAttribute( "checked", "" );            } else {                dialog.caseSensitive.removeAttribute( "checked" );            }            if ( data.wrapSearch ) {                dialog.wrap.setAttribute( "checked", "" );            } else {                dialog.wrap.removeAttribute( "checked" );            }            if ( data.wearchBackwards ) {                dialog.searchBackwards.setAttribute( "checked", "" );            } else {                dialog.searchBackwards.removeAttribute( "checked" );            }                        // disable the OK button if no text            if (dialog.findKey.getAttribute("value") == "") {	            dialog.find.setAttribute("disabled", "true");	       	}	       		       	dialog.findKey.focus();        }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/937f396d6c5dbfc41adae6d902052423251682f9/finddialog.js/buggy/xpfe/components/find/resources/finddialog.js