var ProvinceArray = new Array;
ProvinceArray[0] = "选择..";
ProvinceArray[1] = "北京";
ProvinceArray[2] = "上海";
ProvinceArray[3] = "天津";
ProvinceArray[4] = "重庆";
ProvinceArray[5] = "广东";
ProvinceArray[6] = "山西";
ProvinceArray[7] = "河北";
ProvinceArray[8] = "黑龙江";
ProvinceArray[9] = "辽宁";
ProvinceArray[10] = "吉林";
ProvinceArray[11] = "江苏";
ProvinceArray[12] = "安徽";
ProvinceArray[13] = "山东";
ProvinceArray[14] = "浙江";
ProvinceArray[15] = "江西";
ProvinceArray[16] = "福建";
ProvinceArray[17] = "湖南";
ProvinceArray[18] = "湖北";
ProvinceArray[19] = "河南";
ProvinceArray[20] = "内蒙古";
ProvinceArray[21] = "海南";
ProvinceArray[22] = "广西";
ProvinceArray[23] = "贵州";
ProvinceArray[24] = "四川";
ProvinceArray[25] = "云南";
ProvinceArray[26] = "陕西";
ProvinceArray[27] = "甘肃";
ProvinceArray[28] = "宁夏";
ProvinceArray[29] = "青海";
ProvinceArray[30] = "新疆";
ProvinceArray[31] = "西藏";
ProvinceArray[32] = "香港";
ProvinceArray[33] = "澳门";
ProvinceArray[34] = "台湾";
ProvinceArray[35] = "美国";
ProvinceArray[36] = "加拿大";
ProvinceArray[37] = "澳大利亚";
ProvinceArray[38] = "新西兰";
ProvinceArray[39] = "日本";
ProvinceArray[40] = "韩国";
ProvinceArray[41] = "新加坡";
ProvinceArray[42] = "马来西亚";
ProvinceArray[43] = "泰国";
ProvinceArray[44] = "英国";
ProvinceArray[45] = "法国";
ProvinceArray[46] = "德国";
ProvinceArray[47] = "其他";
tCitys = new Array; 
tCitys[1] = new Array;
tCitys[1][0] = "北京";
tCitys[2] = new Array;
tCitys[2][0] = "上海";
tCitys[3] = new Array;
tCitys[3][0] = "天津";
tCitys[4] = new Array;
tCitys[4][0] = "重庆";
tCitys[5] = new Array;
tCitys[5][0] = "广州";
tCitys[5][1] = "深圳";
tCitys[5][2] = "东莞";
tCitys[5][3] = "珠海";
tCitys[5][4] = "汕头";
tCitys[5][5] = "韶关";
tCitys[5][6] = "河源";
tCitys[5][7] = "梅州";
tCitys[5][8] = "惠州";
tCitys[5][9] = "潮州";
tCitys[5][10] = "汕尾";
tCitys[5][11] = "中山";
tCitys[5][12] = "江门";
tCitys[5][13] = "佛山";
tCitys[5][14] = "阳江";
tCitys[5][15] = "湛江";
tCitys[5][16] = "茂名";
tCitys[5][17] = "肇庆";
tCitys[5][18] = "清远";
tCitys[5][19] = "揭阳";
tCitys[5][20] = "云浮";
tCitys[5][21] = "广东/其他";
tCitys[6] = new Array;
tCitys[6][0] = "太原";
tCitys[6][1] = "大同";
tCitys[6][2] = "阳泉";
tCitys[6][3] = "长治";
tCitys[6][4] = "晋城";
tCitys[6][5] = "朔州";
tCitys[6][6] = "晋中";
tCitys[6][7] = "运城";
tCitys[6][8] = "忻州";
tCitys[6][9] = "临汾";
tCitys[6][10] = "吕梁";
tCitys[6][11] = "山西/其他";
tCitys[7] = new Array;
tCitys[7][0] = "石家庄";
tCitys[7][1] = "承德";
tCitys[7][2] = "唐山";
tCitys[7][3] = "秦皇岛";
tCitys[7][4] = "沧州";
tCitys[7][5] = "张家口";
tCitys[7][6] = "保定";
tCitys[7][7] = "衡水";
tCitys[7][8] = "邢台";
tCitys[7][9] = "邯郸";
tCitys[7][10] = "廊坊";
tCitys[7][11] = "河北/其他";
tCitys[8] = new Array;
tCitys[8][0] = "哈尔滨";
tCitys[8][1] = "齐齐哈尔";
tCitys[8][2] = "大庆";
tCitys[8][3] = "佳木斯";
tCitys[8][4] = "牡丹江";
tCitys[8][5] = "伊春";
tCitys[8][6] = "绥化";
tCitys[8][7] = "黑河";
tCitys[8][8] = "鸡西";
tCitys[8][9] = "鹤岗";
tCitys[8][10] = "双鸭山市";
tCitys[8][11] = "七台河市";
tCitys[8][12] = "大兴安岭";
tCitys[8][13] = "黑龙江/其他";
tCitys[9] = new Array;
tCitys[9][0] = "沈阳";
tCitys[9][1] = "大连";
tCitys[9][2] = "抚顺";
tCitys[9][3] = "鞍山";
tCitys[9][4] = "锦州";
tCitys[9][5] = "营口";
tCitys[9][6] = "本溪";
tCitys[9][7] = "丹东";
tCitys[9][8] = "辽阳";
tCitys[9][9] = "铁岭";
tCitys[9][10] = "葫芦岛";
tCitys[9][11] = "盘锦";
tCitys[9][12] = "阜新";
tCitys[9][13] = "朝阳";
tCitys[9][14] = "辽宁/其他";
tCitys[10] = new Array;
tCitys[10][0] = "长春";
tCitys[10][1] = "吉林";
tCitys[10][2] = "通化";
tCitys[10][3] = "四平";
tCitys[10][4] = "延吉";
tCitys[10][5] = "辽源";
tCitys[10][6] = "白山";
tCitys[10][7] = "松原";
tCitys[10][8] = "白城";
tCitys[10][9] = "吉林/其他";
tCitys[11] = new Array;
tCitys[11][0] = "南京";
tCitys[11][1] = "苏州";
tCitys[11][2] = "无锡";
tCitys[11][3] = "徐州";
tCitys[11][4] = "常州";
tCitys[11][5] = "连云港";
tCitys[11][6] = "南通";
tCitys[11][7] = "淮安";
tCitys[11][8] = "镇江";
tCitys[11][9] = "扬州";
tCitys[11][10] = "泰州";
tCitys[11][11] = "盐城";
tCitys[11][12] = "宿迁";
tCitys[11][23] = "江苏/其他";
tCitys[12] = new Array;
tCitys[12][0] = "合肥";
tCitys[12][1] = "蚌埠";
tCitys[12][2] = "芜湖";
tCitys[12][3] = "马鞍山";
tCitys[12][4] = "黄山市";
tCitys[12][5] = "淮南";
tCitys[12][6] = "淮北";
tCitys[12][7] = "阜阳";
tCitys[12][8] = "安庆";
tCitys[12][9] = "六安";
tCitys[12][10] = "铜陵";
tCitys[12][11] = "滁州";
tCitys[12][12] = "宿州";
tCitys[12][13] = "巢湖";
tCitys[12][14] = "亳州";
tCitys[12][15] = "池州";
tCitys[12][16] = "宣城";
tCitys[12][17] = "安徽/其他";
tCitys[13] = new Array;
tCitys[13][0] = "济南";
tCitys[13][1] = "青岛";
tCitys[13][2] = "烟台";
tCitys[13][3] = "淄博";
tCitys[13][4] = "东营";
tCitys[13][5] = "潍坊";
tCitys[13][6] = "德州";
tCitys[13][7] = "泰安";
tCitys[13][8] = "济宁";
tCitys[13][9] = "荷泽";
tCitys[13][10] = "临沂";
tCitys[13][11] = "威海";
tCitys[13][12] = "日照";
tCitys[13][13] = "莱芜";
tCitys[13][14] = "滨州";
tCitys[13][15] = "聊城";
tCitys[13][16] = "枣庄";
tCitys[13][17] = "山东/其他";
tCitys[14] = new Array;
tCitys[14][0] = "杭州";
tCitys[14][1] = "宁波";
tCitys[14][2] = "温州";
tCitys[14][3] = "台州";
tCitys[14][4] = "嘉兴";
tCitys[14][5] = "绍兴";
tCitys[14][6] = "湖州";
tCitys[14][7] = "金华";
tCitys[14][8] = "丽水";
tCitys[14][9] = "衢州";
tCitys[14][10] = "舟山";
tCitys[14][11] = "浙江/其他";
tCitys[15] = new Array;
tCitys[15][0] = "南昌";
tCitys[15][1] = "九江";
tCitys[15][2] = "上饶";
tCitys[15][3] = "景德镇";
tCitys[15][4] = "鹰潭";
tCitys[15][5] = "赣州";
tCitys[15][6] = "赣州/瑞金";
tCitys[15][7] = "宜春";
tCitys[15][8] = "抚州";
tCitys[15][9] = "吉安";
tCitys[15][10] = "新余";
tCitys[15][11] = "萍乡";
tCitys[15][12] = "江西/其他";
tCitys[16] = new Array;
tCitys[16][0] = "福州";
tCitys[16][1] = "厦门";
tCitys[16][2] = "泉州";
tCitys[16][3] = "泉州/石狮";
tCitys[16][4] = "龙岩";
tCitys[16][5] = "莆田";
tCitys[16][6] = "漳州";
tCitys[16][7] = "南平";
tCitys[16][8] = "三明";
tCitys[16][9] = "宁德";
tCitys[16][10] = "福建/其他";
tCitys[17] = new Array;
tCitys[17][0] = "长沙";
tCitys[17][1] = "株洲";
tCitys[17][2] = "湘潭";
tCitys[17][3] = "衡阳";
tCitys[17][4] = "岳阳";
tCitys[17][5] = "益阳";
tCitys[17][6] = "常德";
tCitys[17][7] = "张家界市";
tCitys[17][8] = "邵阳";
tCitys[17][9] = "怀化";
tCitys[17][10] = "郴州";
tCitys[17][11] = "永州";
tCitys[17][12] = "娄底";
tCitys[17][13] = "吉首";
tCitys[17][14] = "湖南/其他";
tCitys[18] = new Array;
tCitys[18][0] = "武汉";
tCitys[18][1] = "宜昌";
tCitys[18][2] = "十堰";
tCitys[18][3] = "襄樊";
tCitys[18][4] = "黄石";
tCitys[18][5] = "荆门";
tCitys[18][6] = "鄂州";
tCitys[18][7] = "荆州";
tCitys[18][8] = "孝感";
tCitys[18][9] = "黄岗";
tCitys[18][10] = "咸宁";
tCitys[18][11] = "随州";
tCitys[18][12] = "恩施";
tCitys[18][13] = "湖南/其他";
tCitys[19] = new Array;
tCitys[19][0] = "郑州";
tCitys[19][1] = "洛阳";
tCitys[19][2] = "开封";
tCitys[19][3] = "安阳";
tCitys[19][4] = "许昌";
tCitys[19][5] = "信阳";
tCitys[19][6] = "周口";
tCitys[19][7] = "商丘";
tCitys[19][8] = "平顶山";
tCitys[19][9] = "焦作";
tCitys[19][10] = "鹤壁";
tCitys[19][11] = "新乡";
tCitys[19][12] = "濮阳";
tCitys[19][13] = "漯河";
tCitys[19][14] = "三门峡";
tCitys[19][15] = "驻马店";
tCitys[19][16] = "南阳";
tCitys[19][17] = "河南/其他";
tCitys[20] = new Array;
tCitys[20][0] = "呼和浩特";
tCitys[20][1] = "包头";
tCitys[20][2] = "赤峰";
tCitys[20][3] = "乌海";
tCitys[20][4] = "通辽";
tCitys[20][5] = "鄂尔多斯";
tCitys[20][6] = "巴彦淖尔";
tCitys[20][7] = "乌兰察布";
tCitys[20][8] = "锡林浩特";
tCitys[20][9] = "乌兰浩特";
tCitys[20][10] = "阿拉善盟";
tCitys[20][11] = "内蒙古/其他";
tCitys[21] = new Array;
tCitys[21][0] = "海口";
tCitys[21][1] = "三亚";
tCitys[21][2] = "五指山";
tCitys[21][3] = "琼海";
tCitys[21][4] = "儋州";
tCitys[21][5] = "文昌";
tCitys[21][6] = "万宁";
tCitys[21][7] = "东方";
tCitys[21][8] = "定安";
tCitys[21][9] = "屯昌";
tCitys[21][10] = "临高";
tCitys[21][11] = "白沙";
tCitys[21][12] = "昌江";
tCitys[21][13] = "乐东";
tCitys[21][14] = "陵水";
tCitys[21][15] = "保亭";
tCitys[21][16] = "琼中";
tCitys[21][17] = "海南/其他";
tCitys[22] = new Array;
tCitys[22][0] = "南宁";
tCitys[22][1] = "桂林";
tCitys[22][2] = "梧州";
tCitys[22][3] = "柳州";
tCitys[22][4] = "玉林";
tCitys[22][5] = "百色";
tCitys[22][6] = "北海";
tCitys[22][7] = "防城港";
tCitys[22][8] = "钦州";
tCitys[22][9] = "贵港";
tCitys[22][10] = "贺州";
tCitys[22][11] = "河池";
tCitys[22][12] = "来宾";
tCitys[22][13] = "崇左";
tCitys[22][14] = "广西/其他";
tCitys[23] = new Array;
tCitys[23][0] = "贵阳";
tCitys[23][1] = "六盘水";
tCitys[23][2] = "遵义";
tCitys[23][3] = "铜仁";
tCitys[23][4] = "安顺";
tCitys[23][5] = "毕节";
tCitys[23][6] = "兴义";
tCitys[23][7] = "凯里";
tCitys[23][8] = "都匀";
tCitys[23][9] = "贵州/其他";
tCitys[24] = new Array;
tCitys[24][0] = "成都";
tCitys[24][1] = "绵阳";
tCitys[24][2] = "乐山";
tCitys[24][3] = "攀枝花";
tCitys[24][4] = "自贡";
tCitys[24][5] = "宜宾";
tCitys[24][6] = "南充";
tCitys[24][7] = "内江";
tCitys[24][8] = "泸州";
tCitys[24][9] = "德阳";
tCitys[24][10] = "广元";
tCitys[24][11] = "遂宁";
tCitys[24][12] = "广安";
tCitys[24][13] = "达州";
tCitys[24][14] = "眉山";
tCitys[24][15] = "雅安";
tCitys[24][16] = "巴中";
tCitys[24][17] = "资阳";
tCitys[24][18] = "凉山自治州";
tCitys[24][19] = "甘孜自治州";
tCitys[24][20] = "阿坝自治州";
tCitys[24][21] = "四川/其他";
tCitys[25] = new Array;
tCitys[25][0] = "昆明";
tCitys[25][1] = "大理";
tCitys[25][2] = "楚雄";
tCitys[25][3] = "玉溪";
tCitys[25][4] = "丽江";
tCitys[25][5] = "曲靖";
tCitys[25][6] = "景洪";
tCitys[25][7] = "思茅";
tCitys[25][8] = "保山";
tCitys[25][9] = "昭通";
tCitys[25][10] = "临沧";
tCitys[25][11] = "文山自治州";
tCitys[25][12] = "红河自治州/个旧";
tCitys[25][13] = "德宏自治州/潞西";
tCitys[25][14] = "怒江自治州/泸水";
tCitys[25][15] = "香格里拉";
tCitys[25][16] = "云南/其他";
tCitys[26] = new Array;
tCitys[26][0] = "西安";
tCitys[26][1] = "咸阳";
tCitys[26][2] = "渭南";
tCitys[26][3] = "汉中";
tCitys[26][4] = "宝鸡";
tCitys[26][5] = "铜川";
tCitys[26][6] = "延安";
tCitys[26][7] = "榆林";
tCitys[26][8] = "安康";
tCitys[26][9] = "商洛";
tCitys[26][10] = "陕西/其他";
tCitys[27] = new Array;
tCitys[27][0] = "兰州";
tCitys[27][1] = "酒泉";
tCitys[27][2] = "天水";
tCitys[27][3] = "金昌";
tCitys[27][4] = "白银";
tCitys[27][5] = "嘉峪关";
tCitys[27][6] = "武威";
tCitys[27][7] = "张掖";
tCitys[27][8] = "平凉";
tCitys[27][9] = "庆阳";
tCitys[27][10] = "定西";
tCitys[27][11] = "陇南";
tCitys[27][12] = "临夏";
tCitys[27][13] = "甘南";
tCitys[27][14] = "甘肃/其他";
tCitys[28] = new Array;
tCitys[28][0] = "银川";
tCitys[28][1] = "石嘴山";
tCitys[28][2] = "固源";
tCitys[28][3] = "吴忠";
tCitys[28][4] = "中卫";
tCitys[28][5] = "宁夏/其他";
tCitys[29] = new Array;
tCitys[29][0] = "西宁";
tCitys[29][1] = "玉树";
tCitys[29][2] = "海东-平安";
tCitys[29][3] = "海北-海晏";
tCitys[29][4] = "海南-共和";
tCitys[29][5] = "海西-德令哈";
tCitys[29][6] = "黄南-同仁";
tCitys[29][7] = "果洛-玛沁";
tCitys[29][8] = "青海/其他";
tCitys[30] = new Array;
tCitys[30][0] = "乌鲁木齐";
tCitys[30][1] = "克拉玛依";
tCitys[30][2] = "石河子";
tCitys[30][3] = "吐鲁番";
tCitys[30][4] = "哈密";
tCitys[30][5] = "喀什";
tCitys[30][6] = "伊宁";
tCitys[30][7] = "塔城";
tCitys[30][8] = "阿勒泰";
tCitys[30][9] = "阿克苏";
tCitys[30][10] = "和田";
tCitys[30][11] = "昌吉";
tCitys[30][12] = "克孜勒苏/阿图什";
tCitys[30][13] = "博尔塔拉/博乐";
tCitys[30][14] = "新疆/其他";
tCitys[31] = new Array;
tCitys[31][0] = "拉萨";
tCitys[31][1] = "日喀则";
tCitys[31][2] = "阿里";
tCitys[31][3] = "昌都";
tCitys[31][4] = "林芝";
tCitys[31][5] = "山南";
tCitys[31][6] = "那曲";
tCitys[31][7] = "西藏/其他";
tCitys[32] = new Array;
tCitys[32][0] = "香港";
tCitys[32][1] = "香港/香港岛";
tCitys[32][2] = "香港/九龙";
tCitys[32][3] = "香港/新界";
tCitys[32][4] = "香港/大屿山";
tCitys[32][5] = "香港/其他";
tCitys[33] = new Array;
tCitys[33][0] = "澳门";
tCitys[34] = new Array;
tCitys[34][0] = "台北市";
tCitys[34][1] = "高雄市";
tCitys[34][2] = "基隆市";
tCitys[34][3] = "新竹市";
tCitys[34][4] = "嘉义市";
tCitys[34][5] = "台南市";
tCitys[34][6] = "台中市";
tCitys[34][7] = "台湾/其他";
tCitys[35] = new Array;
tCitys[35][0] = "洛杉矶(Los Angeles)";
tCitys[35][1] = "纽约(New York)";
tCitys[35][2] = "旧金山(San Francisco)";
tCitys[35][3] = "华盛顿(Washington,D.C)";
tCitys[35][4] = "夏威夷(Hawaii)";
tCitys[35][5] = "芝加哥(Chicago)";
tCitys[35][6] = "费城(Philadelphia)";
tCitys[35][7] = "波士顿(Boston)";
tCitys[35][8] = "休士顿(Houston)";
tCitys[35][9] = "亚特兰大(Atlanta)";
tCitys[35][10] = "美国/其他";
tCitys[36] = new Array;
tCitys[36][0] = "多伦多(Toronto)";
tCitys[36][1] = "温哥华(Vancouver)";
tCitys[36][2] = "卡尔加里(Calgary)";
tCitys[36][3] = "埃德蒙顿(Edmonton)";
tCitys[36][4] = "蒙特利尔(Montreal)";
tCitys[36][5] = "加拿大/其他";
tCitys[37] = new Array;
tCitys[37][0] = "悉尼(Sydney)";
tCitys[37][1] = "墨尔本(Melbourne)";
tCitys[37][2] = "珀斯(Perth)";

