//ChgAmpor.js 
function chgchangwad(form,cChgWad) { 
  var nMxAmpor=50; 
  var chgwadid= form.SelChgWad.value; 
  //var chgwadid= cChgWad; 
  var nMxAmp=0; 
  if (chgwadid == "__" || chgwadid == "_" || chgwadid == "") { 
    chgwadid = "กรุงเทพมหานคร"
  }
  if (chgwadid !== "__") { 
    for (var i=1 ;i< (nMxAmpor+1) ;i++) {  
      form.SelAmpor.options[i].text = ""; 
      form.SelAmpor.options[i].value = ""; 
    }  
    switch (chgwadid) { 
	  case "กระบี่" : // "CH67" : // Krabi 
      // for Ampor 
       form.SelAmpor.options[1].text = "เกาะลันตา" ; 
       form.SelAmpor.options[2].text = "เขาพนม" ; 
       form.SelAmpor.options[3].text = "คลองท่อม" ; 
       form.SelAmpor.options[4].text = "ปลายพระยา" ; 
       form.SelAmpor.options[5].text = "เมืองกระบี่" ; 
       form.SelAmpor.options[6].text = "ลำทับ" ; 
       form.SelAmpor.options[7].text = "เหนือคลอง" ; 
       form.SelAmpor.options[8].text = "อ่าวลึก" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "กรุงเทพมหานคร" : // "CH1" : // Bangkok 
      // for Ampor 
       form.SelAmpor.options[1].text = "คลองเตย" ; 
       form.SelAmpor.options[2].text = "คลองสาน" ; 
       form.SelAmpor.options[3].text = "คลองสามวา" ; 
       form.SelAmpor.options[4].text = "คันนายาว" ; 
       form.SelAmpor.options[5].text = "จตุจักร" ; 
       form.SelAmpor.options[6].text = "จอมทอง" ; 
       form.SelAmpor.options[7].text = "ดอนเมือง" ; 
       form.SelAmpor.options[8].text = "ดินแดง" ; 
       form.SelAmpor.options[9].text = "ดุสิต" ; 
       form.SelAmpor.options[10].text = "ตลิ่งชัน" ; 
       form.SelAmpor.options[11].text = "ทวีวัฒนา" ; 
       form.SelAmpor.options[12].text = "ทุ่งครุ" ; 
       form.SelAmpor.options[13].text = "ธนบุรี" ; 
       form.SelAmpor.options[14].text = "บางกอกน้อย" ; 
       form.SelAmpor.options[15].text = "บางกอกใหญ่" ; 
       form.SelAmpor.options[16].text = "บางกะปิ" ; 
       form.SelAmpor.options[17].text = "บางขุนเทียน" ; 
       form.SelAmpor.options[18].text = "บางเขน" ; 
       form.SelAmpor.options[19].text = "บางคอแหลม" ; 
       form.SelAmpor.options[20].text = "บางแค" ; 
       form.SelAmpor.options[21].text = "บางซี่อ" ; 
       form.SelAmpor.options[22].text = "บางนา" ; 
       form.SelAmpor.options[23].text = "บางบอน" ; 
       form.SelAmpor.options[24].text = "บางพลัด" ; 
       form.SelAmpor.options[25].text = "บางรัก" ; 
       form.SelAmpor.options[26].text = "บึงกุ่ม" ; 
       form.SelAmpor.options[27].text = "ปทุมวัน" ; 
       form.SelAmpor.options[28].text = "ประเวศ" ; 
       form.SelAmpor.options[29].text = "ป้อมปราบศัตรูพ่าย" ; 
       form.SelAmpor.options[30].text = "พญาไท" ; 
       form.SelAmpor.options[31].text = "พระโขนง" ; 
       form.SelAmpor.options[32].text = "พระนคร" ; 
       form.SelAmpor.options[33].text = "ภาษีเจริญ" ; 
       form.SelAmpor.options[34].text = "มีนบุรี" ; 
       form.SelAmpor.options[35].text = "ยานนาวา" ; 
       form.SelAmpor.options[36].text = "ราชเทวี" ; 
       form.SelAmpor.options[37].text = "ราษฎร์บูรณะ" ; 
       form.SelAmpor.options[38].text = "ลาดกระบัง" ; 
       form.SelAmpor.options[39].text = "ลาดพร้าว" ; 
       form.SelAmpor.options[40].text = "วังทองหลาง" ; 
       form.SelAmpor.options[41].text = "วัฒนา" ; 
       form.SelAmpor.options[42].text = "สวนหลวง" ; 
       form.SelAmpor.options[43].text = "สะพานสูง" ; 
       form.SelAmpor.options[44].text = "สัมพันธวงศ์" ; 
       form.SelAmpor.options[45].text = "สาทร" ; 
       form.SelAmpor.options[46].text = "สายไหม" ; 
       form.SelAmpor.options[47].text = "หนองแขม" ; 
       form.SelAmpor.options[48].text = "หนองจอก" ; 
       form.SelAmpor.options[49].text = "หลักสี่" ; 
       form.SelAmpor.options[50].text = "ห้วยขวาง" ; 
      // for Value 
      nMxAmp=50 ; 
      break; 
 
      case "กาญจนบุรี" : // "CH16" : // Kanchanaburi 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอหนองปรือ" ; 
       form.SelAmpor.options[2].text = "ด่านมะขามเตี้ย" ; 
       form.SelAmpor.options[3].text = "ทองผาภูมิ" ; 
       form.SelAmpor.options[4].text = "ท่าม่วง" ; 
       form.SelAmpor.options[5].text = "ท่ามะกา" ; 
       form.SelAmpor.options[6].text = "ไทรโยค" ; 
       form.SelAmpor.options[7].text = "บ่อพลอย" ; 
       form.SelAmpor.options[8].text = "พนมทวน" ; 
       form.SelAmpor.options[9].text = "เมืองกาญจนบุรี" ; 
       form.SelAmpor.options[10].text = "เลาขวัญ" ; 
       form.SelAmpor.options[11].text = "ศรีสวัสดิ์" ; 
       form.SelAmpor.options[12].text = "สังขละบุรี" ; 
       form.SelAmpor.options[13].text = "ห้วยกระเจา" ; 
      // for Value 
      nMxAmp=13 ; 
      break; 
 
      case "กาฬสินธุ์" : // "CH60" : // Kalasin 
      // for Ampor 
       form.SelAmpor.options[1].text = "กมลาไลย" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอฆ้องชัย" ; 
       form.SelAmpor.options[3].text = "กิ่งอำเภอดอนจาน" ; 
       form.SelAmpor.options[4].text = "กิ่งอำเภอนาคู" ; 
       form.SelAmpor.options[5].text = "กิ่งอำเภอสามชัย" ; 
       form.SelAmpor.options[6].text = "กุฉินารายณ์" ; 
       form.SelAmpor.options[7].text = "เขาวง" ; 
       form.SelAmpor.options[8].text = "คำม่วง" ; 
       form.SelAmpor.options[9].text = "ท่าคันโท" ; 
       form.SelAmpor.options[10].text = "นามน" ; 
       form.SelAmpor.options[11].text = "เมืองกาฬสินธุ์" ; 
       form.SelAmpor.options[12].text = "ยางตลาด" ; 
       form.SelAmpor.options[13].text = "ร่องคำ" ; 
       form.SelAmpor.options[14].text = "สมเด็จ" ; 
       form.SelAmpor.options[15].text = "สหัสขันธ์" ; 
       form.SelAmpor.options[16].text = "หนองกุงศรี" ; 
       form.SelAmpor.options[17].text = "ห้วยผึ้ง" ; 
       form.SelAmpor.options[18].text = "ห้วยเม็ก" ; 
      // for Value 
      nMxAmp=18 ; 
      break; 
 
      case "กำแพงเพชร" : // "CH35" : // Kamphaeng Phet 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอโกสัมพีนคร" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอทรายทองวัฒนา" ; 
       form.SelAmpor.options[3].text = "กิ่งอำเภอบึงสามัคคี" ; 
       form.SelAmpor.options[4].text = "กิ่งอำเภอปางศิลาทอง" ; 
       form.SelAmpor.options[5].text = "ขาณุวรลักษบุรี" ; 
       form.SelAmpor.options[6].text = "คลองขลุง" ; 
       form.SelAmpor.options[7].text = "คลองลาน" ; 
       form.SelAmpor.options[8].text = "ไทรงาม" ; 
       form.SelAmpor.options[9].text = "พรานกระต่าย" ; 
       form.SelAmpor.options[10].text = "เมืองกำแพงเพชร" ; 
       form.SelAmpor.options[11].text = "ลานกระบือ" ; 
      // for Value 
      nMxAmp=11 ; 
      break; 
 
      case "ขอนแก่น" : // "CH45" : // Khon Kaen 
      // for Ampor 
       form.SelAmpor.options[1].text = "กระนวน" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอโคกโพธิ์ชัย" ; 
       form.SelAmpor.options[3].text = "กิ่งอำเภอโนนศิลา" ; 
       form.SelAmpor.options[4].text = "กิ่งอำเภอบ้านแฮด" ; 
       form.SelAmpor.options[5].text = "กิ่งอำเภอหนองนาคำ" ; 
       form.SelAmpor.options[6].text = "เขาสวนกวาง" ; 
       form.SelAmpor.options[7].text = "ชนบท" ; 
       form.SelAmpor.options[8].text = "ชุมแพ" ; 
       form.SelAmpor.options[9].text = "น้ำพอง" ; 
       form.SelAmpor.options[10].text = "บ้านไผ่" ; 
       form.SelAmpor.options[11].text = "บ้านฝาง" ; 
       form.SelAmpor.options[12].text = "เปือยน้อย" ; 
       form.SelAmpor.options[13].text = "พระยืน" ; 
       form.SelAmpor.options[14].text = "พล" ; 
       form.SelAmpor.options[15].text = "ภูผามาน" ; 
       form.SelAmpor.options[16].text = "ภูเวียง" ; 
       form.SelAmpor.options[17].text = "มัญจาคีรี" ; 
       form.SelAmpor.options[18].text = "เมืองขอนแก่น" ; 
       form.SelAmpor.options[19].text = "แวงน้อย" ; 
       form.SelAmpor.options[20].text = "แวงใหญ่" ; 
       form.SelAmpor.options[21].text = "สีชมพู" ; 
       form.SelAmpor.options[22].text = "หนองเรือ" ; 
       form.SelAmpor.options[23].text = "หนองสองห้อง" ; 
       form.SelAmpor.options[24].text = "อุบลรัตน์" ; 
      // for Value 
      nMxAmp=24 ; 
      break; 
 
      case "จันทบุรี" : // "CH23" : // Chanthaburi 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอเขาคิชกูฏ" ; 
       form.SelAmpor.options[2].text = "แก่งหางแมว" ; 
       form.SelAmpor.options[3].text = "ขลุง" ; 
       form.SelAmpor.options[4].text = "ท่าใหม่" ; 
       form.SelAmpor.options[5].text = "นายายอาม" ; 
       form.SelAmpor.options[6].text = "โป่งน้ำร้อน" ; 
       form.SelAmpor.options[7].text = "มะขาม" ; 
       form.SelAmpor.options[8].text = "เมืองจันทบุรี" ; 
       form.SelAmpor.options[9].text = "สอยดาว" ; 
       form.SelAmpor.options[10].text = "แหลมสิงห์" ; 
      // for Value 
      nMxAmp=10 ; 
      break; 
 
      case "ฉะเชิงเทรา" : // "CH8" : // Chachoengsao 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอคลองเขื่อน" ; 
       form.SelAmpor.options[2].text = "ท่าตะเกียบ" ; 
       form.SelAmpor.options[3].text = "บางคล้า" ; 
       form.SelAmpor.options[4].text = "บางน้ำเปรี้ยว" ; 
       form.SelAmpor.options[5].text = "บางปะกง" ; 
       form.SelAmpor.options[6].text = "บ้านโพธิ์" ; 
       form.SelAmpor.options[7].text = "แปลงยาว" ; 
       form.SelAmpor.options[8].text = "พนมสารคาม" ; 
       form.SelAmpor.options[9].text = "เมืองฉะเชิงเทรา" ; 
       form.SelAmpor.options[10].text = "ราชสาส์น" ; 
       form.SelAmpor.options[11].text = "สนามชัยเขต" ; 
      // for Value 
      nMxAmp=11 ; 
      break; 
 
      case "ชลบุรี" : // "CH22" : // Chon Buri 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอเกาะจันทร์" ; 
       form.SelAmpor.options[2].text = "เกาะสีชัง" ; 
       form.SelAmpor.options[3].text = "บ่อทอง" ; 
       form.SelAmpor.options[4].text = "บางละมุง" ; 
       form.SelAmpor.options[5].text = "บ้านบึง" ; 
       form.SelAmpor.options[6].text = "พนัสนิคม" ; 
       form.SelAmpor.options[7].text = "พานทอง" ; 
       form.SelAmpor.options[8].text = "เมืองชลบุรี" ; 
       form.SelAmpor.options[9].text = "ศรีราชา" ; 
       form.SelAmpor.options[10].text = "สัตหีบ" ; 
       form.SelAmpor.options[11].text = "หนองใหญ่" ; 
      // for Value 
      nMxAmp=11 ; 
      break; 
 
      case "ชัยนาท" : // "CH20" : // Chai Nat 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอเนินขาม" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอหนองมะโมง" ; 
       form.SelAmpor.options[3].text = "มโนรมย์" ; 
       form.SelAmpor.options[4].text = "เมืองชัยนาท" ; 
       form.SelAmpor.options[5].text = "วัดสิงห์" ; 
       form.SelAmpor.options[6].text = "สรรคบุรี" ; 
       form.SelAmpor.options[7].text = "สรรพยา" ; 
       form.SelAmpor.options[8].text = "หันคา" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "ชัยภูมิ" : // "CH50" : // Chaiyaphum 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอซับใหญ่" ; 
       form.SelAmpor.options[2].text = "เกษตรสมบูรณ์" ; 
       form.SelAmpor.options[3].text = "แก่งคร้อ" ; 
       form.SelAmpor.options[4].text = "คอนสวรรค์" ; 
       form.SelAmpor.options[5].text = "คอนสาร" ; 
       form.SelAmpor.options[6].text = "จัตุรัส" ; 
       form.SelAmpor.options[7].text = "เทพสถิต" ; 
       form.SelAmpor.options[8].text = "เนินสง่า" ; 
       form.SelAmpor.options[9].text = "บ้านเขว้า" ; 
       form.SelAmpor.options[10].text = "บ้านแท่น" ; 
       form.SelAmpor.options[11].text = "บำเหน็จณรงค์" ; 
       form.SelAmpor.options[12].text = "ภักดีชุมพล" ; 
       form.SelAmpor.options[13].text = "ภูเขียว" ; 
       form.SelAmpor.options[14].text = "เมืองชัยภูมิ" ; 
       form.SelAmpor.options[15].text = "หนองบัวแดง" ; 
       form.SelAmpor.options[16].text = "หนองบัวระเหว" ; 
      // for Value 
      nMxAmp=16 ; 
      break; 
 
      case "ชุมพร" : // "CH69" : // Chumphon 
      // for Ampor 
       form.SelAmpor.options[1].text = "ท่าแซะ" ; 
       form.SelAmpor.options[2].text = "ทุ่งตะโก" ; 
       form.SelAmpor.options[3].text = "ปะทิว" ; 
       form.SelAmpor.options[4].text = "พะโต๊ะ" ; 
       form.SelAmpor.options[5].text = "เมืองชุมพร" ; 
       form.SelAmpor.options[6].text = "ละแม" ; 
       form.SelAmpor.options[7].text = "สวี" ; 
       form.SelAmpor.options[8].text = "หลังสวน" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "เชียงราย" : // "CH28" : // Chiang Rai 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอเวียงเชียงรุ้ง" ; 
       form.SelAmpor.options[2].text = "ขุนตาล" ; 
       form.SelAmpor.options[3].text = "เชียงของ" ; 
       form.SelAmpor.options[4].text = "เชียงแสน" ; 
       form.SelAmpor.options[5].text = "เทิง" ; 
       form.SelAmpor.options[6].text = "ป่าแดด" ; 
       form.SelAmpor.options[7].text = "พญาเม็งราย" ; 
       form.SelAmpor.options[8].text = "พาน" ; 
       form.SelAmpor.options[9].text = "เมืองเชียงราย" ; 
       form.SelAmpor.options[10].text = "แม่จัน" ; 
       form.SelAmpor.options[11].text = "แม่ฟ้าหลวง" ; 
       form.SelAmpor.options[12].text = "แม่ลาว" ; 
       form.SelAmpor.options[13].text = "แม่สรวย" ; 
       form.SelAmpor.options[14].text = "แม่สาย" ; 
       form.SelAmpor.options[15].text = "เวียงแก่น" ; 
       form.SelAmpor.options[16].text = "เวียงชัย" ; 
       form.SelAmpor.options[17].text = "เวียงป๋าเป้า" ; 
      // for Value 
      nMxAmp=17 ; 
      break; 
 
      case "เชียงใหม่" : // "CH27" : // Chiang Mai 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอดอยหล่อ" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอแม่ออน" ; 
       form.SelAmpor.options[3].text = "จอมทอง" ; 
       form.SelAmpor.options[4].text = "เชียงดาว" ; 
       form.SelAmpor.options[5].text = "ไชยปราการ" ; 
       form.SelAmpor.options[6].text = "ดอยเต่า" ; 
       form.SelAmpor.options[7].text = "ดอยสะเก็ด" ; 
       form.SelAmpor.options[8].text = "ฝาง" ; 
       form.SelAmpor.options[9].text = "พร้าว" ; 
       form.SelAmpor.options[10].text = "เมืองเชียงใหม่" ; 
       form.SelAmpor.options[11].text = "แม่แจ่ม" ; 
       form.SelAmpor.options[12].text = "แม่แตง" ; 
       form.SelAmpor.options[13].text = "แม่ริม" ; 
       form.SelAmpor.options[14].text = "แม่วาง" ; 
       form.SelAmpor.options[15].text = "แม่อาย" ; 
       form.SelAmpor.options[16].text = "เวียงแหง" ; 
       form.SelAmpor.options[17].text = "สะเมิง" ; 
       form.SelAmpor.options[18].text = "สันกำแพง" ; 
       form.SelAmpor.options[19].text = "สันทราย" ; 
       form.SelAmpor.options[20].text = "สันป่าตอง" ; 
       form.SelAmpor.options[21].text = "สารภี" ; 
       form.SelAmpor.options[22].text = "หางดง" ; 
       form.SelAmpor.options[23].text = "อมก๋อย" ; 
       form.SelAmpor.options[24].text = "ฮอด" ; 
      // for Value 
      nMxAmp=24 ; 
      break; 
 
      case "ตรัง" : // "CH71" : // Trang 
      // for Ampor 
       form.SelAmpor.options[1].text = "กันตัง" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอหาดสำราญ" ; 
       form.SelAmpor.options[3].text = "นาโยง" ; 
       form.SelAmpor.options[4].text = "ปะเหลียน" ; 
       form.SelAmpor.options[5].text = "เมืองตรัง" ; 
       form.SelAmpor.options[6].text = "ย่านตาขาว" ; 
       form.SelAmpor.options[7].text = "รัษฎา" ; 
       form.SelAmpor.options[8].text = "วังวิเศษ" ; 
       form.SelAmpor.options[9].text = "สิเกา" ; 
       form.SelAmpor.options[10].text = "ห้วยยอด" ; 
      // for Value 
      nMxAmp=10 ; 
      break; 
 
      case "ตราด" : // "CH25" : // Trad 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอเกาะกูด" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอเกาะช้าง" ; 
       form.SelAmpor.options[3].text = "เขาสมิง" ; 
       form.SelAmpor.options[4].text = "คลองใหญ่" ; 
       form.SelAmpor.options[5].text = "บ่อไร่" ; 
       form.SelAmpor.options[6].text = "เมืองตราด" ; 
       form.SelAmpor.options[7].text = "แหลมงอบ" ; 
      // for Value 
      nMxAmp=7 ; 
      break; 
 
      case "ตาก" : // "CH40" : // Tak 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอวังเจ้า" ; 
       form.SelAmpor.options[2].text = "ท่าสองยาง" ; 
       form.SelAmpor.options[3].text = "บ้านตาก" ; 
       form.SelAmpor.options[4].text = "พบพระ" ; 
       form.SelAmpor.options[5].text = "เมืองตาก" ; 
       form.SelAmpor.options[6].text = "แม่ระมาด" ; 
       form.SelAmpor.options[7].text = "แม่สอด" ; 
       form.SelAmpor.options[8].text = "สามเงา" ; 
       form.SelAmpor.options[9].text = "อุ้มผาง" ; 
      // for Value 
      nMxAmp=9 ; 
      break; 
 
      case "นครนายก" : // "CH9" : // Nakon Nayok 
      // for Ampor 
       form.SelAmpor.options[1].text = "บ้านนา" ; 
       form.SelAmpor.options[2].text = "ปากพลี" ; 
       form.SelAmpor.options[3].text = "เมืองนครนายก" ; 
       form.SelAmpor.options[4].text = "องครักษ์" ; 
      // for Value 
      nMxAmp=4 ; 
      break; 
 
      case "นครปฐม" : // "CH4" : // Nakhon Pathom 
      // for Ampor 
       form.SelAmpor.options[1].text = "กำแพงแสน" ; 
       form.SelAmpor.options[2].text = "ดอนตูม" ; 
       form.SelAmpor.options[3].text = "นครชัยศรี" ; 
       form.SelAmpor.options[4].text = "บางเลน" ; 
       form.SelAmpor.options[5].text = "พุทธมณฑล" ; 
       form.SelAmpor.options[6].text = "เมืองนครปฐม" ; 
       form.SelAmpor.options[7].text = "สามพราน" ; 
      // for Value 
      nMxAmp=7 ; 
      break; 
 
      case "นครพนม" : // "CH53" : // NaKhon Phanom 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอนาทม" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอวังยาง" ; 
       form.SelAmpor.options[3].text = "ท่าอุเทน" ; 
       form.SelAmpor.options[4].text = "ธาตุพนม" ; 
       form.SelAmpor.options[5].text = "นาแก" ; 
       form.SelAmpor.options[6].text = "นาหว้า" ; 
       form.SelAmpor.options[7].text = "บ้านแพง" ; 
       form.SelAmpor.options[8].text = "ปลาปาก" ; 
       form.SelAmpor.options[9].text = "โพนสวรรค์" ; 
       form.SelAmpor.options[10].text = "เมืองนครพนม" ; 
       form.SelAmpor.options[11].text = "เรณูนคร" ; 
       form.SelAmpor.options[12].text = "ศรีสงคราม" ; 
      // for Value 
      nMxAmp=12 ; 
      break; 
 
      case "นครราชสีมา" : // "CH44" : // Nakhon Ratchasima 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอเทพารักษ์" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอบัวลาย" ; 
       form.SelAmpor.options[3].text = "กิ่งอำเภอพระทองคำ" ; 
       form.SelAmpor.options[4].text = "กิ่งอำเภอเมืองยาง" ; 
       form.SelAmpor.options[5].text = "กิ่งอำเภอลำทะเมนชัย" ; 
       form.SelAmpor.options[6].text = "กิ่งอำเภอสีดา" ; 
       form.SelAmpor.options[7].text = "แก้งสนามนาง" ; 
       form.SelAmpor.options[8].text = "ขามทะเลสอ" ; 
       form.SelAmpor.options[9].text = "คง" ; 
       form.SelAmpor.options[10].text = "ครบุรี" ; 
       form.SelAmpor.options[11].text = "จักราช" ; 
       form.SelAmpor.options[12].text = "เฉลิมพระเกียรติ" ; 
       form.SelAmpor.options[13].text = "ชุมพวง" ; 
       form.SelAmpor.options[14].text = "โชคชัย" ; 
       form.SelAmpor.options[15].text = "ด่านขุนทด" ; 
       form.SelAmpor.options[16].text = "โนนแดง" ; 
       form.SelAmpor.options[17].text = "โนนไทย" ; 
       form.SelAmpor.options[18].text = "บัวใหญ่" ; 
       form.SelAmpor.options[19].text = "บ้านเหลื่อม" ; 
       form.SelAmpor.options[20].text = "ปักธงชัย" ; 
       form.SelAmpor.options[21].text = "ปากช่อง" ; 
       form.SelAmpor.options[22].text = "พิมาย" ; 
       form.SelAmpor.options[23].text = "เมืองนครราชสีมา" ; 
       form.SelAmpor.options[24].text = "วังน้ำเขียว" ; 
       form.SelAmpor.options[25].text = "สีคิ้ว" ; 
       form.SelAmpor.options[26].text = "สูงเนิน" ; 
       form.SelAmpor.options[27].text = "เสิงสาง" ; 
       form.SelAmpor.options[28].text = "หนองบุนนาก" ; 
       form.SelAmpor.options[29].text = "ห้วยแถลง" ; 
      // for Value 
      nMxAmp=29 ; 
      break; 
 
      case "นครศรีธรรมราช" : // "CH64" : // Nakhon Si Thammarat 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอช้างกลาง" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอนบพิตำ" ; 
       form.SelAmpor.options[3].text = "ขนอม" ; 
       form.SelAmpor.options[4].text = "จุฬาภรณ์" ; 
       form.SelAmpor.options[5].text = "ฉวาง" ; 
       form.SelAmpor.options[6].text = "เฉลิมพระเกียรติ" ; 
       form.SelAmpor.options[7].text = "ชะอวด" ; 
       form.SelAmpor.options[8].text = "เชียรใหญ่" ; 
       form.SelAmpor.options[9].text = "ถ้าพรรณรา" ; 
       form.SelAmpor.options[10].text = "ท่าศาลา" ; 
       form.SelAmpor.options[11].text = "ทุ่งสง" ; 
       form.SelAmpor.options[12].text = "ทุ่งใหญ่" ; 
       form.SelAmpor.options[13].text = "นาบอน" ; 
       form.SelAmpor.options[14].text = "บางขัน" ; 
       form.SelAmpor.options[15].text = "ปากพนัง" ; 
       form.SelAmpor.options[16].text = "พรหมคีรี" ; 
       form.SelAmpor.options[17].text = "พระพรหม" ; 
       form.SelAmpor.options[18].text = "พิปูน" ; 
       form.SelAmpor.options[19].text = "เมืองนครศรีธรรมราช" ; 
       form.SelAmpor.options[20].text = "ร่อนพิบูลย์" ; 
       form.SelAmpor.options[21].text = "ลานสะกา" ; 
       form.SelAmpor.options[22].text = "สิชล" ; 
       form.SelAmpor.options[23].text = "หัวไทร" ; 
      // for Value 
      nMxAmp=23 ; 
      break; 
 
      case "นครสวรรค์" : // "CH34" : // Nakhon Sawan 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอชุมตาบง" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอแม่เปิน" ; 
       form.SelAmpor.options[3].text = "เก้าเลี้ยว" ; 
       form.SelAmpor.options[4].text = "โกรกพระ" ; 
       form.SelAmpor.options[5].text = "ชุมแสง" ; 
       form.SelAmpor.options[6].text = "ตากฟ้า" ; 
       form.SelAmpor.options[7].text = "ตาคลี" ; 
       form.SelAmpor.options[8].text = "ท่าตะโก" ; 
       form.SelAmpor.options[9].text = "บรรพตพิสัย" ; 
       form.SelAmpor.options[10].text = "พยุหะคีรี" ; 
       form.SelAmpor.options[11].text = "ไพศาลี" ; 
       form.SelAmpor.options[12].text = "เมืองนครสวรรค์" ; 
       form.SelAmpor.options[13].text = "แม่วงก์" ; 
       form.SelAmpor.options[14].text = "ลาดยาว" ; 
       form.SelAmpor.options[15].text = "หนองบัว" ; 
      // for Value 
      nMxAmp=15 ; 
      break; 
 
      case "นนทบุรี" : // "CH2" : // Nonthaburi 
      // for Ampor 
       form.SelAmpor.options[1].text = "ไทรน้อย" ; 
       form.SelAmpor.options[2].text = "บางกรวย" ; 
       form.SelAmpor.options[3].text = "บางบัวทอง" ; 
       form.SelAmpor.options[4].text = "บางใหญ่" ; 
       form.SelAmpor.options[5].text = "ปากเกร็ด" ; 
       form.SelAmpor.options[6].text = "เมืองนนทบุรี" ; 
      // for Value 
      nMxAmp=6 ; 
      break; 
 
      case "นราธิวาส" : // "CH76" : // Narathiwat 
      // for Ampor 
       form.SelAmpor.options[1].text = "จะแนะ" ; 
       form.SelAmpor.options[2].text = "เจาะไอร้อง" ; 
       form.SelAmpor.options[3].text = "ตากใบ" ; 
       form.SelAmpor.options[4].text = "บาเจาะ" ; 
       form.SelAmpor.options[5].text = "เมืองนราธิวาส" ; 
       form.SelAmpor.options[6].text = "ยี่งอ" ; 
       form.SelAmpor.options[7].text = "ระแงะ" ; 
       form.SelAmpor.options[8].text = "รือเสาะ" ; 
       form.SelAmpor.options[9].text = "แว้ง" ; 
       form.SelAmpor.options[10].text = "ศรีสาคร" ; 
       form.SelAmpor.options[11].text = "สุคิริน" ; 
       form.SelAmpor.options[12].text = "สุไหงโก-ลก" ; 
       form.SelAmpor.options[13].text = "สุไหงปาดี" ; 
      // for Value 
      nMxAmp=13 ; 
      break; 
 
      case "น่าน" : // "CH37" : // Nan 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอภูเพียง" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอสองแคว" ; 
       form.SelAmpor.options[3].text = "เฉลิมพระเกียรติ" ; 
       form.SelAmpor.options[4].text = "เชียงกลาง" ; 
       form.SelAmpor.options[5].text = "ท่าวังผา" ; 
       form.SelAmpor.options[6].text = "ทุ่งช้าง" ; 
       form.SelAmpor.options[7].text = "นาน้อย" ; 
       form.SelAmpor.options[8].text = "นาหมื่น" ; 
       form.SelAmpor.options[9].text = "บ่อเกลือ" ; 
       form.SelAmpor.options[10].text = "บ้านหลวง" ; 
       form.SelAmpor.options[11].text = "ปัว" ; 
       form.SelAmpor.options[12].text = "เมืองน่าน" ; 
       form.SelAmpor.options[13].text = "แม่จริม" ; 
       form.SelAmpor.options[14].text = "เวียงสา" ; 
       form.SelAmpor.options[15].text = "สันติสุข" ; 
      // for Value 
      nMxAmp=15 ; 
      break; 
 
      case "บุรีรัมย์" : // "CH57" : // Buri Ram 
      // for Ampor 
       form.SelAmpor.options[1].text = "กระสัง" ; 
       form.SelAmpor.options[2].text = "กิ่ง อ.บ้านใหม่ไชยพจน์" ; 
       form.SelAmpor.options[3].text = "กิ่งอำเภอแคนดง" ; 
       form.SelAmpor.options[4].text = "กิ่งอำเภอบ้านด่าน" ; 
       form.SelAmpor.options[5].text = "คูเมือง" ; 
       form.SelAmpor.options[6].text = "เฉลิมพระเกียรติ" ; 
       form.SelAmpor.options[7].text = "ชำนิ" ; 
       form.SelAmpor.options[8].text = "นางรอง" ; 
       form.SelAmpor.options[9].text = "นาโพธิ์" ; 
       form.SelAmpor.options[10].text = "โนนดินแดง" ; 
       form.SelAmpor.options[11].text = "โนนสุวรรณ" ; 
       form.SelAmpor.options[12].text = "บ้านกรวด" ; 
       form.SelAmpor.options[13].text = "ประโคนชัย" ; 
       form.SelAmpor.options[14].text = "ปะคำ" ; 
       form.SelAmpor.options[15].text = "พลับพลาชัย" ; 
       form.SelAmpor.options[16].text = "พุทไธสง" ; 
       form.SelAmpor.options[17].text = "เมืองบุรีรัมย์" ; 
       form.SelAmpor.options[18].text = "ละหานทราย" ; 
       form.SelAmpor.options[19].text = "ลำปลายมาศ" ; 
       form.SelAmpor.options[20].text = "สตึก" ; 
       form.SelAmpor.options[21].text = "หนองกี่" ; 
       form.SelAmpor.options[22].text = "หนองหงส์" ; 
       form.SelAmpor.options[23].text = "ห้วยราช" ; 
      // for Value 
      nMxAmp=23 ; 
      break; 
 
      case "ปทุมธานี" : // "CH3" : // Pathum Thani 
      // for Ampor 
       form.SelAmpor.options[1].text = "คลองหลวง" ; 
       form.SelAmpor.options[2].text = "ธัญบุรี" ; 
       form.SelAmpor.options[3].text = "เมืองปทุมธานี" ; 
       form.SelAmpor.options[4].text = "ลาดหลุมแก้ว" ; 
       form.SelAmpor.options[5].text = "ลำลูกกา" ; 
       form.SelAmpor.options[6].text = "สามโคก" ; 
       form.SelAmpor.options[7].text = "หนองเสือ" ; 
      // for Value 
      nMxAmp=7 ; 
      break; 
 
      case "ประจวบคีรีขันธ์" : // "CH15" : // Prachuap Khiri Khan 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอสามร้อยยอด" ; 
       form.SelAmpor.options[2].text = "กุยบุรี" ; 
       form.SelAmpor.options[3].text = "ทับสะแก" ; 
       form.SelAmpor.options[4].text = "บางสะพาน" ; 
       form.SelAmpor.options[5].text = "บางสะพานน้อย" ; 
       form.SelAmpor.options[6].text = "ปราณบุรี" ; 
       form.SelAmpor.options[7].text = "เมืองประจวบคีรีขันธ์" ; 
       form.SelAmpor.options[8].text = "หัวหิน" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "ปราจีนบุรี" : // "CH21" : // Prachin Buri 
      // for Ampor 
       form.SelAmpor.options[1].text = "กบินทร์บุรี" ; 
       form.SelAmpor.options[2].text = "นาดี" ; 
       form.SelAmpor.options[3].text = "บ้านสร้าง" ; 
       form.SelAmpor.options[4].text = "ประจันตคาม" ; 
       form.SelAmpor.options[5].text = "เมืองปราจีนบุรี" ; 
       form.SelAmpor.options[6].text = "ศรีมหาโพธิ์" ; 
       form.SelAmpor.options[7].text = "ศรีมโหสถ" ; 
      // for Value 
      nMxAmp=7 ; 
      break; 
 
      case "ปัตตานี" : // "CH74" : // Pattani 
      // for Ampor 
       form.SelAmpor.options[1].text = "กะพ้อ" ; 
       form.SelAmpor.options[2].text = "โคกโพธิ์" ; 
       form.SelAmpor.options[3].text = "ทุ่งยางแดง" ; 
       form.SelAmpor.options[4].text = "ปะนาเระ" ; 
       form.SelAmpor.options[5].text = "มายอ" ; 
       form.SelAmpor.options[6].text = "เมืองปัตตานี" ; 
       form.SelAmpor.options[7].text = "แม่ลาน" ; 
       form.SelAmpor.options[8].text = "ไม้แก่น" ; 
       form.SelAmpor.options[9].text = "ยะรัง" ; 
       form.SelAmpor.options[10].text = "ยะหริ่ง" ; 
       form.SelAmpor.options[11].text = "สายบุรี" ; 
       form.SelAmpor.options[12].text = "หนอกจิก" ; 
      // for Value 
      nMxAmp=12 ; 
      break; 
 
      case "พระนครศรีอยุธยา" : // "CH7" : // Phra Nakhon Si Ayutthaya 
      // for Ampor 
       form.SelAmpor.options[1].text = "ท่าเรือ" ; 
       form.SelAmpor.options[2].text = "นครหลวง" ; 
       form.SelAmpor.options[3].text = "บางซ้าย" ; 
       form.SelAmpor.options[4].text = "บางไทร" ; 
       form.SelAmpor.options[5].text = "บางบาล" ; 
       form.SelAmpor.options[6].text = "บางปะหัน" ; 
       form.SelAmpor.options[7].text = "บางปะอิน" ; 
       form.SelAmpor.options[8].text = "บ้านแพรก" ; 
       form.SelAmpor.options[9].text = "ผักไห่" ; 
       form.SelAmpor.options[10].text = "พระนครศรีอยุธยา" ; 
       form.SelAmpor.options[11].text = "ภาชี" ; 
       form.SelAmpor.options[12].text = "มหาราช" ; 
       form.SelAmpor.options[13].text = "ลาดบัวหลวง" ; 
       form.SelAmpor.options[14].text = "วังน้อย" ; 
       form.SelAmpor.options[15].text = "เสนา" ; 
       form.SelAmpor.options[16].text = "อุทัย" ; 
      // for Value 
      nMxAmp=16 ; 
      break; 
 
      case "พะเยา" : // "CH36" : // Phayao 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอภูกามยาว" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอภูชาง" ; 
       form.SelAmpor.options[3].text = "จุน" ; 
       form.SelAmpor.options[4].text = "เชียงคำ" ; 
       form.SelAmpor.options[5].text = "เชียงม่วน" ; 
       form.SelAmpor.options[6].text = "ดอกคำใต้" ; 
       form.SelAmpor.options[7].text = "ปง" ; 
       form.SelAmpor.options[8].text = "เมืองพะเยา" ; 
       form.SelAmpor.options[9].text = "แม่ใจ" ; 
      // for Value 
      nMxAmp=9 ; 
      break; 
 
      case "พังงา" : // "CH70" : // Phangnga 
      // for Ampor 
       form.SelAmpor.options[1].text = "กะปง" ; 
       form.SelAmpor.options[2].text = "เกาะยาว" ; 
       form.SelAmpor.options[3].text = "คุระบุรี" ; 
       form.SelAmpor.options[4].text = "ตะกั่วทุ่ง" ; 
       form.SelAmpor.options[5].text = "ตะกั่วป่า" ; 
       form.SelAmpor.options[6].text = "ทับปุด" ; 
       form.SelAmpor.options[7].text = "ท้ายเหมือง" ; 
       form.SelAmpor.options[8].text = "เมืองพังงา" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "พัทลุง" : // "CH73" : // Phattalung 
      // for Ampor 
       form.SelAmpor.options[1].text = "กงหรา" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอศรีนครินทร์" ; 
       form.SelAmpor.options[3].text = "เขาชัยสน" ; 
       form.SelAmpor.options[4].text = "ควนขนุน" ; 
       form.SelAmpor.options[5].text = "ตะโหมด" ; 
       form.SelAmpor.options[6].text = "บางแก้ว" ; 
       form.SelAmpor.options[7].text = "บางแก้ว" ; 
       form.SelAmpor.options[8].text = "ปากพะยูน" ; 
       form.SelAmpor.options[9].text = "ป่าบอน" ; 
       form.SelAmpor.options[10].text = "ป่าพะยอม" ; 
       form.SelAmpor.options[11].text = "เมืองพัทลุง" ; 
       form.SelAmpor.options[12].text = "ศรีบรรพต" ; 
      // for Value 
      nMxAmp=12 ; 
      break; 
 
      case "พิจิตร" : // "CH41" : // Phichit 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอดงเจริญ" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอบึงนาราง" ; 
       form.SelAmpor.options[3].text = "ตะพานหิน" ; 
       form.SelAmpor.options[4].text = "ทับคล้อ" ; 
       form.SelAmpor.options[5].text = "บางมูลนาก" ; 
       form.SelAmpor.options[6].text = "โพทะเล" ; 
       form.SelAmpor.options[7].text = "โพธิ์ประทับช้าง" ; 
       form.SelAmpor.options[8].text = "เมืองพิจิตร" ; 
       form.SelAmpor.options[9].text = "วังทรายพูน" ; 
       form.SelAmpor.options[10].text = "สามง่าม" ; 
      // for Value 
      nMxAmp=10 ; 
      break; 
 
      case "พิษณุโลก" : // "CH33" : // Phitsanulok 
      // for Ampor 
       form.SelAmpor.options[1].text = "ชาติตระการ" ; 
       form.SelAmpor.options[2].text = "นครไทย" ; 
       form.SelAmpor.options[3].text = "เนินมะปราง" ; 
       form.SelAmpor.options[4].text = "บางกระกำ" ; 
       form.SelAmpor.options[5].text = "บางกระทุ่ม" ; 
       form.SelAmpor.options[6].text = "พรหมพิราม" ; 
       form.SelAmpor.options[7].text = "เมืองพิษณุโลก" ; 
       form.SelAmpor.options[8].text = "วังทอง" ; 
       form.SelAmpor.options[9].text = "วัดโบสถ์" ; 
      // for Value 
      nMxAmp=9 ; 
      break; 
 
      case "เพชรบุรี" : // "CH14" : // Phetchaburi 
      // for Ampor 
       form.SelAmpor.options[1].text = "แก่งกระจาน" ; 
       form.SelAmpor.options[2].text = "เขาย้อย" ; 
       form.SelAmpor.options[3].text = "ชะอำ" ; 
       form.SelAmpor.options[4].text = "ท่ายาง" ; 
       form.SelAmpor.options[5].text = "บ้านลาด" ; 
       form.SelAmpor.options[6].text = "บ้านแหลม" ; 
       form.SelAmpor.options[7].text = "เมืองเพชรบุรี" ; 
       form.SelAmpor.options[8].text = "หนองหญ้าปล้อง" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "เพชรบูรณ์" : // "CH43" : // Phetchabun 
      // for Ampor 
       form.SelAmpor.options[1].text = "เขาค้อ" ; 
       form.SelAmpor.options[2].text = "ชนแดน" ; 
       form.SelAmpor.options[3].text = "น้ำหนาว" ; 
       form.SelAmpor.options[4].text = "บึงสามพัน" ; 
       form.SelAmpor.options[5].text = "เมืองเพชรบูรณ์" ; 
       form.SelAmpor.options[6].text = "วังโป่ง" ; 
       form.SelAmpor.options[7].text = "วิเชียรบุรี" ; 
       form.SelAmpor.options[8].text = "ศรีเทพ" ; 
       form.SelAmpor.options[9].text = "หนองไผ่" ; 
       form.SelAmpor.options[10].text = "หล่มเก่า" ; 
       form.SelAmpor.options[11].text = "หล่มสัก" ; 
      // for Value 
      nMxAmp=11 ; 
      break; 
 
      case "แพร่" : // "CH38" : // Phrae 
      // for Ampor 
       form.SelAmpor.options[1].text = "เด่นชัย" ; 
       form.SelAmpor.options[2].text = "เมืองแพร่" ; 
       form.SelAmpor.options[3].text = "ร้องกวาง" ; 
       form.SelAmpor.options[4].text = "ลอง" ; 
       form.SelAmpor.options[5].text = "วังชิ้น" ; 
       form.SelAmpor.options[6].text = "สอง" ; 
       form.SelAmpor.options[7].text = "สูงเม่น" ; 
       form.SelAmpor.options[8].text = "หนองม่วงไข่" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "ภูเก็ต" : // "CH66" : // Phuket 
      // for Ampor 
       form.SelAmpor.options[1].text = "กระทู้" ; 
       form.SelAmpor.options[2].text = "ถลาง" ; 
       form.SelAmpor.options[3].text = "เมืองภูเก็ต" ; 
      // for Value 
      nMxAmp=3 ; 
      break; 
 
      case "มหาสารคาม" : // "CH58" : // Maha Sarakham 
      // for Ampor 
       form.SelAmpor.options[1].text = "กันทรวิชัย" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอกุดรัง" ; 
       form.SelAmpor.options[3].text = "กิ่งอำเภอชื่นชม" ; 
       form.SelAmpor.options[4].text = "แกดำ" ; 
       form.SelAmpor.options[5].text = "โกสุมพิสัย" ; 
       form.SelAmpor.options[6].text = "เชียงยืน" ; 
       form.SelAmpor.options[7].text = "นาเชือก" ; 
       form.SelAmpor.options[8].text = "นาดูน" ; 
       form.SelAmpor.options[9].text = "บรบือ" ; 
       form.SelAmpor.options[10].text = "พยัคฆภูมิพิสัย" ; 
       form.SelAmpor.options[11].text = "เมืองมหาสารคาม" ; 
       form.SelAmpor.options[12].text = "ยางสีสุราช" ; 
       form.SelAmpor.options[13].text = "วาปีปทุม" ; 
      // for Value 
      nMxAmp=13 ; 
      break; 
 
      case "มุกดาหาร" : // "CH54" : // Mukdahan 
      // for Ampor 
       form.SelAmpor.options[1].text = "คำชะอี" ; 
       form.SelAmpor.options[2].text = "ดงหลวง" ; 
       form.SelAmpor.options[3].text = "ดอนตาล" ; 
       form.SelAmpor.options[4].text = "นิคมคำสร้อย" ; 
       form.SelAmpor.options[5].text = "เมืองมุกดาหาร" ; 
       form.SelAmpor.options[6].text = "หนองสูง" ; 
       form.SelAmpor.options[7].text = "หว้านใหญ่" ; 
      // for Value 
      nMxAmp=7 ; 
      break; 
 
      case "แม่ฮ่องสอน" : // "CH31" : // Mae Hong Son 
      // for Ampor 
       form.SelAmpor.options[1].text = "ขุนยวม" ; 
       form.SelAmpor.options[2].text = "ปางมะผ้า" ; 
       form.SelAmpor.options[3].text = "ปาย" ; 
       form.SelAmpor.options[4].text = "เมืองแม่ฮ่องสอน" ; 
       form.SelAmpor.options[5].text = "แม่ลาน้อย" ; 
       form.SelAmpor.options[6].text = "แม่สะเรียง" ; 
       form.SelAmpor.options[7].text = "สบเมย" ; 
      // for Value 
      nMxAmp=7 ; 
      break; 
 
      case "ยโสธร" : // "CH55" : // Yasothon 
      // for Ampor 
       form.SelAmpor.options[1].text = "กุดชุม" ; 
       form.SelAmpor.options[2].text = "ค้อวัง" ; 
       form.SelAmpor.options[3].text = "คำเขื่อนแก้ว" ; 
       form.SelAmpor.options[4].text = "ทรายมูล" ; 
       form.SelAmpor.options[5].text = "ไทยเจริญ" ; 
       form.SelAmpor.options[6].text = "ป่าติ้ว" ; 
       form.SelAmpor.options[7].text = "มหาชนะชัย" ; 
       form.SelAmpor.options[8].text = "เมืองยโสธร" ; 
       form.SelAmpor.options[9].text = "เลิงนกทา" ; 
      // for Value 
      nMxAmp=9 ; 
      break; 
 
      case "ยะลา" : // "CH75" : // Yala 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอกรงปีนัง" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอกาบัง" ; 
       form.SelAmpor.options[3].text = "ธารโต" ; 
       form.SelAmpor.options[4].text = "บันนังสตา" ; 
       form.SelAmpor.options[5].text = "เบตง" ; 
       form.SelAmpor.options[6].text = "เมืองยะลา" ; 
       form.SelAmpor.options[7].text = "ยะหา" ; 
       form.SelAmpor.options[8].text = "รามัน" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "ร้อยเอ็ด" : // "CH59" : // Roi Et 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอเชียงขวัญ" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอทุ่งเขาหลวง" ; 
       form.SelAmpor.options[3].text = "กิ่งอำเภอหนองฮี" ; 
       form.SelAmpor.options[4].text = "เกษตรวิสัย" ; 
       form.SelAmpor.options[5].text = "จตุรพักตร์พิมาน" ; 
       form.SelAmpor.options[6].text = "จังหาร" ; 
       form.SelAmpor.options[7].text = "ธวัชบุรี" ; 
       form.SelAmpor.options[8].text = "ปทุมรัตน์" ; 
       form.SelAmpor.options[9].text = "พนมไพร" ; 
       form.SelAmpor.options[10].text = "โพธิ์ชัย" ; 
       form.SelAmpor.options[11].text = "โพนทราย" ; 
       form.SelAmpor.options[12].text = "โพนทอง" ; 
       form.SelAmpor.options[13].text = "เมยวดี" ; 
       form.SelAmpor.options[14].text = "เมืองร้อยเอ็ด" ; 
       form.SelAmpor.options[15].text = "เมืองสรวง" ; 
       form.SelAmpor.options[16].text = "ศรีสมเด็จ" ; 
       form.SelAmpor.options[17].text = "สุวรรณภูมิ" ; 
       form.SelAmpor.options[18].text = "เสลภูมิ" ; 
       form.SelAmpor.options[19].text = "หนองพอก" ; 
       form.SelAmpor.options[20].text = "อาจสามารถ" ; 
      // for Value 
      nMxAmp=20 ; 
      break; 
 
      case "ระนอง" : // "CH68" : // Ranong 
      // for Ampor 
       form.SelAmpor.options[1].text = "กระบุรี" ; 
       form.SelAmpor.options[2].text = "กะเปอร์" ; 
       form.SelAmpor.options[3].text = "เมืองระนอง" ; 
       form.SelAmpor.options[4].text = "ละอุ่น" ; 
       form.SelAmpor.options[5].text = "สุขสำราญ" ; 
      // for Value 
      nMxAmp=5 ; 
      break; 
 
      case "ระยอง" : // "CH24" : // Rayong 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอเขาชะเมา" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอนิคมพัฒนา" ; 
       form.SelAmpor.options[3].text = "แกลง" ; 
       form.SelAmpor.options[4].text = "บ้านค่าย" ; 
       form.SelAmpor.options[5].text = "บ้านฉาง" ; 
       form.SelAmpor.options[6].text = "ปลวกแดง" ; 
       form.SelAmpor.options[7].text = "เมืองระยอง" ; 
       form.SelAmpor.options[8].text = "วังจันทร์" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "ราชบุรี" : // "CH12" : // Ratchaburi 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอบ้านคา" ; 
       form.SelAmpor.options[2].text = "จอมบึง" ; 
       form.SelAmpor.options[3].text = "ดำเนินสะดวก" ; 
       form.SelAmpor.options[4].text = "บางแพ" ; 
       form.SelAmpor.options[5].text = "บ้านโป่ง" ; 
       form.SelAmpor.options[6].text = "ปากท่อ" ; 
       form.SelAmpor.options[7].text = "โพธาราม" ; 
       form.SelAmpor.options[8].text = "เมืองราชบุรี" ; 
       form.SelAmpor.options[9].text = "วัดเพลง" ; 
       form.SelAmpor.options[10].text = "สวนผึ้ง" ; 
      // for Value 
      nMxAmp=10 ; 
      break; 
 
      case "ลพบุรี" : // "CH11" : // Lop Buri 
      // for Ampor 
       form.SelAmpor.options[1].text = "โคกเจริญ" ; 
       form.SelAmpor.options[2].text = "โคกสำโรง" ; 
       form.SelAmpor.options[3].text = "ชัยบาดาล" ; 
       form.SelAmpor.options[4].text = "ท่าวุ้ง" ; 
       form.SelAmpor.options[5].text = "ท่าหลวง" ; 
       form.SelAmpor.options[6].text = "บ้านหมี่" ; 
       form.SelAmpor.options[7].text = "พัฒนานิคม" ; 
       form.SelAmpor.options[8].text = "เมืองลพบุรี" ; 
       form.SelAmpor.options[9].text = "ลำสนธิ" ; 
       form.SelAmpor.options[10].text = "สระโบสถ์" ; 
       form.SelAmpor.options[11].text = "หนองม่วง" ; 
      // for Value 
      nMxAmp=11 ; 
      break; 
 
      case "ลำปาง" : // "CH29" : // Lampang 
      // for Ampor 
       form.SelAmpor.options[1].text = "เกาะคา" ; 
       form.SelAmpor.options[2].text = "งาว" ; 
       form.SelAmpor.options[3].text = "แจ้ห่ม" ; 
       form.SelAmpor.options[4].text = "เถิน" ; 
       form.SelAmpor.options[5].text = "เมืองปาน" ; 
       form.SelAmpor.options[6].text = "เมืองลำปาง" ; 
       form.SelAmpor.options[7].text = "แม่ทะ" ; 
       form.SelAmpor.options[8].text = "แม่พริก" ; 
       form.SelAmpor.options[9].text = "แม่เมาะ" ; 
       form.SelAmpor.options[10].text = "วังเหนือ" ; 
       form.SelAmpor.options[11].text = "สบปราบ" ; 
       form.SelAmpor.options[12].text = "เสริมงาม" ; 
       form.SelAmpor.options[13].text = "ห้างฉัตร" ; 
      // for Value 
      nMxAmp=13 ; 
      break; 
 
      case "ลำพูน" : // "CH30" : // Lamphun 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอเวียงหนองล่อง" ; 
       form.SelAmpor.options[2].text = "ทุ่งหัวช้าง" ; 
       form.SelAmpor.options[3].text = "บ้านธิ" ; 
       form.SelAmpor.options[4].text = "บ้านโฮ่ง" ; 
       form.SelAmpor.options[5].text = "ป่าซาง" ; 
       form.SelAmpor.options[6].text = "เมืองลำพูน" ; 
       form.SelAmpor.options[7].text = "แม่ทา" ; 
       form.SelAmpor.options[8].text = "ลี้" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "เลย" : // "CH51" : // Loei 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอหนองหิน" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอเอราวัณ" ; 
       form.SelAmpor.options[3].text = "เชียงคาน" ; 
       form.SelAmpor.options[4].text = "ด่านซ้าย" ; 
       form.SelAmpor.options[5].text = "ท่าลี่" ; 
       form.SelAmpor.options[6].text = "นาด้วง" ; 
       form.SelAmpor.options[7].text = "นาแห้ว" ; 
       form.SelAmpor.options[8].text = "ปากชม" ; 
       form.SelAmpor.options[9].text = "ผาขาว" ; 
       form.SelAmpor.options[10].text = "ภูกระดึง" ; 
       form.SelAmpor.options[11].text = "ภูเรือ" ; 
       form.SelAmpor.options[12].text = "ภูหลวง" ; 
       form.SelAmpor.options[13].text = "เมืองเลย" ; 
       form.SelAmpor.options[14].text = "วังสะพุง" ; 
      // for Value 
      nMxAmp=14 ; 
      break; 
 
      case "ศรีสะเกษ" : // "CH49" : // Si Sa Ket 
      // for Ampor 
       form.SelAmpor.options[1].text = "กันทรลักษ์" ; 
       form.SelAmpor.options[2].text = "กันทรารมย์" ; 
       form.SelAmpor.options[3].text = "กิ่งอำเภอพยุห์" ; 
       form.SelAmpor.options[4].text = "กิ่งอำเภอเมืองจันทร์" ; 
       form.SelAmpor.options[5].text = "กิ่งอำเภอศิลาลาด" ; 
       form.SelAmpor.options[6].text = "ขุขันธ์" ; 
       form.SelAmpor.options[7].text = "ขุนหาญ" ; 
       form.SelAmpor.options[8].text = "น้ำเกลี้ยง" ; 
       form.SelAmpor.options[9].text = "โนนคูน" ; 
       form.SelAmpor.options[10].text = "บึงบูรพ์" ; 
       form.SelAmpor.options[11].text = "เบญจลักษ์" ; 
       form.SelAmpor.options[12].text = "ปรางค์กู่" ; 
       form.SelAmpor.options[13].text = "โพธิ์ศรีสุวรรณ" ; 
       form.SelAmpor.options[14].text = "ไพรบึง" ; 
       form.SelAmpor.options[15].text = "ภูสิงห์" ; 
       form.SelAmpor.options[16].text = "เมืองศรีสะเกษ" ; 
       form.SelAmpor.options[17].text = "ยางขุมน้อย" ; 
       form.SelAmpor.options[18].text = "ราษีไศล" ; 
       form.SelAmpor.options[19].text = "วังหิน" ; 
       form.SelAmpor.options[20].text = "ศรีรัตนะ" ; 
       form.SelAmpor.options[21].text = "ห้วยทับทัน" ; 
       form.SelAmpor.options[22].text = "อุทุมพรพิสัย" ; 
      // for Value 
      nMxAmp=22 ; 
      break; 
 
      case "สกลนคร" : // "CH47" : // Sakon Nakhon 
      // for Ampor 
       form.SelAmpor.options[1].text = "กุดบาก" ; 
       form.SelAmpor.options[2].text = "กุสุมาลย์" ; 
       form.SelAmpor.options[3].text = "คำตากล้า" ; 
       form.SelAmpor.options[4].text = "โคกศรีสุพรรณ" ; 
       form.SelAmpor.options[5].text = "เจริญศิลป์" ; 
       form.SelAmpor.options[6].text = "เต่างอย" ; 
       form.SelAmpor.options[7].text = "นิคมน้ำอูม" ; 
       form.SelAmpor.options[8].text = "บ้านม่วง" ; 
       form.SelAmpor.options[9].text = "พรรณานิคม" ; 
       form.SelAmpor.options[10].text = "พังโคน" ; 
       form.SelAmpor.options[11].text = "โพนนาแก้ว" ; 
       form.SelAmpor.options[12].text = "ภูพาน" ; 
       form.SelAmpor.options[13].text = "เมืองสกลนคร" ; 
       form.SelAmpor.options[14].text = "วานรนิวาส" ; 
       form.SelAmpor.options[15].text = "วาริชภูมิ" ; 
       form.SelAmpor.options[16].text = "สว่างแดนดิน" ; 
       form.SelAmpor.options[17].text = "ส่องดาว" ; 
       form.SelAmpor.options[18].text = "อากาศอำนวย" ; 
      // for Value 
      nMxAmp=18 ; 
      break; 
 
      case "สงขลา" : // "CH65" : // Songkhla 
      // for Ampor 
       form.SelAmpor.options[1].text = "กระแสสินธ์" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอคลองหอยโข่ง" ; 
       form.SelAmpor.options[3].text = "ควนเนียง" ; 
       form.SelAmpor.options[4].text = "จะนะ" ; 
       form.SelAmpor.options[5].text = "เทพา" ; 
       form.SelAmpor.options[6].text = "นาทวี" ; 
       form.SelAmpor.options[7].text = "นาหม่อม" ; 
       form.SelAmpor.options[8].text = "บางกล่ำ" ; 
       form.SelAmpor.options[9].text = "เมืองสงขลา" ; 
       form.SelAmpor.options[10].text = "ระโนด" ; 
       form.SelAmpor.options[11].text = "รัตภูมิ" ; 
       form.SelAmpor.options[12].text = "สทิงพระ" ; 
       form.SelAmpor.options[13].text = "สะเดา" ; 
       form.SelAmpor.options[14].text = "สะบ้าย้อย" ; 
       form.SelAmpor.options[15].text = "สิงหนคร" ; 
       form.SelAmpor.options[16].text = "หาดใหญ่" ; 
      // for Value 
      nMxAmp=16 ; 
      break; 
 
      case "สตูล" : // "CH72" : // Satun 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอมะนัง" ; 
       form.SelAmpor.options[2].text = "ควนกาหลง" ; 
       form.SelAmpor.options[3].text = "ควนโดน" ; 
       form.SelAmpor.options[4].text = "ท่าแพ" ; 
       form.SelAmpor.options[5].text = "ทุ่งหว้า" ; 
       form.SelAmpor.options[6].text = "เมืองสตูล" ; 
       form.SelAmpor.options[7].text = "ละงู" ; 
      // for Value 
      nMxAmp=7 ; 
      break; 
 
      case "สมุทรปราการ" : // "CH5" : // Samut Prakan 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอบางเสาธง" ; 
       form.SelAmpor.options[2].text = "บางบ่อ" ; 
       form.SelAmpor.options[3].text = "บางพลี" ; 
       form.SelAmpor.options[4].text = "พระประแดง" ; 
       form.SelAmpor.options[5].text = "พระสมุทรเจดีย์" ; 
       form.SelAmpor.options[6].text = "เมืองสมุทรปราการ" ; 
      // for Value 
      nMxAmp=6 ; 
      break; 
 
      case "สมุทรสงคราม" : // "CH13" : // Samut Songkhram 
      // for Ampor 
       form.SelAmpor.options[1].text = "บางคนที" ; 
       form.SelAmpor.options[2].text = "เมืองสมุทรสงคราม" ; 
       form.SelAmpor.options[3].text = "อัมพวา" ; 
      // for Value 
      nMxAmp=3 ; 
      break; 
 
      case "สมุทรสาคร" : // "CH6" : // Samut Sakhon 
      // for Ampor 
       form.SelAmpor.options[1].text = "กระทุ่มแบน" ; 
       form.SelAmpor.options[2].text = "บ้านแพ้ว" ; 
       form.SelAmpor.options[3].text = "เมืองสมุทรสาคร" ; 
      // for Value 
      nMxAmp=3 ; 
      break; 
 
      case "สระแก้ว" : // "CH26" : // Sakaeo 
      // for Ampor 
       form.SelAmpor.options[1].text = "เขาฉกรรจ์" ; 
       form.SelAmpor.options[2].text = "คลองหาด" ; 
       form.SelAmpor.options[3].text = "โคกสูง" ; 
       form.SelAmpor.options[4].text = "ตาพระยา" ; 
       form.SelAmpor.options[5].text = "เมืองสระแก้ว" ; 
       form.SelAmpor.options[6].text = "วังน้ำเย็น" ; 
       form.SelAmpor.options[7].text = "วังสมบูรณ์" ; 
       form.SelAmpor.options[8].text = "วัฒนานคร" ; 
       form.SelAmpor.options[9].text = "อรัญประเทศ" ; 
      // for Value 
      nMxAmp=9 ; 
      break; 
 
      case "สระบุรี" : // "CH10" : // Saraburi 
      // for Ampor 
       form.SelAmpor.options[1].text = "แก่งคอย" ; 
       form.SelAmpor.options[2].text = "เฉลิมพระเกียรติ" ; 
       form.SelAmpor.options[3].text = "ดอนพุด" ; 
       form.SelAmpor.options[4].text = "บ้านหม้อ" ; 
       form.SelAmpor.options[5].text = "พระพุทธบาท" ; 
       form.SelAmpor.options[6].text = "มวกเหล็ก" ; 
       form.SelAmpor.options[7].text = "เมืองสระบุรี" ; 
       form.SelAmpor.options[8].text = "วังม่วง" ; 
       form.SelAmpor.options[9].text = "วิหารแดง" ; 
       form.SelAmpor.options[10].text = "เสาไห้" ; 
       form.SelAmpor.options[11].text = "หนองแค" ; 
       form.SelAmpor.options[12].text = "หนองแซง" ; 
       form.SelAmpor.options[13].text = "หนองโดน" ; 
      // for Value 
      nMxAmp=13 ; 
      break; 
 
      case "สิงห์บุรี" : // "CH19" : // Sing Buri 
      // for Ampor 
       form.SelAmpor.options[1].text = "ค่ายบางระจัน" ; 
       form.SelAmpor.options[2].text = "ท่าช้าง" ; 
       form.SelAmpor.options[3].text = "บางระจัน" ; 
       form.SelAmpor.options[4].text = "พรหมบุรี" ; 
       form.SelAmpor.options[5].text = "เมืองสิงห์บุรี" ; 
       form.SelAmpor.options[6].text = "อินทร์บุรี" ; 
      // for Value 
      nMxAmp=6 ; 
      break; 
 
      case "สุโขทัย" : // "CH32" : // Sukhothai 
      // for Ampor 
       form.SelAmpor.options[1].text = "กงไกรลาศ" ; 
       form.SelAmpor.options[2].text = "คีรีมาศ" ; 
       form.SelAmpor.options[3].text = "ทุ่งเสลี่ยม" ; 
       form.SelAmpor.options[4].text = "บ้านด่านลานหอย" ; 
       form.SelAmpor.options[5].text = "เมืองสุโขทัย" ; 
       form.SelAmpor.options[6].text = "ศรีนคร" ; 
       form.SelAmpor.options[7].text = "ศรีสัชนาลัย" ; 
       form.SelAmpor.options[8].text = "ศรีสำโรง" ; 
       form.SelAmpor.options[9].text = "สรรคโลก" ; 
      // for Value 
      nMxAmp=9 ; 
      break; 
 
      case "สุพรรณบุรี" : // "CH17" : // Suphan Buri 
      // for Ampor 
       form.SelAmpor.options[1].text = "ดอนเจดีย์" ; 
       form.SelAmpor.options[2].text = "ด่านช้าง" ; 
       form.SelAmpor.options[3].text = "เดิมบางนางบวช" ; 
       form.SelAmpor.options[4].text = "บางปลาม้า" ; 
       form.SelAmpor.options[5].text = "เมืองสุพรรณบุรี" ; 
       form.SelAmpor.options[6].text = "ศรีประจันต์" ; 
       form.SelAmpor.options[7].text = "สองพี่น้อง" ; 
       form.SelAmpor.options[8].text = "สามชุก" ; 
       form.SelAmpor.options[9].text = "หนองหญ้าไซ" ; 
       form.SelAmpor.options[10].text = "อู่ทอง" ; 
      // for Value 
      nMxAmp=10 ; 
      break; 
 
      case "สุราษฎร์ธานี" : // "CH63" : // Surat Thani 
      // for Ampor 
       form.SelAmpor.options[1].text = "กาญจนดิษฐ์" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอวิภาวดี" ; 
       form.SelAmpor.options[3].text = "เกาะพงัน" ; 
       form.SelAmpor.options[4].text = "เกาะสมุย" ; 
       form.SelAmpor.options[5].text = "คีรีรัฐนิคม" ; 
       form.SelAmpor.options[6].text = "เคียนซา" ; 
       form.SelAmpor.options[7].text = "ชัยบุรี" ; 
       form.SelAmpor.options[8].text = "ไชยา" ; 
       form.SelAmpor.options[9].text = "ดอนสัก" ; 
       form.SelAmpor.options[10].text = "ท่าฉาง" ; 
       form.SelAmpor.options[11].text = "ท่าชนะ" ; 
       form.SelAmpor.options[12].text = "บ้านตาขุน" ; 
       form.SelAmpor.options[13].text = "บ้านนาเดิม" ; 
       form.SelAmpor.options[14].text = "บ้านนาสาร" ; 
       form.SelAmpor.options[15].text = "พนม" ; 
       form.SelAmpor.options[16].text = "พระแสง" ; 
       form.SelAmpor.options[17].text = "พุนพิน" ; 
       form.SelAmpor.options[18].text = "เมืองสุราษฎร์ธานี" ; 
       form.SelAmpor.options[19].text = "เวียงสระ" ; 
      // for Value 
      nMxAmp=19 ; 
      break; 
 
      case "สุรินทร์" : // "CH56" : // Surin 
      // for Ampor 
       form.SelAmpor.options[1].text = "กาบเชิง" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอเขวาสินริทร์" ; 
       form.SelAmpor.options[3].text = "กิ่งอำเภอโนนนารายณ์" ; 
       form.SelAmpor.options[4].text = "กิ่งอำเภอพนมดงรัก" ; 
       form.SelAmpor.options[5].text = "กิ่งอำเภอศรีณรงค์" ; 
       form.SelAmpor.options[6].text = "จอมพระ" ; 
       form.SelAmpor.options[7].text = "ชุมพลบุรี" ; 
       form.SelAmpor.options[8].text = "ท่าตูม" ; 
       form.SelAmpor.options[9].text = "บัวเชด" ; 
       form.SelAmpor.options[10].text = "ปราสาท" ; 
       form.SelAmpor.options[11].text = "เมืองสุรินทร์" ; 
       form.SelAmpor.options[12].text = "รัตนบุรี" ; 
       form.SelAmpor.options[13].text = "ลำดวน" ; 
       form.SelAmpor.options[14].text = "ศีขรภูมิ" ; 
       form.SelAmpor.options[15].text = "สนม" ; 
       form.SelAmpor.options[16].text = "สังขะ" ; 
       form.SelAmpor.options[17].text = "สำโรงทาบ" ; 
      // for Value 
      nMxAmp=17 ; 
      break; 
 
      case "หนองคาย" : // "CH52" : // Nong Khai 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่ง อ. โพธิ์ตาก" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอเฝ้าไร่" ; 
       form.SelAmpor.options[3].text = "กิ่งอำเภอรัตนวาปี" ; 
       form.SelAmpor.options[4].text = "กิ่งอำเภอสระใคร" ; 
       form.SelAmpor.options[5].text = "เซกา" ; 
       form.SelAmpor.options[6].text = "โซ่พิสัย" ; 
       form.SelAmpor.options[7].text = "ท่าบ่อ" ; 
       form.SelAmpor.options[8].text = "บึงกาฬ" ; 
       form.SelAmpor.options[9].text = "บึงโขงหลง" ; 
       form.SelAmpor.options[10].text = "บุ่งคล้า" ; 
       form.SelAmpor.options[11].text = "ปากคาด" ; 
       form.SelAmpor.options[12].text = "พรเจริญ" ; 
       form.SelAmpor.options[13].text = "โพนพิสัย" ; 
       form.SelAmpor.options[14].text = "เมืองหนองคาย" ; 
       form.SelAmpor.options[15].text = "ศรีเชียงใหม่" ; 
       form.SelAmpor.options[16].text = "ศรีวิไล" ; 
       form.SelAmpor.options[17].text = "สังคม" ; 
      // for Value 
      nMxAmp=17 ; 
      break; 
 
      case "หนองบัวลำภู" : // "CH62" : // Nong Bua Lamphu 
      // for Ampor 
       form.SelAmpor.options[1].text = "นากลาง" ; 
       form.SelAmpor.options[2].text = "นาวัง" ; 
       form.SelAmpor.options[3].text = "โนนสัง" ; 
       form.SelAmpor.options[4].text = "เมืองหนองบัวลำภู" ; 
       form.SelAmpor.options[5].text = "ศรีบุญเรือง" ; 
       form.SelAmpor.options[6].text = "สุวรรณคูหา" ; 
      // for Value 
      nMxAmp=6 ; 
      break; 
 
      case "อ่างทอง" : // "CH18" : // Ang Thong 
      // for Ampor 
       form.SelAmpor.options[1].text = "ไชโย" ; 
       form.SelAmpor.options[2].text = "ป่าโมก" ; 
       form.SelAmpor.options[3].text = "โพธิ์ทอง" ; 
       form.SelAmpor.options[4].text = "เมืองอ่างทอง" ; 
       form.SelAmpor.options[5].text = "วิเศษชัยชาญ" ; 
       form.SelAmpor.options[6].text = "สามโก้" ; 
       form.SelAmpor.options[7].text = "แสวงหา" ; 
      // for Value 
      nMxAmp=7 ; 
      break; 
 
      case "อำนาจเจริญ" : // "CH61" : // Amnat Charoen 
      // for Ampor 
       form.SelAmpor.options[1].text = "ชานุมาน" ; 
       form.SelAmpor.options[2].text = "ปทุมราชวงศา" ; 
       form.SelAmpor.options[3].text = "พนา" ; 
       form.SelAmpor.options[4].text = "เมืองอำนาจเจริญ" ; 
       form.SelAmpor.options[5].text = "ลืออำนาจ" ; 
       form.SelAmpor.options[6].text = "เสนางคนิคม" ; 
       form.SelAmpor.options[7].text = "หัวตะพาน" ; 
      // for Value 
      nMxAmp=7 ; 
      break; 
 
      case "อุดรธานี" : // "CH46" : // Udon Thani 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอกู่แก้ว" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอประจักษ์ศิลปาคม" ; 
       form.SelAmpor.options[3].text = "กุดจับ" ; 
       form.SelAmpor.options[4].text = "กุมภวาปี" ; 
       form.SelAmpor.options[5].text = "ไชยวาน" ; 
       form.SelAmpor.options[6].text = "ทุ่งฝน" ; 
       form.SelAmpor.options[7].text = "นายูง" ; 
       form.SelAmpor.options[8].text = "น้ำโสม" ; 
       form.SelAmpor.options[9].text = "โนนสะอาด" ; 
       form.SelAmpor.options[10].text = "บ้านดุง" ; 
       form.SelAmpor.options[11].text = "บ้านผือ" ; 
       form.SelAmpor.options[12].text = "พิบูลรักษ์" ; 
       form.SelAmpor.options[13].text = "เพ็ญ" ; 
       form.SelAmpor.options[14].text = "เมืองอุดรธานี" ; 
       form.SelAmpor.options[15].text = "วังสามหมอ" ; 
       form.SelAmpor.options[16].text = "ศรีธาตุ" ; 
       form.SelAmpor.options[17].text = "สร้างคอม" ; 
       form.SelAmpor.options[18].text = "หนองวัวซอ" ; 
       form.SelAmpor.options[19].text = "หนองแสง" ; 
       form.SelAmpor.options[20].text = "หนองหาน" ; 
      // for Value 
      nMxAmp=20 ; 
      break; 
 
      case "อุตรดิตถ์" : // "CH39" : // Uttaradit 
      // for Ampor 
       form.SelAmpor.options[1].text = "ตรอน" ; 
       form.SelAmpor.options[2].text = "ท่าปลา" ; 
       form.SelAmpor.options[3].text = "น้ำปาด" ; 
       form.SelAmpor.options[4].text = "บ้านโคก" ; 
       form.SelAmpor.options[5].text = "พิชัย" ; 
       form.SelAmpor.options[6].text = "ฟากท่า" ; 
       form.SelAmpor.options[7].text = "เมืองอุตรดิตถ์" ; 
       form.SelAmpor.options[8].text = "ลับแล" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "อุทัยธานี" : // "CH42" : // Uthai Thani 
      // for Ampor 
       form.SelAmpor.options[1].text = "ทัพทัน" ; 
       form.SelAmpor.options[2].text = "บ้านไร่" ; 
       form.SelAmpor.options[3].text = "เมืองอุทัยธานี" ; 
       form.SelAmpor.options[4].text = "ลานสัก" ; 
       form.SelAmpor.options[5].text = "สว่างอารมณ์" ; 
       form.SelAmpor.options[6].text = "หนองขาหย่าง" ; 
       form.SelAmpor.options[7].text = "หนองฉาง" ; 
       form.SelAmpor.options[8].text = "ห้วยคต" ; 
      // for Value 
      nMxAmp=8 ; 
      break; 
 
      case "อุบลราชธานี" : // "CH48" : // Ubon Ratchathani 
      // for Ampor 
       form.SelAmpor.options[1].text = "กิ่งอำเภอนาตาล" ; 
       form.SelAmpor.options[2].text = "กิ่งอำเภอนาเยีย" ; 
       form.SelAmpor.options[3].text = "กิ่งอำเภอสว่างวีระวงศ์" ; 
       form.SelAmpor.options[4].text = "กิ่งอำเภอเหล่าเสือโก้ก" ; 
       form.SelAmpor.options[5].text = "กุดข้าวปุ้น" ; 
       form.SelAmpor.options[6].text = "เขมราฐ" ; 
       form.SelAmpor.options[7].text = "เขื่องใน" ; 
       form.SelAmpor.options[8].text = "โขงเจียม" ; 
       form.SelAmpor.options[9].text = "ดอนมดแดง" ; 
       form.SelAmpor.options[10].text = "เดชอุดม" ; 
       form.SelAmpor.options[11].text = "ตระกาลพืชผล" ; 
       form.SelAmpor.options[12].text = "ตาลสุม" ; 
       form.SelAmpor.options[13].text = "ทุ่งศรีอุดม" ; 
       form.SelAmpor.options[14].text = "นาจะหลวย" ; 
       form.SelAmpor.options[15].text = "น้ำขุ่น" ; 
       form.SelAmpor.options[16].text = "น้ำยืน" ; 
       form.SelAmpor.options[17].text = "บุณฑริก" ; 
       form.SelAmpor.options[18].text = "พิบูลมังสาหาร" ; 
       form.SelAmpor.options[19].text = "โพธิ์ไทร" ; 
       form.SelAmpor.options[20].text = "ม่วงสามสิบ" ; 
       form.SelAmpor.options[21].text = "เมืองอุบลราชธานี" ; 
       form.SelAmpor.options[22].text = "วารินชำราบ" ; 
       form.SelAmpor.options[23].text = "ศรีเมืองใหม่" ; 
       form.SelAmpor.options[24].text = "สำโรง" ; 
       form.SelAmpor.options[25].text = "สิรินธร" ; 
      // for Value 
      nMxAmp=25 ; 
      break; 
 
     }  
     for (var ic=1 ;ic< (nMxAmp+1) ;ic++) {  
    form.SelAmpor.options[ic].value = form.SelAmpor.options[ic].text ; 
    } 
  } 
} 
 
 
 
 
 
