function ptype(name,value){
  this.name=name;

  this.value=value;

}

function position(name,value){

  this.name=name;

  this.value=value;

}

function city(name,value){

  this.name=name;

  this.value=value;

}

var _guonei_province_cn = new Array(

  "省份",

  "北京",

  "天津",

  "上海",

  "重庆",

  "广东省",

  "江苏省",

  "浙江省",

  "福建省",

  "湖南省",

  "湖北省",
  
  "香港",

  "山东省",

  "辽宁省",

  "吉林省",

  "云南省",

  "四川省",

  "安徽省",

  "江西省",

  "黑龙江",

  "河北省",

  "陕西省",

  "海南省",

  "河南省",

  "山西省",

  "内蒙古",

  "广西",

  "贵州省",

  "宁夏",

  "青海省",

  "新疆",

  "西藏",

  "甘肃省",

  "台湾省",

  "澳门");

 
 var _guowai_province_cn = new Array(
					
	"省份",
				
  "希腊",//35
  
  "日本",//36
  
  "英国",
  
  "加拿大",
  
  "澳大利亚",
  
  "法国",
  
  "德国",
  
  "韩国",
  
  "马来西亚",
  
  "泰国",
  
  "新加坡",
  
  "瑞士",
  
  "菲律宾",
  
  "柬埔寨",
  
  "马尔代夫",
  
  "文莱",
  
  "新西兰",
  
  "意大利",
  
  "印尼",
  
  "埃及",
  
  "尼克尔",
  
  "印度",
  
  "毛里求斯",
  
  "阿联酋",
  
  "荷兰",
  
  "比利时",
  
  "卢森堡",
  
  "西班牙",
  
  "奥地利",
  
  "丹麦",
  
  "芬兰",
  
  "瑞典",
  
  "挪威"
  
  );

