function provinceList2()
{
	this.length=33;
	this[0] = new Option('请选择省份','');
	this[1] = new Option('安徽','1');
	this[2] = new Option('北京','2');
	this[3] = new Option('重庆','3');
	this[4] = new Option('福建','4');
	this[5] = new Option('甘肃','5');
	this[6] = new Option('广东','6');
	this[7] = new Option('广西','7');
	this[8] = new Option('贵州','8');
	this[9] = new Option('海南','9');
	this[10] = new Option('河北','10');
	this[11] = new Option('河南','11');
	this[12] = new Option('黑龙江','12');
	this[13] = new Option('湖北','13');
	this[14] = new Option('湖南','14');
	this[15] = new Option('江苏','15');
	this[16] = new Option('江西','16');
	this[17] = new Option('吉林','17');
	this[18] = new Option('辽宁','18');
	this[19] = new Option('内蒙古','19');
	this[20] = new Option('宁夏','20');
	this[21] = new Option('青海','21');
	this[22] = new Option('上海','22');
	this[23] = new Option('山东','23');
	this[24] = new Option('山西','24');
	this[25] = new Option('陕西','25');
	this[26] = new Option('四川','26');
	this[27] = new Option('天津','27');
	this[28] = new Option('新疆','28');
	this[29] = new Option('西藏','29');
	this[30] = new Option('云南','30');
	this[31] = new Option('浙江','31');
	this[32] = new Option('澳门','32');
	
	return this;
}
function cityList2()
{
	this.length=33;
	this[0] = new Array(1);
	    this[0][0] = new Option('请选择城市','');
	this[1] = new Array(17);
		this[1][0] = new Option('合肥市(551)','551'); 
		this[1][1] = new Option('滁州市(550)','550');
		this[1][2] = new Option('蚌埠市(552)','552'); 
		this[1][3] = new Option('芜湖市(553)','553'); 
		this[1][4] = new Option('淮南市(554)','554');
		this[1][5] = new Option('马鞍山(555)','555'); 
		this[1][6] = new Option('安庆市(556)','556'); 
		this[1][7] = new Option('宿州市(557)','557'); 
		this[1][8] = new Option('阜阳市(558)','558');
		this[1][9] = new Option('黄山市(559)','559');
		this[1][10] = new Option('淮北市(561)','561'); 
		this[1][11] = new Option('铜陵市(562)','562'); 
		this[1][12] = new Option('宣城市(563)','563'); 
		this[1][13] = new Option('六安市(564)','564'); 
		this[1][14] = new Option('巢湖市(565)','565'); 
		this[1][15] = new Option('贵池市(566)','566');
		this[1][16] = new Option('亳州市(560)','560');

		
		
	this[2] = new Array(1);
		this[2][0] = new Option('北京市(010)','010');
	this[3] = new Array(4);
		this[3][0] = new Option('重庆市(023)','023');
		this[3][1] = new Option('涪陵市(023)','023');
		this[3][2] = new Option('黔江市(023)','023');
		this[3][3] = new Option('万县市(023)','023');
	this[4] = new Array(9);
		this[4][0] = new Option('福州市(591)','591');
		this[4][1] = new Option('厦门市(592)','592');
		this[4][2] = new Option('宁德市(593)','593');
		this[4][3] = new Option('莆田市(594)','594');
		this[4][4] = new Option('泉州市(595)','595');
		this[4][5] = new Option('晋江市(595)','595');
		this[4][6] = new Option('漳州市(596)','596');
		this[4][7] = new Option('龙岩市(597)','597');
		this[4][8] = new Option('三明市(598)','598');
		this[4][9] = new Option('南平市(599)','599');

	this[5] = new Array(14);
		this[5][0] = new Option('兰州市(931)','931');
		this[5][1] = new Option('甘南藏族自治州(941)','941');
		this[5][2] = new Option('定西地区(932)','932');
		this[5][3] = new Option('白银市(943)','943');
		this[5][4] = new Option('嘉峪关市(937)','937');
		this[5][5] = new Option('金昌市(935)','935');
		this[5][6] = new Option('酒泉市(937)','937');
		this[5][7] = new Option('临夏回族自治州(930)','930');
		this[5][8] = new Option('陇南地区(939)','939');
		this[5][9] = new Option('平凉市(933)','933');
		this[5][10] = new Option('庆阳市(934)','934');
		this[5][11] = new Option('天水市(938)','938');
		this[5][12] = new Option('武威市(935)','935');
		this[5][13] = new Option('张掖市(936)','936');

	this[6] = new Array(21);
		this[6][0] = new Option('广州市(020)','020');
		this[6][1] = new Option('佛山市(757)','757');
		this[6][2] = new Option('惠州市(752)','752');
		this[6][3] = new Option('东莞市(769)','769');
		this[6][4] = new Option('江门市(750)','750');
		this[6][5] = new Option('揭阳市(663)','663');
		this[6][6] = new Option('潮州市(768)','768');
		this[6][7] = new Option('茂名市(668)','668');
		this[6][8] = new Option('梅州市(753)','753');
		this[6][9] = new Option('清远市(763)','763');
		this[6][10] = new Option('汕头市(754)','754');
		this[6][11] = new Option('汕尾市(660)','660');
		this[6][12] = new Option('深圳市(755)','755');
		this[6][13] = new Option('韶关市(751)','751');
		this[6][14] = new Option('阳江市(662)','662');
		this[6][15] = new Option('河源市(762)','762');
		this[6][16] = new Option('云浮市(766)','766');
		this[6][17] = new Option('中山市(760)','760');
		this[6][18] = new Option('珠海市(756)','756');
		this[6][19] = new Option('湛江市(759)','759');
		this[6][20] = new Option('肇庆市(758)','758');
	this[7] = new Array(14);
		this[7][0] = new Option('南宁市(771)','771');
		this[7][1] = new Option('防城港市(770)','770');
		this[7][2] = new Option('北海市(779)','779');
		this[7][3] = new Option('百色市(776)','776');
		this[7][4] = new Option('贺州市(774)','774');	
		this[7][5] = new Option('桂林市(773)','773');	
		this[7][6] = new Option('来宾市(772)','772');	
		this[7][7] = new Option('柳州市(772)','772');
		this[7][8] = new Option('崇左市(771)','771');	
		this[7][9] = new Option('钦州市(777)','777');	
		this[7][10] = new Option('贵港市(775)','775');
		this[7][11] = new Option('梧州市(774)','774');
		this[7][12] = new Option('河池市(778)','778');
		this[7][13] = new Option('玉林市(775)','775');
	this[8] = new Array(9);
		this[8][0] = new Option('贵阳市(851)','851');
		this[8][1] = new Option('毕节地区(857)','857');
		this[8][2] = new Option('遵义市(852)','852');
		this[8][3] = new Option('安顺市(853)','853');
		this[8][4] = new Option('六盘水市(858)','858');
		this[8][5] = new Option('黔东南苗族侗族自治州(855)','855');
		this[8][6] = new Option('黔南布依族苗族自治州(854)','854');
		this[8][7] = new Option('黔西南布依族苗族自治(859)','859');
		this[8][8] = new Option('铜仁地区(856)','856');
	this[9] = new Array(3);
		this[9][0] = new Option('海口市(898)','898');
		this[9][1] = new Option('三亚市(899)','899');
		this[9][2] = new Option('省直辖行政单位(898)','898');
	this[10] = new Array(11);
		this[10][0] = new Option('石家庄市(311)','311');
		this[10][1] = new Option('邯郸市(310)','310');
		this[10][2] = new Option('邢台市(319)','319');
		this[10][3] = new Option('保定市(312)','312');
		this[10][4] = new Option('张家口市(313)','313');
		this[10][5] = new Option('沧州市(317)','317');
		this[10][6] = new Option('承德市(314)','314');
		this[10][7] = new Option('廊坊市(316)','316');
		this[10][8] = new Option('秦皇岛市(335)','335');
		this[10][9] = new Option('唐山市(315)','315');
		this[10][10] = new Option('衡水市(318)','318');
	this[11] = new Array(18);
		this[11][0] = new Option('郑州市(371)','371');
		this[11][1] = new Option('开封市(378)','378');
		this[11][2] = new Option('驻马店市(396)','396');
		this[11][3] = new Option('安阳市(372)','372');
		this[11][4] = new Option('焦作市(391)','391');
		this[11][5] = new Option('洛阳市(379)','379');
		this[11][6] = new Option('濮阳市(393)','393');
		this[11][7] = new Option('漯河市(395)','395');
		this[11][8] = new Option('南阳市(377)','377');
		this[11][9] = new Option('平顶山市(375)','375');
		this[11][10] = new Option('新乡市(373)','373');
		this[11][11] = new Option('信阳市(376)','376');
		this[11][12] = new Option('许昌市(374)','374');
		this[11][13] = new Option('商丘市(370)','370');
		this[11][14] = new Option('三门峡市(398)','398');
		this[11][15] = new Option('鹤壁市(392)','392');
		this[11][16] = new Option('周口市(394)','394');
		this[11][17] = new Option('济源市(391)','391');

	this[12] = new Array(13);
		this[12][0] = new Option('哈尔滨市(451)','451');
		this[12][1] = new Option('大庆市(459)','459');
		this[12][2] = new Option('大兴安岭地区(457)','457');
		this[12][3] = new Option('鸡西市(467)','467');
		this[12][4] = new Option('佳木斯市(454)','454');
		this[12][5] = new Option('牡丹江市(453)','453');
		this[12][6] = new Option('齐齐哈尔市(452)','452');
		this[12][7] = new Option('七台河市(453)','453');
		this[12][8] = new Option('双鸭山市(469)','469');
		this[12][9] = new Option('绥化市(455)','455');
		this[12][10] = new Option('伊春市(458)','458');
		this[12][11] = new Option('鹤岗市(468)','468');
		this[12][12] = new Option('黑河市(456)','456');

	this[13] = new Array(14);
		this[13][0] = new Option('武汉市(027)','027');
		this[13][1] = new Option('黄冈市(713)','713');
		this[13][2] = new Option('黄石市(714)','714');
		this[13][3] = new Option('恩施土家族苗族自治州(718)','718');
		this[13][4] = new Option('鄂州市(711)','711');
		this[13][5] = new Option('荆门市(724)','724');
		this[13][6] = new Option('荆州市(716)','716');
		this[13][7] = new Option('孝感市(712)','712');
		this[13][8] = new Option('省直辖县级行政单位(728)','728');
		this[13][9] = new Option('十堰市(719)','719');
		this[13][10] = new Option('襄樊市(710)','710');
		this[13][11] = new Option('咸宁市(715)','715');
		this[13][12] = new Option('宜昌市(717)','717');
		this[13][13] = new Option('随州市(722)','722');
	this[14] = new Array(14);
		this[14][0] = new Option('长沙市(731)','731');
		this[14][1] = new Option('怀化市(745)','745');
		this[14][2] = new Option('郴州市(735)','735');
		this[14][3] = new Option('常德市(736)','736');
		this[14][4] = new Option('娄底市(738)','738');
		this[14][5] = new Option('邵阳市(739)','739');
		this[14][6] = new Option('湘潭市(732)','732');
		this[14][7] = new Option('湘西土家族苗族自治州(743)','743');
		this[14][8] = new Option('衡阳市(734)','734');
		this[14][9] = new Option('永州市(746)','746');
		this[14][10] = new Option('益阳市(737)','737');
		this[14][11] = new Option('岳阳市(730)','730');
		this[14][12] = new Option('株洲市(733)','733');
		this[14][13] = new Option('张家界市(744)','744');
	this[15] = new Array(13);
		this[15][0] = new Option('南京市(025)','025');
		this[15][1] = new Option('淮安市(517)','517');
		this[15][2] = new Option('常州市(519)','519');
		this[15][3] = new Option('连云港市(518)','518');
		this[15][4] = new Option('南通市(513)','513');
		this[15][5] = new Option('徐州市(516)','516');
		this[15][6] = new Option('苏州市(512)','512');
		this[15][7] = new Option('无锡市(510)','510');
		this[15][8] = new Option('盐城市(515)','515');
		this[15][9] = new Option('扬州市(514)','514');
		this[15][10] = new Option('镇江市(511)','511');
		this[15][11] = new Option('泰州市(523)','523');
		this[15][12] = new Option('宿迁市(527)','527');
	this[16] = new Array(12);
		this[16][0] = new Option('南昌市(791)','791');
		this[16][1] = new Option('抚州市(791)','791');
		this[16][2] = new Option('赣州市(797)','797');
		this[16][3] = new Option('吉安市(796)','796');
		this[16][4] = new Option('景德镇市(798)','798');
		this[16][5] = new Option('九江市(792)','792');
		this[16][6] = new Option('萍乡市(799)','799');
		this[16][7] = new Option('新余市(790)','790');
		this[16][8] = new Option('上饶市(793)','793');
		this[16][9] = new Option('鹰潭市(701)','701');
		this[16][10] = new Option('宜春市(795)','795');
		this[16][11] = new Option('临川市(794)','794');
	this[17] = new Array(9);
		this[17][0] = new Option('长春市(431)','431');
		this[17][1] = new Option('白城市(436)','436');
		this[17][2] = new Option('白山市(439)','439');
		this[17][3] = new Option('吉林市(432)','432');
		this[17][4] = new Option('辽源市(437)','437');
		this[17][5] = new Option('四平市(434)','434');
		this[17][6] = new Option('松原市(438)','438');
		this[17][7] = new Option('通化市(435)','435');
		this[17][8] = new Option('延边朝鲜族自治州(433)','433');
	this[18] = new Array(14);
		this[18][0] = new Option('沈阳市(024)','24');
		this[18][1] = new Option('大连市(411)','411');
		this[18][2] = new Option('阜新市(411)','411');
		this[18][3] = new Option('抚顺市(413)','413');
		this[18][4] = new Option('本溪市(414)','414');
		this[18][5] = new Option('鞍山市(412)','412');
		this[18][6] = new Option('丹东市(415)','415');
		this[18][7] = new Option('锦州市(416)','416');
		this[18][8] = new Option('朝阳市(421)','421');
		this[18][9] = new Option('辽阳市(419)','419');
		this[18][10] = new Option('盘锦市(427)','427');
		this[18][11] = new Option('铁岭市(410)','410');
		this[18][12] = new Option('营口市(417)','417');
		this[18][13] = new Option('葫芦岛市(429)','429');
	this[19] = new Array(12);
		this[19][0] = new Option('呼和浩特市(471)','471');
		this[19][1] = new Option('阿拉善盟(483)','483');
		this[19][2] = new Option('巴彦淖尔盟(478)','478');
		this[19][3] = new Option('包头市(472)','472');
		this[19][4] = new Option('赤峰市(476)','476');
		this[19][5] = new Option('兴安盟(482)','482');
		this[19][6] = new Option('乌兰察布盟(474)','474');
		this[19][7] = new Option('乌海市(473)','473');
		this[19][8] = new Option('锡林郭勒盟(479)','479');
		this[19][9] = new Option('呼伦贝尔盟(470)','470');
		this[19][10] = new Option('伊克昭盟(477)','477');
		this[19][11] = new Option('通辽市(475)','475');
	this[20] = new Array(5);
		this[20][0] = new Option('银川市(951)','951');
		this[20][1] = new Option('固原市(954)','954');
		this[20][2] = new Option('石嘴山市(952)','952');
		this[20][3] = new Option('吴忠市(953)','953');
		this[20][4] = new Option('中卫市(955)','955');
	this[21] = new Array(8);
		this[21][0] = new Option('西宁市(971)','971');
		this[21][1] = new Option('海东地区(972)','972');
		this[21][2] = new Option('海南藏族自治州(974)','974');
		this[21][3] = new Option('海北藏族自治州(978)','978');
		this[21][4] = new Option('黄南藏族自治州(973)','973');
		this[21][5] = new Option('果洛藏族自治州(976)','976');
		this[21][6] = new Option('玉树藏族自治州(976)','976');
		this[21][7] = new Option('海西蒙古族藏族自治州(977)','977');
	this[22] = new Array(1);
		this[22][0] = new Option('上海市(021)','021');
	this[23] = new Array(17);
		this[23][0] = new Option('济南市(531)','531');
		this[23][1] = new Option('东营市(546)','546');
		this[23][2] = new Option('滨州市(543)','543');
		this[23][3] = new Option('淄博市(531)','531');
		this[23][4] = new Option('德州市(534)','534');
		this[23][5] = new Option('济宁市(537)','537');
		this[23][6] = new Option('聊城市(635)','635');
		this[23][7] = new Option('临沂市(539)','539');
		this[23][8] = new Option('莱芜市(634)','634');
		this[23][9] = new Option('青岛市(532)','532');
		this[23][10] = new Option('日照市(633)','633');
		this[23][11] = new Option('威海市(631)','631');
		this[23][12] = new Option('泰安市(538)','538');
		this[23][13] = new Option('潍坊市(536)','536');
		this[23][14] = new Option('烟台市(535)','535');
		this[23][15] = new Option('菏泽市(530)','530');
		this[23][16] = new Option('枣庄市(632)','632');
	this[24] = new Array(11);
		this[24][0] = new Option('太原市(351)','351');
		this[24][1] = new Option('大同市(352)','352');
		this[24][2] = new Option('晋城市(356)','356');
		this[24][3] = new Option('晋中市(354)','354');
		this[24][4] = new Option('长治市(355)','355');
		this[24][5] = new Option('临汾市(355)','355');
		this[24][6] = new Option('吕梁地区(358)','358');
		this[24][7] = new Option('忻州市(350)','350');
		this[24][8] = new Option('朔州市(349)','349');
		this[24][9] = new Option('阳泉市(353)','353');
		this[24][10] = new Option('运城市(359)','359');
	this[25] = new Array(10);
		this[25][0] = new Option('西安市(029)','029');
		this[25][1] = new Option('宝鸡市(917)','917');
		this[25][2] = new Option('安康市(915)','915');
		this[25][3] = new Option('商洛市(914)','914');
		this[25][4] = new Option('铜川市(919)','919');
		this[25][5] = new Option('渭南市(913)','913');
		this[25][6] = new Option('咸阳市(910)','910');
		this[25][7] = new Option('延安市(911)','911');
		this[25][8] = new Option('汉中市(916)','916');
		this[25][9] = new Option('榆林市(912)','912');
	this[26] = new Array(20);		
		this[26][0] = new Option('成都市(028)','028');
		this[26][1] = new Option('甘孜藏族自治州(836)','836');
		this[26][2] = new Option('自贡市(813)','813');
		this[26][3] = new Option('阿坝藏族羌族自治州(837)','837');
		this[26][4] = new Option('巴中市(827)','827');
		this[26][5] = new Option('德阳市(838)','838');
		this[26][6] = new Option('广安市(826)','826');
		this[26][7] = new Option('广元市(839)','839');
		this[26][8] = new Option('凉山彝族自治州(834)','834');
		this[26][9] = new Option('乐山市(833)','833');
		this[26][10] = new Option('攀枝花市(812)','812');
		this[26][11] = new Option('南充市(817)','817');
		this[26][12] = new Option('内江市(832)','832');
		this[26][13] = new Option('泸州市(830)','830');
		this[26][14] = new Option('绵阳市(816)','816');
		this[26][15] = new Option('遂宁市(825)','825');
		this[26][16] = new Option('雅安市(835)','835');
		this[26][17] = new Option('宜宾市(831)','831');
		this[26][18] = new Option('眉山市(833)','833');
		this[26][19] = new Option('资阳市(832)','832');
	this[27] = new Array(1);
		this[27][0] = new Option('天津市(022)','022');
	this[28] = new Array(15);
		this[28][0] = new Option('乌鲁木齐市(991)','991');
		this[28][1] = new Option('喀什地区(998)','998');
		this[28][2] = new Option('克孜勒苏柯尔克孜自治(908)','908');
		this[28][3] = new Option('克拉玛依市(990)','990');
		this[28][4] = new Option('阿克苏地区(997)','997');
		this[28][5] = new Option('阿勒泰地区(906)','906');
		this[28][6] = new Option('巴音郭楞蒙古自治州(996)','996');
		this[28][7] = new Option('哈密地区(902)','902');
		this[28][8] = new Option('博尔塔拉蒙古自治州(909)','909');
		this[28][9] = new Option('昌吉回族自治州(994)','994');
		this[28][10] = new Option('塔城地区(901)','901');
		this[28][11] = new Option('吐鲁番地区(995)','995');
		this[28][12] = new Option('和田地区(903)','903');
		this[28][13] = new Option('石河子市(993)','993');
		this[28][14] = new Option('伊犁哈萨克自治州(992)','992');
	this[29] = new Array(7);
		this[29][0] = new Option('拉萨市(891)','891');
		this[29][1] = new Option('阿里地区(897)','897');
		this[29][2] = new Option('昌都市(895)','895');
		this[29][3] = new Option('林芝地区(894)','894');
		this[29][4] = new Option('那曲地区(896)','896');
		this[29][5] = new Option('山南地区(893)','893');
		this[29][6] = new Option('日喀则地区(892)','892');
	this[30] = new Array(16);
		this[30][0] = new Option('昆明市(871)','871');
		this[30][1] = new Option('大理白族自治州(872)','872');
		this[30][2] = new Option('昭通市(870)','870');
		this[30][3] = new Option('保山市(875)','875');
		this[30][4] = new Option('德宏傣族景颇族自治州(692)','692');
		this[30][5] = new Option('迪庆藏族自治州(887)','887');
		this[30][6] = new Option('楚雄彝族自治州(878)','878');
		this[30][7] = new Option('临沧地区(883)','883');
		this[30][8] = new Option('丽江市(888)','888');
		this[30][9] = new Option('怒江傈僳族自治州(886)','886');
		this[30][10] = new Option('曲靖市(874)','874');
		this[30][11] = new Option('思茅地区(879)','879');
		this[30][12] = new Option('西双版纳傣族自治州(691)','691');
		this[30][13] = new Option('文山壮族苗族自治州(876)','876');
		this[30][14] = new Option('红河哈尼族彝族自治州(873)','873');
		this[30][15] = new Option('玉溪市(877)','877');
	this[31] = new Array(11);
		this[31][0] = new Option('杭州市(571)','571');
		this[31][1] = new Option('嘉兴市(573)','573');
		this[31][2] = new Option('金华市(579)','579');
		this[31][3] = new Option('衢州市(570)','570');
		this[31][4] = new Option('丽水市(578)','578');
		this[31][5] = new Option('宁波市(574)','574');
		this[31][6] = new Option('绍兴市(575)','575');
		this[31][7] = new Option('台州市(576)','576');
		this[31][8] = new Option('温州市(577)','577');
		this[31][9] = new Option('湖州市(572)','572');
		this[31][10] = new Option('舟山市(580)','580');
	this[32] = new Array(1);
		this[32][0] = new Option('澳门(853)','853');
	return this;
}

provinceOp2 = new provinceList2();
cityOp2 = new cityList2();

function delCity2(city)
{
	var len = city.length;
	for(i=0; i<len; i++)
	{
		city.remove(0);
	}
}

function addCity2(prov, city)
{
	var index = prov.selectedIndex;
	//alert(index);
	for(j=0; j<cityOp2[index].length; j++)
	{
		city.options.add(cityOp2[index][j]);
	}
}

function changeProvince2(proObj, cityObj)
{
	delCity2(cityObj);
	addCity2(proObj,cityObj);
	//alert('省份：' + proObj.value + '\t城市：' + cityObj.value);
}

function initialize2(proObj, cityObj, provinceID, cityID)
{
	// 初始化省份列表
	
	for(i=0; i<provinceOp2.length; i++)
	{
		proObj.options.add(provinceOp2[i]);
	}
	for(j=0; j<proObj.options.length; j++)
	{
		if(proObj.options[j].value == provinceID)
		{
			proObj.options[j].selected = true;
		}
	}
	addCity2(proObj, cityObj);
	for(k=0; k<cityObj.options.length; k++)
	{
		if(cityObj.options[k].value == cityID)
		{
			cityObj.options[k].selected = true;
		}
	}
}


