Index: src/web/jsp/search.jsp
===================================================================
--- src/web/jsp/search.jsp	(revision 215940)
+++ src/web/jsp/search.jsp	(working copy)
@@ -117,6 +117,11 @@
 <html lang="<%= language %>">
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <head>
+<script type="text/javascript">
+<!--
+function queryfocus(){document.search.query.focus();}
+// -->
+</script>
 <title>Nutch: <i18n:message key="title"/></title>
 <link rel="icon" href="img/favicon.ico" type="image/x-icon"/>
 <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon"/>
@@ -125,7 +130,7 @@
 <base href="<%= base  + "/" + language %>/">
 </head>
 
-<body>
+<body onLoad="queryfocus();">
 
 <jsp:include page="<%= language + "/include/header.html"%>"/>
 
Index: docs/en/search.html
===================================================================
--- docs/en/search.html	(revision 215940)
+++ docs/en/search.html	(working copy)
@@ -1,6 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><!--This page is automatically generated.  Do not edit!-->
 <head>
+<script type="text/javascript">
+<!--
+function queryfocus(){document.search.query.focus();}
+// -->
+</script>
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title>Nutch: </title>
 <style type="text/css">
@@ -20,7 +25,7 @@
 <link type="image/x-icon" href="../img/favicon.ico" rel="icon">
 <link type="image/x-icon" href="../img/favicon.ico" rel="shortcut icon">
 </head>
-<body>
+<body onLoad="queryfocus();">
 <!--This file is automatically generated.  Do not edit!-->
 <table cellspacing="0" cellpadding="0" border="0" width="635">
 <tr>
Index: docs/fr/search.html
===================================================================
--- docs/fr/search.html	(revision 215940)
+++ docs/fr/search.html	(working copy)
@@ -1,6 +1,11 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><!--This page is automatically generated.  Do not edit!-->
 <head>
+<script type="text/javascript">
+<!--
+function queryfocus(){document.search.query.focus();}
+// -->
+</script>
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title>Nutch: </title>
 <style type="text/css">
@@ -20,7 +25,7 @@
 <link type="image/x-icon" href="../img/favicon.ico" rel="icon">
 <link type="image/x-icon" href="../img/favicon.ico" rel="shortcut icon">
 </head>
-<body>
+<body onLoad="queryfocus();">
 <!--This file is automatically generated.  Do not edit!-->
 <table cellspacing="0" cellpadding="0" border="0" width="635">
 <tr>
