function $(id) {
    return document.getElementById(id);
}

function RefreshCode() {
    $("imgCode").src = "CheckCode.aspx?src=" + Math.random()
}

window.onload = function () {
    $("txtEmail").onfocus = function () {
        if ($("txtEmail").value == "此邮箱为您的登录帐号!") {
            $("txtEmail").value = ""
        }
    }

    if ($("txtBrokerName") != null) {
        $("txtBrokerName").onblur = new Function("BrokerNameCheck()");
    }

    if ($("ddlZone") != null) {
        $("ddlZone").onchange = new Function("ZoneCheck()");
    }

    $("txtEmail").onblur = new Function("EmailExist()");

    $("txtContractTel").onblur = new Function("ContractTelCheck()");

    $("txtAccount").onblur = new Function("AccountCheck()");
    $("txtPwd").onblur = new Function("PwdCheck()")
    $("txtPwdValid").onblur = new Function("PwdConfirm()");

    if ($("txtShortName") != null)
        $("txtShortName").onblur = new Function("FullNameCheck()")

    //    if($("txtShowName")!=null)
    //        $("txtShowName").onblur=new Function("ShowNameCheck()")
    $("txtContractTel").onblur = new Function("CheckTelephone()")

    $("txtValidCode").onfocus = function () {
        $("msg_checkCode").style.display = "none"
    }
    $("btnReg").onclick = new Function("add()")

    if ($("txtShortName") != null) {
        $("txtShortName").onfocus = function () {
            if ($("txtShortName").value == "确保名称与营业执照名称一致,以便审核") {
                $("txtShortName").value = ""
            }
        }
    }

    if ($("nameHelp") != null) {
        $("nameHelp").onclick = function () {
            HelpClick(event, "nameHelpShow", 100, 200, "ddddddddd")
        }
    }

}

function ZoneCheck() {
    if ($("ddlZone").value == "none") {
        $("dvzone").className = "tishibg"
        $("dvzone").innerHTML = "<font color=\"#FF0000\">请选择服务区域！</font>";
    }
    else {
        $("dvzone").className = "size12"
        $("dvzone").innerHTML = "<img src='Images/true.gif'/>";
    }
}

function BrokerNameCheck() {
    if ($("txtBrokerName").value.replace(/^\s+|\s+$/g, "") == "") {
        $("dvbrokername").className = "tishibg"
        $("dvbrokername").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
    }
    else {
        $("dvbrokername").className = "size12"
        $("dvbrokername").innerHTML = "<img src='Images/true.gif'/>";
    }
}

function isphone2() {

    var num = $('txtContractTel').value;

    if (/^13\d{9}$/g.test(num) || (/^15[0-35-9]\d{8}$/g.test(num)) ||
(/^18[05-9]\d{8}$/g.test(num))) {
        return true;
    } else {
        return false;
    }

}



function isphone1() {

    var num = $('txtContractTel').value;

    var partten = /^0(([1-9]\d)|([3-9]\d{2}))\d{8}$/;

    if (partten.test(num)) {

        return true

    } else {

        return false

    }

}




function ContractTelCheck() {
    //    if($("txtContractTel").value.replace(/^\s+|\s+$/g,"")=="")
    //    {
    //        $("msg_tel").className="tishibg"
    //        $("msg_tel").innerHTML="<font color=\"#FF0000\">必填项！</font>"
    //        commit=false
    //    }
    //    else
    //    {
    //        if(isphone1()&&isphone2())
    //        {
    //            $("msg_tel").className="tishibg"
    //        $("msg_tel").innerHTML="<font color=\"#FF0000\">必填项！</font>"
    //        commit=false
    //        }
    //    }
}

