//页面顶部显示
function showhead(pathlevel)
{
var pathdot="";
if (pathlevel=="2") pathdot="../"
if (pathlevel=="3") pathdot="../../"
if (pathlevel=="4") pathdot="../../../"
document.write("<table width=777 border=0 cellpadding=0 cellspacing=0>");
document.write("  <tr> ");
document.write("    <td width=227 rowspan=2><img src="+pathdot+"images/index_logo.jpg width=227 height=80></td>");
if(location.hostname=="192.168.0.17"){
	document.write("    <td width=550 height=23 background="+pathdot+"images/index_muu_bj01.jpg><div align=right><a target=_self href="+pathdot+"hongdzs/index.jsp>登录/我的红盾助手</a>&nbsp;&nbsp;<a target=_self href="+pathdot+"zhuchdwy/index.jsp>注册</a>&nbsp;&nbsp;<a href=http://mail.snaic.gov.cn>电子邮箱</a>&nbsp;&nbsp;<a href=javascript:window.external.addFavorite('http://www.snhd.com.cn','陕西工商红盾信息网');>加入收藏</a>&nbsp;&nbsp;</div></td>");
}else{
	document.write("    <td width=550 height=23 background="+pathdot+"images/index_muu_bj01.jpg><div align=right><a target=_self href="+pathdot+"hongdzs/index.jsp>登录/我的红盾助手</a>&nbsp;&nbsp;<a target=_self href="+pathdot+"zhuchdwy/index.jsp>注册</a>&nbsp;&nbsp;<a href=http://mail.snhd.com.cn>电子邮箱</a>&nbsp;&nbsp;<a href=javascript:window.external.addFavorite('http://www.snhd.com.cn','陕西工商红盾信息网');>加入收藏</a>&nbsp;&nbsp;</div></td>");
}
document.write("  </tr>");
document.write("  <tr> ");
document.write("    <td height=57 valign=top>");
document.write("	<table width=100% border=0 cellspacing=0 cellpadding=0 align=center>");
document.write("        <tr> ");
document.write("    <td width=550 align=center>");
document.write("<DIV id=1 style=DISPLAY:>");
document.write("              <TABLE width=100% border=0 cellPadding=0 cellSpacing=0>");
document.write("                <TBODY>");
document.write("                  <TR> ");
document.write("                    <TD width=53><a target=_self href="+pathdot+"index.jsp><img src="+pathdot+"images/muu_b_1.gif border=0 onmouseover=javascript:change('1')></a></TD>");
document.write("                    <TD width=79><a target=_self href="+pathdot+"zhengwgk/index.jsp><img src="+pathdot+"images/muu_a_2.gif border=0 onmouseover=javascript:change('2') ></a></TD>");
document.write("                    <TD width=77><a target=_self href="+pathdot+"wangsgsyw/index.jsp><img src="+pathdot+"images/muu_a_3.gif border=0 onmouseover=javascript:change('3')></a></TD>");
document.write("                    <TD width=78><a target=_self href="+pathdot+"falyd/index.jsp><img src="+pathdot+"images/muu_a_4.gif border=0 onmouseover=javascript:change('4')></a></TD>");
document.write("                    <TD width=103><a target=_self href="+pathdot+"qiyxyxx/index.jsp><img src="+pathdot+"images/muu_a_5.gif border=0 onmouseover=javascript:change('5')></a></TD>");
document.write("                    <TD width=75><a target=_self href="+pathdot+"qiyswmb/index.jsp><img src="+pathdot+"images/muu_a_6.gif border=0 onmouseover=javascript:change('6')></a></TD>");
document.write("                    <TD width=85><a target=_self href="+pathdot+"hongdwh/index.jsp><img src="+pathdot+"images/muu_a_7.gif border=0 onmouseover=javascript:change('7')></a></TD>");
document.write("                  </TR>");
document.write("                </TBODY>");
document.write("              </TABLE>");
document.write("               <table width=100% border=0 cellpadding=0 cellspacing=0>");
document.write("                  <tr>");
document.write("		<td height=25 background="+pathdot+"images/index_muu_bj02.jpg><table width=95% border=0 align=center cellpadding=0 cellspacing=0>");
document.write("                      <tr> ");
document.write("                        <td>欢迎访问陕西工商红盾信息网！</td>");
document.write("                      </tr>");
document.write("                    </table></td>");
document.write("		</tr>");
document.write("               </table>");
document.write(" </div>");
document.write("<DIV id=2 style=DISPLAY:none>");
document.write("              <TABLE width=100% border=0 cellPadding=0 cellSpacing=0>");
document.write("                <TBODY>");
document.write("                  <TR> ");
document.write("                    <TD width=53><a target=_self href="+pathdot+"index.jsp><img src="+pathdot+"images/muu_a_1.gif border=0 onmouseover=javascript:change('1')></a></TD>");
document.write("                    <TD width=79><a target=_self href="+pathdot+"zhengwgk/index.jsp><img src="+pathdot+"images/muu_b_2.gif border=0 onmouseover=javascript:change('2') ></a></TD>");
document.write("                    <TD width=77><a target=_self href="+pathdot+"wangsgsyw/index.jsp><img src="+pathdot+"images/muu_a_3.gif border=0 onmouseover=javascript:change('3')></a></TD>");
document.write("                    <TD width=78><a target=_self href="+pathdot+"falyd/index.jsp><img src="+pathdot+"images/muu_a_4.gif border=0 onmouseover=javascript:change('4')></a></TD>");
document.write("                    <TD width=103><a target=_self href="+pathdot+"qiyxyxx/index.jsp><img src="+pathdot+"images/muu_a_5.gif border=0 onmouseover=javascript:change('5')></a></TD>");
document.write("                    <TD width=75><a target=_self href="+pathdot+"qiyswmb/index.jsp><img src="+pathdot+"images/muu_a_6.gif border=0 onmouseover=javascript:change('6')></a></TD>");
document.write("                    <TD width=85><a target=_self href="+pathdot+"hongdwh/index.jsp><img src="+pathdot+"images/muu_a_7.gif border=0 onmouseover=javascript:change('7')></a></TD>");
document.write("                  </TR>");
document.write("                </TBODY>");
document.write("              </TABLE>");
document.write("               <table width=100% border=0 cellpadding=0 cellspacing=0>");
document.write("               <tr>");
document.write("		<td height=25 background="+pathdot+"images/index_muu_bj02.jpg><table width=95% border=0 align=center cellpadding=0 cellspacing=0>");
document.write("                      <tr> ");
document.write("                        <td>欢迎访问陕西工商红盾信息网！</td>");
//document.write("						<td width=* align=left><a target=_blank href="+pathdot+"sq/index.jsp><font color=#ff0000><B>政府信息公开</B></font></a></td>");
document.write("                      </tr>");
document.write("                    </table></td>");
document.write("		  </tr>");
document.write("               </table>");
document.write(" </div>");
document.write("<DIV id=3 style=DISPLAY:none>");
document.write("              <TABLE width=100% border=0 cellPadding=0 cellSpacing=0>");
document.write("                <TBODY>");
document.write("                  <TR> ");
document.write("                    <TD width=53><a target=_self href="+pathdot+"index.jsp><img src="+pathdot+"images/muu_a_1.gif border=0 onmouseover=javascript:change('1')></a></TD>");
document.write("                    <TD width=79><a target=_self href="+pathdot+"zhengwgk/index.jsp><img src="+pathdot+"images/muu_a_2.gif border=0 onmouseover=javascript:change('2') ></a></TD>");
document.write("                    <TD width=77><a target=_self href="+pathdot+"wangsgsyw/index.jsp><img src="+pathdot+"images/muu_b_3.gif border=0 onmouseover=javascript:change('3')></a></TD>");
document.write("                    <TD width=78><a target=_self href="+pathdot+"falyd/index.jsp><img src="+pathdot+"images/muu_a_4.gif border=0 onmouseover=javascript:change('4')></a></TD>");
document.write("                    <TD width=103><a target=_self href="+pathdot+"qiyxyxx/index.jsp><img src="+pathdot+"images/muu_a_5.gif border=0 onmouseover=javascript:change('5')></a></TD>");
document.write("                    <TD width=75><a target=_self href="+pathdot+"qiyswmb/index.jsp><img src="+pathdot+"images/muu_a_6.gif border=0 onmouseover=javascript:change('6')></a></TD>");
document.write("                    <TD width=85><a target=_self href="+pathdot+"hongdwh/index.jsp><img src="+pathdot+"images/muu_a_7.gif border=0 onmouseover=javascript:change('7')></a></TD>");
document.write("                  </TR>");
document.write("                </TBODY>");
document.write("              </TABLE>");
document.write("               <table width=100% border=0 cellpadding=0 cellspacing=0>");
document.write("                  <tr>");
document.write("		<td height=25 background="+pathdot+"images/index_muu_bj02.jpg><table width=95% border=0 align=center cellpadding=0 cellspacing=0>");
document.write("                      <tr> ");
document.write("                        <td>欢迎访问陕西工商红盾信息网！</td>");
document.write("                      </tr>");
document.write("                    </table></td>");
document.write("		</tr>");
document.write("               </table>");
document.write(" </div>");
document.write("<DIV id=4 style=DISPLAY:none>");
document.write("              <TABLE width=100% border=0 cellPadding=0 cellSpacing=0>");
document.write("                <TBODY>");
document.write("                  <TR> ");
document.write("                    <TD width=53><a target=_self href="+pathdot+"index.jsp><img src="+pathdot+"images/muu_a_1.gif border=0 onmouseover=javascript:change('1')></a></TD>");
document.write("                    <TD width=79><a target=_self href="+pathdot+"zhengwgk/index.jsp><img src="+pathdot+"images/muu_a_2.gif border=0 onmouseover=javascript:change('2') ></a></TD>");
document.write("                    <TD width=77><a target=_self href="+pathdot+"wangsgsyw/index.jsp><img src="+pathdot+"images/muu_a_3.gif border=0 onmouseover=javascript:change('3')></a></TD>");
document.write("                    <TD width=78><a target=_self href="+pathdot+"falyd/index.jsp><img src="+pathdot+"images/muu_b_4.gif border=0 onmouseover=javascript:change('4')></a></TD>");
document.write("                    <TD width=103><a target=_self href="+pathdot+"qiyxyxx/index.jsp><img src="+pathdot+"images/muu_a_5.gif border=0 onmouseover=javascript:change('5')></a></TD>");
document.write("                    <TD width=75><a target=_self href="+pathdot+"qiyswmb/index.jsp><img src="+pathdot+"images/muu_a_6.gif border=0 onmouseover=javascript:change('6')></a></TD>");
document.write("                    <TD width=85><a target=_self href="+pathdot+"hongdwh/index.jsp><img src="+pathdot+"images/muu_a_7.gif border=0 onmouseover=javascript:change('7')></a></TD>");
document.write("                  </TR>");
document.write("                </TBODY>");
document.write("              </TABLE>");
document.write("               <table width=100% border=0 cellpadding=0 cellspacing=0>");
document.write("                  <tr>");
document.write("		<td height=25 background="+pathdot+"images/index_muu_bj02.jpg><table width=95% border=0 align=center cellpadding=0 cellspacing=0>");
document.write("                      <tr> ");
document.write("                        <td>欢迎访问陕西工商红盾信息网！</td>");
document.write("                      </tr>");
document.write("                    </table></td>");
document.write("		</tr>");
document.write("               </table>");
document.write(" </div>");
document.write("<DIV id=5 style=DISPLAY:none>");
document.write("              <TABLE width=100% border=0 cellPadding=0 cellSpacing=0>");
document.write("                <TBODY>");
document.write("                  <TR> ");
document.write("                    <TD width=53><a target=_self href="+pathdot+"index.jsp><img src="+pathdot+"images/muu_a_1.gif border=0 onmouseover=javascript:change('1')></a></TD>");
document.write("                    <TD width=79><a target=_self href="+pathdot+"zhengwgk/index.jsp><img src="+pathdot+"images/muu_a_2.gif border=0 onmouseover=javascript:change('2') ></a></TD>");
document.write("                    <TD width=77><a target=_self href="+pathdot+"wangsgsyw/index.jsp><img src="+pathdot+"images/muu_a_3.gif border=0 onmouseover=javascript:change('3')></a></TD>");
document.write("                    <TD width=78><a target=_self href="+pathdot+"falyd/index.jsp><img src="+pathdot+"images/muu_a_4.gif border=0 onmouseover=javascript:change('4')></a></TD>");
document.write("                    <TD width=103><a target=_self href="+pathdot+"qiyxyxx/index.jsp><img src="+pathdot+"images/muu_b_5.gif border=0 onmouseover=javascript:change('5')></a></TD>");
document.write("                    <TD width=75><a target=_self href="+pathdot+"qiyswmb/index.jsp><img src="+pathdot+"images/muu_a_6.gif border=0 onmouseover=javascript:change('6')></a></TD>");
document.write("                    <TD width=85><a target=_self href="+pathdot+"hongdwh/index.jsp><img src="+pathdot+"images/muu_a_7.gif border=0 onmouseover=javascript:change('7')></a></TD>");
document.write("                  </TR>");
document.write("                </TBODY>");
document.write("              </TABLE>");
document.write("               <table width=100% border=0 cellpadding=0 cellspacing=0>");
document.write("                  <tr>");
document.write("		<td height=25 background="+pathdot+"images/index_muu_bj02.jpg><table width=95% border=0 align=center cellpadding=0 cellspacing=0>");
document.write("                      <tr> ");
document.write("                        <td>欢迎访问陕西工商红盾信息网！</td>");
document.write("                      </tr>");
document.write("                    </table></td>");
document.write("		</tr>");
document.write("               </table>");
document.write(" </div>");
document.write(" <DIV id=6 style=DISPLAY:none>");
document.write("        <TABLE width=100% border=0 cellPadding=0 cellSpacing=0>");
document.write("                <TBODY>");
document.write("                  <TR> ");
document.write("                    <TD width=53><a target=_self href="+pathdot+"index.jsp><img src="+pathdot+"images/muu_a_1.gif border=0 onmouseover=javascript:change('1')></a></TD>");
document.write("                    <TD width=79><a target=_self href="+pathdot+"zhengwgk/index.jsp><img src="+pathdot+"images/muu_a_2.gif border=0 onmouseover=javascript:change('2') ></a></TD>");
document.write("                    <TD width=77><a target=_self href="+pathdot+"wangsgsyw/index.jsp><img src="+pathdot+"images/muu_a_3.gif border=0 onmouseover=javascript:change('3')></a></TD>");
document.write("                    <TD width=78><a target=_self href="+pathdot+"falyd/index.jsp><img src="+pathdot+"images/muu_a_4.gif border=0 onmouseover=javascript:change('4')></a></TD>");
document.write("                    <TD width=103><a target=_self href="+pathdot+"qiyxyxx/index.jsp><img src="+pathdot+"images/muu_a_5.gif border=0 onmouseover=javascript:change('5')></a></TD>");
document.write("                    <TD width=75><a target=_self href="+pathdot+"qiyswmb/index.jsp><img src="+pathdot+"images/muu_b_6.gif border=0 onmouseover=javascript:change('6')></a></TD>");
document.write("                    <TD width=85><a target=_self href="+pathdot+"hongdwh/index.jsp><img src="+pathdot+"images/muu_a_7.gif border=0 onmouseover=javascript:change('7')></a></TD>");
document.write("                  </TR>");
document.write("                </TBODY>");
document.write("              </TABLE>");
document.write("               <table width=100% border=0 cellpadding=0 cellspacing=0>");
document.write("               <tr>");
document.write("		<td height=25 background="+pathdot+"images/index_muu_bj02.jpg><table width=95% border=0 align=center cellpadding=0 cellspacing=0>");
document.write("                      <tr> ");
document.write("                        <td width=290></td>");
document.write("						<td width=70 align=center><a target=_blank href="+pathdot+"chaozfw/index.htm><font color=#ff0000><B>超值服务</B></font></a></td>");
document.write("                        <td width=10 align=center><img src="+pathdot+"wangyjy/images/wyyz-01-24.gif></td>");
document.write("                        <td width=100 align=center><a target=_self href="+pathdot+"qiyswmb/index.jsp>企业商务脉搏</a></td>");
document.write("                        <td width=10 align=center><img src="+pathdot+"wangyjy/images/wyyz-01-24.gif></td>");
document.write("                        <td width=70 align=center><a target=_self href="+pathdot+"wangyjy/index.jsp>网员家园</a></td>");
document.write("                        <td width=10 align=center><img src="+pathdot+"wangyjy/images/wyyz-01-24.gif></td>");
document.write("                        <td width=70 align=center><a target=_self href="+pathdot+"qiycz/index.jsp>企业成长</a></td>");
document.write("                      </tr>");
document.write("                    </table></td>");
document.write("		  </tr>");
document.write("               </table>");
document.write("</div>");
document.write("<DIV id=7 style=DISPLAY:none>");
document.write("              <TABLE width=100% border=0 cellPadding=0 cellSpacing=0>");
document.write("                <TBODY>");
document.write("                  <TR> ");
document.write("                    <TD width=53><a target=_self href="+pathdot+"index.jsp><img src="+pathdot+"images/muu_a_1.gif border=0 onmouseover=javascript:change('1')></a></TD>");
document.write("                    <TD width=79><a target=_self href="+pathdot+"zhengwgk/index.jsp><img src="+pathdot+"images/muu_a_2.gif border=0 onmouseover=javascript:change('2') ></a></TD>");
document.write("                    <TD width=77><a target=_self href="+pathdot+"wangsgsyw/index.jsp><img src="+pathdot+"images/muu_a_3.gif border=0 onmouseover=javascript:change('3')></a></TD>");
document.write("                    <TD width=78><a target=_self href="+pathdot+"falyd/index.jsp><img src="+pathdot+"images/muu_a_4.gif border=0 onmouseover=javascript:change('4')></a></TD>");
document.write("                    <TD width=103><a target=_self href="+pathdot+"qiyxyxx/index.jsp><img src="+pathdot+"images/muu_a_5.gif border=0 onmouseover=javascript:change('5')></a></TD>");
document.write("                    <TD width=75><a target=_self href="+pathdot+"qiyswmb/index.jsp><img src="+pathdot+"images/muu_a_6.gif border=0 onmouseover=javascript:change('6')></a></TD>");
document.write("                    <TD width=85><a target=_self href="+pathdot+"hongdwh/index.jsp><img src="+pathdot+"images/muu_b_7.gif border=0 onmouseover=javascript:change('7')></a></TD>");
document.write("                  </TR>");
document.write("                </TBODY>");
document.write("              </TABLE>");
document.write("               <table width=100% border=0 cellpadding=0 cellspacing=0>");
document.write("                  <tr>");
document.write("		<td height=25 background="+pathdot+"images/index_muu_bj02.jpg><table width=95% border=0 align=center cellpadding=0 cellspacing=0>");
document.write("                      <tr> ");
document.write("                        <td>欢迎访问陕西工商红盾信息网！</td>");
document.write("                      </tr>");
document.write("                    </table></td>");
document.write("		</tr>");
document.write("               </table>");
document.write(" </div>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</td>");
document.write("  </tr>");
document.write("</table>");

}
//页面底部显示
function showfoot(pathlevel)
{
var pathdot="";
if (pathlevel=="2") pathdot="../"
if (pathlevel=="3") pathdot="../../"
if (pathlevel=="4") pathdot="../../../"
document.write("<table width=777 border=0 cellpadding=0 cellspacing=0>");
document.write("  <tr>");
document.write("    <td height=95 background="+pathdot+"images/index_down_bj.gif>");
document.write("    <table width=100% border=0 cellspacing=0>");
document.write("        <tr>");
//document.write("          <td><div align=center><a href=javascript:Goopen('"+pathdot+"fudaohang/khfw.htm')><font color=#FF0000>客户服务</font></a>&nbsp;<img src="+pathdot+"images/index_bottom_dian01.jpg>&nbsp;<a  target=_blank href="+pathdot+"guangggl/index.jsp><font color=#FF0000>广告服务</font></a>&nbsp;<img src="+pathdot+"images/index_bottom_dian01.jpg>&nbsp;<a href=javascript:Goopen('"+pathdot+"fudaohang/gywm.htm')><font color=#FF0000>关于我们</font></a>&nbsp;<img src="+pathdot+"images/index_bottom_dian01.jpg>&nbsp;<a href=javascript:Goopen('"+pathdot+"fudaohang/lxwm.htm')><font color=#FF0000>联系我们</font></a>&nbsp;<img src="+pathdot+"images/index_bottom_dian01.jpg >&nbsp;<a href=javascript:Goopen('"+pathdot+"fudaohang/hdsl.htm')><font color=#FF0000>红盾实力</font></a>&nbsp;<img src="+pathdot+"images/index_bottom_dian01.jpg>&nbsp;<a href=javascript:Goopen('"+pathdot+"fudaohang/wzhz.htm')><font color=#FF0000>网站合作</font></a></div></td>");
document.write("          <td><div align=center><a href=javascript:Goopen('"+pathdot+"fudaohang/khfw.htm')><font color=#FF0000>客户服务</font></a>&nbsp;&nbsp;&nbsp;<img src="+pathdot+"images/index_bottom_dian01.jpg>&nbsp;&nbsp;&nbsp;<a href=javascript:Goopen('"+pathdot+"fudaohang/gywm.htm')><font color=#FF0000>关于我们</font></a>&nbsp;&nbsp;&nbsp;<img src="+pathdot+"images/index_bottom_dian01.jpg>&nbsp;&nbsp;&nbsp;<a href=javascript:Goopen('"+pathdot+"fudaohang/lxwm.htm')><font color=#FF0000>联系我们</font></a>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td><div align=center>陕西省工商行政管理局&nbsp;&nbsp;版权所有&nbsp;&nbsp;陕B2-20040082&nbsp;&nbsp;陕西红盾在线科技有限公司&nbsp;&nbsp;运营维护</div></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td><div align=center>Copyright@2004&nbsp;WWW.SNHD.COM.CN&nbsp;All&nbsp;Rights&nbsp;Reserved&nbsp;&nbsp;<a href=http://www.miibeian.gov.cn target=_blank><font color=#000000>陕ICP备06007322号</font></a></div></td>");
document.write("        </tr>");
document.write("      </table>");
document.write("	  </td>");
document.write("  </tr>");
document.write("</table>");
}
//-----------------以下为客户端脚本验证函数------
function Weboochknull(o,c)
{
//判断输入项是否为空
	var s=o.value;
	if(s.length==0) {alert(""+c+"输入项不能为空！");o.focus();o.scrollIntoView();return(false);}
	return(true);
}

