//======================================================================= // // Called when focus is placed on the Search box. // //======================================================================= function search_focus() { if( document.forms.search.searchfield.value == "search" ) { document.forms.search.searchfield.value = ""; if( document.getElementById ) { ob = document.getElementById("searchfield"); ob.style.color = "black"; } } } //======================================================================= // // Called to open information popups. Passed only the name of the popup // //======================================================================= // ---- replaces old fuction for ease of integration // --- really only need the file var, can construct or hard-code the others. function MM_openBrWindow( file, width ) { return popinfo( file, "popwin", width ); } function popinfo( file, name, width ) { var thewin; if( width == undefined ) width = 500; var url = '/pop/' + file; // thewin = window.open( url, name, 'status=yes,menubar=yes,scrollbars=yes,width=500' ); thewin = window.open( url, name, 'status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=' + width ); thewin.focus(); return false; }