function AccountCheck() {
    var reg = /^([a-zA-Z]|\d|_)*$/;
    if (!reg.test($("txtAccount").value)) {
        $("dvaccount").className = "tishibg"
        $("dvaccount").innerHTML = "<font color=\"#FF0000\">帐号必须为数字、字母或下划线组成</font>"
        return;
    }

    if ($("txtAccount").value.replace(/^\s+|\s+$/g, "") == "") {
        $("dvaccount").className = "tishibg"
        $("dvaccount").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
        commit = false
    }
    else {
        if ($("txtAccount").value.replace(/^\s+|\s+$/g, "").length < 6) {
            $("dvaccount").className = "tishibg"
            $("dvaccount").innerHTML = "<font color=\"#FF0000\">最少应输入6位！</font>"
            commit = false
        }
        else {
            $("dvaccount").innerHTML = "正在检测帐号....."

            if (window.location.href.indexOf("registe_broker.aspx") == -1) {
                AgencyOffice.RegAgency.AccountExist($("txtAccount").value, function (r) {
                    if (r.value) {
                        $("dvaccount").className = "tishibg"
                        $("dvaccount").innerHTML = "<font color=\"#FF0000\">该帐号已存在！</font>"
                    }
                    else {
                        $("dvaccount").className = "size12"
                        $("dvaccount").innerHTML = "<img src='Images/true.gif'/>";
                    }
                })
            }
            else {
                AgencyOffice.registe_broker.AccountExist($("txtAccount").value, function (r) {
                    if (r.value) {
                        $("dvaccount").className = "tishibg"
                        $("dvaccount").innerHTML = "<font color=\"#FF0000\">该帐号已存在！</font>"
                    }
                    else {
                        $("dvaccount").className = "size12"
                        $("dvaccount").innerHTML = "<img src='Images/true.gif'/>";
                    }
                })
            }
        }
    }
}

function CheckCodeCheck() {
    if (trim($("txtValidCode").value) == "") {
        $("msg_checkCode").className = "tishibg"
        $("msg_checkCode").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
        commit = false
    }
    else {
        if ($("txtValidCode").value.toLowerCase() !== getCookie("CHECKCODE").split("=")[1]) {
            $("msg_checkCode").className = "tishibg"
            $("msg_checkCode").innerHTML = "<font color=\"#FF0000\">验证码错误！</font>"
            commit = false
        }
        else {
            $("msg_checkCode").className = "leftbar"
            $("msg_checkCode").innerHTML = "<img src='Images/true.gif'/>";
        }
    }
}

function CheckTelephone() {
    if (trim($("txtContractTel").value) == "") {
        $("msg_tel").className = "tishibg"
        $("msg_tel").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
        commit = false
    }
    else {
        if (!isphone1() && !isphone2()) {
            $("msg_tel").className = "tishibg"
            $("msg_tel").innerHTML = "<font color=\"#FF0000\">电话格式不正确！</font>"
            commit = false
        }
        else {
            $("msg_tel").className = "leftbar"
            $("msg_tel").innerHTML = "<img src='Images/true.gif'/>";
        }
    }
}

function ShowNameCheck() {
    if (trim($("txtShowName").value) == "") {
        $("msg_showName").className = "tishibg"
        $("msg_showName").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
        commit = false
    }
    else {
        $("msg_showName").className = "leftbar";
        $("msg_showName").innerHTML = "<img src='Images/true.gif'/>";
    }
}

function ShortNameCheck() {
    $("msg_shorName").className = "leftbar";
    $("msg_shorName").innerHTML = "<img src='Images/true.gif'/>";
}

function FullNameCheck() {
    if (trim($("txtShortName").value) == "" || trim($("txtShortName").value) == "确保名称与营业执照名称一致") {
        $("msg_shorName").className = "tishibg";
        $("msg_shorName").innerHTML = "<font color=\"#FF0000\">必填项！</font>";
    }
    else {
        if (!AgencyOffice.RegAgency.FullNameExist(trim($("txtShortName").value)).value) {
            $("msg_shorName").className = "leftbar";
            $("msg_shorName").innerHTML = "<img src='Images/true.gif'/>";
        }
        else {
            $("msg_shorName").className = "tishibg";
            $("msg_shorName").innerHTML = "<font color=\"#FF0000\">该名称已经被注册！</font>";
        }
    }

}

