﻿function ShowCitys(returnText, returnValue, isTitle) {
    if (document.getElementById(returnValue).value == "" && document.getElementById(returnText).value != "") {
       // document.getElementById(returnText).value = "";
    }
     if(document.getElementById("bgbox")!=null)
     {
       return;
     }
    PrintBg("bgbox", 100); //绘制背景层
    var iii = document.getElementById(returnValue).value.replace(" ", "");
    var msgw, msgh, bordercolor;
    msgw = 410; //提示窗口的宽度
    msgh = 500; //提示窗口的高度
    titleheight = 25 //提示窗口标题高度
    bordercolor = "#5280A5"; //提示窗口的边框颜色
    titlecolor = "#5280A5"; //提示窗口的标题颜色
    var sWidth, sHeight;
    sWidth = document.body.clientWidth; //浏览器工作区域内页面宽度
    sHeight = document.body.scrollHeight; //屏幕高度（垂直分辨率）

    //背景层（大小与窗口有效区域相同，即当弹出对话框时，背景显示为放射状透明灰色）
    var bgObj = document.createElement("div"); //创建一个div对象（背景层）
    //定义div属性，即相当于
    //<div id="bgDiv" style="position:absolute; top:0; background-color:#777; filter:progid:DXImagesTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75); opacity:0.6; left:0; width:918px; height:768px; z-index:10000;"></div>
    bgObj.setAttribute('id', 'bgDiv');
    bgObj.style.position = "absolute";
    bgObj.style.top = "0";
    // bgObj.style.background = "#ccc";
    bgObj.style.background = "#5280A5";

    //    var infrm = document.createElement('iframe');
    //    infrm.src = 'javascript:false';
    //    infrm.style.cssText = 'position:absolute;visibility:inherit;top:0px;left:0px;width:'+sWidth+';height:'+sHeight+';z-index:-1;filter:\'progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)\'';
    //    bgObj.style.filter = "progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
    //    bgObj.style.opacity = "0.6";
    //    bgObj.style.left = "0";
    //    bgObj.style.width = sWidth + "px";
    //    bgObj.style.height = sHeight + "px";
    //    bgObj.style.zIndex = "10000";
    //    bgObj.appendChild(infrm);
    //document.body.appendChild(bgObj); //在body内添加该div对象

    var msgObj = document.createElement("div")//创建一个div对象（提示框层）
    //定义div属性，即相当于
    //<div id="msgDiv" align="center" style="background-color:white; border:1px solid #336699; position:absolute; left:50%; top:50%; font:12px/1.6em Verdana,Geneva,Arial,Helvetica,sans-serif; margin-left:-225px; margin-top:npx; width:400px; height:100px; text-align:center; line-height:25px; z-index:100001;"></div>
    msgObj.setAttribute("id", "msgDiv");
    msgObj.setAttribute("align", "left");
    msgObj.style.background = "white";
    msgObj.style.border = "1px solid " + bordercolor;
    msgObj.style.position = "absolute";
    msgObj.style.left = "52%";
    msgObj.style.top = "20%";
    msgObj.style.font = "12px/1.6em Verdana, Geneva, Arial, Helvetica, sans-serif";
    msgObj.style.marginLeft = "-225px";
    msgObj.style.marginTop = -75 + document.documentElement.scrollTop + "px";
    msgObj.style.width = msgw + "px";
    msgObj.style.height = msgh + "px";
    msgObj.style.textAlign = "left";
    //msgObj.style.lineHeight = "25px";
    msgObj.style.zIndex = "10001";

    var title = document.createElement("div"); //创建一个div对象（提示框标题栏）
    //定义h4的属性，即相当于
    //<h4 id="msgTitle" align="right" style="margin:0; padding:3px; background-color:#336699; filter:progid:DXImageTransform.Microsoft.Alpha(startX=20, startY=20, finishX=100, finishY=100,style=1,opacity=75,finishOpacity=100); opacity:0.75; border:1px solid #336699; height:18px; font:12px Verdana,Geneva,Arial,Helvetica,sans-serif; color:white; cursor:pointer;" onclick="">关闭</h4>
    title.setAttribute("id", "msgTitle");
    //title.style.margin = "0";
    //title.style.padding = "3px";
    title.style.backgroundImage = "url('images/cmax_index_05.gif')";
    title.style.filter = "progid:DXImageTransform.Microsoft.Alpha(startX=20, startY=20, finishX=100, finishY=100,style=1,opacity=75,finishOpacity=100)";
    title.style.opacity = "0.75";
    //title.style.border = "1px solid " + bordercolor;
    title.style.height = "31px";
      title.style.width = "410px";
    title.style.font = "12px Verdana, Geneva, Arial, Helvetica, sans-serif";
    title.style.color = "#294052";
    title.style.cursor = "pointer";
    title.style.paddingTop = "0px";
    title.innerHTML = "<img align='absmiddle' src='images/cmax_index_07.gif' hspace='20' />请选择工作地点(最多选择3个)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[确定]|[关闭]"; title.onclick = removeObj;
    //点击标题栏触发的事件
    function removeObj() {
        var strsubs=document.getElementById("hiResultText").value.replace(" ", ""); 
        var address="";
        if(strsubs.indexOf(",")>0)
        {
          address=strsubs.substr(0,strsubs.length-1);
        }
        else
        {
          address=strsubs;
        
        }
        
        document.getElementById(returnText.toString()).value = address;
        

       // document.getElementById(returnText.toString()).value = document.getElementById("hiResultText").value.replace(" ", "");
        document.getElementById(returnValue.toString()).value = document.getElementById("hiResultValue").value.replace(" ", "");
        var btnCity = document.getElementById("ctl00_ContentPlaceHolder1_btnCity") == null ? document.getElementById("btnCity") : document.getElementById("ctl00_ContentPlaceHolder1_btnCity");
        if (btnCity != null) {
            if (isTitle) {
                if (document.getElementById(returnText.toString()).value.length > 1) {
                    btnCity.value = document.getElementById(returnText.toString()).value.substring(0, document.getElementById(returnText.toString()).value.length - 1);

                    if (document.getElementById(returnText.toString()).value.length > 10) {
                        btnCity.value = document.getElementById(returnText.toString()).value.substring(0, 10) + "...";

                        //绑定标题
                        btnCity.title = document.getElementById(returnText.toString()).value;
                    }
                    else {
                        btnCity.title = "";
                    }
                }
                else {
                    btnCity.value = "选择/修改";
                }
            }
        }
 
        var imgCity = document.getElementById("btnCity");
        if (imgCity) {
            if (document.getElementById(returnText.toString()).value.length > 1) {
                imgCity.src = "images/yichoose.gif";
            }
            else {
                imgCity.src = "images/choose.gif";
            }
        }

        //document.body.removeChild(bgObj); //删除背景层Div
        document.getElementById("msgDiv").removeChild(title); //删除提示框的标题栏
        document.body.removeChild(msgObj); //删除提示框层
        RemoveBg("bgbox");

        var divCitys = document.getElementById("divCitys");
        if (divCitys != null) {
            document.body.removeChild(divCitys); //删除城市div
        }
    }

    var citys = document.createElement("div"); //创建一个div对象（提示框标题栏）
    //定义h4的属性，即相当于
    //<h4 id="msgTitle" align="right" style="margin:0; padding:3px; background-color:#336699; filter:progid:DXImageTransform.Microsoft.Alpha(startX=20, startY=20, finishX=100, finishY=100,style=1,opacity=75,finishOpacity=100); opacity:0.75; border:1px solid #336699; height:18px; font:12px Verdana,Geneva,Arial,Helvetica,sans-serif; color:white; cursor:pointer;" onclick="">关闭</h4>
    citys.setAttribute("id", "msgCity");
    //title.style.margin = "0";
    //title.style.padding = "3px";
    citys.style.backgroundImage = "url('images/cmax_index_05.gif')";
    citys.style.filter = "progid:DXImageTransform.Microsoft.Alpha(startX=20, startY=20, finishX=100, finishY=100,style=1,opacity=75,finishOpacity=100)";
    citys.style.opacity = "0.75";
    //title.style.border = "1px solid " + bordercolor;
    citys.style.height = "31px";
    citys.style.font = "12px Verdana, Geneva, Arial, Helvetica, sans-serif";
    citys.style.color = "#294052";
    citys.style.cursor = "pointer";
    citys.style.paddingTop = "0px";
    citys.innerHTML = "<div style='width:150px;display:inline;'>&nbsp;&nbsp;&nbsp;&nbsp;已选择：<strong><span class='red12' id='selectCitys'></span></strong></div> <div style='color: #fe6c00; padding-left: 15px;display:inline;' bgcolor='#dde8f3' align='right' class='black333'> <a href='javascript:void(0)' onclick='canelCheckCity()'>[取消]</a>&nbsp;&nbsp;&nbsp;&nbsp; </div>";

    document.body.appendChild(msgObj); //在body内添加提示框div对象msgObj
    document.getElementById("msgDiv").appendChild(title); //在提示框div中添加标题栏对象title
    document.getElementById("msgDiv").appendChild(citys); //在提示框div中添加标题栏对象title

    var tb = document.createElement("table");
    tb.setAttribute("width", "410px");
    tb.setAttribute("border", "0px");
    tb.setAttribute("cellPadding", "0px");
    tb.setAttribute("cellSpacing", "0px");

    trTitle0 = tb.insertRow(tb.rows.length);
    trTitle0_td1 = trTitle0.insertCell(0);
    trTitle0_td1.style.color = "#fe6c00";
    trTitle0_td1.setAttribute("width", "50px");
    trTitle0_td1.setAttribute("height", "25px");
    trTitle0_td1.setAttribute("align", "center");
    trTitle0_td1.setAttribute("bgColor", "#dde8f3");
    //trTitle0_td1.setAttribute("colSpan", "2");
    trTitle0_td1.innerHTML = "<strong>经济区域</strong>";

    trTitle0_td2 = trTitle0.insertCell(1);
    trTitle0_td2.setAttribute("bgColor", "#DDE8F3");
    trTitle0_td2.setAttribute("width", "405px");

    tr0 = tb.insertRow(tb.rows.length);
    tr0_td1 = tr0.insertCell(0);
    tr0_td1.style.color = "#335271";
    tr0_td1.style.borderBottom = "#d4e0eb 1px solid";
    tr0_td1.style.borderRight = "#d4e0eb 1px solid";
    tr0_td1.setAttribute("width", "95px");
    tr0_td1.setAttribute("height", "75px");
    tr0_td1.setAttribute("align", "center");
    tr0_td1.setAttribute("bgColor", "#EDF6FE");
    tr0_td1.innerHTML = "<strong>长三角经济区</strong>";

    tr0_td2 = tr0.insertCell(1);
    tr0_td2.style.color = "#335271";
    tr0_td2.style.borderBottom = "#d4e0eb 1px solid";
    tr0_td2.style.borderRight = "#d4e0eb 1px solid";

    tr0_td2.setAttribute("width", "405px");
    tr0_td2.setAttribute("align", "left");
    tr0_td2.setAttribute("bgColor", "#EDF6FE");
    tr0_td2.innerHTML = "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cbp24' value='24' type='checkbox' onclick='CheckProvince(this)' /><label id='labp24'>上海</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb189' value='189' type='checkbox' onclick='Check(this)' /><label id='lab189'>南京</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb191' value='191' type='checkbox' onclick='Check(this)' /><label id='lab191'>苏州</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb194' value='194' type='checkbox' onclick='Check(this)' /><label id='lab194'>无锡</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb186' value='186' type='checkbox' onclick='Check(this)' /><label id='lab186'>常州</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb197' value='197' type='checkbox' onclick='Check(this)' /><label id='lab197'>扬州</label></span><br />"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb198' value='198' type='checkbox' onclick='Check(this)' /><label id='lab198'>镇江</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb190' value='190' type='checkbox' onclick='Check(this)' /><label id='lab190'>南通</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb193' value='193' type='checkbox' onclick='Check(this)' /><label id='lab193'>泰州</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb348' value='348' type='checkbox' onclick='Check(this)' /><label id='lab348'>杭州</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb353' value='353' type='checkbox' onclick='Check(this)' /><label id='lab353'>宁波</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb354' value='354' type='checkbox' onclick='Check(this)' /><label id='lab354'>绍兴</label></span><br />"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb350' value='350' type='checkbox' onclick='Check(this)' /><label id='lab350'>嘉兴</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb357' value='357' type='checkbox' onclick='Check(this)' /><label id='lab357'>舟山</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb349' value='349' type='checkbox' onclick='Check(this)' /><label id='lab349'>湖州</label></span> ";

    tr1 = tb.insertRow(tb.rows.length);
    tr1_td1 = tr1.insertCell(0);
    tr1_td1.style.color = "#335271";
    tr1_td1.style.borderBottom = "#d4e0eb 1px solid";
    tr1_td1.style.borderRight = "#d4e0eb 1px solid";
    tr1_td1.setAttribute("height", "55px");
    tr1_td1.setAttribute("align", "center");
    tr1_td1.setAttribute("bgColor", "#EDF6FE");
    tr1_td1.innerHTML = "<strong>珠三角经济区</strong>";

    tr1_td2 = tr1.insertCell(1);
    tr1_td2.style.color = "#335271";
    tr1_td2.style.borderBottom = "#d4e0eb 1px solid";
    tr1_td2.style.borderRight = "#d4e0eb 1px solid";
    tr1_td2.setAttribute("width", "405px");
    tr1_td2.setAttribute("align", "left");
    tr1_td2.setAttribute("bgColor", "#EDF6FE");
    tr1_td2.innerHTML = "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cbp37' value='37' type='checkbox' onclick='CheckProvince(this)' /><label id='labp37'>广州</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cbp36' value='36' type='checkbox' onclick='CheckProvince(this)' /><label id='labp36'>深圳</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb62' value='62' type='checkbox' onclick='Check(this)'  /><label id='lab62'>珠海</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb44' value='44' type='checkbox' onclick='Check(this)'  /><label id='lab44'>佛山</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb48' value='48' type='checkbox' onclick='Check(this)'  /><label id='lab48'>江门</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb61' value='61' type='checkbox' onclick='Check(this)'  /><label id='lab61'>中山</label></span><br />"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb43' value='43' type='checkbox' onclick='Check(this)'  /><label id='lab43'>东莞</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb47' value='47' type='checkbox' onclick='Check(this)'  /><label id='lab47'>惠州</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb60' value='60' type='checkbox' onclick='Check(this)'  /><label id='lab60'>肇庆</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb360' value='360' type='checkbox' onclick='Check(this)' /><label id='lab360'>香港</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb361' value='361' type='checkbox' onclick='Check(this)' /><label id='lab361'>澳门</label></span>";

    tr2 = tb.insertRow(tb.rows.length);
    tr2_td1 = tr2.insertCell(0);
    tr2_td1.style.color = "#335271";
    tr2_td1.style.borderBottom = "#d4e0eb 1px solid";
    tr2_td1.style.borderRight = "#d4e0eb 1px solid";
    tr2_td1.setAttribute("height", "30px");
    tr2_td1.setAttribute("align", "center");
    tr2_td1.setAttribute("bgColor", "#EDF6FE");
    tr2_td1.innerHTML = "<strong>环渤海经济区</strong>";

    tr2_td2 = tr2.insertCell(1);
    tr2_td2.style.color = "#335271";
    tr2_td2.style.borderBottom = "#d4e0eb 1px solid";
    tr2_td2.style.borderRight = "#d4e0eb 1px solid";
    tr2_td2.setAttribute("width", "405px");
    tr2_td2.setAttribute("align", "left");
    tr2_td2.setAttribute("bgColor", "#EDF6FE");
    tr2_td2.innerHTML = "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cbp2' value='2' type='checkbox' onclick='CheckProvince(this)' /><label id='labp2'>北京</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb308' value='308' type='checkbox' onclick='Check(this)' /><label id='lab308'>天津</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb213' value='213' type='checkbox' onclick='Check(this)' /><label id='lab213'>大连</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb257' value='257' type='checkbox' onclick='Check(this)' /><label id='lab257'>青岛</label></span>";

    tr3 = tb.insertRow(tb.rows.length);
    tr3_td1 = tr3.insertCell(0);
    tr3_td1.style.color = "#335271";
    tr3_td1.style.borderBottom = "#d4e0eb 1px solid";
    tr3_td1.style.borderRight = "#d4e0eb 1px solid";
    tr3_td1.setAttribute("height", "30px");
    tr3_td1.setAttribute("align", "center");
    tr3_td1.setAttribute("bgColor", "#EDF6FE");
    tr3_td1.innerHTML = "<strong>海峡经济区</strong>";

    tr3_td2 = tr3.insertCell(1);
    tr3_td2.style.color = "#335271";
    tr3_td2.style.borderBottom = "#d4e0eb 1px solid";
    tr3_td2.style.borderRight = "#d4e0eb 1px solid";
    tr3_td2.setAttribute("width", "405px");
    tr3_td2.setAttribute("height", "30px");
    tr3_td2.setAttribute("align", "left");
    tr3_td2.setAttribute("bgColor", "#EDF6FE");
    tr3_td2.innerHTML = "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb19' value='19' type='checkbox' onclick='Check(this)' /><label id='lab19'>福州</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb26' value='26' type='checkbox' onclick='Check(this)' /><label id='lab26'>厦门</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb24' value='24' type='checkbox' onclick='Check(this)' /><label id='lab24'>泉州</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb356' value='356' type='checkbox' onclick='Check(this)' /><label id='lab356'>温州</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb53' value='53' type='checkbox' onclick='Check(this)' /><label id='lab53'>汕头</label></span>";

    tr4 = tb.insertRow(tb.rows.length);
    tr4_td1 = tr4.insertCell(0);
    tr4_td1.style.color = "#335271";
    tr4_td1.style.borderBottom = "#d4e0eb 1px solid";
    tr4_td1.style.borderRight = "#d4e0eb 1px solid";
    tr4_td1.setAttribute("height", "30px");
    tr4_td1.setAttribute("align", "center");
    tr4_td1.setAttribute("bgColor", "#EDF6FE");
    tr4_td1.innerHTML = "<strong>成渝经济区</strong>";

    tr4_td2 = tr4.insertCell(1);
    tr4_td2.style.color = "#335271";
    tr4_td2.style.borderBottom = "#d4e0eb 1px solid";
    tr4_td2.style.borderRight = "#d4e0eb 1px solid";
    tr4_td2.setAttribute("width", "405px");
    tr4_td2.setAttribute("align", "left");
    tr4_td2.setAttribute("bgColor", "#EDF6FE");
    tr4_td2.innerHTML = "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb289' value='289' type='checkbox' onclick='Check(this)' /><label id='lab289'>成都</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb376' value='376' type='checkbox' onclick='Check(this)' /><label id='lab376'>重庆</label></span>";

    tr5 = tb.insertRow(tb.rows.length);
    tr5_td1 = tr5.insertCell(0);
    tr5_td1.style.color = "#fe6c00";
    tr5_td1.setAttribute("width", "50px");
    tr5_td1.setAttribute("height", "25px");
    tr5_td1.setAttribute("align", "center");
    tr5_td1.setAttribute("bgColor", "#dde8f3");
    //tr5_td1.setAttribute("colSpan", "2");
    tr5_td1.innerHTML = "<strong>省份</strong>";

    tr5_td2 = tr5.insertCell(1);
    tr5_td2.setAttribute("bgColor", "#DDE8F3");
    tr5_td2.setAttribute("width", "405px");
    tr5_td2.innerHTML = "<input id='hiResultValue' type='hidden' /><input id='hiResultText' type='hidden' />";

    tr6 = tb.insertRow(tb.rows.length);
    tr6_td1 = tr6.insertCell(0);
    tr6_td1.style.color = "#335271";
    tr6_td1.style.borderBottom = "#d4e0eb 1px solid";
    tr6_td1.style.borderRight = "#d4e0eb 1px solid";
    tr6_td1.setAttribute("height", "30px");
    tr6_td1.setAttribute("align", "center");
    tr6_td1.setAttribute("bgColor", "#EDF6FE");
    tr6_td1.innerHTML = "<strong>华北-东北</strong>";

    tr6_td2 = tr6.insertCell(1);
    tr6_td2.style.color = "#335271";
    tr6_td2.style.borderBottom = "#d4e0eb 1px solid";
    tr6_td2.style.borderRight = "#d4e0eb 1px solid";
    tr6_td2.setAttribute("width", "405px");
    tr6_td2.setAttribute("align", "left");
    tr6_td2.setAttribute("bgColor", "#EDF6FE");
    tr6_td2.innerHTML = "&nbsp;&nbsp;<label id='labhb' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,0)' style='cursor:pointer;'>河北省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labsx' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,1)' style='cursor:pointer;'>山西省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labnmg' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,2)' style='cursor:pointer;'>内蒙古</label>"
   + "&nbsp;&nbsp;&nbsp;&nbsp;<label id='labln' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,3)' style='cursor:pointer;'>辽宁省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labjl' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,4)' style='cursor:pointer;'>吉林省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labhlj' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,5)' style='cursor:pointer;'>黑龙江省</label>";

    tr7 = tb.insertRow(tb.rows.length);
    tr7_td1 = tr7.insertCell(0);
    tr7_td1.style.color = "#335271";
    tr7_td1.style.borderBottom = "#d4e0eb 1px solid";
    tr7_td1.style.borderRight = "#d4e0eb 1px solid";
    tr7_td1.setAttribute("height", "30px");
    tr7_td1.setAttribute("align", "center");
    tr7_td1.setAttribute("bgColor", "#EDF6FE");
    tr7_td1.innerHTML = "<strong>华东</strong>";

    tr7_td2 = tr7.insertCell(1);
    tr7_td2.style.color = "#335271";
    tr7_td2.style.borderBottom = "#d4e0eb 1px solid";
    tr7_td2.style.borderRight = "#d4e0eb 1px solid";
    tr7_td2.setAttribute("width", "405px");
    tr7_td2.setAttribute("align", "left");
    tr7_td2.setAttribute("bgColor", "#EDF6FE");
    tr7_td2.innerHTML = "&nbsp;&nbsp;<label id='labjs' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,6)' style='cursor:pointer;'>江苏省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labzj' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,7)' style='cursor:pointer;'>浙江省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labah' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,8)' style='cursor:pointer;'>安徽省</label>"
   + "&nbsp;&nbsp;&nbsp;&nbsp<label id='labfj' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,9)' style='cursor:pointer;'>福建省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labjx' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,10)' style='cursor:pointer;'>江西省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labsd' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,11)' style='cursor:pointer;'>山东省</label>";

    tr8 = tb.insertRow(tb.rows.length);
    tr8_td1 = tr8.insertCell(0);
    tr8_td1.style.color = "#335271";
    tr8_td1.style.borderBottom = "#d4e0eb 1px solid";
    tr8_td1.style.borderRight = "#d4e0eb 1px solid";
    tr8_td1.setAttribute("height", "30px");
    tr8_td1.setAttribute("align", "center");
    tr8_td1.setAttribute("bgColor", "#EDF6FE");
    tr8_td1.innerHTML = "<strong>华南-华中</strong>";

    tr8_td2 = tr8.insertCell(1);
    tr8_td2.style.color = "#335271";
    tr8_td2.style.borderBottom = "#d4e0eb 1px solid";
    tr8_td2.style.borderRight = "#d4e0eb 1px solid";
    tr8_td2.setAttribute("width", "405px");
    tr8_td2.setAttribute("align", "left");
    tr8_td2.setAttribute("bgColor", "#EDF6FE");
    tr8_td2.innerHTML = "&nbsp;&nbsp;<label id='labgd' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,12)' style='cursor:pointer;'>广东省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labgx' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,13)' style='cursor:pointer;'>广西省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labhn' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,14)' style='cursor:pointer;'>海南省</label>"
   + "&nbsp;&nbsp;&nbsp;&nbsp<label id='labhen' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,15)' style='cursor:pointer;'>河南省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labfb' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,16)' style='cursor:pointer;'>湖北省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labfn' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,17)' style='cursor:pointer;'>湖南省</label>";

    tr9 = tb.insertRow(tb.rows.length);
    tr9_td1 = tr9.insertCell(0);
    tr9_td1.style.color = "#335271";
    tr9_td1.style.borderBottom = "#d4e0eb 1px solid";
    tr9_td1.style.borderRight = "#d4e0eb 1px solid";
    tr9_td1.setAttribute("height", "35px");
    tr9_td1.setAttribute("align", "center");
    tr9_td1.setAttribute("bgColor", "#EDF6FE");
    tr9_td1.innerHTML = "<strong>西北-西南</strong>";

    tr9_td2 = tr9.insertCell(1);
    tr9_td2.style.color = "#335271";
    tr9_td2.style.borderBottom = "#d4e0eb 1px solid";
    tr9_td2.style.borderRight = "#d4e0eb 1px solid";
    tr9_td2.setAttribute("width", "405px");
    tr9_td2.setAttribute("align", "left");
    tr9_td2.setAttribute("bgColor", "#EDF6FE");
    tr9_td2.innerHTML = "&nbsp;&nbsp;<label id='labsx' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,18)' style='cursor:pointer;'>陕西省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labgs' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,19)' style='cursor:pointer;'>甘肃省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labqh' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,20)' style='cursor:pointer;'>青海省</label>"
   + "&nbsp;&nbsp;&nbsp;&nbsp;<label id='labyn' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,25)' style='cursor:pointer;'>云南省</label>&nbsp;&nbsp;&nbsp;&nbsp;<label id='labsc' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,23)' style='cursor:pointer;'>四川省</label>"
   + "&nbsp;&nbsp;&nbsp;&nbsp;<label id='labgz' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,24)' style='cursor:pointer;'>贵州省</label><br />"
   + "&nbsp;&nbsp;<label id='labnx' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,21)' style='cursor:pointer;'>宁夏</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<label id='labxj' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,22)' style='cursor:pointer;'>新疆</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<label id='labxz' onmouseover='OnMouseOver(this)' onmouseout='OnMouseOut(this)' onclick='GetCitys(this,26)' style='cursor:pointer;'>西藏</label>";


    tr11 = tb.insertRow(tb.rows.length);
    tr11_td1 = tr11.insertCell(0);
    tr11_td1.style.color = "#335271";
    tr11_td1.style.borderBottom = "#d4e0eb 1px solid";
    tr11_td1.style.borderRight = "#d4e0eb 1px solid";
    tr11_td1.setAttribute("height", "30px");
    tr11_td1.setAttribute("align", "center");
    tr11_td1.setAttribute("bgColor", "#EDF6FE");
    tr11_td1.innerHTML = "<strong>其它地区</strong>";

    tr11_td2 = tr11.insertCell(1);
    tr11_td2.style.color = "#335271";
    tr11_td2.style.borderBottom = "#d4e0eb 1px solid";
    tr11_td2.style.borderRight = "#d4e0eb 1px solid";
    tr11_td2.setAttribute("width", "405px");
    tr11_td2.setAttribute("align", "left");
    tr11_td2.setAttribute("bgColor", "#EDF6FE");
    tr11_td2.innerHTML = "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb362' value='362' type='checkbox' onclick='Check(this)' /><label id='lab362'>台湾</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb377' value='377' type='checkbox' onclick='Check(this)' /><label id='lab377'>海外</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb360' value='360' type='checkbox' onclick='Check(this)' /><label id='lab360'>香港</label></span>"
    + "&nbsp;&nbsp;<span onmouseover='this.style.backgroundColor=\"#fe6c00\";' onmouseout='this.style.backgroundColor=\"#EDF6FE\";'><input id='cb361' value='361' type='checkbox' onclick='Check(this)' /><label id='lab361'>澳门</label></span>"
    document.getElementById("msgDiv").appendChild(tb); //在提示框div中添加提示信息对象txt|| parseInt(iii) > 0

    document.getElementById("hiResultValue").value = iii;
   //win add
    var hreturntexts=document.getElementById(returnText).value ;
    if(hreturntexts!=null&&hreturntexts!="")
    {
    hreturntexts=hreturntexts+",";
    document.getElementById(returnText).value=hreturntexts;
    }
    //win add
    document.getElementById("hiResultText").value = document.getElementById(returnText).value;
    
    
    document.getElementById("selectCitys").innerText = document.getElementById(returnText).value;

    BindCheckBox(iii, true);
}