function Weboochkleng(o,c,l)
{
//判断输入项不能大l于字节
        
	var s=o.value;
	
	var len=strlength(s);
	if(len>l) {alert(""+c+"输入项长度不能大于"+l+"字节！");o.focus();o.scrollIntoView();return(false);}
	return(true);
}

function Weboochklen(o,c,l)
{
//判断输入项必须等于某个l字节
	var s=o.value;
	var len=strlength(s);
	if(len>0)
	{
	if(len!=l) {alert(""+c+"输入项长度必须等于"+l+"字节！");o.focus();o.scrollIntoView();return(false);}
	}
	return(true);
}

function Weboochknum(o,c)
{
//判断输入项是否为数字
	var s=o.value;
	if(isNaN(s)==true){alert (""+c+"输入项必须为数字，请重新输入！");o.focus();o.scrollIntoView();return(false);}
	return(true);
}
function Weboochkeven(o,c,n)
{
//判断输入项是否等于某个值
	var s=o.value;
	if(s!=n) {alert(""+c+"输入项错误！");o.focus();o.scrollIntoView();return(false);}
	return(true);
}
function Weboochkcomp(o,p,m,n)
{
//判断第一个输入项是否大于第二个输入项
	var s=o.value;
	var t=p.value;
	if(parseFloat(s)>parseFloat(t)) {alert(""+m+"输入项不能大于"+n+"输入项！");o.focus();o.scrollIntoView();return(false);}
	return(true);
}
function Weboochksame(o1,o2)
{
//判断两个输入项是否相同(校验密码)
	var s1=o1.value;
	var s2=o2.value;
	if(s1!=s2){alert ("两次输入的密码不同，请重新输入！");o1.focus();o1.scrollIntoView();return(false);}
	return(true);
}
function Weboochkmail(o)
{
//判断EMAIL格式
	var s=o.value;
	if(s!="" && s.indexOf('@')<=0){alert ("电子邮电格式不对，请重新输入！");o.focus();o.scrollIntoView();return(false);}
	return(true);
}

