document.writeln("    <div class=\"footer2020-2\">");
document.writeln("        <div class=\"footer2020-201\">");
document.writeln("            <p>主办：CODEPAY 版权所有</p>");
document.writeln("            <p>运行管理：佰汇</p>");
document.writeln("            <p>");
document.writeln("                <a href=\"https://beian.miit.gov.cn/#/Integrated/index\" target=\"_blank\">备案序号：蜀ICP备20018952号 </a>");
document.writeln("            </p>");
document.writeln("            <p>");
document.writeln("            <a href=\"http://www.beian.gov.cn/portal/index\" target=\"_blank\"><img src=\"http://www.jszwfw.gov.cn/picture/79/2009090942076634816.png\">公安备案号：32010602010331</a>");
document.writeln("            </p>");
document.writeln("            <p>网站标识码：3200000098 ");
document.writeln("            </p>");
document.writeln("        </div>");
document.writeln("    </div>");
document.writeln("");
document.writeln("</div>");
document.writeln("<style>");
document.writeln(".footer2020{width: 100%;height: auto;border-top: 2px solid #e2e4e4;background-color: #f1f2f3;min-height: 300px;}");
document.writeln(".footer2020 .footer2020-1{width: 1200px;height: 240px;margin: 0 auto;padding-top: 35px;}");
document.writeln(".footer2020-101{width: 270px;height: 170px;background-color: #eaebeb;padding: 25px;float: left;}");
document.writeln(".footer2020-101title{font-size: 17px;width: 100%;height: 40px;font-weight: bold;}");
document.writeln(".footer2020-101list ul li{float: left;width: 50%;line-height: 40px;font-size: 15px;}");
document.writeln(".footer2020-102{width: 270px;height: 170px;float: left;margin-left: 40px;}");
document.writeln(".footer2020-102 ul li img{margin-right: 10px;margin-top: -5px;}");
document.writeln("#_span_jiucuo{margin: 0 auto;}");
document.writeln(".footer2020-102 ul li{width: 100%;height: 50px;background-color: #eaebeb;line-height: 50px;font-size: 15px;padding-left: 20px;margin-bottom: 10px;}");
document.writeln(".footer2020-103{width: 270px;height: 170px;float: left;margin-left: 40px;}");
document.writeln(".footer2020-103 ul li{width: 100%;height: 50px;line-height: 50px;font-size: 15px;padding-left: 55px;margin-bottom: 10px;background: url(http://www.jszwfw.gov.cn/picture/79/2009090942076263186.png) no-repeat #eaebeb 20px 16px;}");
document.writeln(".footer2020-104{width: 270px;height: 170px;float: left;margin-left: 40px;}");
document.writeln(".footer2020-104top{width: 100%;height: 50px;background-color: #eaebeb;line-height: 50px;font-size: 15px;padding-left: 20px;margin-bottom: 10px;}");
document.writeln(".footer2020-104top img{margin-right: 20px;}");
document.writeln(".footer2020-104bottom{width: 100%;height: 110px;}");
document.writeln(".footer2020-104bottom1{width: 165px;height: 100%;float: left;margin-right: 10px;background-color: #eaebeb;display: flex;align-items: center;}");
document.writeln(".footer2020-104bottom1 img{margin: 0 auto;}");
document.writeln(".footer2020-104bottom2{width: 95px;height: 100%;float: left;background-color: #eaebeb;display: flex;align-items: center;}");
document.writeln(".footer2020-104bottom2 img{margin: 0 auto;}");
document.writeln(".footer2020-2{width: 100%;height: 60px;margin: 0 auto;border-top: 2px solid #e2e4e4;background: #eaebeb;}");
document.writeln(".footer2020-201{width: 1200px;height: 100%;line-height: 56px;margin: auto;}");
document.writeln(".footer2020-201 p{float: left;font-size: 13px;margin-right: 25px;}");
document.writeln(".footer2020-103 a{position: relative;}");
document.writeln(".footer-mp-item-hover {");
document.writeln("display: none;");
document.writeln("position: absolute;");
document.writeln("left: -57px;");
document.writeln("bottom: 3.1rem;");
document.writeln("height: 233px;");
document.writeln("width: 274px;");
document.writeln("padding: 1rem;");
document.writeln("background: url(static/home/login/img/2009091007569597499.png) no-repeat ;");
document.writeln("opacity: .97;");
document.writeln("z-index: 99;");
document.writeln("text-align: center;");
document.writeln("}");
document.writeln(".footer-mp-item-hover img{width: 160px;height: 160px;}");
document.writeln(".footer-mp-item-hover>i {");
document.writeln("font-size: .8rem;");
document.writeln("color: #000;");
document.writeln("text-align: center;");
document.writeln("display: block;");
document.writeln("font-style: normal;");
document.writeln("line-height: 1.5;");
document.writeln("}");
document.writeln(".footer-mp-item-hover>i {");
document.writeln("font-size: .8rem;");
document.writeln("color: #000;");
document.writeln("text-align: center;");
document.writeln("display: block;");
document.writeln("font-style: normal;");
document.writeln("line-height: 1.5;");
document.writeln("font-size: 20px;");
document.writeln("}");
document.writeln("");
document.writeln("</style>");
/**事项办理弹出层**/

