jQuery.getPos=function(F){var B=0;var C=0;var A=jQuery.intval(jQuery.css(F,"width"));var D=jQuery.intval(jQuery.css(F,"height"));var E=F.offsetWidth;var G=F.offsetHeight;while(F.offsetParent){B+=F.offsetLeft+(F.currentStyle?jQuery.intval(F.currentStyle.borderLeftWidth):0);C+=F.offsetTop+(F.currentStyle?jQuery.intval(F.currentStyle.borderTopWidth):0);F=F.offsetParent}B+=F.offsetLeft+(F.currentStyle?jQuery.intval(F.currentStyle.borderLeftWidth):0);C+=F.offsetTop+(F.currentStyle?jQuery.intval(F.currentStyle.borderTopWidth):0);return{x:B,y:C,w:A,h:D,wb:E,hb:G}};jQuery.getClient=function(A){if(A){w=A.clientWidth;h=A.clientHeight}else{w=(window.innerWidth)?window.innerWidth:(document.documentElement&&document.documentElement.clientWidth)?document.documentElement.clientWidth:document.body.offsetWidth;h=(window.innerHeight)?window.innerHeight:(document.documentElement&&document.documentElement.clientHeight)?document.documentElement.clientHeight:document.body.offsetHeight}return{w:w,h:h}};jQuery.getScroll=function(A){if(A){t=A.scrollTop;l=A.scrollLeft;w=A.scrollWidth;h=A.scrollHeight}else{if(document.documentElement&&document.documentElement.scrollTop){t=document.documentElement.scrollTop;l=document.documentElement.scrollLeft;w=document.documentElement.scrollWidth;h=document.documentElement.scrollHeight}else{if(document.body){t=document.body.scrollTop;l=document.body.scrollLeft;w=document.body.scrollWidth;h=document.body.scrollHeight}}}return{t:t,l:l,w:w,h:h}};jQuery.intval=function(A){A=parseInt(A);return isNaN(A)?0:A};jQuery.fn.ScrollTo=function(A){o=jQuery.speed(A);return this.each(function(){new jQuery.fx.ScrollTo(this,o)})};jQuery.fx.ScrollTo=function(A,C){var B=this;B.o=C;B.e=A;B.p=jQuery.getPos(A);B.s=jQuery.getScroll();B.clear=function(){clearInterval(B.timer);B.timer=null};B.t=(new Date).getTime();B.step=function(){var D=(new Date).getTime();var E=(D-B.t)/B.o.duration;if(D>=B.o.duration+B.t){B.clear();setTimeout(function(){B.scroll(B.p.y,B.p.x)},13)}else{st=((-Math.cos(E*Math.PI)/2)+0.5)*(B.p.y-B.s.t)+B.s.t;sl=((-Math.cos(E*Math.PI)/2)+0.5)*(B.p.x-B.s.l)+B.s.l;B.scroll(st,sl)}};B.scroll=function(E,D){window.scrollTo(D,E)};B.timer=setInterval(function(){B.step()},13)};(function(A){A.fn.konami=function(C,B){if(B==undefined){B="38,38,40,40,37,39,37,39,66,65"}return this.each(function(){var D=[];A(this).keydown(function(E){D.push(E.keyCode);if(D.toString().indexOf(B)>=0){A(this).unbind("keydown",arguments.callee);C(E)}},true)})}})(jQuery);var b2blib={index:{init:function(){var A,B,C;$("#pinyin-index a").bind("mouseover",function(){var G=this;var E=$(this).html();$("#pinyin-index a").each(function(){$(this).removeClass("current")});$(".pinyin-result").hide();if(document.getElementById("index-"+E)){if($("#index-"+E+" ul").html()==""){$("#index-"+E).html("\u6ca1\u6709\u4ee5\u62fc\u97f3\u5b57\u6bcd\u201c<span class=\"orange\">"+E+"</span>\u201d\u5f00\u5934\u7684\u7c7b\u76ee\u3002")}$("#index-"+E).show()}else{var F=document.createElement("div");F.id="index-"+E;F.className="pinyin-result";$("#pinyin-title-box").append(F);$(F).html("<ul></ul>");var D="li[rev="+E+"]";$(D).clone().appendTo("#index-"+E+" ul");$("#index-"+E).find("span").remove();$("#index-"+E).find("li").removeClass("first other");if($("#index-"+E+" ul").html()==""){$("#index-"+E).html("\u6ca1\u6709\u4ee5\u62fc\u97f3\u5b57\u6bcd\u201c<span class=\"orange\">"+E+"</span>\u201d\u5f00\u5934\u7684\u7c7b\u76ee\u3002")}$(F).bind("mouseover",function(){$(G).addClass("current");$(this).show()});$(F).bind("mouseout",function(){$(G).removeClass("current");$(this).hide()});$(F).show()}$(this).addClass("current")});$("#pinyin-index a").bind("mouseout",function(){var E=this;var D=$(this).html();$(this).removeClass("current");$("#index-"+D).hide()})}},login:{init:function(){var A="<img src=\"/img/b2b_login/wrong.gif\" align=\"absmiddle\"/>";$("#username").click(function(){n_spanShowIn("username_req","\u75314-20\u4e2a\u5b57\u6bcd\u3001\u6570\u5b57\u6216\u4e2d\u6587\u5b57\u7b26\u7ec4\u6210\u3002\u4e0d\u80fd\u4ee5\u4e0b\u5212\u7ebf\u5f00\u5934\uff0c\u6ce8\u518c\u540e\u4e0d\u80fd\u4fee\u6539\u3002")}).blur(function(){var C=$(this).val();if(C!=""){if(!isChn(C)){n_spanShowerror("username_req","\u60a8\u586b\u5199\u9519\u8bef\u3002\u4f1a\u5458\u767b\u5f55\u540d\u4e0d\u80fd\u5305\u542b\u654f\u611f\u5b57\u7b26(\u4e0d\u80fd\u4ee5\u4e0b\u5212\u7ebf\u5f00\u5934)\u3002");return false}else{$.ajax({type:"GET",url:"/login/login/checkusername/type/1/username/"+C,dataType:"json",success:function(D){if(D.code==3||D.code==2){n_spanShowerror("username_req",D.info)}else{n_spanShowright("username_req");getType("pwd_info_1").focus()}},error:function(D){}})}}else{n_spanShowerror("username_req",A+"\u7528\u6237\u540d\u4e0d\u80fd\u4e3a\u7a7a!")}});$("#passwd").click(function(){n_spanShowIn("pwd_info_1","\u75316-20\u4e2a\u5b57\u6bcd(\u533a\u5206\u5927\u5c0f\u5199)\u6216\u6570\u5b57\u7ec4\u6210\u3002")}).blur(function(){var C=$(this).val();var D=C.length;if(D>0){if(D<6||D>16){n_spanShowerror("pwd_info_1",A+"\u60a8\u8bbe\u7f6e\u7684\u5bc6\u7801\u6709\u8bef\uff0c\u5bc6\u7801\u75316-20\u4e2a\u5b57\u6bcd\uff08\u533a\u5206\u5927\u5c0f\u5199\uff09\u6216\u6570\u5b57\u7ec4\u6210!")}else{if($("#c_passwd").val()&&$("#c_passwd").val()!=C){n_spanShowerror("pwd_info_2",A+"\u4e24\u6b21\u8f93\u5165\u7684\u5bc6\u7801\u4e0d\u4e00\u81f4\uff01\u8bf7\u518d\u8f93\u5165\u4e00\u904d\u60a8\u4e0a\u9762\u586b\u5199\u7684\u5bc6\u7801\u3002")}else{n_spanShowright("pwd_info_1");getType("pwd_info_2").focus()}}}else{n_spanShowerror("pwd_info_1",A+"\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a!")}});$("#c_passwd").click(function(){n_spanShowIn("pwd_info_2","\u8bf7\u518d\u8f93\u5165\u4e00\u904d\u60a8\u4e0a\u9762\u586b\u5199\u7684\u5bc6\u7801\u3002")}).blur(function(){var C=$("#passwd").val();var F=$(this).val();var E=C.length;var D=F.length;if(D>0){if(D>0||D>0){if(C!=F){n_spanShowerror("pwd_info_2",A+"\u4e24\u6b21\u8f93\u5165\u7684\u5bc6\u7801\u4e0d\u4e00\u81f4\uff01\u8bf7\u518d\u8f93\u5165\u4e00\u904d\u60a8\u4e0a\u9762\u586b\u5199\u7684\u5bc6\u7801\u3002")}else{if(F!=""&&D>=6&&D<=20){n_spanShowright("pwd_info_2")}else{n_spanShowerror("pwd_info_2",A+"\u4e24\u6b21\u8f93\u5165\u7684\u5bc6\u7801\u4e0d\u4e00\u81f4\uff01\u8bf7\u518d\u8f93\u5165\u4e00\u904d\u60a8\u4e0a\u9762\u586b\u5199\u7684\u5bc6\u7801\u3002")}}}}else{n_spanShowerror("pwd_info_2",A+"\u4e24\u6b21\u8f93\u5165\u7684\u5bc6\u7801\u4e0d\u4e00\u81f4\uff01\u8bf7\u518d\u8f93\u5165\u4e00\u904d\u60a8\u4e0a\u9762\u586b\u5199\u7684\u5bc6\u7801\u3002")}});$("#stin_mobile").click(function(){n_spanShowIn("mobile_info","\u65b9\u4fbf\u5ba2\u6237\u53ca\u65f6\u8054\u7cfb\u5230\u60a8\u3002")}).blur(function(){var C=$(this).val();var D=/^1[3,5,8]\d{9}$/;if(C!=""){if(D.test(C)){n_spanShowright("mobile_info")}else{n_spanShowerror("mobile_info",A+"\u8bf7\u6b63\u786e\u586b\u5199\uff01")}}else{n_spanShowerror("mobile_info",A+"\u8bf7\u6b63\u786e\u586b\u5199\uff01")}});$("#stin_linkman").click(function(){n_spanShowIn("span_username","\u8bf7\u586b\u5199\u771f\u5b9e\u59d3\u540d\u3002")}).blur(function(){var C=$(this).val();if(C!=""){n_spanShowright("span_username")}else{n_spanShowerror("span_username",A+"\u5fc5\u586b\u9879\uff01")}});$("#stin_name").click(function(){n_spanShowIn("reg_shop_info","\u6ce8\u518c\u4f01\u4e1a\u8bf7\u586b\u5199\u5de5\u5546\u5c40\u6ce8\u518c\u7684\u5168\u79f0\u3002")}).blur(function(){var C=$(this).val();if(C!=""){n_spanShowright("reg_shop_info")}else{n_spanShowerror("reg_shop_info",A+"\u5fc5\u586b\u9879\uff01")}});$("#stin_job").click(function(){n_spanShowIn("job_info","\u8bf7\u586b\u5199\u804c\u4f4d\u3002")}).blur(function(){var C=$(this).val();if(C!=""){n_spanShowright("job_info")}else{n_spanShowerror("job_info",A+"\u5fc5\u586b\u9879\uff01")}});$("#stin_job").click(function(){n_spanShowIn("job_info","\u8bf7\u586b\u5199\u804c\u4f4d\u3002")}).blur(function(){var C=$(this).val();if(C!=""){n_spanShowright("job_info")}else{n_spanShowerror("job_info",A+"\u5fc5\u586b\u9879\uff01")}});$("#email").click(function(){getType("email_req_2").className="email_txt2";n_spanShowIn("email_req","\u90ae\u7bb1\u662f\u627e\u56de\u5bc6\u7801\u7684\u9014\u5f84\uff0c\u8bf7\u8c28\u614e\u586b\u5199\uff01\u6ca1\u6709\u7535\u5b50\u90ae\u7bb1\uff1f")}).blur(function(){var C=$(this).val();if(C!=""){$.ajax({type:"GET",url:"/login/login/checkusername/type/2/email/"+C,dataType:"json",success:function(D){if(D.code==3||D.code==2){n_spanShowerror("email_req",D.info)}else{$("#email_req_2").hide();n_spanShowright("email_req");getType("stin_tel1").focus()}},error:function(D){}})}else{n_spanShowerror("email_req",A+"\u90ae\u7bb1\u4e0d\u80fd\u4e3a\u7a7a!")}});$("#store_type").change(function(){var C=$(this).val();if(C!=""){$.ajax({type:"GET",url:"/login/merclogin/indurstrymark/stii_id/"+C,dataType:"json",success:function(G){if(G.code==1){if(G.indurstry!=undefined&&G.indurstry!=null){var I=""+G.indurstry.stii_mark_id;var H=""+G.indurstry.stii_mark_name;var D=I.split(",");var E=H.split(",");var J="";for(var F=1;F<D.length;F++){J+="<a href='javascript:getText("+D[F]+");' id='"+D[F]+"'>"+E[F]+"</a>"}$("#indurstry_mark").html(J)}}if(G.code==2){document.getElementById("store_img").style.display="none";alert("\u5220\u9664\u6210\u529f\uff01")}},error:function(D){}})}});$("#province").change(function(){var C=$(this).val();if(C!=""){$.ajax({type:"GET",url:"/login/login/citydata/province_id/"+C,dataType:"json",success:function(G){var K=getType("city");var D=getType("borough");var I=""+G.city.city_id;var F=""+G.city.city_name;var H=I.split(",");var J=F.split(",");clearItem(D);clearItem(K);for(var E=0;E<H.length;E++){K.options.add(new Option(J[E],H[E]))}},error:function(D){}})}});$("#city").change(function(){var C=$(this).val();if(C!=""){$.ajax({type:"GET",url:"/login/login/boroughdata/city_id/"+C,dataType:"json",success:function(G){var D=getType("borough");var I=""+G.borough.borough_id;var F=""+G.borough.borough_name;var H=I.split(",");var J=F.split(",");clearItem(D);for(var E=0;E<H.length;E++){D.options.add(new Option(J[E],H[E]))}},error:function(D){}})}});$("#stty_type").click(function(){n_spanShowIn("reg_shop_company","\u8bf7\u9009\u62e9\u4f01\u4e1a\u7c7b\u578b\uff01")}).blur(function(){var C=$(this).val();if(C!=0){n_spanShowright("reg_shop_company")}else{n_spanShowerror("reg_shop_company",A+"\u5fc5\u586b\u9879\uff01")}});var B=0;$("#r_inp_store>input").click(function(){if(this.checked==true){B++;if(B>2){n_spanShowerror("reg_shop_store",A+"\u8425\u7ecf\u6a21\u5f0f\u4e0d\u80fd\u8d85\u8fc7\u4e24\u9879\uff01")}else{n_spanShowIn("reg_shop_store","\u8bf7\u9009\u62e9\u8425\u7ecf\u6a21\u5f0f!")}}else{B--;if(B<=2&&B>0){n_spanShowright("reg_shop_store")}if(B==0||B<0){n_spanShowerror("reg_shop_store",A+"\u5fc5\u5148\u9879!")}}}).blur(function(){if(B>2){n_spanShowerror("reg_shop_store",A+"\u8425\u7ecf\u6a21\u5f0f\u4e0d\u80fd\u8d85\u8fc7\u4e24\u9879\uff01")}if(B<=2&&B>0){n_spanShowright("reg_shop_store")}if(B==0||B<0){n_spanShowerror("reg_shop_store",A+"\u5fc5\u5148\u9879!")}});$("#stin_address").click(function(){n_spanShowIn("address_info","\u8bf7\u8be6\u7ec6\u586b\u5199\u8d35\u516c\u53f8\u7ecf\u8425\u5730\u5740")}).blur(function(){var C=$(this).val();if(C!=""){n_spanShowright("address_info")}else{n_spanShowerror("address_info",A+"\u5fc5\u586b\u9879\uff01")}});$("#stin_main_service").click(function(){n_spanShowIn("reg_service_info","\u591a\u4e2a\u4ea7\u54c1\uff0c\u8bf7\u7528\u201c\uff0c\u201d\u5206\u9694")}).blur(function(){var C=$(this).val();if(C!=""){n_spanShowright("reg_service_info")}else{n_spanShowerror("reg_service_info",A+"\u5fc5\u586b\u9879\uff01")}});$("#validate").click(function(){n_spanShowIn("reg_mark_info","\u770b\u4e0d\u6e05\u695a\uff0c\u8bf7\u70b9\u51fb\u56fe\u7247\u6362\u4e00\u5f20!")}).blur(function(){var C=$(this).val();if(C!=""){$.ajax({type:"GET",url:"/login/login/checkimage/validate/"+C,dataType:"json",success:function(D){if(D.code==1){n_spanShowright("reg_mark_info")}else{n_spanShowerror("reg_mark_info",A+"\u9a8c\u8bc1\u7801\u9519\u8bef!")}},error:function(D){}})}else{n_spanShowerror("reg_mark_info",A+"\u8bf7\u586b\u5199\u9a8c\u8bc1\u7801!")}});$("#borough").click(function(){if($(this).val()!=""){n_spanShowright("locus_info")}});$("#store_type").blur(function(){if($(this).val()!=""){n_spanShowright("store_type_info")}});$("#img").click(function(){var C=this.src;this.src=String(C+"index/rand/_RAND_").replace("_RAND_",Math.random())});$("#form1").submit(function(){if($("#username").val()==""||getType("username_req").className!="greentd12"){n_spanShowerror("username_req",A+"\u5fc5\u586b\u9879!");getType("username").focus();return false}else{if($("#passwd").val()==""||getType("pwd_info_1").className!="greentd12"){n_spanShowerror("pwd_info_1",A+"\u8bf7\u6b63\u786e\u586b\u5199!");getType("passwd").focus();return false}else{if($("#c_passwd").val()==""||$("#passwd").val()!=$("#c_passwd").val()||getType("pwd_info_2").className!="greentd12"){if($("#passwd").val()!=$("#c_passwd").val()){n_spanShowerror("pwd_info_2",A+"\u4e24\u6b21\u8f93\u5165\u7684\u5bc6\u7801\u4e0d\u4e00\u81f4\uff01\u8bf7\u518d\u8f93\u5165\u4e00\u904d\u60a8\u4e0a\u9762\u586b\u5199\u7684\u5bc6\u7801\u3002!")}else{if($("#c_passwd").val()==""){n_spanShowerror("pwd_info_2",A+"\u5fc5\u586b\u9879!")}}getType("c_passwd").focus();return false}else{if($("#stin_linkman").val()==""||getType("span_username").className!="greentd12"){n_spanShowerror("span_username",A+"\u5fc5\u586b\u9879!");getType("stin_linkman").focus();return false}else{if($("#stin_job").val()==""||getType("job_info").className!="greentd12"){n_spanShowerror("job_info",A+"\u5fc5\u586b\u9879!");getType("stin_job").focus();return false}else{if($("#email").val()==""||getType("email_req").className!="greentd12"){n_spanShowerror("email_req",A+"\u5fc5\u586b\u9879!");getType("email").focus();return false}else{if($("#email").val()==""||getType("email_req").className!="greentd12"){n_spanShowerror("email_req",A+"\u5fc5\u586b\u9879!");getType("email").focus();return false}else{if($("#stin_tel3").val()==""||$("#stin_tel2").val()==""||getType("reg_tel_info").className!="greentd12"){n_spanShowerror("reg_tel_info",A+"\u5fc5\u586b\u9879!");if($("#stin_tel2").val()==""){getType("stin_tel2").focus()}if($("#stin_tel3").val()==""){getType("stin_tel3").focus()}return false}else{if($("#stin_mobile").val()==0||getType("mobile_info").className!="greentd12"){n_spanShowerror("mobile_info",A+"\u5fc5\u586b\u9879!");getType("stin_mobile").focus();return false}else{if($("#stin_name").val()==""||getType("reg_shop_info").className!="greentd12"){n_spanShowerror("reg_shop_info",A+"\u5fc5\u586b\u9879!");getType("stin_name").focus();return false}else{if($("#stty_type").val()==""||getType("reg_shop_company").className!="greentd12"){n_spanShowerror("reg_shop_company",A+"\u5fc5\u586b\u9879!");getType("stty_type").focus();return false}else{if(B>2||B==0||getType("reg_shop_store").className!="greentd12"){if(B>2){n_spanShowerror("reg_shop_store",A+"\u4e0d\u80fd\u8d85\u8fc7\u4e24\u9879!");getType("mode_id[]").focus();return false}else{if(B==0){n_spanShowerror("reg_shop_store",A+"\u5fc5\u9009\u62e9\u9879!");getType("mode_id[]").focus();return false}}}else{if($("#province").val()==""||$("#city").val()==""||$("#borough").val()==""){n_spanShowerror("locus_info",A+"\u8bf7\u6b63\u786e\u586b\u5199\u5730\u5740!");if($("#province").val()==""){getType("province").focus()}if($("#city").val()==""){getType("city").focus()}if($("#borough").val()==""){getType("borough").focus()}return false}else{if($("#stin_address").val()==""||getType("address_info").className!="greentd12"){n_spanShowerror("address_info",A+"\u5fc5\u586b\u9879!");getType("stin_address").focus();return false}else{if($("#store_type").val()==""){n_spanShowerror("store_type_info",A+"\u5fc5\u586b\u9879!");getType("store_type").focus();return false}else{if($("#stin_main_service").val()==""||getType("reg_service_info").className!="greentd12"){n_spanShowerror("reg_service_info",A+"\u5fc5\u586b\u9879!");getType("stin_main_service").focus();return false}else{if($("#validate").val()==""||getType("reg_mark_info").className!="greentd12"){n_spanShowerror("reg_mark_info",A+"\u5fc5\u586b\u9879!");getType("validate").focus();return false}}}}}}}}}}}}}}}}}})}}};$(document).ready(function(){$(".hang1").mouseover(function(){$(this).addClass("hang11");$(".hang11 dt").addClass("hang1_titt")}).mouseout(function(){$(".hang11 dt").removeClass("hang1_titt");$(this).removeClass("hang11")});$(".hang2").mouseover(function(){$(this).addClass("hang22");$(".hang22 dt").addClass("hang2_titt")}).mouseout(function(){$(".hang22 dt").removeClass("hang2_titt");$(this).removeClass("hang22")})});function select_two(A){var C=new Array("a","b");for(var B=0;B<C.length;B++){if(A==C[B]){document.getElementById(C[B]).style.display="block";document.getElementById("select_"+C[B]).className="on"}else{document.getElementById(C[B]).style.display="none";document.getElementById("select_"+C[B]).className="out"}}}function showDiv(A){var B="#"+A;$(B).show()}function cloDiv(B){var A="#"+B;$(A).hide()}function showtop(A){setfun(A);$("#"+A+"_class").addClass("on");$("#"+A+"_a").show()}function getType(A){return document.getElementById(A)}function setfun(A){$("#"+A+"_a").mouseout(function(){$(this).hide()})}function cleartop(A){$("#"+A+"_class").removeClass("on");$("#"+A+"_a").hide()}function n_spanShowIn(B,C,A){getType(B).className="bluetd12";$("#"+B).html("<img src=\"/img/b2b_login/reg.gif\" align=\"absmiddle\"/>"+C)}function n_spanShowerror(A,B){getType(A).className="r_wanning";$("#"+A).html(B)}function n_spanShowright(A){getType(A).className="greentd12";$("#"+A).html("<img src=\"/img/b2b_login/tree.gif\" align=\"absmiddle\"/>")}function n_spanclear(A){var B="";getType(A).className="";$("#"+A).html(B)}function isChn(B){var A=/^[_]|[-#$%\^&()\/\\\'\"]/;if(!A.test(B)){return true}return false}function getText(D){var B=document.getElementById("stin_main_service").value;var A=$("#"+D).html();var C="";if(B.match(A)!=null){return }if(B==""){C=A}else{C=B+","+A}document.getElementById("reg_service_info").className="greentd12";document.getElementById("stin_main_service").value=C}function FillDropDown(B,F,D){var E=F.split(",");var A=D.split(",");B.length=0;for(var C=0;C<E.length;C++){if(E.length>=1){B.options.add(new Option(A[C],E[C]))}}}function clearItem(A){for(i=A.options.length-1;i>=0;i--){A.remove(i)}A.options.add(new Option("\u8bf7\u9009\u62e9",""))}function n_checkTel(){var B=/^((\d{2,3}-)?(\d{3,4})-)?(\d{7,8})(-(\d{3,}))?$/;var A=getType("stin_tel1").value+"-"+getType("stin_tel2").value+"-"+getType("stin_tel3").value;if(getType("stin_tel2").value!=""&&getType("stin_tel3").value!=""){if(!B.exec(A)){getType("reg_tel_info").className="r_wanning";$("#reg_tel_info").html("<img src=\"/img/b2b_login/wrong.gif\" align=\"absmiddle\"/>\u7535\u8bdd\u53f7\u7801\u683c\u5f0f\u4e0d\u6b63\u786e\u3002")}else{getType("reg_tel_info").className="greentd12";$("#reg_tel_info").html("<img src=\"/img/b2b_login/tree.gif\" align=\"absmiddle\"/>\u586b\u5199\u6b63\u786e\u3002")}}else{var C="";getType("reg_tel_info").className="";$("#reg_tel_info").html(C)}}function n_checkFax(){var B=/^((\d{2,3}-)?(\d{3,4})-)?(\d{7,8})(-(\d{3,}))?$/;var A=getType("stin_fax1").value+"-"+getType("stin_fax2").value+"-"+getType("stin_fax3").value;if(getType("stin_fax2").value!=""&&getType("stin_fax3").value!=""){if(!B.exec(A)){getType("fax_info").className="r_wanning";$("#fax_info").html("<img src=\"/img/b2b_login/wrong.gif\" align=\"absmiddle\"/>\u4f20\u771f\u53f7\u7801\u683c\u5f0f\u4e0d\u6b63\u786e\u3002")}else{getType("fax_info").className="greentd12";$("#fax_info").html("<img src=\"/img/b2b_login/tree.gif\" align=\"absmiddle\"/>\u586b\u5199\u6b63\u786e\u3002")}}else{var C="";getType("fax_info").className="";$("#fax_info").html(C)}}function nextCon(B,A){if((document.getElementById(B).value).length>=4){document.getElementById(A).focus()}}
