function loadCity(value, targetId){ 
    var type = document.getElementById(targetId);
    type.options.length = 0;

    if (value == ''){
        type.options[type.options.length] = new Option('Pilih Kota','');
    }
if (value == 17) {type.options[type.options.length] = new Option('Badung','15');
type.options[type.options.length] = new Option('Bangli','18');
type.options[type.options.length] = new Option('Buleleng','20');
type.options[type.options.length] = new Option('Denpasar','12');
type.options[type.options.length] = new Option('Gianyar','16');
type.options[type.options.length] = new Option('Jembrana','13');
type.options[type.options.length] = new Option('Karangasem','19');
type.options[type.options.length] = new Option('Klungkung','17');
type.options[type.options.length] = new Option('Tabanan','14');
}
if (value == 11) {type.options[type.options.length] = new Option('Cilegon','305');
type.options[type.options.length] = new Option('Lebak','308');
type.options[type.options.length] = new Option('Pandeglang','307');
type.options[type.options.length] = new Option('Rangkasbitung','309');
type.options[type.options.length] = new Option('Serang','306');
type.options[type.options.length] = new Option('Tangerang','304');
}
if (value == 3) {type.options[type.options.length] = new Option('Bengkulu','319');
type.options[type.options.length] = new Option('Bengkulu Selatan','310');
type.options[type.options.length] = new Option('Bengkulu Tengah','318');
type.options[type.options.length] = new Option('Bengkulu Utara','312');
type.options[type.options.length] = new Option('Kaur','313');
type.options[type.options.length] = new Option('Kepahiang','317');
type.options[type.options.length] = new Option('Lebong','316');
type.options[type.options.length] = new Option('Mukomuko','315');
type.options[type.options.length] = new Option('Rejang Lebong','311');
type.options[type.options.length] = new Option('Seluma','314');
}
if (value == 16) {type.options[type.options.length] = new Option('Bantul','8');
type.options[type.options.length] = new Option('Gunung Kidul','9');
type.options[type.options.length] = new Option('Kulon Progo','7');
type.options[type.options.length] = new Option('Sleman','10');
type.options[type.options.length] = new Option('Yogyakarta','11');
}
if (value == 13) {type.options[type.options.length] = new Option('Jakarta Barat','4');
type.options[type.options.length] = new Option('Jakarta Pusat','2');
type.options[type.options.length] = new Option('Jakarta Selatan','5');
type.options[type.options.length] = new Option('Jakarta Timur','6');
type.options[type.options.length] = new Option('Jakarta Utara','3');
type.options[type.options.length] = new Option('Kepulauan Seribu','1');
}
if (value == 24) {type.options[type.options.length] = new Option('Boalemo','321');
type.options[type.options.length] = new Option('Bone Bolango','322');
type.options[type.options.length] = new Option('Gorontalo','320');
type.options[type.options.length] = new Option('Gorontalo Utara','324');
type.options[type.options.length] = new Option('Pohuwato','323');
}
if (value == 4) {type.options[type.options.length] = new Option('Batang Hari','328');
type.options[type.options.length] = new Option('Bungo','332');
type.options[type.options.length] = new Option('Jambi','334');
type.options[type.options.length] = new Option('Kerinci','325');
type.options[type.options.length] = new Option('Merangin','326');
type.options[type.options.length] = new Option('Muaro Jambi','329');
type.options[type.options.length] = new Option('Sarolangun','327');
type.options[type.options.length] = new Option('Sungai Penuh','335');
type.options[type.options.length] = new Option('Tanjung Jabung Barat','330');
type.options[type.options.length] = new Option('Tanjung Jabung Timur','331');
type.options[type.options.length] = new Option('Tebo','333');
}
if (value == 12) {type.options[type.options.length] = new Option('Bandung','339');
type.options[type.options.length] = new Option('Banjar','354');
type.options[type.options.length] = new Option('Bekasi','351');
type.options[type.options.length] = new Option('Bogor','336');
type.options[type.options.length] = new Option('Ciamis','342');
type.options[type.options.length] = new Option('Cianjur','338');
type.options[type.options.length] = new Option('Cimahi','353');
type.options[type.options.length] = new Option('Cirebon','344');
type.options[type.options.length] = new Option('Depok','352');
type.options[type.options.length] = new Option('Garut','340');
type.options[type.options.length] = new Option('Indramayu','347');
type.options[type.options.length] = new Option('Karawang','350');
type.options[type.options.length] = new Option('Kuningan','343');
type.options[type.options.length] = new Option('Majalengka','345');
type.options[type.options.length] = new Option('Purwakarta','349');
type.options[type.options.length] = new Option('Subang','348');
type.options[type.options.length] = new Option('Sukabumi','337');
type.options[type.options.length] = new Option('Sumedang','346');
type.options[type.options.length] = new Option('Tasikmalaya','341');
}
if (value == 14) {type.options[type.options.length] = new Option('Banjarnegara','24');
type.options[type.options.length] = new Option('Banyumas','22');
type.options[type.options.length] = new Option('Batang','44');
type.options[type.options.length] = new Option('Blora','36');
type.options[type.options.length] = new Option('Boyolali','29');
type.options[type.options.length] = new Option('Brebes','48');
type.options[type.options.length] = new Option('Cilacap','21');
type.options[type.options.length] = new Option('Demak','41');
type.options[type.options.length] = new Option('Grobogan','35');
type.options[type.options.length] = new Option('Jepara','40');
type.options[type.options.length] = new Option('Karanganyar','33');
type.options[type.options.length] = new Option('Kebumen','25');
type.options[type.options.length] = new Option('Kendal','43');
type.options[type.options.length] = new Option('Klaten','30');
type.options[type.options.length] = new Option('Kudus','39');
type.options[type.options.length] = new Option('Magelang','28');
type.options[type.options.length] = new Option('Pati','38');
type.options[type.options.length] = new Option('Pekalongan','45');
type.options[type.options.length] = new Option('Pemalang','46');
type.options[type.options.length] = new Option('Purbalingga','23');
type.options[type.options.length] = new Option('Purworejo','26');
type.options[type.options.length] = new Option('Rembang','37');
type.options[type.options.length] = new Option('Salatiga','50');
type.options[type.options.length] = new Option('Semarang','457');
type.options[type.options.length] = new Option('Sragen','34');
type.options[type.options.length] = new Option('Sukoharjo','31');
type.options[type.options.length] = new Option('Surakarta','49');
type.options[type.options.length] = new Option('Tegal','47');
type.options[type.options.length] = new Option('Temanggung','42');
type.options[type.options.length] = new Option('Wonogiri','32');
type.options[type.options.length] = new Option('Wonosobo','27');
}
if (value == 15) {type.options[type.options.length] = new Option('Bangkalan','78');
type.options[type.options.length] = new Option('Banyuwangi','66');
type.options[type.options.length] = new Option('Batu','59');
type.options[type.options.length] = new Option('Blitar','52');
type.options[type.options.length] = new Option('Bojonegoro','74');
type.options[type.options.length] = new Option('Bondowoso','67');
type.options[type.options.length] = new Option('Gresik','77');
type.options[type.options.length] = new Option('Jember','65');
type.options[type.options.length] = new Option('Jombang','70');
type.options[type.options.length] = new Option('Kediri','51');
type.options[type.options.length] = new Option('Lamongan','76');
type.options[type.options.length] = new Option('Lumajang','64');
type.options[type.options.length] = new Option('Madiun','57');
type.options[type.options.length] = new Option('Magetan','72');
type.options[type.options.length] = new Option('Malang','53');
type.options[type.options.length] = new Option('Mojokerto','56');
type.options[type.options.length] = new Option('Nganjuk','71');
type.options[type.options.length] = new Option('Ngawi','73');
type.options[type.options.length] = new Option('Pacitan','60');
type.options[type.options.length] = new Option('Pamekasan','80');
type.options[type.options.length] = new Option('Pasuruan','55');
type.options[type.options.length] = new Option('Ponorogo','61');
type.options[type.options.length] = new Option('Probolinggo','54');
type.options[type.options.length] = new Option('Sampang','79');
type.options[type.options.length] = new Option('Sidoarjo','69');
type.options[type.options.length] = new Option('Situbondo','68');
type.options[type.options.length] = new Option('Sumenep','81');
type.options[type.options.length] = new Option('Surabaya','58');
type.options[type.options.length] = new Option('Trenggalek','62');
type.options[type.options.length] = new Option('Tuban','75');
type.options[type.options.length] = new Option('Tulungagung','63');
}
if (value == 20) {type.options[type.options.length] = new Option('Bengkayang','362');
type.options[type.options.length] = new Option('Kapuas Hulu','361');
type.options[type.options.length] = new Option('Kayong Utara','366');
type.options[type.options.length] = new Option('Ketapang','359');
type.options[type.options.length] = new Option('Kubu Raya','367');
type.options[type.options.length] = new Option('Landak','363');
type.options[type.options.length] = new Option('Melawi','364');
type.options[type.options.length] = new Option('Pontianak','355');
type.options[type.options.length] = new Option('Sambas','357');
type.options[type.options.length] = new Option('Sanggau','358');
type.options[type.options.length] = new Option('Sekadau','365');
type.options[type.options.length] = new Option('Singkawang','356');
type.options[type.options.length] = new Option('Sintang','360');
}
if (value == 21) {type.options[type.options.length] = new Option('Balangan','394');
type.options[type.options.length] = new Option('Banjar','386');
type.options[type.options.length] = new Option('Banjarbaru','383');
type.options[type.options.length] = new Option('Banjarmasin','382');
type.options[type.options.length] = new Option('Barito Kuala','387');
type.options[type.options.length] = new Option('Hulu Sungai Selatan','389');
type.options[type.options.length] = new Option('Hulu Sungai Tengah','390');
type.options[type.options.length] = new Option('Hulu Sungai Utara','391');
type.options[type.options.length] = new Option('Kotabaru','385');
type.options[type.options.length] = new Option('Tabalong','392');
type.options[type.options.length] = new Option('Tanah Bumbu','393');
type.options[type.options.length] = new Option('Tanah Laut','384');
type.options[type.options.length] = new Option('Tapin','388');
}
if (value == 22) {type.options[type.options.length] = new Option('Barito Selatan','372');
type.options[type.options.length] = new Option('Barito Timur','381');
type.options[type.options.length] = new Option('Barito Utara','373');
type.options[type.options.length] = new Option('Gunung Mas','378');
type.options[type.options.length] = new Option('Kapuas','371');
type.options[type.options.length] = new Option('Katingan','374');
type.options[type.options.length] = new Option('Kotawaringin Barat','369');
type.options[type.options.length] = new Option('Kotawaringin Timur','370');
type.options[type.options.length] = new Option('Lamandau','377');
type.options[type.options.length] = new Option('Murung Raya','380');
type.options[type.options.length] = new Option('Palangka Raya','368');
type.options[type.options.length] = new Option('Pulang Pisau','379');
type.options[type.options.length] = new Option('Seruyan','375');
type.options[type.options.length] = new Option('Sukamara','376');
}
if (value == 23) {type.options[type.options.length] = new Option('Balikpapan','395');
type.options[type.options.length] = new Option('Berau','401');
type.options[type.options.length] = new Option('Bontang','398');
type.options[type.options.length] = new Option('Bulungan','402');
type.options[type.options.length] = new Option('Kutai Barat','405');
type.options[type.options.length] = new Option('Kutai Kartanegara','400');
type.options[type.options.length] = new Option('Kutai Timur','406');
type.options[type.options.length] = new Option('Malinau','404');
type.options[type.options.length] = new Option('Nunukan','403');
type.options[type.options.length] = new Option('Paser','399');
type.options[type.options.length] = new Option('Penajam Paser Utara','407');
type.options[type.options.length] = new Option('Samarinda','396');
type.options[type.options.length] = new Option('Tana Tidung','408');
type.options[type.options.length] = new Option('Tarakan','397');
}
if (value == 9) {type.options[type.options.length] = new Option('Bangka','409');
type.options[type.options.length] = new Option('Bangka Barat','413');
type.options[type.options.length] = new Option('Bangka Selatan','411');
type.options[type.options.length] = new Option('Bangka Tengah','412');
type.options[type.options.length] = new Option('Bangka Timur','414');
type.options[type.options.length] = new Option('Belitung','410');
type.options[type.options.length] = new Option('Pangkal Pinang','415');
}
if (value == 10) {type.options[type.options.length] = new Option('Batam','99');
type.options[type.options.length] = new Option('Bintan','93');
type.options[type.options.length] = new Option('Karimun','94');
type.options[type.options.length] = new Option('Kepulauan Anambas','97');
type.options[type.options.length] = new Option('Lingga','96');
type.options[type.options.length] = new Option('Natuna','95');
type.options[type.options.length] = new Option('Tanjung Pinang','98');
}
if (value == 8) {type.options[type.options.length] = new Option('Bandar Lampung','91');
type.options[type.options.length] = new Option('Lampung Barat','85');
type.options[type.options.length] = new Option('Lampung Selatan','82');
type.options[type.options.length] = new Option('Lampung Tengah','83');
type.options[type.options.length] = new Option('Lampung Timur','88');
type.options[type.options.length] = new Option('Lampung Utara','84');
type.options[type.options.length] = new Option('Metro','92');
type.options[type.options.length] = new Option('Pesawaran','90');
type.options[type.options.length] = new Option('Tanggamus','87');
type.options[type.options.length] = new Option('Tulang Bawang','86');
type.options[type.options.length] = new Option('Way Kanan','89');
}
if (value == 30) {type.options[type.options.length] = new Option('Ambon','416');
type.options[type.options.length] = new Option('Buru','422');
type.options[type.options.length] = new Option('Buru Selatan','423');
type.options[type.options.length] = new Option('Kepulauan Aru','426');
type.options[type.options.length] = new Option('Maluku Barat Daya','418');
type.options[type.options.length] = new Option('Maluku Tengah','419');
type.options[type.options.length] = new Option('Maluku Tenggara','420');
type.options[type.options.length] = new Option('Maluku Tenggara Barat','421');
type.options[type.options.length] = new Option('Seram Bagian Barat','425');
type.options[type.options.length] = new Option('Seram Bagian Timur','424');
type.options[type.options.length] = new Option('Tual','417');
}
if (value == 31) {type.options[type.options.length] = new Option('Halmahera Barat','429');
type.options[type.options.length] = new Option('Halmahera Selatan','432');
type.options[type.options.length] = new Option('Halmahera Tengah','430');
type.options[type.options.length] = new Option('Halmahera Timur','434');
type.options[type.options.length] = new Option('Halmahera Utara','431');
type.options[type.options.length] = new Option('Kepulauan Sula','433');
type.options[type.options.length] = new Option('Ternate','427');
type.options[type.options.length] = new Option('Tidore Kepulauan','428');
}
if (value == 1) {type.options[type.options.length] = new Option('Aceh Barat','444');
type.options[type.options.length] = new Option('Aceh Barat Daya','450');
type.options[type.options.length] = new Option('Aceh Besar','445');
type.options[type.options.length] = new Option('Aceh Jaya','452');
type.options[type.options.length] = new Option('Aceh Selatan','440');
type.options[type.options.length] = new Option('Aceh Singkil','448');
type.options[type.options.length] = new Option('Aceh Tamiang','454');
type.options[type.options.length] = new Option('Aceh Tengah','443');
type.options[type.options.length] = new Option('Aceh Tenggara','441');
type.options[type.options.length] = new Option('Aceh Timur','442');
type.options[type.options.length] = new Option('Banda Aceh','435');
type.options[type.options.length] = new Option('Bener Meriah','455');
type.options[type.options.length] = new Option('Bireuen','449');
type.options[type.options.length] = new Option('Gayo Lues','451');
type.options[type.options.length] = new Option('Langsa','438');
type.options[type.options.length] = new Option('Lhokseumawe','437');
type.options[type.options.length] = new Option('Nagan Raya','453');
type.options[type.options.length] = new Option('Pidie','446');
type.options[type.options.length] = new Option('Pidie Jaya','456');
type.options[type.options.length] = new Option('Sabang','436');
type.options[type.options.length] = new Option('Simeulue','447');
type.options[type.options.length] = new Option('Subulussalam','439');
}
if (value == 18) {type.options[type.options.length] = new Option('Bima','101');
type.options[type.options.length] = new Option('Dompu','106');
type.options[type.options.length] = new Option('Lombok Barat','102');
type.options[type.options.length] = new Option('Lombok Tengah','103');
type.options[type.options.length] = new Option('Lombok Timur','104');
type.options[type.options.length] = new Option('Lombok Utara','109');
type.options[type.options.length] = new Option('Mataram','100');
type.options[type.options.length] = new Option('Sumbawa','105');
type.options[type.options.length] = new Option('Sumbawa Barat','108');
}
if (value == 19) {type.options[type.options.length] = new Option('Alor','114');
type.options[type.options.length] = new Option('Belu','113');
type.options[type.options.length] = new Option('Ende','117');
type.options[type.options.length] = new Option('Flores Timur','115');
type.options[type.options.length] = new Option('Kupang','110');
type.options[type.options.length] = new Option('Lembata','122');
type.options[type.options.length] = new Option('Manggarai','119');
type.options[type.options.length] = new Option('Manggarai Barat','124');
type.options[type.options.length] = new Option('Manggarai Timur','128');
type.options[type.options.length] = new Option('Nagekeo','125');
type.options[type.options.length] = new Option('Ngada','118');
type.options[type.options.length] = new Option('Rote Ndao','123');
type.options[type.options.length] = new Option('Sikka','116');
type.options[type.options.length] = new Option('Sumba Barat','121');
type.options[type.options.length] = new Option('Sumba Barat Daya','127');
type.options[type.options.length] = new Option('Sumba Tengah','126');
type.options[type.options.length] = new Option('Sumba Timur','120');
type.options[type.options.length] = new Option('Timor Tengah Selatan','111');
type.options[type.options.length] = new Option('Timor Tengah Utara','112');
}
if (value == 32) {type.options[type.options.length] = new Option('Asmat','146');
type.options[type.options.length] = new Option('Biak Numfor','134');
type.options[type.options.length] = new Option('Boven Digoel','144');
type.options[type.options.length] = new Option('Dogiyai','154');
type.options[type.options.length] = new Option('Jayapura','129');
type.options[type.options.length] = new Option('Jayawijaya','131');
type.options[type.options.length] = new Option('Keerom','139');
type.options[type.options.length] = new Option('Kepulauan Yapen','133');
type.options[type.options.length] = new Option('Lanny Jaya','151');
type.options[type.options.length] = new Option('Mamberamo Raya','148');
type.options[type.options.length] = new Option('Mamberamo Tengah','149');
type.options[type.options.length] = new Option('Mappi','145');
type.options[type.options.length] = new Option('Merauke','130');
type.options[type.options.length] = new Option('Mimika','137');
type.options[type.options.length] = new Option('Nabire','132');
type.options[type.options.length] = new Option('Nduga','152');
type.options[type.options.length] = new Option('Paniai','136');
type.options[type.options.length] = new Option('Pegunungan Bintang','140');
type.options[type.options.length] = new Option('Puncak','153');
type.options[type.options.length] = new Option('Puncak Jaya','135');
type.options[type.options.length] = new Option('Sarmi','138');
type.options[type.options.length] = new Option('Supiori','147');
type.options[type.options.length] = new Option('Tolikara','142');
type.options[type.options.length] = new Option('Waropen','143');
type.options[type.options.length] = new Option('Yahukimo','141');
type.options[type.options.length] = new Option('Yalimo','150');
}
if (value == 33) {type.options[type.options.length] = new Option('Fakfak','157');
type.options[type.options.length] = new Option('Kaimana','162');
type.options[type.options.length] = new Option('Manokwari','156');
type.options[type.options.length] = new Option('Raja Ampat','159');
type.options[type.options.length] = new Option('Sorong','155');
type.options[type.options.length] = new Option('Sorong Selatan','158');
type.options[type.options.length] = new Option('Teluk Bintuni','160');
type.options[type.options.length] = new Option('Teluk Wondama','161');
}
if (value == 5) {type.options[type.options.length] = new Option('Bengkalis','165');
type.options[type.options.length] = new Option('Dumai','173');
type.options[type.options.length] = new Option('Indragiri Hilir','166');
type.options[type.options.length] = new Option('Indragiri Hulu','164');
type.options[type.options.length] = new Option('Kampar','163');
type.options[type.options.length] = new Option('Kuantan Singingi','171');
type.options[type.options.length] = new Option('Pekanbaru','172');
type.options[type.options.length] = new Option('Pelalawan','167');
type.options[type.options.length] = new Option('Rokan Hilir','169');
type.options[type.options.length] = new Option('Rokan Hulu','168');
type.options[type.options.length] = new Option('Siak','170');
}
if (value == 29) {type.options[type.options.length] = new Option('Majene','174');
type.options[type.options.length] = new Option('Mamasa','177');
type.options[type.options.length] = new Option('Mamuju','176');
type.options[type.options.length] = new Option('Mamuju Utara','175');
type.options[type.options.length] = new Option('Polewali Mandar','178');
}
if (value == 25) {type.options[type.options.length] = new Option('Bantaeng','184');
type.options[type.options.length] = new Option('Barru','192');
type.options[type.options.length] = new Option('Bone','189');
type.options[type.options.length] = new Option('Bulukumba','183');
type.options[type.options.length] = new Option('Enrekang','197');
type.options[type.options.length] = new Option('Gowa','187');
type.options[type.options.length] = new Option('Jeneponto','185');
type.options[type.options.length] = new Option('Makale','199');
type.options[type.options.length] = new Option('Makassar','179');
type.options[type.options.length] = new Option('Malili','201');
type.options[type.options.length] = new Option('Maros','190');
type.options[type.options.length] = new Option('Masamba','200');
type.options[type.options.length] = new Option('Palopo','181');
type.options[type.options.length] = new Option('Pangkajene','191');
type.options[type.options.length] = new Option('Pare-Pare','180');
type.options[type.options.length] = new Option('Pinrang','196');
type.options[type.options.length] = new Option('Rantepao','202');
type.options[type.options.length] = new Option('Selayar','182');
type.options[type.options.length] = new Option('Sidenreng','195');
type.options[type.options.length] = new Option('Sinjai','188');
type.options[type.options.length] = new Option('Soppeng','193');
type.options[type.options.length] = new Option('Takalar','186');
type.options[type.options.length] = new Option('Wajo','194');
}
if (value == 27) {type.options[type.options.length] = new Option('Banggai','204');
type.options[type.options.length] = new Option('Buol','208');
type.options[type.options.length] = new Option('Donggala','206');
type.options[type.options.length] = new Option('Morowali','209');
type.options[type.options.length] = new Option('Palu','203');
type.options[type.options.length] = new Option('Parigi','211');
type.options[type.options.length] = new Option('Poso','205');
type.options[type.options.length] = new Option('Sigi','213');
type.options[type.options.length] = new Option('Tojo Una-Una','212');
type.options[type.options.length] = new Option('Toli-Toli','207');
}
if (value == 26) {type.options[type.options.length] = new Option('Bau-Bau','215');
type.options[type.options.length] = new Option('Bombana','221');
type.options[type.options.length] = new Option('Buton','219');
type.options[type.options.length] = new Option('Buton Utara','225');
type.options[type.options.length] = new Option('Kendari','214');
type.options[type.options.length] = new Option('Kolaka','216');
type.options[type.options.length] = new Option('Kolaka Utara','223');
type.options[type.options.length] = new Option('Konawe','217');
type.options[type.options.length] = new Option('Konawe Selatan','220');
type.options[type.options.length] = new Option('Konawe Utara','224');
type.options[type.options.length] = new Option('Muna','218');
type.options[type.options.length] = new Option('Wakatobi','222');
}
if (value == 28) {type.options[type.options.length] = new Option('Bitung','227');
type.options[type.options.length] = new Option('Bolaang Mongondow','230');
type.options[type.options.length] = new Option('Bolaang Mongondow Selatan','232');
type.options[type.options.length] = new Option('Bolaang Mongondow Timur','231');
type.options[type.options.length] = new Option('Bolaang Mongondow Utara','239');
type.options[type.options.length] = new Option('Kepulauan Sangihe','234');
type.options[type.options.length] = new Option('Kepulauan Siau Tagulandang Biaro','240');
type.options[type.options.length] = new Option('Kepulauan Talaud','235');
type.options[type.options.length] = new Option('Kotamobagu','229');
type.options[type.options.length] = new Option('Manado','226');
type.options[type.options.length] = new Option('Minahasa','233');
type.options[type.options.length] = new Option('Minahasa Selatan','236');
type.options[type.options.length] = new Option('Minahasa Tenggara','238');
type.options[type.options.length] = new Option('Minahasa Utara','237');
type.options[type.options.length] = new Option('Tomohon','228');
}
if (value == 6) {type.options[type.options.length] = new Option('Agam','246');
type.options[type.options.length] = new Option('Bukittinggi','256');
type.options[type.options.length] = new Option('Dharmasraya','250');
type.options[type.options.length] = new Option('Kepulauan Mentawai','249');
type.options[type.options.length] = new Option('Lima Puluh Kota','247');
type.options[type.options.length] = new Option('Padang','253');
type.options[type.options.length] = new Option('Padang Pariaman','245');
type.options[type.options.length] = new Option('Padangpanjang','255');
type.options[type.options.length] = new Option('Pariaman','258');
type.options[type.options.length] = new Option('Pasaman','248');
type.options[type.options.length] = new Option('Pasaman Barat','252');
type.options[type.options.length] = new Option('Payakumbuh','257');
type.options[type.options.length] = new Option('Pesisir Selatan','241');
type.options[type.options.length] = new Option('Sawahlunto','254');
type.options[type.options.length] = new Option('Sijunjung','243');
type.options[type.options.length] = new Option('Solok','242');
type.options[type.options.length] = new Option('Solok Selatan','251');
type.options[type.options.length] = new Option('Tanah Datar','244');
}
if (value == 7) {type.options[type.options.length] = new Option('Banyuasin','265');
type.options[type.options.length] = new Option('Empat Lawang','269');
type.options[type.options.length] = new Option('Lahat','262');
type.options[type.options.length] = new Option('Lubuklinggau','272');
type.options[type.options.length] = new Option('Muara Enim','261');
type.options[type.options.length] = new Option('Musi Banyuasin','264');
type.options[type.options.length] = new Option('Musi Rawas','263');
type.options[type.options.length] = new Option('Ogan Ilir','268');
type.options[type.options.length] = new Option('Ogan Komering Ilir','260');
type.options[type.options.length] = new Option('Ogan Komering Ulu','259');
type.options[type.options.length] = new Option('Ogan Komering Ulu Selatan','267');
type.options[type.options.length] = new Option('Ogan Komering Ulu Timur','266');
type.options[type.options.length] = new Option('Pagar Alam','271');
type.options[type.options.length] = new Option('Palembang','270');
type.options[type.options.length] = new Option('Prabumulih','273');
}
if (value == 2) {type.options[type.options.length] = new Option('Asahan','282');
type.options[type.options.length] = new Option('Batu Bara','294');
type.options[type.options.length] = new Option('Binjai','301');
type.options[type.options.length] = new Option('Dairi','286');
type.options[type.options.length] = new Option('Deli Serdang','280');
type.options[type.options.length] = new Option('Humbang Hasundutan','291');
type.options[type.options.length] = new Option('Karo','279');
type.options[type.options.length] = new Option('Labuhanbatu','285');
type.options[type.options.length] = new Option('Labuhanbatu Selatan','283');
type.options[type.options.length] = new Option('Labuhanbatu Utara','284');
type.options[type.options.length] = new Option('Langkat','278');
type.options[type.options.length] = new Option('Mandailing Natal','288');
type.options[type.options.length] = new Option('Medan','297');
type.options[type.options.length] = new Option('Nias','277');
type.options[type.options.length] = new Option('Nias Selatan','289');
type.options[type.options.length] = new Option('Padang Lawas','296');
type.options[type.options.length] = new Option('Padang Lawas Utara','295');
type.options[type.options.length] = new Option('Padang Sidempuan','303');
type.options[type.options.length] = new Option('Pakpak Bharat','290');
type.options[type.options.length] = new Option('Pematangsiantar','298');
type.options[type.options.length] = new Option('Samosir','292');
type.options[type.options.length] = new Option('Serdang Bedagai','293');
type.options[type.options.length] = new Option('Sibolga','299');
type.options[type.options.length] = new Option('Simalungun','281');
type.options[type.options.length] = new Option('Tanjung Balai','300');
type.options[type.options.length] = new Option('Tapanuli Selatan','276');
type.options[type.options.length] = new Option('Tapanuli Tengah','274');
type.options[type.options.length] = new Option('Tapanuli Utara','275');
type.options[type.options.length] = new Option('Tebing Tinggi','302');
type.options[type.options.length] = new Option('Toba Samosir','287');
}
}