var _guonei_city_cn = new Array(

    new Array(

      new city('城市','0')

    ),

    new Array(

      new city('北京','0100')
    ),

    new Array(

      new city('天津','0200')
   ),

    new Array(

      new city('上海','0300')
    ),

    new Array(

      new city('重庆','0400')

    ),

    new Array(

      new city('广东省（全部地区）','0500'),

      new city('广州','0501'),

      new city('深圳','0502'),

      new city('东莞','0503'),

      new city('中山','0504'),

      new city('佛山','0505'),

      new city('珠海','0506'),

      new city('惠州','0507'),

      new city('汕头','0508'),

      new city('湛江','0509'),

      new city('潮州','0510'),

      new city('潮阳','0511'),

      new city('江门','0512'),

      new city('汕尾','0513'),

      new city('茂名','0514'),

      new city('阳江','0515'),

      new city('肇庆','0516'),

      new city('梅州','0517'),

      new city('云浮','0518'),

      new city('清远','0519'),

      new city('韶关','0520'),

      new city('河源','0521'),

      new city('揭阳','0522'),

      new city('其他','0523')

    ),

    new Array(

      new city('江苏省（全部地区）','0600'),

      new city('南京','0601'),

      new city('苏州','0602'),

      new city('无锡','0603'),

      new city('扬州','0604'),

      new city('常州 ','0605'),

      new city('镇江','0606'),

      new city('南通','0607'),

      new city('江阴','0608'),

      new city('连云港','0609'),

      new city('徐州','0610'),

      new city('淮阴','0611'),

      new city('宿迁','0612'),

      new city('东台','0613'),

      new city('泰州','0614'),

      new city('仪征','0615'),

      new city('丹阳','0616'),

      new city('宜兴','0617'),

      new city('常熟','0618'),

      new city('淮安','0619'),

      new city('盐城','0620'),

      new city('兴化','0621'),

      new city('其他','0622')

    ),

    new Array(

      new city('浙江省（全部地区）','0700'),

      new city('杭州','0701'),

      new city('宁波','0702'),

      new city('温州','0703'),

      new city('金华','0704'),

      new city('义乌','0705'),

      new city('绍兴','0706'),

      new city('湖州','0707'),

      new city('余姚','0708'),

      new city('临海','0709'),

      new city('萧山','0710'),

      new city('临安','0711'),

      new city('诸暨','0712'),

      new city('嵊泗','0713'),

      new city('兰溪','0714'),

      new city('嘉兴','0715'),

      new city('海宁','0716'),

      new city('桐乡','0717'),

      new city('衢州','0718'),

      new city('上虞','0719'),

      new city('嵊州','0720'),

      new city('慈溪','0721'),

      new city('丽水','0722'),

      new city('瓯海','0723'),

      new city('黄岩','0724'),

      new city('椒江','0725'),

      new city('其他','0726')

    ),

    new Array(

      new city('福建省（全部地区）','0800'),

      new city('福州','0801'),

      new city('厦门','0802'),

      new city('泉州','0803'),

      new city('漳州','0804'),

      new city('石狮','0805'),

      new city('三明','0806'),

      new city('南平','0807'),

      new city('莆田','0808'),

      new city('永安','0809'),

      new city('邵武','0810'),

      new city('龙岩','0811'),

      new city('其他','0812')

    ),

    new Array(

      new city('湖南省（全部地区）','0900'),

      new city('长沙 ','0901'),

      new city('湘潭','0902'),

      new city('岳阳 ','0903'),

      new city('株洲','0904'),

      new city('张家界','0905'),

      new city('衡阳','0906'),

      new city('郴州','0907'),

      new city('湘乡','0908'),

      new city('汨罗','0909'),

      new city('常德','0910'),

      new city('津市','0911'),

      new city('吉首','0912'),

      new city('娄底','0913'),

      new city('涟源','0914'),

      new city('冷水江','0915'),

      new city('怀化','0916'),

      new city('洪江','0917'),

      new city('益阳 ','0918'),

      new city('耒阳','0919'),

      new city('邵阳','0920'),

      new city('永州','0921'),

      new city('冷水滩','0922'),

      new city('其他','0923')

    ),

    new Array(

      new city('湖北省（全部地区）','1000'),

      new city('武汉','1001'),

      new city('宜昌','1002'),

      new city('孝感','1003'),

      new city('荆州','1004'),

      new city('襄樊','1005'),

      new city('老河口','1006'),

      new city('枝城','1007'),

      new city('枣阳','1008'),

      new city('荆门','1009'),

      new city('宜城','1010'),

      new city('黄石','1011'),

      new city('鄂州','1012'),

      new city('黄冈','1013'),

      new city('咸宁','1014'),

      new city('武穴','1015'),

      new city('蒲昕','1016'),

      new city('麻城','1017'),

      new city('十堰','1018'),

      new city('恩施','1019'),

      new city('丹江口','1020'),

      new city('利川','1021'),

      new city('天门','1022'),

      new city('汉川','1023'),

      new city('洪湖','1024'),

      new city('应城','1025'),

      new city('潜江','1026'),

      new city('安陆','1027'),

      new city('仙桃','1028'),

      new city('随州','1029'),

      new city('石首','1030'),

      new city('其他','1031')

    ),
	
    new Array(

      new city('香港特别行政区','1100')

    ),

    new Array(

      new city('山东省（全部地区）','1200'),

      new city('济南','1201'),

      new city('青岛','1202'),

      new city('烟台','1203'),

      new city('淄博','1204'),

      new city('潍坊 ','1205'),

      new city('临沂','1206'),

      new city('莱芜','1207'),

      new city('济宁','1208'),

      new city('荷泽','1209'),

      new city('日照','1210'),

      new city('藤州','1211'),

      new city('聊城','1212'),

      new city('德州','1213'),

      new city('滨州','1214'),

      new city('临清','1215'),

      new city('青州 ','1216'),

      new city('威海','1217'),

      new city('泰安','1218'),

      new city('新泰','1219'),

      new city('曲阜','1220'),

      new city('东营','1221'),

      new city('诸城','1222'),

      new city('枣庄','1223'),

      new city('其他','1224')

    ),

    new Array(

      new city('辽宁省（全部地区）','1300'),

      new city('沈阳','1301'),

      new city('铁岭','1302'),

      new city('抚顺','1303'),

      new city('大连','1304'),

      new city('本溪','1305'),

      new city('营口','1306'),

      new city('锦州','1307'),

      new city('兴城','1308'),

      new city('北票','1309'),

      new city('盘锦','1310'),

      new city('辽阳','1311'),

      new city('铁法 ','1312'),

      new city('鞍山','1313'),

      new city('瓦房店','1314'),

      new city('丹东','1315'),

      new city('锦西','1316'),

      new city('朝阳','1317'),

      new city('阜新','1318'),

      new city('海城','1319'),

      new city('其他','1320')

    ),

    new Array(

      new city('吉林省（全部地区）','1400'),

      new city('长春','1401'),

      new city('吉林','1402'),

      new city('通化','1403'),

      new city('扶余','1404'),

      new city('桦甸','1405'),

      new city('延吉','1406'),

      new city('图门','1407'),

      new city('龙井','1408'),

      new city('敦化','1409'),

      new city('集安','1410'),

      new city('浑江','1411'),

      new city('梅河口','1412'),

      new city('四平','1413'),

      new city('公主岭','1414'),

      new city('辽源','1415'),

      new city('白城','1416'),

      new city('洮南','1417'),

      new city('九台','1418'),

      new city('其他','1419')

    ),

    new Array(

      new city('云南省（全部地区）','1500'),

      new city('昆明','1501'),

      new city('曲靖','1502'),

      new city('大理','1503'),

      new city('玉溪','1504'),

      new city('丽江','1505'),

      new city('楚雄','1506'),

      new city('开远','1507'),

      new city('迪庆','1508'),

      new city('东川','1509'),

      new city('照通','1510'),

      new city('个旧','1511'),

      new city('保山','1512'),

      new city('文山','1513'),

      new city('其他','1514')

    ),

    new Array(

      new city('四川省（全部地区）','1600'),

      new city('成都','1601'),

      new city('宜宾','1602'),

      new city('泸州','1603'),

      new city('内江','1604'),

      new city('攀枝花','1605'),

      new city('西昌','1606'),

      new city('德阳','1607'),

      new city('雅安','1608'),

      new city('遂宁','1609'),

      new city('南充','1610'),

      new city('绵阳','1611'),

      new city('广元 ','1612'),

      new city('马尔康','1613'),

      new city('达县','1614'),

      new city('华鉴','1615'),

      new city('自贡','1616'),

      new city('乐山','1617'),

      new city('其他','1618')

    ),

    new Array(

      new city('安徽省（全部地区）','1700'),

      new city('合肥','1701'),

      new city('芜湖','1702'),

      new city('马鞍山','1703'),

      new city('蚌埠','1704'),

      new city('铜陵','1705'),

      new city('淮北','1706'),

      new city('淮南','1707'),

      new city('亳州','1708'),

      new city('巢湖','1709'),

      new city('黄山','1710'),

      new city('歙县','1711'),

      new city('宿州','1712'),

      new city('阜阳','1713'),

      new city('六安','1714'),

      new city('滁州','1715'),

      new city('宣州','1716'),

      new city('黄山','1717'),

      new city('安庆','1718'),

      new city('其他','1719')

    ),

    new Array(

      new city('江西省（全部地区）','1800'),

      new city('南昌','1801'),

      new city('德镇','1802'),

      new city('九江','1803'),

      new city('鹰潭','1804'),

      new city('宜春','1805'),

      new city('新余','1806'),

      new city('萍乡','1807'),

      new city('赣州','1808'),

      new city('吉安','1809'),

      new city('井冈山','1810'),

      new city('抚州','1811'),

      new city('临川','1812'),

      new city('上饶','1813'),

      new city('其他','1814')

    ),

    new Array(

      new city('黑龙江省（全部地区）','1900'),

      new city('哈尔滨','1901'),

      new city('佳木斯','1902'),

      new city('牡丹江','1903'),

      new city('大庆','1904'),

      new city('齐齐哈尔','1905'),

      new city('阿城','1906'),

      new city('肇东','1907'),

      new city('绥化','1908'),

      new city('伊春','1909'),

      new city('鹤岗','1910'),

      new city('七台河','1911'),

      new city('双鸭','1912'),

      new city('同江','1913'),

      new city('绥汾河','1914'),

      new city('鸡西','1915'),

      new city('北安','1916'),

      new city('黑河','1917'),

      new city('五大连池','1918'),

      new city('其他','1919')

    ),

    new Array(

      new city('河北省（全部地区）','2000'),

      new city('石家庄','2001'),

      new city('邯郸','2002'),

      new city('保定','2003'),

      new city('张家口','2004'),

      new city('秦皇岛','2005'),

      new city('辛集','2006'),

      new city('邢台','2007'),

      new city('泊头','2008'),

      new city('唐山','2009'),

      new city('北戴河','2010'),

      new city('廊坊','2011'),

      new city('定州','2012'),

      new city('南宫','2013'),

      new city('衡水','2014'),

      new city('沙河','2015'),

      new city('沧州','2016'),

      new city('任丘','2017'),

      new city('承德','2018'),

      new city('涿州','2019'),

      new city('其他','2020')

    ),

    new Array(

      new city('陕西省（全部地区）','2100'),

      new city('西安','2101'),

      new city('咸阳','2102'),

      new city('宝鸡','2103'),

      new city('铜川','2104'),

      new city('渭南','2105'),

      new city('延安','2106'),

      new city('汉中 ','2107'),

      new city('韩城','2108'),

      new city('其他','2109')

    ),

    new Array(

      new city('海南省（全部地区）','2200'),

      new city('海口','2201'),

      new city('三亚','2202'),

      new city('琼海','2203'),

      new city('通什','2204'),

      new city('其他','2205')

    ),

    new Array(

      new city('河南省（全部地区）','2300'),

      new city('郑州','2301'),

      new city('洛阳','2302'),

      new city('开封','2303'),

      new city('鹤壁','2304'),

      new city('焦作','2305'),

      new city('许昌','2306'),

      new city('驻马店','2307'),

      new city('周口','2308'),

      new city('新乡','2309'),

      new city('安阳','2310'),

      new city('濮阳','2311'),

      new city('漯河','2312'),

      new city('信阳','2313'),

      new city('平顶山','2314'),

      new city('三门峡','2315'),

      new city('南阳','2316'),

      new city('商丘','2317'),

      new city('义马 ','2318'),

      new city('其他','2319')

    ),

    new Array(

      new city('山西省（全部地区）','2400'),

      new city('太原','2401'),

      new city('大同','2402'),

      new city('忻州','2403'),

      new city('临汾','2404'),

      new city('运城','2405'),

      new city('长治','2406'),

      new city('榆次','2407'),

      new city('侯马','2408'),

      new city('阳泉','2409'),

      new city('晋城','2410'),

      new city('其他','2411')

    ),

    new Array(

      new city('内蒙古自治区（全部地区）','2500'),

      new city('呼和浩特','2501'),

      new city('赤峰','2502'),

      new city('包头','2503'),

      new city('二连浩特','2504'),

      new city('临河','2505'),

      new city('东胜','2506'),

      new city('洲里','2507'),

      new city('乌兰浩特','2508'),

      new city('霍林郭勒','2509'),

      new city('集宁','2510'),

      new city('乌海','2511'),

      new city('海拉尔','2512'),

      new city('牙克石','2513'),

      new city('锡林浩特','2514'),

      new city('通辽','2515'),

      new city('扎兰屯','2516'),

      new city('其他','2517')

    ),

    new Array(

      new city('广西壮族自治区（全部地区）','2600'),

      new city('南宁','2601'),

      new city('桂林 ','2602'),

      new city('北海','2603'),

      new city('柳州','2604'),

      new city('玉林','2605'),

      new city('百色','2606'),

      new city('河池','2607'),

      new city('凭祥','2608'),

      new city('钦州','2609'),

      new city('梧州','2610'),

      new city('合山','2611'),

      new city('其他','2612')

    ),

    new Array(

      new city('贵州省（全部地区）','2700'),

      new city('贵阳','2701'),

      new city('遵义','2702'),

      new city('铜仁','2703'),

      new city('都匀','2704'),

      new city('兴义 ','2705'),

      new city('赤水','2706'),

      new city('六盘水','2707'),

      new city('凯里','2708'),

      new city('安顺','2709'),

      new city('其他','2710')

    ),

    new Array(

      new city('宁夏回族自治区（全部地区）','2800'),

      new city('银川','2801'),

      new city('青铜峡','2802'),

      new city('吴忠','2803'),

      new city('石嘴山','2804'),

      new city('其他','2805')

    ),

    new Array(

      new city('青海省（全部地区）','2900'),

      new city('西宁','2901'),

      new city('格尔木','2902'),

      new city('共和','2903'),

      new city('德令哈','2904'),

      new city('其他','2905')

    ),

    new Array(

      new city('新疆维吾尔自治区（全部地区）','3000'),

      new city('乌鲁木齐','3001'),

      new city('石河子','3002'),

      new city('拉玛依','3003'),

      new city('博乐','3004'),

      new city('塔城','3005'),

      new city('阿勒泰','3006'),

      new city('哈密','3007'),

      new city('阿克苏','3008'),

      new city('阿图什','3009'),

      new city('昌吉','3010'),

      new city('奎屯','3011'),

      new city('伊宁','3012'),

      new city('吐鲁番','3013'),


      new city('库尔勒','3014'),

      new city('喀什','3015'),

      new city('和田','3016'),

      new city('其他','3017')

    ),

    new Array(

      new city('西藏自治区（全部地区）','3100'),

      new city('拉萨','3101'),

      new city('日喀则','3102'),

      new city('其他','3103')

    ),

    new Array(

      new city('甘肃省（全部地区）','3200'),

      new city('兰州','3201'),

      new city('酒泉','3202'),

      new city('临夏','3203'),

      new city('张掖','3204'),

      new city('峪关','3205'),

      new city('金昌','3206'),

      new city('平凉','3207'),

      new city('白银','3208'),

      new city('武威','3209'),

      new city('玉门','3210'),

      new city('天水','3211'),

      new city('西峰','3212'),

      new city('其他','3213')

    ),

    new Array(

      new city('台湾省（全部地区）','3300'),

      new city('台北','3301'),

      new city('台中','3302'),

      new city('基隆','3303'),

      new city('台南','3304'),

      new city('其他','3305')

    ),

    new Array(

      new city('澳门特别行政区','3400')

    	)
	);

