<form name="regform" method="POST" action="regform.jsp" onSubmit="return check();" enctype="multipart/form-data">
<script language="javascript">
function update_province( CatID1, subTypeForm ){
subTypeForm.length=0;
switch(CatID1){
case "-1":
subTypeForm.options[0]=new Option("--------","-1");
subTypeForm.options[0].selected=true;break;
case "0"://中国
subTypeForm.options[0]=new Option("广东","0");
subTypeForm.options[1]=new Option("广西","1");
subTypeForm.options[2]=new Option("北京","2");
subTypeForm.options[3]=new Option("海南","3");
subTypeForm.options[4]=new Option("福建","4");
subTypeForm.options[5]=new Option("天津","5");
subTypeForm.options[6]=new Option("湖南","6");
subTypeForm.options[7]=new Option("湖北","7");
subTypeForm.options[8]=new Option("河南","8");
subTypeForm.options[9]=new Option("河北","9");
subTypeForm.options[10]=new Option("山东","10");
subTypeForm.options[11]=new Option("山西","11");
subTypeForm.options[12]=new Option("黑龙江","12");
subTypeForm.options[13]=new Option("辽宁","13");
subTypeForm.options[14]=new Option("上海","14");
subTypeForm.options[15]=new Option("甘肃","15");
subTypeForm.options[16]=new Option("青海","16");
subTypeForm.options[17]=new Option("新疆","17");
subTypeForm.options[18]=new Option("西藏","18");
subTypeForm.options[19]=new Option("宁夏","19");
subTypeForm.options[20]=new Option("四川","20");
subTypeForm.options[21]=new Option("云南","21");
subTypeForm.options[22]=new Option("吉林","22");
subTypeForm.options[23]=new Option("内蒙古","23");
subTypeForm.options[24]=new Option("陕西","24");
subTypeForm.options[25]=new Option("安徽","25");
subTypeForm.options[26]=new Option("贵州","26");
subTypeForm.options[27]=new Option("江苏","27");
subTypeForm.options[28]=new Option("重庆","28");
subTypeForm.options[29]=new Option("浙江","29");
subTypeForm.options[30]=new Option("江西","30");
subTypeForm.options[31]=new Option("国外","31");
subTypeForm.options[32]=new Option("台湾","32");
subTypeForm.options[33]=new Option("香港","33");
subTypeForm.options[34]=new Option("澳门","34");
subTypeForm.options[0].selected=true;
break;
}
return -1;
}
function update_city( CatID1, CatID2, subTypeForm ){
subTypeForm.length=0;
switch(CatID1){
case "-1":
subTypeForm.options[0]=new Option("--------","-1");
subTypeForm.options[0].selected=true;break;
case "0"://中国
switch ( CatID2 ){
case "5"://广东
subTypeForm.options[0]=new Option("广州","0");
subTypeForm.options[1]=new Option("深圳","1");
subTypeForm.options[2]=new Option("珠海","2");
subTypeForm.options[3]=new Option("韶关","3");
subTypeForm.options[4]=new Option("潮州","4");
subTypeForm.options[5]=new Option("汕头","5");
subTypeForm.options[6]=new Option("肇庆","6");
subTypeForm.options[7]=new Option("湛江","7");
subTypeForm.options[8]=new Option("佛山","8");
subTypeForm.options[9]=new Option("新会","9");
subTypeForm.options[10]=new Option("河源","10");
subTypeForm.options[11]=new Option("潮阳","11");
subTypeForm.options[12]=new Option("揭阳","12");
subTypeForm.options[13]=new Option("南海","13");
subTypeForm.options[14]=new Option("其它","14");
subTypeForm.options[0].selected=true;
break;
case "6"://广西
subTypeForm.options[0]=new Option("南宁","0");
subTypeForm.options[1]=new Option("柳州","1");
subTypeForm.options[2]=new Option("桂林","2");
subTypeForm.options[3]=new Option("北海","3");
subTypeForm.options[4]=new Option("合山","4");
subTypeForm.options[5]=new Option("凭祥","5");
subTypeForm.options[6]=new Option("梧州","6");
subTypeForm.options[7]=new Option("玉林","7");
subTypeForm.options[8]=new Option("其它","8");
subTypeForm.options[0].selected=true;
break;
case "2"://北京
subTypeForm.options[0]=new Option("北京","0");
subTypeForm.options[0].selected=true;
break;
case "8"://海南
subTypeForm.options[0]=new Option("海口","0");
subTypeForm.options[1]=new Option("三亚","1");
subTypeForm.options[2]=new Option("琼海","2");
subTypeForm.options[3]=new Option("儋州","3");
subTypeForm.options[4]=new Option("通什","4");
subTypeForm.options[5]=new Option("其它","5");
subTypeForm.options[0].selected=true;
break;
case "3"://福建
subTypeForm.options[0]=new Option("福州","0");
subTypeForm.options[1]=new Option("厦门","1");
subTypeForm.options[2]=new Option("泉州","2");
subTypeForm.options[3]=new Option("漳州","3");
subTypeForm.options[4]=new Option("南平","4");
subTypeForm.options[5]=new Option("三明","5");
subTypeForm.options[6]=new Option("莆田","6");
subTypeForm.options[7]=new Option("龙岩","7");
subTypeForm.options[8]=new Option("晋江","8");
subTypeForm.options[9]=new Option("武夷山","9");
subTypeForm.options[10]=new Option("永安","10");
subTypeForm.options[11]=new Option("石狮","11");
subTypeForm.options[12]=new Option("其它","12");
subTypeForm.options[0].selected=true;
break;
case "26"://天津
subTypeForm.options[0]=new Option("天津","0");
subTypeForm.options[0].selected=true;
break;
case "13"://湖南
subTypeForm.options[0]=new Option("长沙","0");
subTypeForm.options[1]=new Option("衡阳","1");
subTypeForm.options[2]=new Option("邵阳","2");
subTypeForm.options[3]=new Option("湘潭","3");
subTypeForm.options[4]=new Option("岳阳","4");
subTypeForm.options[5]=new Option("株洲","5");
subTypeForm.options[6]=new Option("常德","6");
subTypeForm.options[7]=new Option("津市","7");
subTypeForm.options[8]=new Option("耒阳","8");
subTypeForm.options[9]=new Option("醴陵","9");
subTypeForm.options[10]=new Option("益阳","10");
subTypeForm.options[11]=new Option("张家界","11");
subTypeForm.options[12]=new Option("其它","12");
subTypeForm.options[0].selected=true;
break;
case "12"://湖北
subTypeForm.options[0]=new Option("武汉","0");
subTypeForm.options[1]=new Option("黄石","1");
subTypeForm.options[2]=new Option("荆沙","2");
subTypeForm.options[3]=new Option("十堰","3");
subTypeForm.options[4]=new Option("襄樊","4");
subTypeForm.options[5]=new Option("宜昌","5");
subTypeForm.options[6]=new Option("鄂州","6");
subTypeForm.options[7]=new Option("黄冈","7");
subTypeForm.options[8]=new Option("随州","8");
subTypeForm.options[9]=new Option("荆门","9");
subTypeForm.options[10]=new Option("老河口","10");
subTypeForm.options[11]=new Option("其它","11");
subTypeForm.options[0].selected=true;
break;
case "10"://河南
subTypeForm.options[0]=new Option("郑州","0");
subTypeForm.options[1]=new Option("焦作","1");
subTypeForm.options[2]=new Option("商丘","2");
subTypeForm.options[3]=new Option("洛阳","3");
subTypeForm.options[4]=new Option("平顶山","4");
subTypeForm.options[5]=new Option("鹤壁","5");
subTypeForm.options[6]=new Option("新乡","6");
subTypeForm.options[7]=new Option("安阳","7");
subTypeForm.options[8]=new Option("开封","8");
subTypeForm.options[9]=new Option("漯河","9");
subTypeForm.options[10]=new Option("南阳","10");
subTypeForm.options[11]=new Option("南阳","11");
subTypeForm.options[12]=new Option("濮阳","12");
subTypeForm.options[13]=new Option("三门峡","13");
subTypeForm.options[14]=new Option("信阳","14");
subTypeForm.options[15]=new Option("许昌","15");
subTypeForm.options[16]=new Option("驻马店","16");
subTypeForm.options[17]=new Option("周口","17");
subTypeForm.options[18]=new Option("其他","18");
subTypeForm.options[0].selected=true;
break;
case "9"://河北
subTypeForm.options[0]=new Option("石家庄","0");
subTypeForm.options[1]=new Option("唐山","1");
subTypeForm.options[2]=new Option("邯郸","2");
subTypeForm.o