function BindCheckBox(iii, checked) {

    var values = [];
    var cb;
    if (iii != null && iii != "") {
        values = iii.split(',');

        for (var i = 0; i < values.length; i++) {

            if (values[i].toString() != "") {
                if (values[i].valueOf("p") == 0) {
                    cb = document.getElementById("cbp" + values[i].toString());
                    if (values[i] == "36") {
                        document.getElementById("cbp361").checked = checked;
                    }
                    if (values[i] == "47") {
                        document.getElementById("cbp471").checked = checked;
                    }
                    cb.checked = checked;
                }
                else {
                    cb = document.getElementById("cb" + values[i].toString());
                    if (cb != null) {
                        cb.checked = checked;
                    }
                    //                    var id2="";
                    //                    if(values[i])
                }
            }
        }
    }
}

function Check(sender) {
    var value = sender.value;

    if (sender.checked) {
        if (!CheckReturnValueCount(sender)) {
            alert("最多只能选择3项!");

            return;
        }

        if (document.getElementById("lab" + sender.value).innerText != "") {
            document.getElementById("hiResultText").value += document.getElementById("lab" + sender.value).innerText + ",";
            document.getElementById("selectCitys").innerText += document.getElementById("lab" + sender.value).innerText + ",";
        }

        if (document.getElementById("hiResultValue").value == "") {

            document.getElementById("hiResultValue").value += "," + sender.value + ",";
        }
        else {
            document.getElementById("hiResultValue").value += sender.value + ",";
        }
    }
    else {
        document.getElementById("hiResultText").value = document.getElementById("hiResultText").value.replace(document.getElementById("lab" + sender.value).innerText.replace(" ", "") + ",", "");
        document.getElementById("selectCitys").innerText = document.getElementById("selectCitys").innerText.replace(document.getElementById("lab" + sender.value).innerText.replace(" ", "") + ",", "");
        document.getElementById("hiResultValue").value = document.getElementById("hiResultValue").value.replace("," + sender.value + ",", ",");
    }
}