var _guowai_city_cn = new Array(
				
	new Array('城市','0'),

    new Array(

      new city('希腊（全部地区）','3500'),
	  
	  new city('雅典','3501'),
	  
	  new city('奥林匹亚','3502')

     ),

    new Array(
	  
	  new city('日本（全部地区）','3600'),	
	  
	  new city('东京','3601'),
	  
	  new city('大阪','3602'),
	  
	  new city('京都','3603'),
	  
	  new city('神户','3604'),
	  
	  new city('札幌','3605'),
	  
	  new city('名古屋','3606')
	  
     ),

    new Array(
	  	   
	  new city('英国（全部地区）','3700'),
	  
	  new city('伦敦','3701'),
	  
	  new city('牛津','3702'),
	  
	  new city('曼彻斯特','3703'),
	  
	  new city('爱丁堡','3704'),
	  
	  new city('约克','3705'),
	  
	  new city('剑桥','3706')
	  
	 ),

    new Array(
			  
	  new city('加拿大（全部地区）','3800'),
	  
	  new city('加拿大','3801')
	  
	 ),

    new Array(
			  
	  new city('澳大利亚（全部地区）','3900'),	
	  
	  new city('布里斯班','3901'),
	  
	  new city('黄金海岸','3902'),
	  
	  new city('墨尔本','3903'),
	  
	  new city('珀斯','3904'),
	  
	  new city('悉尼','3905'),
	  
	  new city('凯恩斯','3906')
	
	 ),

    new Array(
	 
	  new city('法国（全部地区）','4000'),	
	  
	  new city('巴黎','4001'), 
	  
	  new city('第戎','4002'), 
	  
	  new city('尼斯','4003'), 
	  
	  new city('马赛','4004')
	  
	 ),

    new Array(
	  
	  new city('德国（全部地区）','4100'),
	  
	  new city('慕尼黑','4101'),
	  
	  new city('法兰克福','4102'), 
	  
	  new city('柏林','4103'), 
	  
	  new city('海德堡','4104'), 
	  
	  new city('弗莱堡','4105'),
	  
	  new city('斯图加特','4106'), 
	  
	  new city('曼海姆','4107'), 
	  
	  new city('帕腾科尔辛','4108'), 
	  
	  new city('莱比锡','4109'), 
	  
	  new city('汉堡','4110')

	 ),

    new Array(
	  
	  new city('韩国（全部地区）','4200'),
	  	  
      new city('济州岛','4201'), 
	  
	  new city('首尔','4202')
	 
	 ),

    new Array(
	  
	  new city('马来西亚（全部地区）','4300'),
	  	  
      new city('吉隆坡','4301'), 
	  
	  new city('兰卡威','4302'),
	  
	  new city('沙巴','4303')
	  
	 ),

    new Array(
	  
	  new city('泰国（全部地区）','4400'),
	  	  
      new city('甲米','4401'), 
	  
	  new city('曼谷','4402'),
	  
	  new city('皮皮岛','4403'),
	  
	  new city('普吉岛','4404'),
	  
	  new city('清迈','4405')
	  
	 ),

    new Array(
	  
	  new city('新加坡（全部地区）','4500'),
	  	  
      new city('新加坡市','4501')
	 
	 ),

    new Array(
	  
	  new city('瑞士（全部地区）','4600'),
	  	  
      new city('苏黎世','4601'), 
	  
      new city('日内瓦','4602'),
	  
	  new city('伯尔尼','4603'), 
	  
	  new city('洛桑','4604'), 
	  
	  new city('因特拉肯','4605'),
	  
	  new city('蒙特勒','4606')
	
	 ),

    new Array(
	  
	  new city('菲律宾（全部地区）','4700'),
	  	  
      new city('马尼拉','4701'),   
	  
      new city('宿雾','4702')
	  
	 ),

    new Array(
	  
	  new city('柬埔寨（全部地区）','4800'),
	  	  
      new city('金边','4801'),  
	  
      new city('暹粒-吴哥窟','4802'),
	  
	  new city('西哈努克','4803')
	  
	 ),

    new Array(
	  
	  new city('马尔代夫（全部地区）','4900'),
	  	  
      new city('马累','4901')
	  
	 ),

    new Array(
	  
	  new city('文莱（全部地区）','5000'),
	  	  
      new city('斯里巴加湾市','5001')
	  
	 ),

    new Array(
	  
	  new city('新西兰（全部地区）','5100'),  
	  	  
      new city('罗托鲁瓦','5101'),
	  
	  new city('奥克兰','5102'),
	  
	  new city('基督城','5103'),
	  
	  new city('皇后镇','5104')
	  
	 ),

    new Array(
	  
	  new city('意大利（全部地区）','5200'),  
	  	  
      new city('罗马','5201'), 
	  
	  new city('威尼斯','5202'),
	  
	  new city('佛罗伦萨','5203'),
	  
	  new city('庞贝','5204'),
	  
	  new city('苏莲托','5305'),
	  
	  new city('米兰','5306'),
	  
	  new city('维罗纳','5307')
	  
	 ),

    new Array(
	  
	  new city('印尼（全部地区）','5300'),  
	  	  
      new city('马厘岛','5301'), 
	  
	  new city('民丹岛','5302')
	  
	 ),

    new Array(
	  
	  new city('埃及（全部地区）','5400'),  
	  	  
      new city('开罗','5401'), 
	  
	  new city('阿斯旺','5402'),
	  
	  new city('红海','5403'),
	  
	  new city('卢克索','5404'),
	  
	  new city('亚历山大','5405')
	  
	 ),

    new Array(
	  
	  new city('尼克尔（全部地区）','5500'),  
	  	  
      new city('加德满都','5501')
	  
	 ),

    new Array(
	  
	  new city('印度（全部地区）','5600'),  
	  	  
      new city('新德里','5601')
	  
	 ),

    new Array(
	  
	  new city('毛里求斯（全部地区）','5700')
	  	  
	 ),

    new Array(
	  
	  new city('阿联酋（全部地区）','5800'),  
	  	  
      new city('迪拜','5801')
	  
	 ),

    new Array(
	  
	  new city('荷兰（全部地区）','5900'), 
	  	  
      new city('阿姆斯特丹','5901'),
	  
	  new city('海牙','5902'),
	  
	  new city('艾茵霍恩','5903')
	 
	 ),

    new Array(
	  
	  new city('比利时（全部地区）','6000'),  
	  	  
      new city('布鲁塞尔','6001'),
	  
	  new city('布鲁日','6002')
	  
	 ),
 
    new Array(
	  
	  new city('卢森堡（全部地区）','6100')
	  
	 ),

    new Array(
	  
	  new city('西班牙（全部地区）','6200'),  
	  	  
      new city('马德里','6201'),
	  
	  new city('马塞罗那','6202'),
	  
	  new city('萨拉哥萨','6203')
	  
	 ),

    new Array(
	  
	  new city('奥地利（全部地区）','6300'),  
	  	  
      new city('维也纳','6301'), 
	 
	  new city('茵斯布鲁克','6302')
	  
	 ),
 
    new Array(
	  
	  new city('丹麦（全部地区）','6400'),  
	  	  
      new city('哥本哈根','6401')
	  
	 ),

    new Array(
	  
	  new city('芬兰（全部地区）','6500'),  
	  	  
      new city('赫尔辛基','6501')
	  
	 ),

    new Array(
	  
	  new city('瑞典（全部地区）','6600'),  
	  	  
      new city('斯德哥尔摩','6601')
	  
	 ),

    new Array(
	  
	  new city('挪威（全部地区）','6700'),  
	  	  
      new city('奥斯陆','6701'), 
	  
	  new city('卑尔根','6702')
	  
  )
);