function PwdConfirm() {
    if (trim($("txtPwdValid").value) == "") {
        $("msg_pwdConfirm").className = "tishibg";
        $("msg_pwdConfirm").innerHTML = "<font color=\"#FF0000\">必填项！</font>";
    }
    else if (trim($("txtPwd").value) != trim($("txtPwdValid").value)) {
        $("msg_pwdConfirm").className = "tishibg";
        $("msg_pwdConfirm").innerHTML = "<font color=\"#FF0000\">两次输入密码不一致！</font>";
    }
    else {
        $("msg_pwdConfirm").className = "leftbar";
        $("msg_pwdConfirm").innerHTML = "<img src='Images/true.gif'/>";
    }
}

function PwdCheck() {
    if (trim($("txtPwd").value) == "") {
        $("msg_pwd").className = "tishibg"
        $("msg_pwd").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
    }
    else if (trim($("txtPwd").value).length < 6) {
        $("msg_pwd").className = "tishibg"
        $("msg_pwd").innerHTML = "<font color=\"#FF0000\">密码由6-20个英文字母、数字或特殊字符组成</font>"
    }
    else {
        $("msg_pwd").className = "leftbar"
        $("msg_pwd").innerHTML = "<img src='Images/true.gif'/>";
    }
}

function EmailExist() {
    if ($("txtEmail").value.replace(/^\s+|\s+$/g, "") == "") {
        $("msg_email").className = "tishibg"
        $("msg_email").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
        commit = false
    }
    else {
        if ($("txtEmail").value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1) {
            if (window.location.href.indexOf("registe_broker.aspx") == -1) {
                AgencyOffice.RegAgency.EmailExist($("txtEmail").value, function (r) {
                    if (r.value) {
                        $("msg_email").className = "tishibg"
                        $("msg_email").innerHTML = "<font color=\"#FF0000\">邮箱已存在，请更换邮箱！</font>"
                    }
                    else {
                        $("msg_email").className = "size12"
                        $("msg_email").innerHTML = "<img src='Images/true.gif'/>";
                    }
                })
            }
            else {
                AgencyOffice.registe_broker.EmailExist($("txtEmail").value, function (r) {
                    if (r.value) {
                        $("msg_email").className = "tishibg"
                        $("msg_email").innerHTML = "<font color=\"#FF0000\">邮箱已存在，请更换邮箱！</font>"
                    }
                    else {
                        $("msg_email").className = "size12"
                        $("msg_email").innerHTML = "<img src='Images/true.gif'/>";
                    }
                })
            }
        }
        else {
            $("msg_email").className = "tishibg"
            $("msg_email").innerHTML = "<font color=\"#FF0000\">邮箱格式不正确!</font>"
        }
    }

}

function trim(mystr) {
    while ((mystr.indexOf(" ") == 0) && (mystr.length > 1)) {
        mystr = mystr.substring(1, mystr.length);
    } //去除前面空格
    while ((mystr.lastIndexOf(" ") == mystr.length - 1) && (mystr.length > 1)) {
        mystr = mystr.substring(0, mystr.length - 1);
    } //去除后面空格
    if (mystr == " ") {
        mystr = "";
    }
    return mystr;
}