function CheckReturnValueCount(sender) {

    var count = 0;
    var Values = [];
    Values = document.getElementById("hiResultValue").value.split(',');
    for (var i = 0; i < Values.length; i++) {
        if (Values[i] != "") {
            count += 1;
        }
        if (count >= 3) {
            sender.checked = false;
            return false;
        }
    }
    return true;
}


//选择省份
function CheckProvince(sender) {

    var value = sender.value;

    switch (parseInt(value)) {
        case 9:
            if (sender.checked) {
                document.getElementById("cb111").disabled = true; document.getElementById("cb109").disabled = true; document.getElementById("cb266").disabled = true;
                document.getElementById("cb112").disabled = true; document.getElementById("cb110").disabled = true;
            }
            else {
                document.getElementById("cb111").disabled = false; document.getElementById("cb109").disabled = false; document.getElementById("cb266").disabled = false;
                document.getElementById("cb112").disabled = false; document.getElementById("cb110").disabled = false;
            }
            break;
        case 22:
            if (sender.checked) {
                document.getElementById("cb272").disabled = true; document.getElementById("cb275").disabled = true; document.getElementById("cb104").disabled = true;
                document.getElementById("cb269").disabled = true;
            }
            else {
                document.getElementById("cb272").disabled = false; document.getElementById("cb275").disabled = false; document.getElementById("cb104").disabled = false;
                document.getElementById("cb269").disabled = false;
            }
            break;
        case 18:
            if (sender.checked) {
                document.getElementById("cb229").disabled = true; document.getElementById("cb227").disabled = true; document.getElementById("cb226").disabled = true;
            }
            else {
                document.getElementById("cb229").disabled = false; document.getElementById("cb227").disabled = false; document.getElementById("cb226").disabled = false;
            }
            break;
        case 17:
            if (sender.checked) {
                document.getElementById("cb221").disabled = true; document.getElementById("cb210").disabled = true; document.getElementById("cb222").disabled = true;
                document.getElementById("cb215").disabled = true; document.getElementById("cb218").disabled = true; document.getElementById("cb214").disabled = true;
                document.getElementById("cb217").disabled = true; document.getElementById("cb211").disabled = true; document.getElementById("cb219").disabled = true;
                document.getElementById("cb2131").disabled = true; document.getElementById("cb213").disabled = true;
            }
            else {
                document.getElementById("cb221").disabled = false; document.getElementById("cb210").disabled = false; document.getElementById("cb222").disabled = false;
                document.getElementById("cb215").disabled = false; document.getElementById("cb218").disabled = false; document.getElementById("cb214").disabled = false;
                document.getElementById("cb217").disabled = false; document.getElementById("cb211").disabled = false; document.getElementById("cb219").disabled = false;
                document.getElementById("cb2131").disabled = false; document.getElementById("cb213").disabled = false;
            }
            break;
        case 14:
            if (sender.checked) {
                document.getElementById("cb179").disabled = true; document.getElementById("cb180").disabled = true; document.getElementById("cb181").disabled = true;
                document.getElementById("cb184").disabled = true;
            }
            else {
                document.getElementById("cb179").disabled = false; document.getElementById("cb180").disabled = false; document.getElementById("cb181").disabled = false;
                document.getElementById("cb184").disabled = false;
            }
            break;
        case 11:
            if (sender.checked) {
                document.getElementById("cb135").disabled = true; document.getElementById("cb145").disabled = true; document.getElementById("cb144").disabled = true;
                document.getElementById("cb133").disabled = true; document.getElementById("cb142").disabled = true; document.getElementById("cb140").disabled = true;
                document.getElementById("cb139").disabled = true;
            }
            else {
                document.getElementById("cb135").disabled = false; document.getElementById("cb145").disabled = false; document.getElementById("cb144").disabled = false;
                document.getElementById("cb133").disabled = false; document.getElementById("cb142").disabled = false; document.getElementById("cb140").disabled = false;
                document.getElementById("cb139").disabled = false;
            }
            break;
        case 15:
            if (sender.checked) {
                document.getElementById("cb195").disabled = true; document.getElementById("cb188").disabled = true; document.getElementById("cb352").disabled = true;
                document.getElementById("cb189").disabled = true; document.getElementById("cb191").disabled = true; document.getElementById("cb194").disabled = true;
                document.getElementById("cb186").disabled = true; document.getElementById("cb197").disabled = true; document.getElementById("cb198").disabled = true;
                document.getElementById("cb190").disabled = true; document.getElementById("cb193").disabled = true; document.getElementById("cb358").disabled = true;
                document.getElementById("cb1891").disabled = true; document.getElementById("cb1911").disabled = true; document.getElementById("cb1941").disabled = true;
                document.getElementById("cb1861").disabled = true; document.getElementById("cb1971").disabled = true; document.getElementById("cb1981").disabled = true;
                document.getElementById("cb1901").disabled = true; document.getElementById("cb1931").disabled = true;

            }
            else {
                document.getElementById("cb195").disabled = false; document.getElementById("cb188").disabled = false; document.getElementById("cb352").disabled = false;
                document.getElementById("cb189").disabled = false; document.getElementById("cb191").disabled = false; document.getElementById("cb194").disabled = false;
                document.getElementById("cb186").disabled = false; document.getElementById("cb197").disabled = false; document.getElementById("cb198").disabled = false;
                document.getElementById("cb190").disabled = false; document.getElementById("cb193").disabled = false; document.getElementById("cb358").disabled = false;
                document.getElementById("cb1891").disabled = false; document.getElementById("cb1911").disabled = false; document.getElementById("cb1941").disabled = false;
                document.getElementById("cb1861").disabled = false; document.getElementById("cb1971").disabled = false; document.getElementById("cb1981").disabled = false;
                document.getElementById("cb1901").disabled = false; document.getElementById("cb1931").disabled = false;

            }
            break;
        case 30:
            if (sender.checked) {
                document.getElementById("cb348").disabled = true; document.getElementById("cb353").disabled = true; document.getElementById("cb354").disabled = true;
                document.getElementById("cb350").disabled = true; document.getElementById("cb357").disabled = true; document.getElementById("cb349").disabled = true;
                document.getElementById("cb3481").disabled = true; document.getElementById("cb3531").disabled = true; document.getElementById("cb3541").disabled = true;
                document.getElementById("cb3501").disabled = true; document.getElementById("cb3571").disabled = true; document.getElementById("cb3491").disabled = true;
                document.getElementById("cb351").disabled = true; document.getElementById("cb355").disabled = true;
            }
            else {
                document.getElementById("cb348").disabled = false; document.getElementById("cb353").disabled = false; document.getElementById("cb354").disabled = false;
                document.getElementById("cb350").disabled = false; document.getElementById("cb357").disabled = false; document.getElementById("cb349").disabled = false;
                document.getElementById("cb3481").disabled = false; document.getElementById("cb3531").disabled = false; document.getElementById("cb3541").disabled = false;
                document.getElementById("cb3501").disabled = false; document.getElementById("cb3571").disabled = false; document.getElementById("cb3491").disabled = false;
                document.getElementById("cb351").disabled = false; document.getElementById("cb355").disabled = false;
            }
            break;
        case 1:
            if (sender.checked) {
                document.getElementById("cb7").disabled = true; document.getElementById("cb5").disabled = true; document.getElementById("cb1").disabled = true;
                document.getElementById("cb2").disabled = true; document.getElementById("cb6").disabled = true; document.getElementById("cb14").disabled = true;
                document.getElementById("cb5").disabled = true; document.getElementById("cb10").disabled = true; document.getElementById("cb9").disabled = true;
                document.getElementById("cb11").disabled = true; document.getElementById("cb3").disabled = true; document.getElementById("cb16").disabled = true;
                document.getElementById("cb4").disabled = true; document.getElementById("cb15").disabled = true;
            }
            else {
                document.getElementById("cb7").disabled = false; document.getElementById("cb5").disabled = false; document.getElementById("cb1").disabled = false;
                document.getElementById("cb2").disabled = false; document.getElementById("cb6").disabled = false; document.getElementById("cb14").disabled = false;
                document.getElementById("cb5").disabled = false; document.getElementById("cb10").disabled = false; document.getElementById("cb9").disabled = false;
                document.getElementById("cb11").disabled = false; document.getElementById("cb3").disabled = false; document.getElementById("cb16").disabled = false;
                document.getElementById("cb4").disabled = false; document.getElementById("cb15").disabled = false;
            }
            break;
        case 3:
            if (sender.checked) {
                document.getElementById("cb27").disabled = true; document.getElementById("cb23").disabled = true; document.getElementById("cb25").disabled = true;
                document.getElementById("cb21").disabled = true; document.getElementById("cb22").disabled = true; document.getElementById("cb20").disabled = true;
                document.getElementById("cb1911").disabled = true; document.getElementById("cb261").disabled = true; document.getElementById("cb241").disabled = true;
                document.getElementById("cb191").disabled = true; document.getElementById("cb26").disabled = true; document.getElementById("cb24").disabled = true;
            }
            else {
                document.getElementById("cb27").disabled = false; document.getElementById("cb23").disabled = false; document.getElementById("cb25").disabled = false;
                document.getElementById("cb21").disabled = false; document.getElementById("cb22").disabled = false; document.getElementById("cb20").disabled = false;
                document.getElementById("cb1911").disabled = false; document.getElementById("cb261").disabled = false; document.getElementById("cb241").disabled = false;
                document.getElementById("cb19").disabled = false; document.getElementById("cb26").disabled = false; document.getElementById("cb24").disabled = false;
            }
            break;
        case 16:
            if (sender.checked) {
                document.getElementById("cb204").disabled = true; document.getElementById("cb203").disabled = true;
            }
            else {
                document.getElementById("cb204").disabled = false; document.getElementById("cb203").disabled = false;
            }
            break;
        case 21:
            if (sender.checked) {
                document.getElementById("cb252").disabled = true; document.getElementById("cb262").disabled = true; document.getElementById("cb261").disabled = true;
                document.getElementById("cb260").disabled = true; document.getElementById("cb264").disabled = true; document.getElementById("cb256").disabled = true;
                document.getElementById("cb253").disabled = true; document.getElementById("cb250").disabled = true; document.getElementById("cb259").disabled = true;
                document.getElementById("cb258").disabled = true; document.getElementById("cb249").disabled = true; document.getElementById("cb2571").disabled = true;
                document.getElementById("cb257").disabled = true;
            }
            else {
                document.getElementById("cb252").disabled = false; document.getElementById("cb262").disabled = false; document.getElementById("cb261").disabled = false;
                document.getElementById("cb260").disabled = false; document.getElementById("cb264").disabled = false; document.getElementById("cb256").disabled = false;
                document.getElementById("cb253").disabled = false; document.getElementById("cb250").disabled = false; document.getElementById("cb259").disabled = false;
                document.getElementById("cb258").disabled = false; document.getElementById("cb249").disabled = false; document.getElementById("cb2571").disabled = false;
                document.getElementById("cb257").disabled = false;
            }
            break;
        case 5:
            if (sender.checked) {
                document.getElementById("cbp37").disabled = true; document.getElementById("cbp36").disabled = true; document.getElementById("cb47").disabled = true;
                document.getElementById("cb62").disabled = true; document.getElementById("cb61").disabled = true; document.getElementById("cb43").disabled = true;
                document.getElementById("cb44").disabled = true; document.getElementById("cb48").disabled = true; document.getElementById("cb60").disabled = true;
                document.getElementById("cb55").disabled = true; document.getElementById("cb59").disabled = true; document.getElementById("cb52").disabled = true;
                document.getElementById("cb42").disabled = true; document.getElementById("cb46").disabled = true; document.getElementById("cb49").disabled = true;
                document.getElementById("cb50").disabled = true; document.getElementById("cb54").disabled = true; document.getElementById("cb57").disabled = true;
                document.getElementById("cbp371").disabled = true; document.getElementById("cbp361").disabled = true; document.getElementById("cb471").disabled = true;
                document.getElementById("cb621").disabled = true; document.getElementById("cb611").disabled = true; document.getElementById("cb431").disabled = true;
                document.getElementById("cb441").disabled = true; document.getElementById("cb481").disabled = true; document.getElementById("cb601").disabled = true;
                document.getElementById("cb531").disabled = true; document.getElementById("cb53").disabled = true;
            }
            else {
                document.getElementById("cbp37").disabled = false; document.getElementById("cbp36").disabled = false; document.getElementById("cb47").disabled = false;
                document.getElementById("cb62").disabled = false; document.getElementById("cb61").disabled = false; document.getElementById("cb43").disabled = false;
                document.getElementById("cb44").disabled = false; document.getElementById("cb48").disabled = false; document.getElementById("cb60").disabled = false;
                document.getElementById("cb55").disabled = false; document.getElementById("cb59").disabled = false; document.getElementById("cb52").disabled = false;
                document.getElementById("cb42").disabled = false; document.getElementById("cb46").disabled = false; document.getElementById("cb49").disabled = false;
                document.getElementById("cb50").disabled = false; document.getElementById("cb54").disabled = false; document.getElementById("cb57").disabled = false;
                document.getElementById("cbp371").disabled = false; document.getElementById("cbp361").disabled = false; document.getElementById("cb471").disabled = false;
                document.getElementById("cb621").disabled = false; document.getElementById("cb611").disabled = false; document.getElementById("cb431").disabled = false;
                document.getElementById("cb441").disabled = false; document.getElementById("cb481").disabled = false; document.getElementById("cb601").disabled = false;
                document.getElementById("cb531").disabled = false; document.getElementById("cb53").disabled = false;
            }
            break;
        case 6:
            if (sender.checked) {
                document.getElementById("cb73").disabled = true; document.getElementById("cb67").disabled = true; document.getElementById("cb72").disabled = true;
                document.getElementById("cb64").disabled = true;
            }
            else {
                document.getElementById("cb73").disabled = false; document.getElementById("cb67").disabled = false; document.getElementById("cb72").disabled = false;
                document.getElementById("cb64").disabled = false;
            }
            break;
        case 8:
            if (sender.checked) {
                document.getElementById("cb92").disabled = true; document.getElementById("cb98").disabled = true;
            }
            else {
                document.getElementById("cb92").disabled = false; document.getElementById("cb98").disabled = false;
            }
            break;
        case 10:
            if (sender.checked) {
                document.getElementById("cb128").disabled = true; document.getElementById("cb120").disabled = true; document.getElementById("cb119").disabled = true;
            }
            else {
                document.getElementById("cb128").disabled = false; document.getElementById("cb120").disabled = false; document.getElementById("cb119").disabled = false;
            }
            break;
        case 12:
            if (sender.checked) {
                document.getElementById("cb157").disabled = true; document.getElementById("cb162").disabled = true; document.getElementById("cb149").disabled = true;
                document.getElementById("cb160").disabled = true; document.getElementById("cb154").disabled = true; document.getElementById("cb151").disabled = true;
                document.getElementById("cb150").disabled = true; document.getElementById("cb161").disabled = true; document.getElementById("cb146").disabled = true;
            }
            else {
                document.getElementById("cb157").disabled = false; document.getElementById("cb162").disabled = false; document.getElementById("cb149").disabled = false;
                document.getElementById("cb160").disabled = false; document.getElementById("cb154").disabled = false; document.getElementById("cb151").disabled = false;
                document.getElementById("cb150").disabled = false; document.getElementById("cb161").disabled = false; document.getElementById("cb146").disabled = false;
            }
            break;
        case 13:
            if (sender.checked) {
                document.getElementById("cb164").disabled = true; document.getElementById("cb176").disabled = true; document.getElementById("cb170").disabled = true;
                document.getElementById("cb166").disabled = true; document.getElementById("cb174").disabled = true; document.getElementById("cb163").disabled = true;
                document.getElementById("cb172").disabled = true; document.getElementById("cb165").disabled = true; document.getElementById("cb169").disabled = true;
                document.getElementById("cb167").disabled = true; document.getElementById("cb168").disabled = true; document.getElementById("cb173").disabled = true;
                document.getElementById("cb175").disabled = true;
            }
            else {
                document.getElementById("cb164").disabled = false; document.getElementById("cb176").disabled = false; document.getElementById("cb170").disabled = false;
                document.getElementById("cb166").disabled = false; document.getElementById("cb174").disabled = false; document.getElementById("cb163").disabled = false;
                document.getElementById("cb172").disabled = false; document.getElementById("cb165").disabled = false; document.getElementById("cb169").disabled = false;
                document.getElementById("cb167").disabled = false; document.getElementById("cb168").disabled = false; document.getElementById("cb173").disabled = false;
                document.getElementById("cb175").disabled = false;
            }
            break;
        case 23:
            if (sender.checked) {
                document.getElementById("cb282").disabled = true; document.getElementById("cb283").disabled = true; document.getElementById("cb277").disabled = true;
                document.getElementById("cb280").disabled = true; document.getElementById("cb284").disabled = true;
            }
            else {
                document.getElementById("cb282").disabled = false; document.getElementById("cb283").disabled = false; document.getElementById("cb277").disabled = false;
                document.getElementById("cb280").disabled = false; document.getElementById("cb284").disabled = false;
            }
            break;
        case 4:
            if (sender.checked) {
                document.getElementById("cb34").disabled = true; document.getElementById("cb32").disabled = true;
            }
            else {
                document.getElementById("cb32").disabled = false; document.getElementById("cb32").disabled = false;
            }
            break;
        case 20:
            if (sender.checked) {
                document.getElementById("cb246").disabled = true;
            }
            else {
                document.getElementById("cb246").disabled = false;
            }
            break;
        case 19:
            if (sender.checked) {
                document.getElementById("cb239").disabled = true;
            }
            else {
                document.getElementById("cb239").disabled = false;
            }
            break;
        case 28:
            if (sender.checked) {
                document.getElementById("cb329").disabled = true; document.getElementById("cb324").disabled = true; document.getElementById("cb323").disabled = true;
            }
            else {
                document.getElementById("cb329").disabled = false; document.getElementById("cb324").disabled = false; document.getElementById("cb323").disabled = false;
            }
            break;
        case 25:
            if (sender.checked) {
                document.getElementById("cb298").disabled = true; document.getElementById("cb295").disabled = true; document.getElementById("cb307").disabled = true;
                document.getElementById("cb291").disabled = true; document.getElementById("cb304").disabled = true; document.getElementById("cb306").disabled = true;
                document.getElementById("cb300").disabled = true; document.getElementById("cb301").disabled = true; document.getElementById("cb2891").disabled = true;
                document.getElementById("cb289").disabled = true;
            }
            else {
                document.getElementById("cb298").disabled = false; document.getElementById("cb295").disabled = false; document.getElementById("cb307").disabled = false;
                document.getElementById("cb291").disabled = false; document.getElementById("cb304").disabled = false; document.getElementById("cb306").disabled = false;
                document.getElementById("cb300").disabled = false; document.getElementById("cb301").disabled = false; document.getElementById("cb2891").disabled = false;
                document.getElementById("cb289").disabled = false;
            }
            break;
        case 7:
            if (sender.checked) {
                document.getElementById("cb79").disabled = true; document.getElementById("cb85").disabled = true;
            }
            else {
                document.getElementById("cb79").disabled = false; document.getElementById("cb85").disabled = false;
            }
            break;
        case 29:
            if (sender.checked) {
                document.getElementById("cb338").disabled = true; document.getElementById("cb342").disabled = true; document.getElementById("cb346").disabled = true;
                document.getElementById("cb334").disabled = true; document.getElementById("cb339").disabled = true;
            }
            else {
                document.getElementById("cb338").disabled = false; document.getElementById("cb342").disabled = false; document.getElementById("cb346").disabled = false;
                document.getElementById("cb334").disabled = false; document.getElementById("cb339").disabled = false;
            }
            break;
        case 27:
            if (sender.checked) {
                document.getElementById("cb311").disabled = true; document.getElementById("cb314").disabled = true;
            }
            else {
                document.getElementById("cb311").disabled = false; document.getElementById("cb314").disabled = false;
            }
            break;
        case 34:
            if (sender.checked) {
                document.getElementById("cb362").disabled = true;
            }
            else {
                document.getElementById("cb362").disabled = false;
            }
            break;
        case 35:
            if (sender.checked) {
                document.getElementById("cb377").disabled = true;
            }
            else {
                document.getElementById("cb377").disabled = false;
            }
            break;
        case 24:
        case 36:
        case 37:
        case 2:
            break;
    }

    if (sender.checked) {

        if (!CheckReturnValueCount(sender)) {
            alert("最多只能选择3项!");

            return;
        }

        document.getElementById("hiResultText").value += document.getElementById("labp" + sender.value).innerText + ",";
        document.getElementById("selectCitys").innerText += document.getElementById("labp" + sender.value).innerText + ",";

        if (document.getElementById("hiResultValue").value == "") {
            document.getElementById("hiResultValue").value += "," + "p" + sender.value + ",";
        }
        else {
            document.getElementById("hiResultValue").value += "p" + sender.value + ",";
        }
    }
    else {
        document.getElementById("hiResultText").value = document.getElementById("hiResultText").value.replace(document.getElementById("labp" + sender.value).innerText + ",", "");
        document.getElementById("selectCitys").innerText = document.getElementById("selectCitys").innerText.replace(document.getElementById("labp" + sender.value).innerText + ",", "");
        document.getElementById("hiResultValue").value = document.getElementById("hiResultValue").value.replace("," + "p" + sender.value + ",", ",");
    }
}