//*/

//*

function getPTypeOptions(selected){

  options = "";

  if(!selected) selected=0;

  var i;

   ptype = _ptype[0];

  if(!ptype) return;



  for(i=0;i<ptype.length;i++){

         if(ptype[i].name!=""){

    options+="<option value="+ptype[i].value+(selected==ptype[i].value?" selected":"")+">"+ptype[i].name+"</option>";

        }

  }

  return options;

}

function getPositionOptions(type,selected,includeall){

  if(!type)

  {type=ptype.length-1;}

  else

  {type=type-1;}

  options = "";

  position = _positions[type];

  if(!position) return;

  var i=0;

  //if(!includeall && position.length>1) i=1;

  for(;i<position.length;i++){

          if(position[i].name!=""){

    options+="<option value="+position[i].value+(selected==position[i].value?" selected":"")+">"+position[i].name+"</option>";

        }

  }

  return options;

}

function handlePTypeChangeEvent(src,des,selected,includeall){

  if(!src.value) return;



  position = _positions[src.value-1];

  if (src.value==0)

  {position = _positions[ptype.length-1];

          }

  if(!position || !des) return;

  oOs = des.options;

  while(oOs.length>0){

    oOs.remove(0);

  }

  var i =0;

  //if(!includeall && position.length>1) i = 1;

  for(;i<position.length;i++){

          if(position[i].name!=""){

    var oOption = document.createElement("OPTION");

    oOption.text=position[i].name;

    oOption.value=position[i].value;

    if(selected) if(position[i].value==selected) oOption.selected=true;

    oOs.add(oOption);

        }

  }

}

