var gDocRoot = "/"; function check_fields_of_basic_search() { if (trim(document.basic_search_form.words.value) == "") { var err_win = window.open("", "Error", "toolbar=no,location=no,directories=no,status=no," + "menubar=no,scrollbars=no,resizable=no,screenX=0," + "screenY=0,width=300,height=50"); err_win.document.writeln(""); err_win.document.writeln(""); alert("") err_win.document.writeln("Error"); err_win.document.writeln(""); err_win.document.writeln(""); err_win.document.writeln(""); err_win.document.writeln("
Please give at least one search word.

"); err_win.document.writeln("
"); err_win.document.writeln(""); err_win.document.writeln(""); err_win.document.close(); return false; } else { return true; } }