将此表单代码放在您的首页里:
<form action="indexResult.jsp" method="post" name="jsrform" target="_blank">
<input name="Searchtype" value="1" type="hidden"/>
<input id="CPHM_HEAD" name="CPHM_HEAD" value="" type="hidden" />
<table width="205" border="0">
<tr>
<td width="104" height="23" align="center"><input name="Text_CPHM" type="text" size="20" maxlength="18" value="驾驶证" style="width:140px; height:18px; border:1px solid #AAAEB0" onblur="if (value ==''){value='驾驶证'}" onfocus="if (value =='驾驶证'){value =''}"/></td>
<td width="91" rowspan="2"><input type="button" name="search" value="" style="height:51px; width:47px;background-image:url(images/chaxun.gif);border:0px;" onClick="OnCheck()"/></td>
</tr>
<tr>
<td height="31" align="center"><input name="Text_JSZH" type="text" size="20" maxlength="18" value="档案编号" style="width:140px; height:18px; border:1px solid #AAAEB0" onblur="if (value ==''){value='档案编号'}" onfocus="if (value =='档案编号'){value =''}"/></td>
</tr>
<tr>
<td height="33" colspan="2"><b>以上两项必须全部输入才能查询!</b></td>
</tr>
</table>
</form>
和
<form action="indexResult.jsp" method="post" name="jdcform" target="_blank">
<input name="Searchtype" value="0" type="hidden"/>
<table width="205" border="0">
<tr>
<td width="104" height="23" align="center">
<select name="HPZL" style="width:140px; height:18px;border:1px solid #AAAEB0"/>
<option value="01">大型车</option>
<option value="02" selected="selected">小型车</option>
</select></td>
<td width="91" rowspan="2"><input type="button" name="jdcSearch" value="" style="height:51px; width:47px;background-image:url(images/chaxun.gif);border:0px;" onclick="OnCheckJdc()"/></td>
</tr>
<tr>
<td height="31" align="center">
<select name="CPHM_HEAD" style="width:39px; height:18px;border:1px solid #AAAEB0"/>
<option value="藏">藏</option>
<option value="川">川</option>
<option value="鄂">鄂</option>
<option value="甘">甘</option>
<option value="赣">赣</option>
<option value="桂">桂</option>
<option value="贵">贵</option>
<option value="黑">黑</option>
<option value="沪">沪</option>
<option value="吉">吉</option>
<option value="冀">冀</option>
<option value="津">津</option>
<option value="京">京</option>
<option value="辽">辽</option>
<option value="鲁">鲁</option>
<option value="晋" selected="selected">晋</option>
<option value="蒙">蒙</option>
<option value="闽">闽</option>
<option value="青">青</option>
<option value="琼">琼</option>
<option value="陕">陕</option>
<option value="苏">苏</option>
<option value="皖">皖</option>
<option value="湘">湘</option>
<option value="新">新</option>
<option value="渝">渝</option>
<option value="豫">豫</option>
<option value="粤">粤</option>
<option value="云">云</option>
<option value="浙">浙</option>
</select>
<input name="Text_CPHM" type="text" maxlength="8" value="车牌号码" style="width:90px; height:18px;" onblur="if (value ==''){value='车牌号码'}" onfocus="if (value =='车牌号码'){value =''}"/>
</td>
</tr>
<tr>
<td height="31" align="center"><input name="Text_JSZH" type="text" size="20" maxlength="18" value="车架号后六位" style="width:140px; height:18px; border:1px solid #AAAEB0" onblur="if (value ==''){value='车架号后六位'}" onfocus="if (value =='车架号后六位'){value =''}"/></td>
</tr>
</table>
</form>