function getProvinceOptions(selected){
  options = "";
  if(!selected) selected=0;
  var i;
  for(i=0;i<_guonei_province_cn.length;i++){
    options+="<option value="+i+(selected==i?" selected":"")+">"+_guonei_province_cn[i]+"</option>";
  }
  return options;
}

function getProvinceOptions5(selected){
  options = "";
  if(!selected) selected=0;
  var i;
  for(i=0;i<_guowai_province_cn.length;i++){
    options+="<option value="+i+(selected==i?" selected":"")+">"+_guowai_province_cn[i]+"</option>";
  }
  return options;
}


function getProvinceOptions0(selected){

  options = "";

  if(!selected) selected=0;

  var i;

  for(i=0;i<_province_cn.length;i++){

    options+="<option value=quote.php?province="+i+(selected==i?" selected":"")+">"+_province_cn[i]+"</option>";

  }

  return options;

}



function getProvinceOptions1(){
  options = "";
  var i;
  for(i=1;i<_province_cn.length;i++){
        options+="<input class=input_province type=button name=Submit value="+_province_cn[i]+"  onclick=window.location='company_province.php?province="+i+"'> ";
         options+="<li><a href=###  onclick=window.location='destination.php?province="+i+"'>"+_province_cn[i]+"</a></li> ";
 }
  return options;
}