function add() {
    var commit = true;

    if (trim($("txtContractTel").value) == "") {
        $("msg_tel").className = "tishibg"
        $("msg_tel").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
        commit = false
    }
    else {
        if (!isphone1() && !isphone2()) {
            $("msg_tel").className = "tishibg"
            $("msg_tel").innerHTML = "<font color=\"#FF0000\">电话格式不正确！</font>"
            commit = false
        }
        else {
            $("msg_tel").className = "leftbar"
            $("msg_tel").innerHTML = "<img src='Images/true.gif'/>";
        }
    }

    if ($("ddlZone") != null) {
        if ($("ddlZone").value == "none") {
            $("dvzone").className = "tishibg"
            $("dvzone").innerHTML = "<font color=\"#FF0000\">请选择服务区域！</font>"
            commit = false
        }
        else {
            $("dvzone").className = "size12"
            $("dvzone").innerHTML = "<img src='Images/true.gif'/>";
        }
    }

    if ($("txtAccount").value.replace(/^\s+|\s+$/g, "") == "") {
        $("dvaccount").className = "tishibg"
        $("dvaccount").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
        commit = false
    }
    else {
        if ($("txtAccount").value.replace(/^\s+|\s+$/g, "").length < 6) {
            $("dvaccount").className = "tishibg"
            $("dvaccount").innerHTML = "<font color=\"#FF0000\">最少应输入6位！</font>"
            commit = false
        }
        else {
            var reg = /^([a-zA-Z]|\d|_)*$/;
            if (!reg.test($("txtAccount").value)) {
                $("dvaccount").className = "tishibg"
                $("dvaccount").innerHTML = "<font color=\"#FF0000\">帐号必须为数字、字母或下划线组成</font>"
                commit = false
            }
            else {
                if (window.location.href.indexOf("registe_broker.aspx") == -1) {
                    if (AgencyOffice.RegAgency.AccountExist($("txtAccount").value).value) {
                        $("dvaccount").className = "tishibg"
                        $("dvaccount").innerHTML = "<font color=\"#FF0000\">该帐号已存在！</font>"
                        commit = false
                    }
                    else {
                        $("dvaccount").className = "size12"
                        $("dvaccount").innerHTML = "<img src='Images/true.gif'/>";
                    }
                }
                else {
                    if (AgencyOffice.registe_broker.AccountExist($("txtAccount").value).value) {
                        $("dvaccount").className = "tishibg"
                        $("dvaccount").innerHTML = "<font color=\"#FF0000\">该帐号已存在！</font>"
                        commit = false
                    }
                    else {
                        $("dvaccount").className = "size12"
                        $("dvaccount").innerHTML = "<img src='Images/true.gif'/>";
                    }
                }

            }
        }
    }

    if ($("txtBrokerName") != null) {
        if ($("txtBrokerName").value.replace(/^\s+|\s+$/g, "") == "") {
            $("dvbrokername").className = "tishibg"
            $("dvbrokername").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
            commit = false
        }
    }


    if (trim($("txtEmail").value) == "") {
        $("msg_email").className = "tishibg"
        $("msg_email").innerHTML = "<font color=\"#FF0000\">必填项！</font>";
        commit = false
    }

    if (!$("cbProcReader").checked) {
        $("msg_process").className = "tishibg";
        $("msg_process").innerHTML = "<font color=\"#FF0000\">您还未阅读服务协议!</font>";
        commit = false
    }
    else {
        $("msg_process").className = "leftbar";
        $("msg_process").innerHTML = "";
    }

    if (trim($("txtShowName").value) == "") {
        $("msg_showName").className = "tishibg"
        $("msg_showName").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
        commit = false
        //return;
    }

    if (trim($("txtValidCode").value) == "") {
        $("msg_checkCode").style.display = "";
        $("msg_checkCode").className = "tishibg"
        $("msg_checkCode").innerHTML = "<font color=\"#FF0000\">必填项！</font>"
        commit = false
        //return;
    }
    else {
        if ($("txtValidCode").value.toLowerCase() !== getCookie("CHECKCODE").split("=")[1]) {
            $("msg_checkCode").style.display = "";
            $("msg_checkCode").className = "tishibg"
            $("msg_checkCode").innerHTML = "<font color=\"#FF0000\">验证码错误！</font>"
            commit = false
            //return;
        }
        else {
            $("msg_checkCode").className = "leftbar"
            $("msg_checkCode").innerHTML = "<img src='Images/true.gif'/>";
        }
    }

    if (trim($("txtPwd").value) == "") {
        $("msg_pwd").className = "tishibg"
        $("msg_pwd").innerHTML = "<font color=\"#FF0000\">请填写密码！</font>"
        commit = false
        //return;
    }
    else {
        if (trim($("txtPwd").value).length < 6) {
            $("msg_pwd").className = "tishibg"
            $("msg_pwd").innerHTML = "<font color=\"#FF0000\">密码由6-20个英文字母、数字或特殊字符组成</font>"
            commit = false
            //return;
        }
        else {
            $("msg_pwd").className = "leftbar"
            $("msg_pwd").innerHTML = "<img src='Images/true.gif'/>";
        }
    }

    if (trim($("txtPwd").value) != trim($("txtPwdValid").value)) {
        $("msg_pwdConfirm").className = "tishibg";
        $("msg_pwdConfirm").innerHTML = "<font color=\"#FF0000\">两次输入密码不一致！</font>";
        commit = false
    }
    else {
        if (trim($("txtPwd").value) == "") {
            $("msg_pwdConfirm").className = "tishibg";
            $("msg_pwdConfirm").innerHTML = "<font color=\"#FF0000\">必填项！</font>";
            commit = false
        }
        else {
            $("msg_pwdConfirm").className = "leftbar";
            $("msg_pwdConfirm").innerHTML = "<img src='Images/true.gif'/>";
        }
    }

    if ($("txtShortName") != null) {
        if (trim($("txtShortName").value) == "" || trim($("txtShortName").value) == "确保名称与营业执照名称一致") {
            $("msg_shorName").className = "tishibg";
            $("msg_shorName").innerHTML = "<font color=\"#FF0000\">请输入公司全称！</font>";
            commit = false
        }
        else {
            if (!AgencyOffice.RegAgency.FullNameExist(trim($("txtShortName").value)).value) {
                $("msg_shorName").className = "leftbar";
                $("msg_shorName").innerHTML = "<img src='Images/true.gif'/>";
            }
            else {
                $("msg_shorName").className = "tishibg";
                $("msg_shorName").innerHTML = "<font color=\"#FF0000\">该名称已被注册！</font>";
                commit = false
                //return;
            }
        }
    }


    if ($("txtEmail").value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) {
        $("msg_email").className = "tishibg"
        $("msg_email").innerHTML = "<font color=\"#FF0000\">邮箱格式不正确!</font>"
        commit = false
    }

    if ($("txtShowName") != null) {
        if (trim($("txtShowName").value) == "") {
            $("msg_showName").className = "tishibg";
            $("msg_showName").innerHTML = "<font color=\"#FF0000\">必填项！</font>";
            commit = false
        }
        else {
            $("msg_showName").className = "leftbar";
            $("msg_showName").innerHTML = "<img src='Images/true.gif'/>";
        }
    }    
    if (commit) {
        var regType = ""
        var sender = "";

        //alert(window.location.href.indexOf("user="));

        if (window.location.href.indexOf("user=") != -1) {
            regType = "invite"
            sender = window.location.href.split("?")[1].split("=")[1];
        }
        var success = false
        //alert(window.location.href.indexOf("registe_broker.aspx"));
        //        if(location.href.indexOf("?")==-1)
        //        {
        if (window.location.href.indexOf("registe_broker.aspx") == -1) {
            if ($("orgYes").checked) {
                success = AgencyOffice.RegAgency.RegAgencyInfo($("txtAccount").value, $("txtEmail").value, $("txtPwd").value, $("txtShortName").value.replace(/^\s+|\s+$/g, ""), '0', '', '', $("txtShowName").value.replace(/^\s+|\s+$/g, ""), 0, regType, sender, $("txtContractTel").value)
            }
            else if ($("orgNO").checked) {
                success = AgencyOffice.RegAgency.RegAgencyInfo($("txtAccount").value, $("txtEmail").value, $("txtPwd").value, $("txtShortName").value.replace(/^\s+|\s+$/g, ""), '1', $("txtFullName").value.replace(/^\s+|\s+$/g, ""), '', $("txtShowName").value.replace(/^\s+|\s+$/g, ""), 1, regType, sender, $("txtContractTel").value)
            }
            else if ($("joinshop").checked) {
                success = AgencyOffice.RegAgency.RegAgencyInfo($("txtAccount").value, $("txtEmail").value, $("txtPwd").value, $("txtShortName").value.replace(/^\s+|\s+$/g, ""), '1', $("txtFullName").value.replace(/^\s+|\s+$/g, ""), '', $("txtShowName").value.replace(/^\s+|\s+$/g, ""), 2, regType, sender, $("txtContractTel").value)
            }
        }
        else {
            //var ShowVal = "";
            //              jQuery("#btnReg").click(function(){ 
            //               //  alert($("#areaItem").html());
            //                jQuery("#areaItem :input").each(function(){      
            //                  if(jQuery(this).attr("checked")==true){
            //                          ShowVar=ShowVal+$(this).val())+",";
            //             }
            //                           });
            //  });
            // alert("s");
            //                alert(ShowVar);
            //   success=AgencyOffice.registe_broker.RegBroker($("txtAccount").value,$("txtEmail").value,$("txtPwd").value,$("txtShowName").value.replace(/^\s+|\s+$/g,""),$("txtBrokerName").value.replace(/^\s+|\s+$/g,""),$("txtContractTel").value,$("ddlZone").value,ShowVal,regType,sender)


            var nodeCount = 0;
            var ShowVal = "";
            for (var i = 0; i < $("areaItem").childNodes.length; i++) {
                if ($("areaItem").childNodes[i].nodeType == 1) {
                    if ($("areaItem").childNodes[i].checked) {
                        ShowVal = (ShowVal.length > 0 ? ShowVal + "," : "") + $("areaItem").childNodes[i].value;
                    }
                    nodeCount++;
                }
            }


            success = AgencyOffice.registe_broker.RegBroker($("txtAccount").value, $("txtEmail").value, $("txtPwd").value, $("txtShowName").value.replace(/^\s+|\s+$/g, ""), $("txtBrokerName").value.replace(/^\s+|\s+$/g, ""), $("txtContractTel").value, $("ddlZone").value, ShowVal, regType, sender)




            //alert(success.value);

        }

        //        }
        //        else
        //        {
        //            var emailOrg=location.href.split("?")[1].split("=")[1];
        //            success=AgencyOffice.RegAgency.UpdateEmpEmail(emailOrg,$("txtEmail").value)
        //        }

        if (success.value) {
            $("msg_sendEmail").innerHTML = "正在发送邮件........"
            $("btnReg").disabled = true
            setTimeout("SendMail()", 100)
            $("btnReg").disabled = false
        }
        else {
            alert("注册失败")
        }
    }
}