function Weboochkpost(o,l,c)
{
//判断邮编输入格式
var s=o.value
var len=strlength(s)
if (s!="")
{
if(isNaN(s)==true) 
	{
	alert(""+c+"必须为数字");
	o.focus();o.scrollIntoView();
	return(false);
	}
if(len!=l) 
	{
	alert(""+c+"长度必须为"+l+"");
	o.focus();o.scrollIntoView();
	return(false);
	}
}
return(true);
}

//判断字符个数 每个汉字做两个字符处理
function strlength(str){
	var l=str.length;
	var n=l;
	for (var i=0;i<l;i++)
	{
	if (str.charCodeAt(i)<0||str.charCodeAt(i)>255) n++
	}
	return n 
}
//判断菜单选项
function change(objDiv){
        var div1 = document.getElementById('1');
        var div2 = document.getElementById('2');
        var div3 = document.getElementById('3');
        var div4 = document.getElementById('4');
	var div5 = document.getElementById('5');
	var div6 = document.getElementById('6');
	var div7 = document.getElementById('7');

        if(objDiv == "1"){
				div1.style.display = "";
				div2.style.display= "none";
				div3.style.display= "none";
				div4.style.display= "none";
				div5.style.display= "none";
				div6.style.display= "none";
				div7.style.display= "none";

				}
        if(objDiv == "2"){
				div1.style.display = "none";
				div2.style.display= "";
				div3.style.display= "none";
				div4.style.display= "none";
				div5.style.display= "none";
				div6.style.display= "none";	
				div7.style.display= "none";
        }
        if(objDiv == "3"){
				div1.style.display = "none";
				div2.style.display= "none";
				div3.style.display= "";
				div4.style.display= "none";
				div5.style.display= "none";
				div6.style.display= "none";
				div7.style.display= "none";
        }
        if(objDiv == "4"){
				div1.style.display = "none";
				div2.style.display= "none";
				div3.style.display= "none";
				div4.style.display= "";
				div5.style.display= "none";
				div6.style.display= "none";
				div7.style.display= "none";
        }
	if(objDiv == "5"){
				div1.style.display = "none";
				div2.style.display= "none";
				div3.style.display= "none";
				div4.style.display= "none";
				div5.style.display= "";
				div6.style.display= "none";
				div7.style.display= "none";
        }
	if(objDiv == "6"){
				div1.style.display = "none";
				div2.style.display= "none";
				div3.style.display= "none";
				div4.style.display= "none";
				div5.style.display= "none";
				div6.style.display= "";
				div7.style.display= "none";
        }
	if(objDiv == "7"){
				div1.style.display = "none";
				div2.style.display= "none";
				div3.style.display= "none";
				div4.style.display= "none";
				div5.style.display= "none";
				div6.style.display= "none";
				div7.style.display= "";
        }

}
//弹出窗口
function Goopen(ee){
window.open(ee,"","scrollbars=no,resizable=no,width=640,height=507,top=10,left=20")
}
//-----------------以上为客户端脚本验证函数------
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->