function getProvinceOptions2(){
  options = "";
  var i;
  for(i=1;i<_province_cn.length;i++){
        options+="<li><a href=###  onclick=window.location='destination.php?province="+i+"&province_name="+_province_cn[i]+"'>"+_province_cn[i]+"</a></li> ";
  }
  return options;
}

function getProvinceOptions3(){
  options = "";
  var i;
  for(i=1;i<_guonei_province_cn.length;i++){
        options+="<li><a href=###  onclick=window.location='destination.php?province="+i+"&province_name="+_guonei_province_cn[i]+"'>"+_guonei_province_cn[i]+"</a></li> ";
  }
  return options;
}

function getProvinceOptions4(){
  options = "";
  var i;
  for(i=1;i<_guowai_province_cn.length;i++){
        options+="<li><a href=###  onclick=window.location='destination.php?fprovince="+i+"&province_name="+_guowai_province_cn[i]+"'>"+_guowai_province_cn[i]+"</a></li> ";
  }
  return options;
}

function getProvincesight(){
  options = "";
  var i;
  for(i=1;i<_guonei_province_cn.length;i++){
        options+="<input class=input type=button name=Submit value="+_guonei_province_cn[i]+"  onclick=window.location='sight_province.php?province="+i+"'> ";
  }
  return options;
}