function SendMail() {
    var mailSuccess = false;
    if (window.location.href.indexOf("registe_broker.aspx") == -1) {
        mailSuccess = AgencyOffice.RegAgency.SendEmail($("txtAccount").value, $("txtEmail").value, "欢迎注册八号房网，请激活您的账号", "")
    }
    else {
        mailSuccess = AgencyOffice.registe_broker.SendEmail($("txtAccount").value, $("txtEmail").value, "欢迎注册八号房网，请激活您的账号", "")
    }

    if (mailSuccess.value) {
        if (window.location.href.indexOf("registe_broker.aspx") == -1)
            window.open("EmailNotice.aspx?em=" + AgencyOffice.RegAgency.Encrypt($("txtEmail").value).value + "&account=" + $("txtAccount").value + "", "_parent")
        else
            window.open("EmailNotice.aspx?em=" + AgencyOffice.registe_broker.Encrypt($("txtEmail").value).value + "&account=" + $("txtAccount").value + "", "_parent")
    }
    else {
        $("msg_sendEmail").innerHTML = "网络繁忙，请稍后再试！"
    }
}

function getCookie(name)//取cookies函数        
{
    var arr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)"));
    if (arr != null) return arr[2]; return "null";

}

function InitInfo(type) {
    if (type == 0) {
        showDiv(false);
        if ($("orgYes").checked) {
            $("liOrgName").innerHTML = "企业名称："
            $("liOrgShortName").innerHTML = "企业简称："
            $("orgcontainer").style.display = "none"
        }
    }
    else if (type == 1) {
        $("orgcontainer").style.display = ""
        $("liParentOrg").innerHTML = "所属企业："
        $("liOrgName").innerHTML = "门店名称："
        $("liOrgShortName").innerHTML = "门店简称："
        //        $("spParentTip").innerHTML="(若所属企业未注册，请以\"独立企业\"类型注册，并通知所属企业注册)";
    }
    else if (type == 2) {
        $("orgcontainer").style.display = ""
        $("liParentOrg").innerHTML = "加盟企业："
        $("liOrgName").innerHTML = "门店名称："
        $("liOrgShortName").innerHTML = "门店简称："
        //        $("spParentTip").innerHTML="(若加盟企业未注册，请以\"独立企业\"类型注册，并通知所属企业注册)";
    }
}