function OnMouseOver(sender) {

    sender.style.backgroundColor = "#ff6600";
}

function OnMouseOut(sender) {

    sender.style.backgroundColor = "#EDF6FE";
    //       var div = document.getElementById("divCitys");
    //       if (div != null) {

    //           document.body.removeChild(div);
    //       }
}

function GetCitys(sender, index) {

    DivClose();

    City_Width = 200; //提示窗口的宽度
    City_Height = 80; //提示窗口的高度

    var divCitys = document.createElement("div");
    divCitys.setAttribute("id", "divCitys");
    divCitys.setAttribute("align", "left");
    divCitys.style.background = "white";
    divCitys.style.border = "1px solid " + "#336699";
    divCitys.style.position = "absolute";
    divCitys.style.left = event.clientX + 220; //document.body.scrollLeft + event.clientX; //获取当前鼠标位置的X坐标
    divCitys.style.top = event.clientY; //document.body.scrollTop + event.clientY;
    divCitys.style.font = "12px/1.6em Verdana, Geneva, Arial, Helvetica, sans-serif";
    divCitys.style.marginLeft = "-225px";
    divCitys.style.marginTop = -75 + document.documentElement.scrollTop + "px";
    divCitys.style.width = City_Width + "px";
    divCitys.style.height = "auto";
    divCitys.style.textAlign = "left";
    divCitys.style.lineHeight = "25px";
    divCitys.style.zIndex = "10005";

    var tb = document.createElement("table");
    tb.setAttribute("align", "left");
    tb.setAttribute("width", "100%");
    tb.setAttribute("cellspacing", "0");
    tb.setAttribute("cellpadding", "0");
    tb.setAttribute("border", "0px");

    tr0 = tb.insertRow(tb.rows.length);
    tr0.insertCell(0).innerHTML = "<a style='cursor:pointer;color:#ff6600' onclick='DivClose()'>[确定]</a>";
    tr0.cells[0].setAttribute("align", "left");
    tr0.cells[0].setAttribute("valign", "top");


    switch (index) {

        case 0:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp9' value='9' type='checkbox' onclick='CheckProvince(this)' /><label id='labp9'>河北省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb111' value='111' type='checkbox' onclick='Check(this)' /><label id='lab111'>石家庄</label><input id='cb109' value='109' type='checkbox' onclick='Check(this)' /><label id='lab109'>廊坊</label>&nbsp;&nbsp;&nbsp;<input id='cb266' value='266' type='checkbox' onclick='Check(this)' /><label id='lab266'>保定</label><br />"
                + "   <input id='cb112' value='112' type='checkbox' onclick='Check(this)' /><label id='lab112'>唐山</label>&nbsp;&nbsp;&nbsp;<input id='cb110' value='110' type='checkbox' onclick='Check(this)' /><label id='lab110'>秦皇岛</label><input id='cb500' value='500' type='checkbox' onclick='Check(this)' /><label id='lab500'>邯郸</label><br />"
                + "   <input id='cb501' value='501' type='checkbox' onclick='Check(this)' /><label id='lab501'>沧州</label>&nbsp;&nbsp;&nbsp;<input id='cb502' value='502' type='checkbox' onclick='Check(this)' /><label id='lab502'>张家口</label><input id='cb503' value='503' type='checkbox' onclick='Check(this)' /><label id='lab503'>承德</label><br />"
                + "   <input id='cb504' value='504' type='checkbox' onclick='Check(this)' /><label id='lab504'>邢台</label>&nbsp;&nbsp;&nbsp;<input id='cb505' value='505' type='checkbox' onclick='Check(this)' /><label id='lab505'>衡水</label>";
            break;
        case 1:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp22' value='22' type='checkbox' onclick='CheckProvince(this)' /><label id='labp22'>山西省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb272' value='272' type='checkbox' onclick='Check(this)' /><label id='lab272'>太原</label>&nbsp;&nbsp;&nbsp;<input id='cb275' value='275' type='checkbox' onclick='Check(this)' /><label id='lab275'>运城</label>&nbsp;&nbsp;&nbsp;<input id='cb104' value='104' type='checkbox' onclick='Check(this)' /><label id='lab104'>大同</label><br />"
                + "   <input id='cb269' value='269' type='checkbox' onclick='Check(this)' /><label id='lab269'>临汾</label>&nbsp;&nbsp;&nbsp;<input id='cb506' value='506' type='checkbox' onclick='Check(this)' /><label id='lab506'>长治</label>&nbsp;&nbsp;&nbsp;<input id='cb507' value='507' type='checkbox' onclick='Check(this)' /><label id='lab507'>晋城</label><br />"
                + "   <input id='cb508' value='508' type='checkbox' onclick='Check(this)' /><label id='lab508'>阳泉</label>&nbsp;&nbsp;&nbsp;<input id='cb509' value='509' type='checkbox' onclick='Check(this)' /><label id='lab509'>朔州</label>&nbsp;&nbsp;&nbsp;<input id='cb510' value='510' type='checkbox' onclick='Check(this)' /><label id='lab510'>晋中</label><br />"
                + "   <input id='cb511' value='511' type='checkbox' onclick='Check(this)' /><label id='lab511'>忻州</label>&nbsp;&nbsp;&nbsp;<input id='cb512' value='512' type='checkbox' onclick='Check(this)' /><label id='lab512'>吕梁</label>";
            break;
        case 2:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp18' value='18' type='checkbox' onclick='CheckProvince(this)' /><label id='labp18'>内蒙古</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb229' value='229' type='checkbox' onclick='Check(this)' /><label id='lab229'>呼和浩特</label><input id='cb514' value='514' type='checkbox' onclick='Check(this)' /><label id='lab514'>鄂尔多斯</label><input id='cb226' value='226' type='checkbox' onclick='Check(this)' /><label id='lab226'>包头</label><br />"
                + "   <input id='cb515' value='515' type='checkbox' onclick='Check(this)' /><label id='lab515'>巴彦淖尔</label><input id='cb517' value='517' type='checkbox' onclick='Check(this)' /><label id='lab517'>呼伦贝尔</label><input id='cb513' value='513' type='checkbox' onclick='Check(this)' /><label id='lab513'>通辽</label><br />"
                + "   <input id='cb518' value='518' type='checkbox' onclick='Check(this)' /><label id='lab518'>乌兰察布</label><input id='cb519' value='519' type='checkbox' onclick='Check(this)' /><label id='lab519'>兴安盟</label>&nbsp;&nbsp;&nbsp;<input id='cb516' value='516' type='checkbox' onclick='Check(this)' /><label id='lab516'>乌海</label>"
                + "   <input id='cb5211' value='521' type='checkbox' onclick='Check(this)' /><label id='lab521'>阿拉善盟</label><input id='cb520' value='520' type='checkbox' onclick='Check(this)' /><label id='lab520'>锡林郭勒盟</label><input id='cb227' value='227' type='checkbox' onclick='Check(this)' /><label id='lab227'>赤峰</label>";
            break;
        case 3:
            divCitys.style.width = "200px";
            tr0.cells[0].innerHTML = "<span style='padding-right=102px;color:#ff6600;'><input id='cbp17' value='17' type='checkbox' onclick='CheckProvince(this)' /><label id='labp17'>辽宁省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb221' value='221' type='checkbox' onclick='Check(this)' /><label id='lab221'>沈阳</label><input id='cb2131' value='213' type='checkbox' onclick='Check(this)' /><label id='lab213'>大连</label><input id='cb210' value='210' type='checkbox' onclick='Check(this)' /><label id='lab210'>鞍山</label>"
                + "&nbsp;&nbsp;&nbsp;<input id='cb215' value='215' type='checkbox' onclick='Check(this)' /><label id='lab215'>抚顺</label><input id='cb218' value='218' type='checkbox' onclick='Check(this)' /><label id='lab218'>锦州</label><input id='cb214' value='214' type='checkbox' onclick='Check(this)' /><label id='lab214'>丹东</label>"
                + "<input id='cb217' value='217' type='checkbox' onclick='Check(this)' /><label id='lab217'>葫芦岛</label><input id='cb211' value='211' type='checkbox' onclick='Check(this)' /><label id='lab211'>本溪</label><input id='cb219' value='219' type='checkbox' onclick='Check(this)' /><label id='lab219'>辽阳</label><input id='cb222' value='222' type='checkbox' onclick='Check(this)' /><label id='lab22'>铁岭</label>"
                + "<input id='cb521' value='521' type='checkbox' onclick='Check(this)' /><label id='lab521'>营口</label>&nbsp;&nbsp;&nbsp;<input id='cb522' value='522' type='checkbox' onclick='Check(this)' /><label id='lab522'>盘锦</label><input id='cb523' value='523' type='checkbox' onclick='Check(this)' /><label id='lab523'>朝阳</label>"
                + "<input id='cb524' value='524' type='checkbox' onclick='Check(this)' /><label id='lab524'>阜新</label>";
            break;
        case 4:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp14' value='14' type='checkbox' onclick='CheckProvince(this)' /><label id='labp14'>吉林省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb179' value='179' type='checkbox' onclick='Check(this)' /><label id='lab179'>长春</label><input id='cb180' value='180' type='checkbox' onclick='Check(this)' /><label id='lab180'>吉林</label><input id='cb181' value='181' type='checkbox' onclick='Check(this)' /><label id='lab181'>辽源</label>"
                + "<input id='cb184' value='184' type='checkbox' onclick='Check(this)' /><label id='lab184'>通化</label><br/>"
                + "<input id='cb525' value='525' type='checkbox' onclick='Check(this)' /><label id='lab525'>四平</label><input id='cb526' value='526' type='checkbox' onclick='Check(this)' /><label id='lab526'>松原</label><input id='cb527' value='527' type='checkbox' onclick='Check(this)' /><label id='lab527'>延吉</label>"
                + "<input id='cb528' value='528' type='checkbox' onclick='Check(this)' /><label id='lab528'>白山</label><br/><input id='cb529' value='529' type='checkbox' onclick='Check(this)' /><label id='lab529'>白城</label><input id='cb530' value='530' type='checkbox' onclick='Check(this)' /><label id='lab530'>延边</label>";
            break;
        case 5:
            divCitys.style.width = "200px";
            tr0.cells[0].innerHTML = "<span style='padding-right=90px;color:#ff6600;'><input id='cbp11' value='11' type='checkbox' onclick='CheckProvince(this)' /><label id='labp11'>黑龙江省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb135' value='135' type='checkbox' onclick='Check(this)' /><label id='lab135'>哈尔滨</label><input id='cb145' value='145' type='checkbox' onclick='Check(this)' /><label id='lab145'>伊春</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input id='cb144' value='144' type='checkbox' onclick='Check(this)' /><label id='lab144'>绥化</label>"
                + "<br/><input id='cb133' value='133' type='checkbox' onclick='Check(this)' /><label id='lab133'>大庆</label>&nbsp;&nbsp;&nbsp;<input id='cb142' value='142' type='checkbox' onclick='Check(this)' /><label id='lab142'>齐齐哈尔</label><input id='cb140' value='140' type='checkbox' onclick='Check(this)' /><label id='lab140'>牡丹江</label>"
                + "<br/><input id='cb139' value='139' type='checkbox' onclick='Check(this)' /><label id='lab139'>佳木斯</label><input id='cb532' value='532' type='checkbox' onclick='Check(this)' /><label id='lab532'>鸡西</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input id='cb533' value='533' type='checkbox' onclick='Check(this)' /><label id='lab533'>鹤岗</label>"
                + "<br /><input id='cb531' value='531' type='checkbox' onclick='Check(this)' /><label id='lab531'>双鸭山</label><input id='cb534' value='534' type='checkbox' onclick='Check(this)' /><label id='lab534'>大兴安岭</label><input id='cb535' value='535' type='checkbox' onclick='Check(this)' /><label id='lab535'>黑河</label>"
                + "<br /><input id='cb536' value='536' type='checkbox' onclick='Check(this)' /><label id='lab536'>七台河</label>";
            break;
        case 6:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp15' value='15' type='checkbox' onclick='CheckProvince(this)' /><label id='labp15'>江苏省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb1891' value='189' type='checkbox' onclick='Check(this)' /><label id='lab189'>南京</label><input id='cb1911' value='191' type='checkbox' onclick='Check(this)' /><label id='lab191'>苏州</label><input id='cb1941' value='194' type='checkbox' onclick='Check(this)' /><label id='lab194'>无锡</label><input id='cb1861' value='186' type='checkbox' onclick='Check(this)' /><label id='lab186'>常州</label><br/>"
                + "<input id='cb1981' value='198' type='checkbox' onclick='Check(this)' /><label id='lab198'>镇江</label><input id='cb1971' value='197' type='checkbox' onclick='Check(this)' /><label id='lab197'>扬州</label><input id='cb1901' value='190' type='checkbox' onclick='Check(this)' /><label id='lab190'>南通</label><input id='cb1931' value='193' type='checkbox' onclick='Check(this)' /><label id='lab193'>泰州</label><br/>"
                + "<input id='cb537' value='537' type='checkbox' onclick='Check(this)' /><label id='lab537'>昆山</label><input id='cb538' value='538' type='checkbox' onclick='Check(this)' /><label id='lab538'>常熟</label><input id='cb539' value='539' type='checkbox' onclick='Check(this)' /><label id='lab539'>盐城</label><input id='cb540' value='540' type='checkbox' onclick='Check(this)' /><label id='lab540'>张家港</label><br/>"
                + "<input id='cb541' value='541' type='checkbox' onclick='Check(this)' /><label id='lab541'>江阴</label><input id='cb542' value='542' type='checkbox' onclick='Check(this)' /><label id='lab542'>太仓</label><input id='cb543' value='543' type='checkbox' onclick='Check(this)' /><label id='lab543'>吴江</label><input id='cb544' value='544' type='checkbox' onclick='Check(this)' /><label id='lab544'>淮安</label><br/>"
                + "<input id='cb545' value='545' type='checkbox' onclick='Check(this)' /><label id='lab545'>宿迁</label><input id='cb546' value='546' type='checkbox' onclick='Check(this)' /><label id='lab546'>丹阳</label><input id='cb547' value='547' type='checkbox' onclick='Check(this)' /><label id='lab547'>溧阳</label><input id='cb548' value='548' type='checkbox' onclick='Check(this)' /><label id='lab548'>泰兴</label><br/>"
                + "<input id='cb549' value='549' type='checkbox' onclick='Check(this)' /><label id='lab549'>宜兴</label><input id='cb550' value='550' type='checkbox' onclick='Check(this)' /><label id='lab550'>靖江</label><input id='cb195' value='195' type='checkbox' onclick='Check(this)' /><label id='lab195'>徐州</label><input id='cb188' value='188' type='checkbox' onclick='Check(this)' /><label id='lab188'>连云港</label>";
            break;
        case 7:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp30' value='30' type='checkbox' onclick='CheckProvince(this)' /><label id='labp30'>浙江省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb3481' value='348' type='checkbox' onclick='Check(this)' /><label id='lab348'>杭州</label><input id='cb3531' value='353' type='checkbox' onclick='Check(this)' /><label id='lab353'>宁波</label><input id='cb3541' value='354' type='checkbox' onclick='Check(this)' /><label id='lab354'>绍兴</label><input id='cb3501' value='350' type='checkbox' onclick='Check(this)' /><label id='lab350'>嘉兴</label><br/>"
                + "<input id='cb3571' value='357' type='checkbox' onclick='Check(this)' /><label id='lab357'>舟山</label><input id='cb3491' value='349' type='checkbox' onclick='Check(this)' /><label id='lab349'>湖州</label><input id='cb358' value='358' type='checkbox' onclick='Check(this)' /><label id='lab358'>衢州</label><input id='cb352' value='352' type='checkbox' onclick='Check(this)' /><label id='lab352'>丽水</label><br/>"
                + "<input id='cb351' value='351' type='checkbox' onclick='Check(this)' /><label id='lab351'>金华</label><input id='cb355' value='355' type='checkbox' onclick='Check(this)' /><label id='lab355'>台州</label><input id='cb551' value='551' type='checkbox' onclick='Check(this)' /><label id='lab551'>温州</label><input id='cb552' value='552' type='checkbox' onclick='Check(this)' /><label id='lab552'>萧山</label><br/>"
                + "<input id='cb553' value='553' type='checkbox' onclick='Check(this)' /><label id='lab553'>义乌</label><input id='cb554' value='554' type='checkbox' onclick='Check(this)' /><label id='lab554'>慈溪</label><input id='cb555' value='555' type='checkbox' onclick='Check(this)' /><label id='lab555'>海宁</label>";
            break;
        case 8:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp1' value='1' type='checkbox' onclick='CheckProvince(this)' /><label id='labp1'>安徽省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb7' value='7' type='checkbox' onclick='Check(this)' /><label id='lab7'>合肥</label><input id='cb15' value='15' type='checkbox' onclick='Check(this)' /><label id='lab15'>芜湖</label><input id='cb1' value='1' type='checkbox' onclick='Check(this)' /><label id='lab1'>安庆</label><input id='cb556' value='556' type='checkbox' onclick='Check(this)' /><label id='lab556'>马鞍山</label><br/>"
               + "<input id='cb2' value='2' type='checkbox' onclick='Check(this)' /><label id='lab2'>蚌埠</label><input id='cb6' value='6' type='checkbox' onclick='Check(this)' /><label id='lab6'>阜阳</label><input id='cb14' value='14' type='checkbox' onclick='Check(this)' /><label id='lab14'>铜陵</label><input id='cb557' value='557' type='checkbox' onclick='Check(this)' /><label id='lab557'>宿州</label><br/>"
               + "<input id='cb5' value='5' type='checkbox' onclick='Check(this)' /><label id='lab5'>滁州</label><input id='cb10' value='10' type='checkbox' onclick='Check(this)' /><label id='lab10'>黄山</label><input id='cb9' value='9' type='checkbox' onclick='Check(this)' /><label id='lab9'>淮南</label><input id='cb558' value='558' type='checkbox' onclick='Check(this)' /><label id='lab558'>淮北</label><br/>"
               + "<input id='cb11' value='11' type='checkbox' onclick='Check(this)' /><label id='lab11'>六安</label><input id='cb3' value='3' type='checkbox' onclick='Check(this)' /><label id='lab3'>巢湖</label><input id='cb16' value='16' type='checkbox' onclick='Check(this)' /><label id='lab16'>宣城</label><input id='cb4' value='4' type='checkbox' onclick='Check(this)' /><label id='lab4'>池州</label><br/>"
               + "<input id='cb559' value='559' type='checkbox' onclick='Check(this)' /><label id='lab559'>亳州</label>";
            break;
        case 9:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp3' value='3' type='checkbox' onclick='CheckProvince(this)' /><label id='labp3'>福建省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb1911' value='19' type='checkbox' onclick='Check(this)' /><label id='lab19'>福州</label>"
                + "<input id='cb261' value='26' type='checkbox' onclick='Check(this)' /><label id='lab26'>厦门</label>"
                + "<input id='cb241' value='24' type='checkbox' onclick='Check(this)' /><label id='lab24'>泉州</label>"
                + "<input id='cb27' value='27' type='checkbox' onclick='Check(this)' /><label id='lab27'>漳州</label><br/><input id='cb23' value='23' type='checkbox' onclick='Check(this)' /><label id='lab23'>莆田</label><input id='cb25' value='25' type='checkbox' onclick='Check(this)' /><label id='lab25'>三明</label>"
                + "<input id='cb21' value='21' type='checkbox' onclick='Check(this)' /><label id='lab21'>南平</label><input id='cb22' value='22' type='checkbox' onclick='Check(this)' /><label id='lab22'>宁德</label><br/><input id='cb20' value='20' type='checkbox' onclick='Check(this)' /><label id='lab20'>龙岩</label>"
            break;
        case 10:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp16' value='16' type='checkbox' onclick='CheckProvince(this)' /><label id='labp16'>江西省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb204' value='204' type='checkbox' onclick='Check(this)' /><label id='lab204'>南昌</label><input id='cb203' value='203' type='checkbox' onclick='Check(this)' /><label id='lab203'>九江</label><input id='cb560' value='560' type='checkbox' onclick='Check(this)' /><label id='lab560'>景德镇</label><input id='cb561' value='561' type='checkbox' onclick='Check(this)' /><label id='lab561'>萍乡</label><br/>"
                + "<input id='cb562' value='562' type='checkbox' onclick='Check(this)' /><label id='lab562'>新余</label><input id='cb563' value='563' type='checkbox' onclick='Check(this)' /><label id='lab563'>鹰潭</label><input id='cb564' value='564' type='checkbox' onclick='Check(this)' /><label id='lab564'>赣州</label><input id='cb565' value='565' type='checkbox' onclick='Check(this)' /><label id='lab565'>吉安</label><br/>"
                + "<input id='cb566' value='566' type='checkbox' onclick='Check(this)' /><label id='lab566'>宜春</label><input id='cb567' value='567' type='checkbox' onclick='Check(this)' /><label id='lab567'>抚州</label><input id='cb568' value='568' type='checkbox' onclick='Check(this)' /><label id='lab568'>上饶</label>";
            break;
        case 11:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp21' value='21' type='checkbox' onclick='CheckProvince(this)' /><label id='labp21'>山东省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb252' value='252' type='checkbox' onclick='Check(this)' /><label id='lab252'>济南</label><input id='cb2571' value='257' type='checkbox' onclick='Check(this)' /><label id='lab257'>青岛</label><input id='cb262' value='262' type='checkbox' onclick='Check(this)' /><label id='lab262'>烟台</label><input id='cb261' value='261' type='checkbox' onclick='Check(this)' /><label id='lab261'>潍坊</label><br/>"
               + "<input id='cb260' value='260' type='checkbox' onclick='Check(this)' /><label id='lab260'>威海</label><input id='cb264' value='264' type='checkbox' onclick='Check(this)' /><label id='lab264'>淄博</label><input id='cb256' value='256' type='checkbox' onclick='Check(this)' /><label id='lab256'>临沂</label><input id='cb569' value='569' type='checkbox' onclick='Check(this)' /><label id='lab569'>菏泽</label><br/>"
                + "<input id='cb253' value='253' type='checkbox' onclick='Check(this)' /><label id='lab253'>济宁</label><input id='cb250' value='250' type='checkbox' onclick='Check(this)' /><label id='lab250'>东营</label><input id='cb259' value='259' type='checkbox' onclick='Check(this)' /><label id='lab259'>泰安</label><input id='cb570' value='570' type='checkbox' onclick='Check(this)' /><label id='lab570'>滨州</label><br/>"
                + "<input id='cb258' value='258' type='checkbox' onclick='Check(this)' /><label id='lab258'>日照</label><input id='cb249' value='249' type='checkbox' onclick='Check(this)' /><label id='lab249'>德州</label><input id='cb571' value='571' type='checkbox' onclick='Check(this)' /><label id='lab571'>枣庄</label><input id='cb572' value='571' type='checkbox' onclick='Check(this)' /><label id='lab572'>聊城</label><br/><input id='cb573' value='573' type='checkbox' onclick='Check(this)' /><label id='lab573'>莱芜</label>";

            break;
        case 12:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp5' value='5' type='checkbox' onclick='CheckProvince(this)' /><label id='labp5'>广东省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cbp371' value='37' type='checkbox' onclick='CheckProvince(this)' /><label id='labp37'>广州</label><input id='cbp361' value='36' type='checkbox' onclick='CheckProvince(this)' /><label id='labp36'>深圳</label><input id='cb471' value='47' type='checkbox' onclick='Check(this)'  /><label id='lab47'>惠州</label><input id='cb531' value='53' type='checkbox' onclick='Check(this)' /><label id='lab53'>汕头</label><br/>"
            + "<input id='cb621' value='62' type='checkbox' onclick='Check(this)'  /><label id='lab62'>珠海</label><input id='cb611' value='61' type='checkbox' onclick='Check(this)'  /><label id='lab61'>中山</label><input id='cb431' value='43' type='checkbox' onclick='Check(this)'  /><label id='lab43'>东莞</label><input id='cb441' value='44' type='checkbox' onclick='Check(this)'  /><label id='lab44'>佛山</label><br/>"
            + "<input id='cb481' value='48' type='checkbox' onclick='Check(this)'  /><label id='lab48'>江门</label><input id='cb601' value='60' type='checkbox' onclick='Check(this)'  /><label id='lab60'>肇庆</label><input id='cb55' value='55' type='checkbox' onclick='Check(this)' /><label id='lab55'>韶关</label><input id='cb59' value='59' type='checkbox' onclick='Check(this)' /><label id='lab59'>湛江</label><br/>"
            + "<input id='cb52' value='52' type='checkbox' onclick='Check(this)' /><label id='lab52'>清远</label><input id='cb42' value='42' type='checkbox' onclick='Check(this)' /><label id='lab42'>潮州</label><input id='cb46' value='46' type='checkbox' onclick='Check(this)' /><label id='lab46'>河源</label><input id='cb49' value='49' type='checkbox' onclick='Check(this)' /><label id='lab49'>揭阳</label><br/>"
            + "<input id='cb574' value='574' type='checkbox' onclick='Check(this)' /><label id='lab574'>顺德</label><input id='cb575' value='575' type='checkbox' onclick='Check(this)' /><label id='lab575'>梅州</label><input id='cb576' value='576' type='checkbox' onclick='Check(this)' /><label id='lab576'>开平</label><input id='cb577' value='577' type='checkbox' onclick='Check(this)' /><label id='lab577'>云浮</label><br/>"
            + "<input id='cb50' value='50' type='checkbox' onclick='Check(this)' /><label id='lab50'>茂名</label><input id='cb54' value='54' type='checkbox' onclick='Check(this)' /><label id='lab54'>汕尾</label><input id='cb57' value='57' type='checkbox' onclick='Check(this)' /><label id='lab57'>阳江</label>";
            break;
        case 13:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp6' value='6' type='checkbox' onclick='CheckProvince(this)' /><label id='labp6'>广西省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb73' value='73' type='checkbox' onclick='Check(this)' /><label id='lab73'>南宁</label><input id='cb67' value='67' type='checkbox' onclick='Check(this)' /><label id='lab67'>桂林</label><input id='cb72' value='72' type='checkbox' onclick='Check(this)' /><label id='lab72'>柳州</label><input id='cb64' value='64' type='checkbox' onclick='Check(this)' /><label id='lab64'>北海</label><br/>"
               + "<input id='cb578' value='578' type='checkbox' onclick='Check(this)' /><label id='lab578'>玉林</label><input id='cb579' value='579' type='checkbox' onclick='Check(this)' /><label id='lab579'>梧州</label><input id='cb580' value='580' type='checkbox' onclick='Check(this)' /><label id='lab580'>贺州</label><input id='cb581' value='581' type='checkbox' onclick='Check(this)' /><label id='lab581'>钦州</label><br/>"
               + "<input id='cb582' value='582' type='checkbox' onclick='Check(this)' /><label id='lab582'>贵港</label><input id='cb583' value='583' type='checkbox' onclick='Check(this)' /><label id='lab583'>百色</label><input id='cb584' value='584' type='checkbox' onclick='Check(this)' /><label id='lab584'>河池</label><input id='cb585' value='585' type='checkbox' onclick='Check(this)' /><label id='lab585'>来宾</label><br/>"
               + "<input id='cb586' value='586' type='checkbox' onclick='Check(this)' /><label id='lab586'>崇左</label><input id='cb587' value='587' type='checkbox' onclick='Check(this)' /><label id='lab587'>防城港</label>";
            break;
        case 14:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp8' value='8' type='checkbox' onclick='CheckProvince(this)' /><label id='labp8'>海南省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb92' value='92' type='checkbox' onclick='Check(this)' /><label id='lab92'>海口</label><input id='cb98' value='98' type='checkbox' onclick='Check(this)' /><label id='lab98'>三亚</label><input id='cb588' value='588' type='checkbox' onclick='Check(this)' /><label id='lab588'>文昌</label><input id='cb589' value='589' type='checkbox' onclick='Check(this)' /><label id='lab589'>琼海</label><br/>"
                + "<input id='cb590' value='590' type='checkbox' onclick='Check(this)' /><label id='lab590'>万宁</label><input id='cb591' value='591' type='checkbox' onclick='Check(this)' /><label id='lab591'>儋州</label><input id='cb592' value='592' type='checkbox' onclick='Check(this)' /><label id='lab592'>东方</label><input id='cb593' value='593' type='checkbox' onclick='Check(this)' /><label id='lab593'>五指山</label><br/>"
                + "<input id='cb594' value='594' type='checkbox' onclick='Check(this)' /><label id='lab594'>洋浦经济开发区</label>";
            break;
        case 15:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp10' value='10' type='checkbox' onclick='CheckProvince(this)' /><label id='labp10'>河南省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb128' value='128' type='checkbox' onclick='Check(this)' /><label id='lab128'>郑州</label><input id='cb120' value='120' type='checkbox' onclick='Check(this)' /><label id='lab120'>洛阳</label><input id='cb119' value='119' type='checkbox' onclick='Check(this)' /><label id='lab119'>开封</label><input id='cb595' value='595' type='checkbox' onclick='Check(this)' /><label id='lab595'>平顶山</label>"
                + "<input id='cb596' value='596' type='checkbox' onclick='Check(this)' /><label id='lab596'>焦作</label><input id='cb597' value='597' type='checkbox' onclick='Check(this)' /><label id='lab597'>南阳</label><input id='cb598' value='598' type='checkbox' onclick='Check(this)' /><label id='lab598'>新乡</label><input id='cb599' value='599' type='checkbox' onclick='Check(this)' /><label id='lab599'>驻马店</label>"
                + "<input id='cb560' value='560' type='checkbox' onclick='Check(this)' /><label id='lab560'>周口</label><input id='cb561' value='561' type='checkbox' onclick='Check(this)' /><label id='lab561'>安阳</label><input id='cb562' value='562' type='checkbox' onclick='Check(this)' /><label id='lab562'>许昌</label><input id='cb563' value='563' type='checkbox' onclick='Check(this)' /><label id='lab563'>三门峡</label>"
                + "<input id='cb564' value='564' type='checkbox' onclick='Check(this)' /><label id='lab564'>信阳</label><input id='cb565' value='565' type='checkbox' onclick='Check(this)' /><label id='lab565'>商丘</label><input id='cb566' value='566' type='checkbox' onclick='Check(this)' /><label id='lab566'>漯河</label><input id='cb567' value='567' type='checkbox' onclick='Check(this)' /><label id='lab567'>濮阳</label><br/>"
                + "<input id='cb568' value='568' type='checkbox' onclick='Check(this)' /><label id='lab568'>鹤壁</label><input id='cb569' value='569' type='checkbox' onclick='Check(this)' /><label id='lab569'>济源</label>";
            break;
        case 16:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp12' value='12' type='checkbox' onclick='CheckProvince(this)' /><label id='labp12'>湖北省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb157' value='157' type='checkbox' onclick='Check(this)' /><label id='lab157'>武汉</label><input id='cb162' value='162' type='checkbox' onclick='Check(this)' /><label id='lab162'>宜昌</label><input id='cb149' value='149' type='checkbox' onclick='Check(this)' /><label id='lab149'>黄石</label><input id='cb160' value='160' type='checkbox' onclick='Check(this)' /><label id='lab160'>襄樊</label><br/>"
               + "<input id='cb154' value='154' type='checkbox' onclick='Check(this)' /><label id='lab154'>十堰</label><input id='cb151' value='151' type='checkbox' onclick='Check(this)' /><label id='lab151'>荆州</label><input id='cb161' value='161' type='checkbox' onclick='Check(this)' /><label id='lab161'>孝感</label><input id='cb146' value='146' type='checkbox' onclick='Check(this)' /><label id='lab146'>鄂州</label><br/>"
               + "<input id='cb150' value='150' type='checkbox' onclick='Check(this)' /><label id='lab150'>荆门</label><input id='cb570' value='570' type='checkbox' onclick='Check(this)' /><label id='lab570'>黄冈</label><input id='cb571' value='571' type='checkbox' onclick='Check(this)' /><label id='lab571'>随州</label><input id='cb572' value='572' type='checkbox' onclick='Check(this)' /><label id='lab572'>咸宁</label><br/>"
               + "<input id='cb573' value='573' type='checkbox' onclick='Check(this)' /><label id='lab573'>仙桃</label><input id='cb574' value='574' type='checkbox' onclick='Check(this)' /><label id='lab574'>潜江</label><input id='cb575' value='575' type='checkbox' onclick='Check(this)' /><label id='lab575'>天门</label><input id='cb576' value='576' type='checkbox' onclick='Check(this)' /><label id='lab576'>恩施</label><br/>"
               + "<input id='cb577' value='577' type='checkbox' onclick='Check(this)' /><label id='lab577'>神农架</label>";
            break;
        case 17:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp13' value='13' type='checkbox' onclick='CheckProvince(this)' /><label id='labp13'>湖南省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb164' value='164' type='checkbox' onclick='Check(this)' /><label id='lab164'>长沙</label><input id='cb176' value='176' type='checkbox' onclick='Check(this)' /><label id='lab176'>株洲</label><input id='cb170' value='170' type='checkbox' onclick='Check(this)' /><label id='lab170'>湘潭</label><input id='cb166' value='166' type='checkbox' onclick='Check(this)' /><label id='lab166'>衡阳</label><br/>"
               + "<input id='cb174' value='174' type='checkbox' onclick='Check(this)' /><label id='lab174'>岳阳</label><input id='cb163' value='163' type='checkbox' onclick='Check(this)' /><label id='lab163'>常德</label><input id='cb172' value='172' type='checkbox' onclick='Check(this)' /><label id='lab172'>益阳</label><input id='cb165' value='165' type='checkbox' onclick='Check(this)' /><label id='lab165'>郴州</label><br/>"
               + "<input id='cb169' value='169' type='checkbox' onclick='Check(this)' /><label id='lab169'>邵阳</label><input id='cb167' value='167' type='checkbox' onclick='Check(this)' /><label id='lab167'>怀化</label><input id='cb168' value='168' type='checkbox' onclick='Check(this)' /><label id='lab168'>娄底</label><input id='cb173' value='173' type='checkbox' onclick='Check(this)' /><label id='lab173'>永州</label><br/>"
               + "<input id='cb578' value='578' type='checkbox' onclick='Check(this)' /><label id='lab578'>湘西</label><input id='cb175' value='175' type='checkbox' onclick='Check(this)' /><label id='lab175'>张家界</label>";
            break;
        case 18:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp23' value='23' type='checkbox' onclick='CheckProvince(this)' /><label id='labp23'>陕西省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb282' value='282' type='checkbox' onclick='Check(this)' /><label id='lab282'>西安</label><input id='cb283' value='283' type='checkbox' onclick='Check(this)' /><label id='lab283'>咸阳</label><input id='cb277' value='277' type='checkbox' onclick='Check(this)' /><label id='lab277'>宝鸡</label><input id='cb280' value='280' type='checkbox' onclick='Check(this)' /><label id='lab280'>铜川</label><br/>"
               + "<input id='cb284' value='284' type='checkbox' onclick='Check(this)' /><label id='lab284'>延安</label><input id='cb579' value='579' type='checkbox' onclick='Check(this)' /><label id='lab579'>渭南</label><input id='cb580' value='580' type='checkbox' onclick='Check(this)' /><label id='lab580'>榆林</label><input id='cb581' value='581' type='checkbox' onclick='Check(this)' /><label id='lab581'>汉中</label><br/>"
               + "<input id='cb582' value='582' type='checkbox' onclick='Check(this)' /><label id='lab582'>安康</label><input id='cb583' value='583' type='checkbox' onclick='Check(this)' /><label id='lab583'>商洛</label><input id='cb584' value='584' type='checkbox' onclick='Check(this)' /><label id='lab584'>杨凌</label>";
            break;
        case 19:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp4' value='4' type='checkbox' onclick='CheckProvince(this)' /><label id='labp4'>甘肃省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb34' value='34' type='checkbox' onclick='Check(this)' /><label id='lab34'>兰州</label><input id='cb32' value='32' type='checkbox' onclick='Check(this)' /><label id='lab32'>金昌</label><input id='cb585' value='585' type='checkbox' onclick='Check(this)' /><label id='lab585'>酒泉</label><input id='cb586' value='586' type='checkbox' onclick='Check(this)' /><label id='lab586'>天水</label><br/>"
                + "<input id='cb587' value='587' type='checkbox' onclick='Check(this)' /><label id='lab587'>武威</label><input id='cb588' value='588' type='checkbox' onclick='Check(this)' /><label id='lab588'>白银</label><input id='cb589' value='589' type='checkbox' onclick='Check(this)' /><label id='lab589'>张掖</label><input id='cb590' value='590' type='checkbox' onclick='Check(this)' /><label id='lab590'>平凉</label><br/>"
                + "<input id='cb591' value='591' type='checkbox' onclick='Check(this)' /><label id='lab591'>定西</label><input id='cb592' value='592' type='checkbox' onclick='Check(this)' /><label id='lab592'>陇南</label><input id='cb593' value='593' type='checkbox' onclick='Check(this)' /><label id='lab593'>庆阳</label><input id='cb594' value='594' type='checkbox' onclick='Check(this)' /><label id='lab594'>临夏</label><br/>"
                + "<input id='cb595' value='595' type='checkbox' onclick='Check(this)' /><label id='lab595'>甘南</label><input id='cb596' value='596' type='checkbox' onclick='Check(this)' /><label id='lab596'>嘉峪关</label>";
            break;
        case 20:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp20' value='20' type='checkbox' onclick='CheckProvince(this)' /><label id='labp20'>青海省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb246' value='246' type='checkbox' onclick='Check(this)' /><label id='lab246'>西宁</label><input id='cb597' value='597' type='checkbox' onclick='Check(this)' /><label id='lab597'>海东</label><input id='cb598' value='598' type='checkbox' onclick='Check(this)' /><label id='lab598'>海西</label><input id='cb599' value='599' type='checkbox' onclick='Check(this)' /><label id='lab599'>海北</label><br/>"
                + "<input id='cb600' value='600' type='checkbox' onclick='Check(this)' /><label id='lab600'>黄南</label><input id='cb601' value='601' type='checkbox' onclick='Check(this)' /><label id='lab601'>海南</label><input id='cb602' value='602' type='checkbox' onclick='Check(this)' /><label id='lab602'>果洛</label><input id='cb603' value='603' type='checkbox' onclick='Check(this)' /><label id='lab603'>玉树</label>";
            break;
        case 21:
            tr0.cells[0].innerHTML = "<span style='padding-right=33px;color:#ff6600;'><input id='cbp19' value='19' type='checkbox' onclick='CheckProvince(this)' /><label id='labp19'>宁夏</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb239' value='239' type='checkbox' onclick='Check(this)' /><label id='lab239'>银川</label><input id='cb604' value='604' type='checkbox' onclick='Check(this)' /><label id='lab604'>吴忠</label><input id='cb605' value='605' type='checkbox' onclick='Check(this)' /><label id='lab605'>中卫</label><input id='cb606' value='606' type='checkbox' onclick='Check(this)' /><label id='lab606'>固原</label><br/>"
                + "<input id='cb607' value='607' type='checkbox' onclick='Check(this)' /><label id='lab607'>石嘴山</label>";
            break;
        case 22:
            tr0.cells[0].innerHTML = "<span style='padding-right=33px;color:#ff6600;'><input id='cbp28' value='28' type='checkbox' onclick='CheckProvince(this)' /><label id='labp28'>新疆</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb329' value='329' type='checkbox' onclick='Check(this)' /><label id='lab329'>乌鲁木齐</label><input id='cb324' value='324' type='checkbox' onclick='Check(this)' /><label id='lab324'>石河子</label><input id='cb323' value='323' type='checkbox' onclick='Check(this)' /><label id='lab323'>喀什</label><br />"
                + "<input id='cb608' value='608' type='checkbox' onclick='Check(this)' /><label id='lab608'>图木舒克</label><input id='cb609' value='609' type='checkbox' onclick='Check(this)' /><label id='lab609'>阿克苏</label><input id='cb610' value='610' type='checkbox' onclick='Check(this)' /><label id='lab610'>伊犁</label><br />"
                + "<input id='cb611' value='611' type='checkbox' onclick='Check(this)' /><label id='lab611'>博尔塔拉</label><input id='cb612' value='612' type='checkbox' onclick='Check(this)' /><label id='lab612'>阿勒泰</label><input id='cb613' value='613' type='checkbox' onclick='Check(this)' /><label id='lab613'>昌吉</label><br />"
                + "<input id='cb614' value='614' type='checkbox' onclick='Check(this)' /><label id='lab614'>巴音郭楞</label><input id='cb615' value='615' type='checkbox' onclick='Check(this)' /><label id='lab615'>吐鲁番</label><input id='cb616' value='616' type='checkbox' onclick='Check(this)' /><label id='lab616'>塔城</label><br />"
                + "<input id='cb609' value='617' type='checkbox' onclick='Check(this)' /><label id='lab617'>克拉玛依</label><input id='cb618' value='618' type='checkbox' onclick='Check(this)' /><label id='lab618'>哈密</label><br />"
                + "<input id='cb619' value='619' type='checkbox' onclick='Check(this)' /><label id='lab619'>克孜勒苏柯尔克孜</label>";
            break;
        case 23:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp25' value='25' type='checkbox' onclick='CheckProvince(this)' /><label id='labp25'>四川省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb2891' value='289' type='checkbox' onclick='Check(this)' /><label id='lab289'>成都</label><input id='cb298' value='298' type='checkbox' onclick='Check(this)' /><label id='lab298'>绵阳</label><input id='cb295' value='295' type='checkbox' onclick='Check(this)' /><label id='lab295'>乐山</label><input id='cb307' value='307' type='checkbox' onclick='Check(this)' /><label id='lab307'>泸州</label><br/>"
               + "<input id='cb291' value='291' type='checkbox' onclick='Check(this)' /><label id='lab291'>德阳</label><input id='cb304' value='304' type='checkbox' onclick='Check(this)' /><label id='lab304'>宜宾</label><input id='cb306' value='306' type='checkbox' onclick='Check(this)' /><label id='lab306'>自贡</label><input id='cb300' value='300' type='checkbox' onclick='Check(this)' /><label id='lab300'>内江</label><br/>"
               + "<input id='cb620' value='620' type='checkbox' onclick='Check(this)' /><label id='lab620'>南充</label><input id='cb621' value='621' type='checkbox' onclick='Check(this)' /><label id='lab621'>眉山</label><input id='cb622' value='622' type='checkbox' onclick='Check(this)' /><label id='lab622'>广安</label><input id='cb623' value='623' type='checkbox' onclick='Check(this)' /><label id='lab623'>资阳</label><br/>"
               + "<input id='cb624' value='624' type='checkbox' onclick='Check(this)' /><label id='lab624'>遂宁</label><input id='cb625' value='625' type='checkbox' onclick='Check(this)' /><label id='lab625'>广元</label><input id='cb626' value='626' type='checkbox' onclick='Check(this)' /><label id='lab626'>达州</label><input id='cb627' value='627' type='checkbox' onclick='Check(this)' /><label id='lab627'>雅安</label><br/>"
               + "<input id='cb628' value='628' type='checkbox' onclick='Check(this)' /><label id='lab628'>西昌</label><input id='cb629' value='629' type='checkbox' onclick='Check(this)' /><label id='lab629'>巴中</label><input id='cb630' value='630' type='checkbox' onclick='Check(this)' /><label id='lab630'>甘孜</label><input id='cb631' value='631' type='checkbox' onclick='Check(this)' /><label id='lab631'>阿坝</label><br/>"
               + "<input id='cb632' value='632' type='checkbox' onclick='Check(this)' /><label id='lab632'>凉山</label><input id='cb301' value='301' type='checkbox' onclick='Check(this)' /><label id='lab301'>攀枝花</label>";
            break;
        case 24:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp7' value='7' type='checkbox' onclick='CheckProvince(this)' /><label id='labp7'>贵州省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb79' value='79' type='checkbox' onclick='Check(this)' /><label id='lab79'>贵阳</label><input id='cb85' value='85' type='checkbox' onclick='Check(this)' /><label id='lab85'>遵义</label><input id='cb633' value='633' type='checkbox' onclick='Check(this)' /><label id='lab633'>六盘水</label>"
                + "<input id='cb634' value='634' type='checkbox' onclick='Check(this)' /><label id='lab634'>安顺</label><input id='cb635' value='635' type='checkbox' onclick='Check(this)' /><label id='lab635'>铜仁</label><input id='cb637' value='637' type='checkbox' onclick='Check(this)' /><label id='lab637'>毕节</label><input id='cb636' value='636' type='checkbox' onclick='Check(this)' /><label id='lab636'>黔西南</label>"
                + "<input id='cb638' value='638' type='checkbox' onclick='Check(this)' /><label id='lab638'>黔南</label><input id='cb639' value='639' type='checkbox' onclick='Check(this)' /><label id='lab639'>黔东南</label>";
            break;
        case 25:
            tr0.cells[0].innerHTML = "<span style='padding-right=57px;color:#ff6600;'><input id='cbp29' value='29' type='checkbox' onclick='CheckProvince(this)' /><label id='labp29'>云南省</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb338' value='338' type='checkbox' onclick='Check(this)' /><label id='lab338'>昆明</label><input id='cb342' value='342' type='checkbox' onclick='Check(this)' /><label id='lab342'>曲靖</label><input id='cb346' value='346' type='checkbox' onclick='Check(this)' /><label id='lab346'>玉溪</label><input id='cb334' value='334' type='checkbox' onclick='Check(this)' /><label id='lab334'>大理</label><br/>"
               + "<input id='cb339' value='339' type='checkbox' onclick='Check(this)' /><label id='lab339'>丽江</label><input id='cb670' value='670' type='checkbox' onclick='Check(this)' /><label id='lab670'>普洱</label><input id='cb671' value='671' type='checkbox' onclick='Check(this)' /><label id='lab671'>保山</label><input id='cb672' value='672' type='checkbox' onclick='Check(this)' /><label id='lab672'>昭通</label><br/>"
               + "<input id='cb673' value='673' type='checkbox' onclick='Check(this)' /><label id='lab673'>文山</label><input id='cb674' value='674' type='checkbox' onclick='Check(this)' /><label id='lab674'>德宏</label><input id='cb675' value='675' type='checkbox' onclick='Check(this)' /><label id='lab675'>楚雄</label><input id='cb679' value='679' type='checkbox' onclick='Check(this)' /><label id='lab679'>红河州</label><br/>"
               + "<input id='cb677' value='677' type='checkbox' onclick='Check(this)' /><label id='lab677'>怒江</label><input id='cb678' value='678' type='checkbox' onclick='Check(this)' /><label id='lab678'>迪庆</label><input id='cb676' value='676' type='checkbox' onclick='Check(this)' /><label id='lab676'>临沧</label><input id='cb680' value='680' type='checkbox' onclick='Check(this)' /><label id='lab680'>西双版纳</label>";

            break;
        case 26:
            tr0.cells[0].innerHTML = "<span style='padding-right=33px;color:#ff6600;'><input id='cbp27' value='27' type='checkbox' onclick='CheckProvince(this)' /><label id='labp27'>西藏</label></span>" + tr0.cells[0].innerHTML;
            tr1 = tb.insertRow(tb.rows.length);
            tr1.insertCell(0).innerHTML = "<input id='cb311' value='311' type='checkbox' onclick='Check(this)' /><label id='lab311'>拉萨</label><input id='cb681' value='681' type='checkbox' onclick='Check(this)' /><label id='lab681'>林芝</label><input id='cb682' value='682' type='checkbox' onclick='Check(this)' /><label id='lab682'>山南</label><input id='cb683' value='683' type='checkbox' onclick='Check(this)' /><label id='lab683'>昌都</label><br/>"
                + "<input id='cb684' value='684' type='checkbox' onclick='Check(this)' /><label id='lab684'>那曲</label><input id='cb685' value='685' type='checkbox' onclick='Check(this)' /><label id='lab685'>阿里</label><input id='cb314' value='314' type='checkbox' onclick='Check(this)' /><label id='lab314'>日喀则</label>";
            break;
        case 27:
            break;
        case 28:
            break;
        case 29:
            //            tr0.cells[0].innerHTML = "&nbsp;<span style='padding-right=33px;color:#ff6600;'><input id='cbp24' value='24' type='checkbox' onclick='CheckProvince(this)' /><label id='labp24'>上海</label></span>" + tr0.cells[0].innerHTML;
            //            tr1 = tb.insertRow(tb.rows.length);
            //            tr1.insertCell(0).innerHTML = "&nbsp;<input id='cb396' value='396' type='checkbox' onclick='Check(this)' /><label id='lab396'>卢湾区</label><input id='cb397' value='397' type='checkbox' onclick='Check(this)' /><label id='lab397'>徐汇区</label><input id='cb398' value='398' type='checkbox' onclick='Check(this)' /><label id='lab398'>长宁区</label>"
            //            + " &nbsp;<input id='cb399' value='399' type='checkbox' onclick='Check(this)' /><label id='lab399'>静安区</label><input id='cb400' value='400' type='checkbox' onclick='Check(this)' /><label id='lab400'>普陀区</label><input id='cb401' value='401' type='checkbox' onclick='Check(this)' /><label id='lab401'>闸北区</label>"
            //             + " &nbsp;<input id='cb402' value='402' type='checkbox' onclick='Check(this)' /><label id='lab402'>虹口区</label><input id='cb403' value='403' type='checkbox' onclick='Check(this)' /><label id='lab403'>杨浦区</label><input id='cb404' value='404' type='checkbox' onclick='Check(this)' /><label id='lab404'>浦东新区</label>"
            //             + " &nbsp;<input id='cb405' value='405' type='checkbox' onclick='Check(this)' /><label id='lab405'>闵行区</label><input id='cb406' value='406' type='checkbox' onclick='Check(this)' /><label id='lab406'>宝山区</label><input id='cb407' value='407' type='checkbox' onclick='Check(this)' /><label id='lab407'>嘉定区</label>"
            //               + " &nbsp;<input id='cb408' value='408' type='checkbox' onclick='Check(this)' /><label id='lab408'>金山区</label><input id='cb409' value='409' type='checkbox' onclick='Check(this)' /><label id='lab409'>松江区</label><input id='cb410' value='410' type='checkbox' onclick='Check(this)' /><label id='lab410'>青浦区</label>"
            //                + " &nbsp;<input id='cb411' value='411' type='checkbox' onclick='Check(this)' /><label id='lab411'>南汇区</label><input id='cb412' value='412' type='checkbox' onclick='Check(this)' /><label id='lab412'>奉贤区</label><input id='cb413' value='413' type='checkbox' onclick='Check(this)' /><label id='lab413'>崇明县</label>";
            break;
        case 30:
            //            tr0.cells[0].innerHTML = "&nbsp;<span style='padding-right=33px;color:#ff6600;'><input id='cbp37' value='37' type='checkbox' onclick='CheckProvince(this)' /><label id='labp37'>广州</label></span>" + tr0.cells[0].innerHTML;
            //            tr1 = tb.insertRow(tb.rows.length);
            //            tr1.insertCell(0).innerHTML = "&nbsp;<input id='cb420' value='420' type='checkbox' onclick='Check(this)' /><label id='lab420'>越秀区</label><input id='cb421' value='421' type='checkbox' onclick='Check(this)' /><label id='lab421'>荔湾区</label><input id='cb422' value='422' type='checkbox' onclick='Check(this)' /><label id='lab422'>海珠区</label>"
            //            + " &nbsp;<input id='cb423' value='423' type='checkbox' onclick='Check(this)' /><label id='lab423'>天河区</label><input id='cb424' value='424' type='checkbox' onclick='Check(this)' /><label id='lab424'>白云区</label><input id='cb425' value='425' type='checkbox' onclick='Check(this)' /><label id='lab425'>黄埔区</label>"
            //             + " &nbsp;<input id='cb426' value='426' type='checkbox' onclick='Check(this)' /><label id='lab426'>番禺区</label><input id='cb427' value='427' type='checkbox' onclick='Check(this)' /><label id='lab427'>花都区</label><input id='cb428' value='428' type='checkbox' onclick='Check(this)' /><label id='lab428'>南沙区</label>"
            //             + " &nbsp;<input id='cb429' value='429' type='checkbox' onclick='Check(this)' /><label id='lab429'>萝岗区</label><input id='cb430' value='430' type='checkbox' onclick='Check(this)' /><label id='lab430'>增城</label>&nbsp;&nbsp;&nbsp;<input id='cb431' value='431' type='checkbox' onclick='Check(this)' /><label id='lab431'>从化</label>";
            break;
        case 31:
            //            tr0.cells[0].innerHTML = "&nbsp;<span style='padding-right=33px;color:#ff6600;'><input id='cbp36' value='36' type='checkbox' onclick='CheckProvince(this)' /><label id='labp36'>深圳</label></span>" + tr0.cells[0].innerHTML;
            //            tr1 = tb.insertRow(tb.rows.length);
            //            tr1.insertCell(0).innerHTML = "&nbsp;<input id='cb414' value='414' type='checkbox' onclick='Check(this)' /><label id='lab414'>福田区</label><input id='cb415' value='415' type='checkbox' onclick='Check(this)' /><label id='lab415'>罗湖区</label><input id='cb416' value='416' type='checkbox' onclick='Check(this)' /><label id='lab416'>南山区</label>"
            //            + " &nbsp;<input id='cb417' value='417' type='checkbox' onclick='Check(this)' /><label id='lab417'>盐田区</label><input id='cb418' value='418' type='checkbox' onclick='Check(this)' /><label id='lab418'>宝安区</label><input id='cb419' value='419' type='checkbox' onclick='Check(this)' /><label id='lab419'>龙岗区</label>"
            break;
        case 32:
            //            tr0.cells[0].innerHTML = "&nbsp;<span style='padding-right=33px;color:#ff6600;'><input id='cbp2' value='2' type='checkbox' onclick='CheckProvince(this)' /><label id='labp2'>北京</label></span>" + tr0.cells[0].innerHTML;
            //            tr1 = tb.insertRow(tb.rows.length);
            //            tr1.insertCell(0).innerHTML = "&nbsp;<input id='cb377' value='377' type='checkbox' onclick='Check(this)' /><label id='lab377'>东城区</label><input id='cb378' value='378' type='checkbox' onclick='Check(this)' /><label id='lab378'>西城区</label><input id='cb379' value='379' type='checkbox' onclick='Check(this)' /><label id='lab379'>崇文区</label>"
            //            + " &nbsp;<input id='cb380' value='380' type='checkbox' onclick='Check(this)' /><label id='lab380'>宣武区</label><input id='cb381' value='381' type='checkbox' onclick='Check(this)' /><label id='lab381'>朝阳区</label><input id='cb382' value='382' type='checkbox' onclick='Check(this)' /><label id='lab382'>丰台区</label>"
            //             + " &nbsp;<input id='cb386' value='386' type='checkbox' onclick='Check(this)' /><label id='lab386'>房山区</label><input id='cb384' value='384' type='checkbox' onclick='Check(this)' /><label id='lab384'>海淀区</label><input id='cb383' value='383' type='checkbox' onclick='Check(this)' /><label id='lab383'>石景山区</label>"
            //             + " &nbsp;<input id='cb387' value='387' type='checkbox' onclick='Check(this)' /><label id='lab387'>通州区</label><input id='cb388' value='388' type='checkbox' onclick='Check(this)' /><label id='lab388'>顺义区</label><input id='cb389' value='389' type='checkbox' onclick='Check(this)' /><label id='lab389'>昌平区</label>"
            //               + " &nbsp;<input id='cb390' value='390' type='checkbox' onclick='Check(this)' /><label id='lab390'>大兴区</label><input id='cb392' value='392' type='checkbox' onclick='Check(this)' /><label id='lab392'>怀柔区</label><input id='cb385' value='385' type='checkbox' onclick='Check(this)' /><label id='lab385'>门头沟区</label>"
            //                + " &nbsp;<input id='cb393' value='393' type='checkbox' onclick='Check(this)' /><label id='lab393'>平谷区</label><input id='cb394' value='394' type='checkbox' onclick='Check(this)' /><label id='lab394'>密云县</label><input id='cb395' value='395' type='checkbox' onclick='Check(this)' /><label id='lab395'>延庆县</label>";
            break;
    }

    document.body.appendChild(divCitys);
    divCitys.appendChild(tb);
    BindCheckBox(document.getElementById("hiResultValue").value.replace(" ", ""), true);
}