tCitys[37][3] = "布里斯本(Brisbane)";
tCitys[37][4] = "阿德莱德(Asdelaide)";
tCitys[37][5] = "澳大利亚/其他";
tCitys[38] = new Array;
tCitys[38][0] = "奥克兰(Auckland)";
tCitys[38][1] = "惠灵顿(Wellington)";
tCitys[38][2] = "基督城(CHCH)";
tCitys[38][3] = "新西兰/其他";
tCitys[39] = new Array;
tCitys[39][0] = "东京(Tokyo)";
tCitys[39][1] = "大阪(Osaka)";
tCitys[39][2] = "横滨(Yokohama)";
tCitys[39][3] = "京都(Kyoto)";
tCitys[39][4] = "神户(Kobe)";
tCitys[39][5] = "日本/其他";
tCitys[40] = new Array;
tCitys[40][0] = "首尔(Seoul)";
tCitys[40][1] = "釜山(Pusan)";
tCitys[40][2] = "大邱(Taegu)";
tCitys[40][3] = "仁川(Inchon)";
tCitys[40][4] = "韩国/其他";
tCitys[41] = new Array;
tCitys[41][0] = "新加坡(Singapore)";
tCitys[42] = new Array;
tCitys[42][0] = "吉隆坡(Kuala Lumpur)";
tCitys[42][1] = "槟城(George Town)";
tCitys[42][2] = "怡保(Ipoh)";
tCitys[42][3] = "新山(Johor Bahru)";
tCitys[42][4] = "马来西亚/其他";
tCitys[43] = new Array;
tCitys[43][0] = "曼谷(Bangkok)";
tCitys[43][1] = "清迈(Chiang Mai)";
tCitys[43][2] = "合艾(Hatyal)";
tCitys[43][3] = "泰国/其他";
tCitys[44] = new Array;
tCitys[44][0] = "伦敦(London)";
tCitys[44][1] = "利物浦(Liverpool)";
tCitys[44][2] = "伯明翰(Birmingham)";
tCitys[44][3] = "英国/其他";
tCitys[45] = new Array;
tCitys[45][0] = "巴黎(Paris)";
tCitys[45][1] = "里昂(Lyons)";
tCitys[45][2] = "马赛(Marseilles)";
tCitys[45][3] = "法国/其他";
tCitys[46] = new Array;
tCitys[46][0] = "柏林(Berlin)";
tCitys[46][1] = "汉堡(Hamburg)";
tCitys[46][2] = "慕尼黑(Munich)";
tCitys[46][3] = "法兰克福(Frankfurt)";
tCitys[46][4] = "德国/其他";
tCitys[47] = new Array;
tCitys[47][0] = "其他";