//点击图标
function Link(site_code) {
    //获取该站点需要纠错页面的url地址
    var url = getCurrUrl();
    document.getElementById("_span_jiucuo").href =
        "https://zfwzgl.www.gov.cn/exposure/jiucuo.html?site_code=" +
        site_code + "&url=" + encodeURIComponent(url);
}
//获取该站点需要纠错页面的url地址

function getCurrUrl() {
    var url = window.top.location.href;

    return url;
}
$(function () {
    $(".sz50-openbox2 li").click(function () {
        $('.sz50-openbox2 li').removeClass('sz50click');
        $(this).addClass('sz50click'); // 添加当前元素的样式
    })
})
$(function () {
    $('.sz50-but').click(function (e) {
        var add = $(this).attr('href') //判断href
        var pic = $(this).children('.pic').attr('src') //判断img                         有二维码展示二维码，没有二维码跳外链，都没有跳选地区
        var dian = window.parent.document.getElementsByClassName("zhebi") //外层的zz
        var city = window.parent.document.getElementsByClassName('sz50show')
        var erweima = $(this).children('.pic').attr('src') //获取当前二维码src地址
        var zhebitwo = window.parent.document.getElementById('zhebitwo') //获取外层的zhebitwo图片
        if (add == '' && pic == '') {
            $(city).show();
            $(dian).show()
            $('.pic').hide();
        }
        if (pic !== '') {
            if ($('iframe').hasClass('newnewnewiframe')) {
                $(zhebitwo).attr("src", erweima)
                $(zhebitwo).show()
            } else {
                $(this).children('.pic').show().parents('.sz50-but').siblings().children('.pic').hide()
                $('.zhebi').show();
                e.stopPropagation(e);
            }

        }
        if (add !== '') {
            return true
        }
        return false
    })
})
$(function () {
    $(document).click(function (e) {
        $('.pic').hide();
        e.stopPropagation();
    })

    $('.zhebi').click(function () {
        $(this).hide()
        $('#zhebitwo').hide()
        $('.sz50show').hide()
    })

    $(document).click(function (e) {
        $('.newnewnewiframe').contents().find('.pic').hide()

    })
    $('#close').click(function () {
        $('.sz50show').hide()
        $('.zhebi').hide();
    })
})
document.writeln("<div class=\"zhebi\" style=\"display: none;\"><p style=\"color: rgb(255, 255, 255);/* margin-top: 205px; *//* margin: 0 auto; */width: 100%;height: auto;position: absolute;left: 50%;margin-left: -152px;top: 20%;margin-top: 220px;\">请使用LIVIPAY服务APP扫一扫，获取服务</p></div>");
document.writeln("<div class=\"sz50show\" style=\"display: none;\">");
document.writeln("	<div class=\"sz50-openbox\">");
document.writeln("		<div class=\"sz50title\">");
document.writeln("			请选择您需要办理的城市   <span class=\"bt-right\" id=\"close\">X</span>");
document.writeln("		</div>");
document.writeln("		<div class=\"sz50-openbox1\" id=\"mianbaoxie1\">");
document.writeln("			");
document.writeln("		</div>");
document.writeln("		<div class=\"sz50-openbox2\">");
document.writeln("			<ul id=\"areaList\">");
document.writeln("				");
document.writeln("			</ul>");
document.writeln("		</div>");
document.writeln("		<div class=\"sz50-openbox3\" id=\"mianbaoxie2\">");
document.writeln("		");
document.writeln("		</div>");
document.writeln("		<div class=\"sz50-openbox4\" style=\"display: none;\">");
document.writeln("			<a>确定</a>");
document.writeln("		</div>");
document.writeln("		<div class=\"sz50-openbox5\">");
document.writeln("			<ul id=\"mlsxList\">");
document.writeln("				");
document.writeln("			</ul>");
document.writeln("		</div>");
document.writeln("	</div>");
document.writeln("</div>");
document.writeln("<img id=\"zhebitwo\" width=\"200\" height=\"200\" style=\"position: fixed;left: 50%;top: 20%;margin-left: -100px;z-index: 999;display:none\" src=\"\">");
document.writeln("<style>");
document.writeln("	/***弹出层***/");
document.writeln(".zhebi {display: none;width: 100%;height: 100%;position: fixed;top: 0px;left: 0px;background-color: rgba(0, 0, 0, 0.5);;z-index: 123;}");
document.writeln(".sz50-openbox{width: 1000px;border: 1px solid #e5e5e5;transition: all .3s ease;;padding: 25px;position: fixed;z-index: 999;;background: #FFFFFF;left:50%;margin-left:-500px;top:10%;min-height:405px;}");
document.writeln(".sz50-openbox1{color: #515EF2;font-size: 19px;font-weight: bold;margin-bottom: 35px;}");
document.writeln(".sz50-openbox1 span{margin-right: 10px;cursor:pointer}");
document.writeln(".sz50-openbox2{width: 100%;height: auto;overflow: hidden;}");
document.writeln(".sz50-openbox2 ul li{min-width: 112px;padding: 0 10px;height: 40px;float: left;line-height: 38px;text-align: center;font-size: 17px;cursor: pointer;margin-right: 23px;margin-bottom: 25px;color: #515EF2;}");
document.writeln(".sz50-openbox2 ul li.sz50grey{border: 1px solid #d7d9db;background: #f1f2f3;color: #999999;;}");
document.writeln(".sz50-openbox2 ul li.sz50blue{border: 1px solid #515EF2;background: #e1e3fb;}");
document.writeln(".sz50-openbox2 ul li.sz50click{background: url(static/home/login/img/2009211403550242791.png) no-repeat right bottom #e1e3fb;border: 1px solid #515EF2;line-height: 38px;}");
document.writeln(".sz50-openbox3{width: 100%;height: auto;margin-top: 0px;margin-bottom: 30px;font-size: 17px;}");
document.writeln(".sz50-openbox3 .sz50-openbox3-1{margin-right: 10px;}");
document.writeln(".sz50-openbox4{width: 100%;height: auto;}");
document.writeln(".sz50-openbox4 a{width: 90px;height: 40px;display: block;border-radius: 10px;text-align: center;line-height: 40px;background: #0e59c1;color: #FFFFFF;cursor: pointer;}");
document.writeln(".sz50-openboxshow{display: block;}");
document.writeln(".sz50title{font-size: 24px;color: #2B2F32;width: 100%;height: 50px;border-bottom: 2px solid #73777A;margin-bottom: 20px;}");
document.writeln(".sz50-openbox5{width: 100%;height: auto;max-height: 245px;overflow-y: auto;}");
document.writeln(".sz50-openbox5 ul li{width: 98%; height: 40px;line-height: 40px;background-color: #F1F2F3;margin-bottom: 10px;padding-left: 20px;}");
document.writeln(".sz50-but .pic{position: fixed;");
document.writeln("    top: 20%;");
document.writeln("    left: 50%;");
document.writeln("    margin-left: -100px;");
document.writeln("    z-index: 999;display: none;}");
document.writeln(".sz50-openbox5::-webkit-scrollbar {/*滚动条整体样式*/");
document.writeln("    width: 4px;     /*高宽分别对应横竖滚动条的尺寸*/");
document.writeln("    height: 4px;");
document.writeln("    scrollbar-arrow-color:red;");
document.writeln("");
document.writeln("}");
document.writeln(".sz50-openbox5::-webkit-scrollbar-thumb {/*滚动条里面小方块*/");
document.writeln("    border-radius: 5px;");
document.writeln("    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);");
document.writeln("    background:#515EF2;");
document.writeln("    scrollbar-arrow-color:red;");
document.writeln("}");
document.writeln(".sz50-openbox5::-webkit-scrollbar-track {/*滚动条里面轨道*/");
document.writeln("    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);");
document.writeln("    border-radius: 0;");
document.writeln("    background: rgba(0,0,0,0.1);");
document.writeln("}");
document.writeln("#close {");
document.writeln("    font-size: 20px;");
document.writeln("    padding: 10px;");
document.writeln("    cursor: pointer;");
document.writeln("}");
document.writeln(".section02conlink a {");
document.writeln("    position: relative;");
document.writeln("}");
document.writeln(".sz50-but {");
document.writeln("    position: relative;");
document.writeln("}");
document.writeln(".sz50-but .pic {");
document.writeln("    width: 200px;");
document.writeln("    height: 200px;");
document.writeln("}");
document.writeln("</style>");
document.writeln("");
////////////接口
var curMlbm = '';
// var areaJiekou1 = '/jszwfw/rmfw/getArea.do?webId=1';
var areaJiekou1 = '';
var areaJiekou2 = '';
var mianbaoxie1Html = '';
var areaListHtml = '';
var mianbaoxie2Html = '';
var mlsxListHtml = '';
var webId = '';



function clickSxml() {
    curMlbm = $(this).attr('mlbm');
    areaJiekou1 = '/jszwfw/rmfw/getArea.do?catalog=' + curMlbm + '&webId=1';
    areaJiekou2 = '/jszwfw/rmfw/getYwInfo.do?catalog=' + curMlbm + '&webId=1';
    getArea(areaJiekou1)
    getInfo(areaJiekou2);
    //if ($('#mianbaoxie1').text() != '江苏省') {
    //getArea(areaJiekou1)
    //}
}
