-<form method="get" action="http://search.postgresql.org/archives.search">
+<SCRIPT language="JavaScript">
+function formSubmit() {
+ if (document.pressed == 'Search!') {
+ document.searchform.action =
+ "http://search.postgresql.org/archives.search";
+ } else if (document.pressed == 'Message-Id') {
+ document.searchform.action =
+ "http://archives/message-by-id.php";
+ }
+ return true;
+}
+</SCRIPT>
+
+<form name="searchform" method="get" onSubmit="return formSubmit();">
<div class="tblBasic">
<table border="0" cellpadding="0" cellspacing="0" class="tblBasicGrey" width="590">
<tr>
<td class="colFirstRT">Search archives</td>
- <td class="colLast"><input type="text" name="q" size="30" value=""/> <input type="submit" value="Search!"/></td>
+ <td class="colLast"><input type="text" name="q" size="30" value=""/> <input type="submit" value="Search!" onClick="document.pressed=this.value" /> <input type="submit" value="Message-Id" onClick="document.pressed=this.value" /></td>
</tr>
<tr>