// 用户登录
function g(o){
   return document.getElementById(o);
}
function SearchLi(n){
  for(var i=1;i<=4;i++){
        g('ts_'+i).className='jsSear2';
        
      }
      g('ts_'+n).className='jsSear1';
      searchform.type.value=n;
  }
  function sbt(){
	if(searchform.key.value == null || searchform.key.value == ""){
		alert("请输入关键字!");
		searchform.key.focus();
		return;
	}else{
	searchform.submit();
	}
}


document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>');
document.write('                      <td><table width="206" height="24" border="1" cellpadding="0" cellspacing="0" bordercolor="A2A8B6">');
document.write('                          <tr><td><table width="103%" height="24" border="0" cellpadding="0" cellspacing="0"><tr>');
document.write('                                  <td width="70"><img src="/images/index1_02.gif" width="70" height="24"></td>');
document.write('                                  <td width="57" height="24" background="/images/index1_03.gif">&nbsp;</td>');
document.write('                                  <td width="36"><img src="/images/index1_03.gif" width="2" height="24"><img src="/images/index1_05.gif" width="34" height="24"></td>');
document.write('                                  <td width="39" background="/images/index1_07.gif"><span class="colorWhite">帮助？</span></td></tr></table></td>');
document.write('                          </tr></table></td></tr><tr>');
document.write('                      <td><table width="100%" height="21" border="0" cellpadding="0" cellspacing="0" class="linelan">');
document.write('                          <tr><td width="60" height="21" align="center" bgcolor="01123D"><span class="colorWhite">分类查询:</span></td>');
document.write('                            <td width="30" bgcolor="01123D"><div id="ts_1" class="jsSear1" onclick="SearchLi(1);">全部</div></td>');
document.write('                            <td width="5" bgcolor="01123D"><img src="/images/index1_13.gif" width="2" height="13"></td>');
document.write('                            <td width="30" bgcolor="01123D"><div id="ts_2" class="jsSear2" onclick="SearchLi(2);">法规</div></td>');
document.write('                            <td width="5" bgcolor="01123D"><img src="/images/index1_13.gif" width="2" height="13"></td>');
document.write('                            <td width="30" bgcolor="01123D"><div id="ts_3" class="jsSear2" onclick="SearchLi(3);">咨询</div></td>');
document.write('                            <td width="5" bgcolor="01123D"><img src="/images/index1_13.gif" width="2" height="13"></td>');
document.write('                            <td width="30" bgcolor="01123D"><div id="ts_4" class="jsSear2" onclick="SearchLi(4);">月刊</div></td></tr></table></td></tr>');
document.write('                    <tr><td height="109" bgcolor="285781"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">');
document.write('                        <tr><td> ');
document.write('<form name="searchform" action="/search/searchRegion.jsp" method="post"> ');
document.write('<input type="hidden" name="type" value="1"/> ');
document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0"> ');
document.write('  <tr> ');
document.write('    <td width="60" height="40" align="center"><span class="colorWhite">关键字：</span></td> ');
document.write('    <td><input type="text" name="key" style="width:110px; height:20px; border:1px solid #B4B4B4;"/></td> ');
document.write('  </tr> ');
document.write('  <tr> ');
document.write('    <td></td> ');
document.write('    <td><input type="image" src="/images/searchIn.jpg" onclick="javascript:sbt();"/>&nbsp; ');
document.write('<a href="/search/sousuozhuye.jsp" target="_blank"> ');
document.write('<img name="" src="/images/searchIn2.jpg" alt="" style="border:0px;" /></a></td> ');
document.write('  </tr> ');
document.write('</table> ');
document.write('</form> ');
document.write('                             </table></td></tr>');
document.write('                    <tr><td width="206"><img src="/images/index1_16.gif" width="206" height="29"></td>');
document.write('                    </tr></table>');
document.write('</form>');