function getProvincesight1(){
  options = "";
  var i;
  for(i=1;i<_guowai_province_cn.length;i++){
        options+="<input class=input type=button name=Submit value="+_guowai_province_cn[i]+"  onclick=window.location='sight_province.php?fprovince="+i+"'> ";
  }
  return options;
}


function getProvincename(p){
  options = "";
  if(!p) p=0;
  var i;
  for(i=0;i<_guonei_province_cn.length;i++){
          if (p==i){
    options=_guonei_province_cn[i];
          }
  }
  return options;
}

function getProvincename3(p){
  options = "";
  if(!p) p=0;
  var i;
  for(i=0;i<_guowai_province_cn.length;i++){
          if (p==i){
    options=_guowai_province_cn[i];
          }
  }
  return options;
}


function getProvincename1(p){
  options = "";
  if(!p) p=0;
  var i;
  for(i=0;i<_guonei_province_cn.length;i++){
          if (p==i){
    options="<a href=###  onclick=window.location='destination.php?province="+i+"&province_name="+_guonei_province_cn[i]+"'>"+_guonei_province_cn[i]+"</a> ";
          }
  }
  return options;
}

function getProvincename2(p){
  options1 = "";
  if(!p) p=0;
  var i;
  for(i=0;i<_guowai_province_cn.length;i++){
          if (p==i){
    options="<a href=###  onclick=window.location='destination.php?fprovince="+i+"&province_name="+_guowai_province_cn[i]+"'>"+_guowai_province_cn[i]+"</a> ";
          }
  }
  return options;
}




function getCityname(p,c){
  options = "";
  if(!p) p=0;
  var i;
  for(i=0;i<_guonei_province_cn.length;i++){
          if (p==i){
    //name=_province_cn[i];
        city = _guonei_city_cn[i];
 // if(!city) return;
  var j=0;
    for(;j<city.length;j++){
                if(city[j].value==c)
                //if(selected==city[i].value)
                { options+=city[j].name;}
                }
     }
  }
  return options;
}

function getCityname1(p,c){
  options = "";
  if(!p) p=0;
  var i;
  for(i=0;i<_guowai_province_cn.length;i++){
          if (p==i){
    //name=_province_cn[i];
        city = _guowai_city_cn[i];
 // if(!city) return;
  var j=0;
    for(;j<city.length;j++){
                if(city[j].value==c)
                //if(selected==city[i].value)
                { options+=city[j].name;}
                }
     }
  }

  return options;

}



function getCityOptions(province,selected,includeall){
  if(!province) province=0;
  options = "";
  city = _guonei_city_cn[province];
  if(!city) return;
  var i=0;
  if(!includeall && city.length>1) i=1;
  for(;i<city.length;i++){
    options+="<option value="+city[i].value+(selected==city[i].value?" selected":"")+">"+city[i].name+"</option>";
  }
  return options;
}

