<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>信息搜索</title>
<style type="text/css">
body{  padding:0; margin:0; font-size:12px; color:#000}
.company_s{ width:418px; margin:0 auto; overflow:hidden;}
.company_s .company_img{ background:url(system/templates/xdcms/images/cha_bg.jpg) no-repeat ; height:38px;}
/*.company_s .company_img{ background:url(images/cha_bg.jpg) no-repeat ; height:38px;}*/
.company_s .company_img span{ color:#c00; font-weight:bold; padding-left:65px; line-height:38px;}
.company_s .cpy_s{ overflow:hidden}
</style>
<script language="javascript">
    String.prototype.trim= function(){
    // 用正则表达式将前后空格
    // 用空字符串替代。
    return this.replace(/(^\s*)|(\s*$)/g, "");
}
function doSearch() {

    var keyWords = window.document.getElementById('keyWords').value;
    /* var   reg  = /[^\u4E00-\u9FA5]/g;
    var   reg2=/^[a-z]*$/gi
    var   reg2=/^[0-9]*$/gi*/
    if(keyWords.indexOf("%")>=0||keyWords.indexOf("_")>=0){
       alert("请不要输入特殊字符查询!");
       return   false;
     }
    if(keyWords.trim().length<4){
        alert("关键字太短，请至少输入4个字符。");
        return false;
    }
    document.getElementById('searchForm').submit();

}

function changeInfo(info){
	document.getElementById('info').innerText = info;
}



</script>
</head>

<body>

          <form id="searchForm"   action="https://www.sgs.gov.cn/lz/etpsInfo.do?method=doSearch" method="post"  target="_blank">
            <table width="410" align="center" cellpadding="0" cellspacing="0" class="search">
              <tr>
                <td align="left">
                  <div class="company_s">
                    <div class="company_img"><span>企业注册登记信息公开查询</span></div>
                    <div class="cpy_s">
                      <table width="410" cellpadding="0" cellspacing="0" class="search">
                        <tr>
                          <td width="214" height="25" align="center"><input type="radio" id="searchType" name="searchType" value="1" checked onclick="changeInfo('提示：至少填写企业完整注册名称前4个字符。');"/>
                            企业名称&nbsp;
                            <input type="radio" id="searchType" name="searchType" value="2" onclick="changeInfo('提示：注册号必须填写完整。');"/>
                            注册号&nbsp; </td>
                          <td width="76" align="left">&nbsp;</td>
                        </tr>
                        <tr>
                          <td height="25" align="center"><input type="text" id="keyWords" name="keyWords" class="inputSearch"  style="width:300px; height:22px; line-height:22px" /></td>
                          <td align="left"><input type="button" class="btnSearch" value="搜 索" onclick="doSearch();"  style="cursor:hand;"/></td>
                        </tr>
                        <tr>
                          <td height="25" align="center"><div id="info">提示：至少填写企业完整注册名称前4个关键字。</div></td>
                          <td>&nbsp;</td>
                        </tr>
                      </table>
                      <table width="100%" border="0">
                        <tr>
                          <td style="color:#c00; font-weight:bold; padding-left:65px;">查询输入示例：</td>
                        </tr>
                        <tr>
                          <td><img src="system/templates/xdcms/images/case.gif" /></td>
                        </tr>
                      </table>
                     </div>
                </div></td>
              </tr>
            </table>
</form>


</body>
</html>