function ProvinceOptionMenu()
{
    var i;
    provincebox = document.formRegStep1Main.province;
    for(i = 0; i < ProvinceArray.length; i++)
    {
        if(i == 0)
            provincebox.options[i] = new Option(ProvinceArray[i], "");
        else
            provincebox.options[i] = new Option(ProvinceArray[i],ProvinceArray[i]);
	}
	provincebox.length = i;
}



function selectcity()
{  
	provincebox = document.formRegStep1Main.province;
	selcity = parseInt(provincebox.selectedIndex);
	tCity = tCitys[selcity];
    citybox = document.formRegStep1Main.city;
	if(tCity != null)
		{
                       citybox = document.formRegStep1Main.city;
                       if (tCity.length>1){
                          citybox.options[0] = new Option("请选择..","");
                          for(i = 0; i < tCity.length; i++)
		  	  {
			     str = tCity[i];
                             citybox.options[i+1] = new Option(str, str);
			  }
			  citybox.length = i+1;
                        }
                        else
                        {
                          str = tCity[0];
                          citybox.options[0] = new Option(str,str);
                          citybox.length=1;
                          citybox.options[0].selected;
                        }
                       
	               

		}
        else{
          if (citybox != null){
           citybox.options[0] = new Option("请先选择地区","");
	  citybox.length = 1;}
         }
}