function getCityOptions5(province,selected,includeall){
  if(!province) province=0;
  options = "";
  city = _guowai_city_cn[province];
  if(!city) return;
  var i=0;
  if(!includeall && city.length>1) i=1;
  for(;i<city.length;i++){
    options+="<option value="+city[i].value+(selected==city[i].value?" selected":"")+">"+city[i].name+"</option>";
  }
  return options;
}





function getCityOptions1(province,selected,includeall){
  if(!province) province=0;
  options = "";
  city = _city_cn[province];
  if(!city) return;
  var i=0;
  if(!includeall && city.length>1) i=1;
  for(;i<city.length;i++){
    //options+="<option value="+city[i].value+(selected==city[i].value?" selected":"")+">"+city[i].name+"</option>";
        options+="<input class=input_province type=button name=Submit value="+city[i].name+"  onclick=window.location='company_city.php?city="+city[i].value+"'> ";
  }
  return options;
}

function getCityOptions2(province,selected,includeall){
  if(!province) province=0;
  options = "";
  city = _city_cn[province];
  if(!city) return;
  var i=0;
  if(!includeall && city.length>1) i=1;
  for(;i<city.length;i++){
    //options+="<option value="+city[i].value+(selected==city[i].value?" selected":"")+">"+city[i].name+"</option>";
        options+="<input class=input_province type=button name=Submit value="+city[i].name+"  onclick=window.location='travelagency.php?city="+city[i].value+"&city_name="+city[i].name+"'> ";
  }
  return options;
}

function getCityOptions3(province,selected,includeall){
  if(!province) province=0;
  options = "";
  city = _guonei_city_cn[province];
  if(!city) return;
  var i=0;
  if(!includeall && city.length>1) i=1;
  for(;i<city.length;i++){
    options+="<a href=###  onclick=window.location='destination.php?city="+city[i].value+"&city_name="+city[i].name+"'>"+city[i].name+"</a> ";
  }
  return options;
}

function getCityOptions4(fprovince,selected,includeall){
  if(!fprovince) fprovince=0;
  options = "";
  city = _guowai_city_cn[fprovince];
  if(!city) return;
  var i=0;
  if(!includeall && city.length>1) i=1;
  for(;i<city.length;i++){
    options+="<a href=###  onclick=window.location='destination.php?city="+city[i].value+"&city_name="+city[i].name+"'>"+city[i].name+"</a> ";
  }
  return options;
}



function getselectCityOptions(selected){

  if(!selected) return;

  options = "";

for(j=0;j<_province_cn.length;j++){

  city = _city_cn[j];

  if(!city) return;

  var i=0;

    for(;i<city.length;i++){

                if(selected.indexOf(city[i].value)!=-1)

                //if(selected==city[i].value)

                {

    options+="<option value="+city[i].value+">"+city[i].name+"</option>";

  }}

  }

  return options;

}



function handleProvinceChangeEvent(src,des,selected,includeall){
  if(!src.value) return;
  city = _guonei_city_cn[src.value];
  if(!city || !des) return;
  oOs = des.options;
  while(oOs.length>0){
    oOs.remove(0);
  }
  var i = 0;
  //if(!includeall && city.length>1) i=1;
  for(;i<city.length;i++){
    var oOption = document.createElement("OPTION");
    oOption.text=city[i].name;
    oOption.value=city[i].value;
    if(selected) if(city[i].value==selected) oOption.selected=true;
    oOs.add(oOption);
  }
}

function handleProvinceChangeEvent1(src,des,selected,includeall){
  if(!src.value) return;
  city = _guowai_city_cn[src.value];
  if(!city || !des) return;
  oOs = des.options;
  while(oOs.length>0){
    oOs.remove(0);
  }
  var i = 0;
  //if(!includeall && city.length>1) i=1;
  for(;i<city.length;i++){
    var oOption = document.createElement("OPTION");
    oOption.text=city[i].name;
    oOption.value=city[i].value;
    if(selected) if(city[i].value==selected) oOption.selected=true;
    oOs.add(oOption);
  }
}



function checkCity(des,op){

  return checkPostType(des,op);

}

function checkPostType(des,op){

  if(!des || !op) return true;

  var flag = true;

  var ops = des.options;

  var i=0;

  for(i=0;i<ops.length;i++){

    if(ops.item(i).value==op.value) {

      flag=false;

    }

    if(ops.item(i).value==0 ){

    flag=false;

  }

    if(!flag){

      alert('你已经选择了 ['+op.innerText+'].');

      return flag;

    }

    if(op.value%100==0 && op.value==ops.item(i).value-ops.item(i).value%100){

      ops.remove(i);

      i--;

    }

  }

  return flag;

}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//*/