function DivClose() {

    var div = document.getElementById("divCitys");
    if (div != null) {
        document.body.removeChild(div);
    }
}

function ddlProvincesChange(e, objcity) {
    var value = e.value;
    var res = Ajax.Ajax.GetCitysByProvinceID(value);
    var dt = res.value;

    objcity.length = 0;
    objcity.options.add(new Option("城市", 0));

    for (var i = 0; i < dt.Rows.length; i++) {
        var name = dt.Rows[i]["Name"];
        var id = dt.Rows[i]["ID"];
        objcity.options.add(new Option(name, id));
    }
}

function ddlProvinces_EnChange(e, objcity) {
    var value = e.value;
    var res = Ajax.Ajax.GetCitys_EnByProvinceID(value);
    var dt = res.value;

    objcity.length = 0;
    objcity.options.add(new Option("City", 0));

    for (var i = 0; i < dt.Rows.length; i++) {
        var name = dt.Rows[i]["Name_en"];
        var id = dt.Rows[i]["ID"];
        objcity.options.add(new Option(name, id));
    }
}

function ddlCityChange(e, hfCityID) {
    hfCityID.value = e.options[e.selectedIndex].value;
}


function RemoveBg(id) {
    var bgObj = document.getElementById(id);
    document.body.removeChild(bgObj);
}
function PrintBg(id, zIndex) {
    var iWidth = document.documentElement.clientWidth;
    var iHeight = document.documentElement.clientHeight;

    var bgObj = document.createElement("div");        //创建背景层
    bgObj.setAttribute("id", id);
    bgObj.style.width = iWidth + "px";
    bgObj.style.height = Math.max(document.body.clientHeight, iHeight) + "px";
    bgObj.style.display = "block";
    bgObj.style.position = "absolute";
    bgObj.style.top = "0px";
    bgObj.style.left = "0px";
    bgObj.style.filter = "alpha(opacity=50)";
    bgObj.style.opacity = "0.5";
    bgObj.style.zIndex = zIndex;
    bgObj.style.background = "Gray";
    document.body.appendChild(bgObj);                //将创建的层插入body中
}
function canelCheckCity() {
    var iii = document.getElementById("hiResultValue").value;
    BindCheckBox(iii, false);
    document.getElementById("hiResultText").value = "";
    document.getElementById("selectCitys").innerText = "";
    document.getElementById("hiResultValue").value = "";
}
