﻿//...Woo young.lee..Making..20003.01.25...//

var ssgroups = document.getElementById("__sel_sido_code").options.length;
var ssgroup = new Array(ssgroups);

for (var i = 0; i < ssgroups; i++)  ssgroup[i] = new Array();

ssgroup[1][0]= new Option("시/군/구 선택","")
ssgroup[1][1]= new Option("강남구","http://gangnam.eminwon.seoul.kr")
ssgroup[1][2]= new Option("강동구","http://kangdong.eminwon.seoul.kr")
ssgroup[1][3]= new Option("강북구","http://gangbuk.eminwon.seoul.kr")
ssgroup[1][4]= new Option("강서구","http://gangseo.eminwon.seoul.kr")
ssgroup[1][5]= new Option("관악구","http://gwanakgu.eminwon.seoul.kr")
ssgroup[1][6]= new Option("광진구","http://gwangjin.eminwon.seoul.kr")
ssgroup[1][7]= new Option("구로구","http://eminwon.guro.go.kr")
ssgroup[1][8]= new Option("금천구","http://geumcheon.eminwon.seoul.kr")
ssgroup[1][9]= new Option("노원구","http://nowon.eminwon.seoul.kr")
ssgroup[1][10]= new Option("도봉구","http://dobong.eminwon.seoul.kr")
ssgroup[1][11]= new Option("동대문구","http://ddm.eminwon.seoul.kr")
ssgroup[1][12]= new Option("동작구","http://dongjak.eminwon.seoul.kr")
ssgroup[1][13]= new Option("마포구","http://mapo.eminwon.seoul.kr")
ssgroup[1][14]= new Option("서대문구","http://seodaemun.eminwon.seoul.kr")
ssgroup[1][15]= new Option("서초구","http://seocho.eminwon.seoul.kr")
ssgroup[1][16]= new Option("성동구","http://seongdong.eminwon.seoul.kr")
ssgroup[1][17]= new Option("성북구","http://seongbuk.eminwon.seoul.kr")
ssgroup[1][18]= new Option("송파구","http://songpa.eminwon.seoul.kr")
ssgroup[1][19]= new Option("양천구","http://yangcheon.eminwon.seoul.kr")
ssgroup[1][20]= new Option("영등포구","http://yeongdeungpo.eminwon.seoul.kr")
ssgroup[1][21]= new Option("용산구","http://yongsan.eminwon.seoul.kr")
ssgroup[1][22]= new Option("은평구","http://eunpyeong.eminwon.seoul.kr")
ssgroup[1][23]= new Option("종로구","http://jongno.eminwon.seoul.kr")
ssgroup[1][24]= new Option("중구","http://junggu.eminwon.seoul.kr")
ssgroup[1][25]= new Option("중랑구","http://jungnang.eminwon.seoul.kr")

ssgroup[2][0]= new Option("시/군/구 선택","")
ssgroup[2][1]= new Option("강서구","http://eminwon.bsgangseo.go.kr")
ssgroup[2][2]= new Option("금정구","http://eminwon.geumjeong.go.kr")
ssgroup[2][3]= new Option("기장군","http://eminwon.gijang.go.kr")
ssgroup[2][4]= new Option("남구","http://eminwon.bsnamgu.go.kr")
ssgroup[2][5]= new Option("동구","http://eminwon.bsdonggu.go.kr")
ssgroup[2][6]= new Option("동래구","http://eminwon.dongnae.go.kr")
ssgroup[2][7]= new Option("부산진구","http://eminwon.busanjin.go.kr")
ssgroup[2][8]= new Option("북구","http://eminwon.bsbukgu.go.kr")
ssgroup[2][9]= new Option("사상구","http://eminwon.sasang.go.kr")
ssgroup[2][10]= new Option("사하구","http://eminwon.saha.go.kr")
ssgroup[2][11]= new Option("서구","http://eminwon.bsseogu.go.kr")
ssgroup[2][12]= new Option("수영구","http://eminwon.suyeong.go.kr")
ssgroup[2][13]= new Option("연제구","http://eminwon.yeonje.go.kr")
ssgroup[2][14]= new Option("영도구","http://eminwon.yeongdo.go.kr")
ssgroup[2][15]= new Option("중구","http://eminwon.bsjunggu.go.kr")
ssgroup[2][16]= new Option("해운대구","http://eminwon.haeundae.go.kr")

ssgroup[3][0]= new Option("시/군/구 선택","")
ssgroup[3][1]= new Option("남구","http://eminwon.nam.daegu.kr")
ssgroup[3][2]= new Option("달서구","http://eminwon.dalseo.daegu.kr")
ssgroup[3][3]= new Option("달성군","http://eminwon.dalseong.daegu.kr")
ssgroup[3][4]= new Option("동구","http://eminwon.dong.daegu.kr")
ssgroup[3][5]= new Option("북구","http://eminwon.buk.daegu.kr")
ssgroup[3][6]= new Option("서구","http://eminwon.seogu.daegu.kr")
ssgroup[3][7]= new Option("수성구","http://eminwon.suseong.daegu.kr")
ssgroup[3][8]= new Option("중구","http://eminwon.jung.daegu.kr")

ssgroup[4][0]= new Option("시/군/구 선택","")
ssgroup[4][1]= new Option("강화군","http://eminwon.ganghwa.incheon.kr")
ssgroup[4][2]= new Option("계양구","http://eminwon.gyeyang.go.kr")
ssgroup[4][3]= new Option("남구","http://eminwon.namgu.incheon.kr")
ssgroup[4][4]= new Option("남동구","http://eminwon.namdong.go.kr")
ssgroup[4][5]= new Option("동구","http://eminwon.icdonggu.go.kr")
ssgroup[4][6]= new Option("부평구","http://eminwon.icbp.go.kr")
ssgroup[4][7]= new Option("서구","http://eminwon.seo.incheon.kr")
ssgroup[4][8]= new Option("연수구","http://eminwon.yeonsu.go.kr")
ssgroup[4][9]= new Option("옹진군","http://eminwon.ongjin.incheon.kr")
ssgroup[4][10]= new Option("중구","http://eminwon.icjg.go.kr")

ssgroup[5][0]= new Option("시/군/구 선택","")
ssgroup[5][1]= new Option("광산구","http://eminwon.gwangsan.go.kr")
ssgroup[5][2]= new Option("남구","http://eminwon.namgu.gwangju.kr")
ssgroup[5][3]= new Option("동구","http://eminwon.donggu.gwangju.kr")
ssgroup[5][4]= new Option("북구","http://eminwon.bukgu.gwangju.kr")
ssgroup[5][5]= new Option("서구","http://eminwon.seogu.gwangju.kr")

ssgroup[6][0]= new Option("시/군/구 선택","")
ssgroup[6][1]= new Option("대덕구","http://eminwon.daedeok.go.kr")
ssgroup[6][2]= new Option("동구","http://eminwon.donggu.go.kr")
ssgroup[6][3]= new Option("서구","http://eminwon.seogu.daejeon.kr")
ssgroup[6][4]= new Option("유성구","http://eminwon.yuseong.daejeon.kr")
ssgroup[6][5]= new Option("중구","http://eminwon.djjunggu.go.kr")

ssgroup[7][0]= new Option("시/군/구 선택","")
ssgroup[7][1]= new Option("남구","http://eminwon.namgu.ulsan.kr")
ssgroup[7][2]= new Option("동구","http://eminwon.donggu.ulsan.kr")
ssgroup[7][3]= new Option("북구","http://eminwon.bukgu.ulsan.kr")
ssgroup[7][4]= new Option("울주군","http://eminwon.ulju.ulsan.kr")
ssgroup[7][5]= new Option("중구","http://eminwon.junggu.ulsan.kr")

ssgroup[8][0]= new Option("시/군/구 선택","")
ssgroup[8][1]= new Option("가평군","http://eminwon.ga21.net")
ssgroup[8][2]= new Option("고양시","http://eminwon.goyang.go.kr")
ssgroup[8][3]= new Option("과천시","http://eminwon.gccity.go.kr")
ssgroup[8][4]= new Option("광명시","http://eminwon.gm.go.kr")
ssgroup[8][5]= new Option("광주시","http://eminwon.gjcity.go.kr")
ssgroup[8][6]= new Option("구리시","http://eminwon.guri.go.kr")
ssgroup[8][7]= new Option("군포시","http://eminwon.gunpo21.net")
ssgroup[8][8]= new Option("김포시","http://eminwon.gimpo.go.kr")
ssgroup[8][9]= new Option("남양주시","http://eminwon.nyj.go.kr")
ssgroup[8][10]= new Option("동두천시","http://eminwon.ddc21.net")
ssgroup[8][11]= new Option("부천시","http://eminwon.bucheonsi.com")
ssgroup[8][12]= new Option("성남시","http://eminwon.cans21.net")
ssgroup[8][13]= new Option("수원시","http://eminwon.suwon.ne.kr")
ssgroup[8][14]= new Option("시흥시","http://eminwon.siheung.go.kr")
ssgroup[8][15]= new Option("안산시","http://eminwon.iansan.net")
ssgroup[8][16]= new Option("안성시","http://eminwon.anseong.go.kr")
ssgroup[8][17]= new Option("안양시","http://eminwon.anyang.go.kr")
ssgroup[8][18]= new Option("양주시","http://eminwon.yj.go.kr")
ssgroup[8][19]= new Option("양평군","http://eminwon.yp21.net")
ssgroup[8][20]= new Option("여주군","http://eminwon.yeoju.gyeonggi.kr")
ssgroup[8][21]= new Option("연천군","http://eminwon.iyc21.net")
ssgroup[8][22]= new Option("오산시","http://eminwon.osan.go.kr")
ssgroup[8][23]= new Option("용인시","http://eminwon.yonginsi.net")
ssgroup[8][24]= new Option("의왕시","http://eminwon.uw21.net")
ssgroup[8][25]= new Option("의정부시","http://eminwon.ui4u.net")
ssgroup[8][26]= new Option("이천시","http://eminwon.icheon.go.kr")
ssgroup[8][27]= new Option("파주시","http://eminwon.pajuro.net")
ssgroup[8][28]= new Option("평택시","http://eminwon.pyeongtaek.go.kr")
ssgroup[8][29]= new Option("포천시","http://eminwon.pcs21.net")
ssgroup[8][30]= new Option("하남시","http://eminwon.hanam.gyeonggi.kr")
ssgroup[8][31]= new Option("화성시","http://eminwon.hscity.net")

ssgroup[9][0]= new Option("시/군/구 선택","")
ssgroup[9][1]= new Option("강릉시","http://eminwon.gangneung.go.kr")
ssgroup[9][2]= new Option("고성군","http://eminwon.goseong.org")
ssgroup[9][3]= new Option("동해시","http://eminwon.donghae.gangwon.kr")
ssgroup[9][4]= new Option("삼척시","http://eminwon.samcheok.go.kr")
ssgroup[9][5]= new Option("속초시","http://eminwon.sokcho.gangwon.kr")
ssgroup[9][6]= new Option("양구군","http://eminwon.yanggu.gangwon.kr")
ssgroup[9][7]= new Option("양양군","http://eminwon.yangyang.gangwon.kr")
ssgroup[9][8]= new Option("영월군","http://eminwon.yw.go.kr")
ssgroup[9][9]= new Option("원주시","http://eminwon.wonju.go.kr")
ssgroup[9][10]= new Option("인제군","http://eminwon.inje.go.kr")
ssgroup[9][11]= new Option("정선군","http://eminwon.jeongseon.go.kr")
ssgroup[9][12]= new Option("철원군","http://eminwon.cwg.go.kr")
ssgroup[9][13]= new Option("춘천시","http://eminwon.chuncheon.go.kr")
ssgroup[9][14]= new Option("태백시","http://eminwon.taebaek.go.kr")
ssgroup[9][15]= new Option("평창군","http://eminwon.pyeongchang.gangwon.kr")
ssgroup[9][16]= new Option("홍천군","http://eminwon.hongcheon.gangwon.kr")
ssgroup[9][17]= new Option("화천군","http://eminwon.ihc.go.kr")
ssgroup[9][18]= new Option("횡성군","http://eminwon.hsg.go.kr")

ssgroup[10][0 ] = new Option("시/군/구 선택","")
ssgroup[10][1]= new Option("괴산군","http://eminwon.cbgs.net")
ssgroup[10][2]= new Option("단양군","http://eminwon.dy21.net")
ssgroup[10][3]= new Option("보은군","http://eminwon.boeun.chungbuk.kr")
ssgroup[10][4]= new Option("영동군","http://eminwon.yeongdong.chungbuk.kr")
ssgroup[10][5]= new Option("옥천군","http://eminwon.oc.go.kr")
ssgroup[10][6]= new Option("음성군","http://eminwon.es21.net")
ssgroup[10][7]= new Option("제천시","http://eminwon.jecheon.chungbuk.kr")
ssgroup[10][8]= new Option("증평군","http://eminwon.cbjp21.net")
ssgroup[10][9]= new Option("진천군","http://eminwon.jincheon.go.kr")
ssgroup[10][10]= new Option("청원군","http://eminwon.puru.net")
ssgroup[10][11]= new Option("청주시","http://eminwon.cheongju.go.kr")
ssgroup[10][12]= new Option("충주시","http://eminwon.cj100.net")

ssgroup[11][0]= new Option("시/군/구 선택","")
ssgroup[11][1]= new Option("계룡시","http://eminwon.gyeryong.go.kr")
ssgroup[11][2]= new Option("공주시","http://eminwon.gongju.go.kr")
ssgroup[11][3]= new Option("금산군","http://eminwon.geumsan.go.kr")
ssgroup[11][4]= new Option("논산시","http://eminwon.nonsan21.net")
ssgroup[11][5]= new Option("당진군","http://eminwon.dangjin.go.kr")
ssgroup[11][6]= new Option("보령시","http://eminwon.boryeong.chungnam.kr")
ssgroup[11][7]= new Option("부여군","http://eminwon.buyeo.go.kr")
ssgroup[11][8]= new Option("서산시","http://eminwon.seosan.go.kr")
ssgroup[11][9]= new Option("서천군","http://eminwon.seocheon.go.kr")
ssgroup[11][10]= new Option("아산시","http://eminwon.asan.go.kr")
ssgroup[11][11]= new Option("연기군","http://eminwon.yeongi.go.kr")
ssgroup[11][12]= new Option("예산군","http://eminwon.yesan.go.kr")
ssgroup[11][13]= new Option("천안시","http://eminwon.cheonan.go.kr")
ssgroup[11][14]= new Option("청양군","http://eminwon.cheongyang.go.kr")
ssgroup[11][15]= new Option("태안군","http://eminwon.taean.go.kr")
ssgroup[11][16]= new Option("홍성군","http://eminwon.hongseong.go.kr")

ssgroup[12][0]= new Option("시/군/구 선택","")
ssgroup[12][1]= new Option("고창군","http://eminwon.gochang.go.kr")
ssgroup[12][2]= new Option("군산시","http://eminwon.gunsan.go.kr")
ssgroup[12][3]= new Option("김제시","http://eminwon.gimje.go.kr")
ssgroup[12][4]= new Option("남원시","http://eminwon.namwon.go.kr")
ssgroup[12][5]= new Option("무주군","http://eminwon.muju.org")
ssgroup[12][6]= new Option("부안군","http://eminwon.buan.go.kr")
ssgroup[12][7]= new Option("순창군","http://eminwon.sunchang.go.kr")
ssgroup[12][8]= new Option("완주군","http://eminwon.wanju.go.kr")
ssgroup[12][9]= new Option("익산시","http://eminwon.iksan.go.kr")
ssgroup[12][10]= new Option("임실군","http://eminwon.imsil.go.kr")
ssgroup[12][11]= new Option("장수군","http://eminwon.jangsu.go.kr")
ssgroup[12][12]= new Option("전주시","http://eminwon.jeonju.go.kr")
ssgroup[12][13]= new Option("정읍시","http://eminwon.jeongeup.go.kr")
ssgroup[12][14]= new Option("진안군","http://eminwon.jinan.go.kr")

ssgroup[13][0]= new Option("시/군/구 선택","")
ssgroup[13][1]= new Option("강진군","http://eminwon.gangjin.go.kr")
ssgroup[13][2]= new Option("고흥군","http://eminwon.goheung.go.kr")
ssgroup[13][3]= new Option("곡성군","http://eminwon.gokseong.go.kr")
ssgroup[13][4]= new Option("광양시","http://eminwon.gwangyang.go.kr")
ssgroup[13][5]= new Option("구례군","http://eminwon.gurye.go.kr")
ssgroup[13][6]= new Option("나주시","http://eminwon.naju.go.kr")
ssgroup[13][7]= new Option("담양군","http://eminwon.damyang.jeonnam.kr")
ssgroup[13][8]= new Option("목포시","http://eminwon.mokpo.go.kr")
ssgroup[13][9]= new Option("무안군","http://eminwon.muan.go.kr")
ssgroup[13][10]= new Option("보성군","http://eminwon.boseong.go.kr")
ssgroup[13][11]= new Option("순천시","http://eminwon.suncheon.go.kr")
ssgroup[13][12]= new Option("신안군","http://eminwon.sinan.go.kr")
ssgroup[13][13]= new Option("여수시","http://eminwon.yeosu.go.kr")
ssgroup[13][14]= new Option("영광군","http://eminwon.yeonggwang.jeonnam.kr")
ssgroup[13][15]= new Option("영암군","http://eminwon.yeongam.go.kr")
ssgroup[13][16]= new Option("완도군","http://eminwon.wando.go.kr")
ssgroup[13][17]= new Option("장성군","http://eminwon.jangseong.go.kr")
ssgroup[13][18]= new Option("장흥군","http://eminwon.jangheung.go.kr")
ssgroup[13][19]= new Option("진도군","http://eminwon.jindo.go.kr")
ssgroup[13][20]= new Option("함평군","http://eminwon.hampyeong.jeonnam.kr")
ssgroup[13][21]= new Option("해남군","http://eminwon.haenam.go.kr")
ssgroup[13][22]= new Option("화순군","http://eminwon.hwasun.jeonnam.kr")

ssgroup[14][0]= new Option("시/군/구 선택","")
ssgroup[14][1]= new Option("경산시","http://eminwon.gyeongsan.go.kr")
ssgroup[14][2]= new Option("경주시","http://eminwon.gyeongju.go.kr")
ssgroup[14][3]= new Option("고령군","http://eminwon.goryeong.go.kr")
ssgroup[14][4]= new Option("구미시","http://eminwon.gumi.go.kr")
ssgroup[14][5]= new Option("군위군","http://eminwon.gunwi.go.kr")
ssgroup[14][6]= new Option("김천시","http://eminwon.gc.go.kr")
ssgroup[14][7]= new Option("문경시","http://eminwon.mg21.go.kr")
ssgroup[14][8]= new Option("봉화군","http://eminwon.bonghwa.go.kr")
ssgroup[14][9]= new Option("상주시","http://eminwon.sangju.go.kr")
ssgroup[14][10]= new Option("성주군","http://eminwon.seongju.go.kr")
ssgroup[14][11]= new Option("안동시","http://eminwon.andong.go.kr")
ssgroup[14][12]= new Option("영덕군","http://eminwon.yd.go.kr")
ssgroup[14][13]= new Option("영양군","http://eminwon.yyg.go.kr")
ssgroup[14][14]= new Option("영주시","http://eminwon.yeongju.go.kr")
ssgroup[14][15]= new Option("영천시","http://eminwon.yc.go.kr")
ssgroup[14][16]= new Option("예천군","http://eminwon.yecheon.go.kr")
ssgroup[14][17]= new Option("울릉군","http://eminwon.ulleung.go.kr")
ssgroup[14][18]= new Option("울진군","http://eminwon.uljin.go.kr")
ssgroup[14][19]= new Option("의성군","http://eminwon.uiseong.go.kr")
ssgroup[14][20]= new Option("청도군","http://eminwon.cheongdo.go.kr")
ssgroup[14][21]= new Option("청송군","http://eminwon.cheongsong.gyeongbuk.kr")
ssgroup[14][22]= new Option("칠곡군","http://eminwon.chilgok.go.kr")
ssgroup[14][23]= new Option("포항시","http://eminwon.pohang.go.kr")

ssgroup[15][0]= new Option("시/군/구 선택","")
ssgroup[15][1]= new Option("거제시","http://eminwon.geoje.go.kr")
ssgroup[15][2]= new Option("거창군","http://eminwon.geochang.go.kr")
ssgroup[15][3]= new Option("고성군","http://eminwon.goseong.go.kr")
ssgroup[15][4]= new Option("김해시","http://eminwon.gimhae.go.kr")
ssgroup[15][5]= new Option("남해군","http://eminwon.namhae.go.kr")
ssgroup[15][6]= new Option("마산시","http://eminwon.masan.go.kr")
ssgroup[15][7]= new Option("밀양시","http://eminwon.miryang.go.kr")
ssgroup[15][8]= new Option("사천시","http://eminwon.sacheon.go.kr")
ssgroup[15][9]= new Option("산청군","http://eminwon.sancheong.ne.kr")
ssgroup[15][10]= new Option("양산시","http://eminwon.yscity.or.kr")
ssgroup[15][11]= new Option("의령군","http://eminwon.uiryeong.go.kr")
ssgroup[15][12]= new Option("진주시","http://eminwon.jinju.go.kr")
ssgroup[15][13]= new Option("진해시","http://eminwon.jinhae.go.kr")
ssgroup[15][14]= new Option("창녕군","http://eminwon.cng.go.kr")
ssgroup[15][15]= new Option("창원시","http://eminwon.changwon.go.kr")
ssgroup[15][16]= new Option("통영시","http://eminwon.tongyeong.go.kr")
ssgroup[15][17]= new Option("하동군","http://eminwon.hadong.go.kr")
ssgroup[15][18]= new Option("함안군","http://eminwon.haman.go.kr")
ssgroup[15][19]= new Option("함양군","http://eminwon.hygn.go.kr")
ssgroup[15][20]= new Option("합천군","http://eminwon.hc.go.kr")

ssgroup[16][0]= new Option("시/군/구 선택","")
ssgroup[16][1]= new Option("서귀포시","http://eminwon.seogwipo.go.kr")
ssgroup[16][2]= new Option("제주시","http://eminwon.jejusi.go.kr")

function ssredirect(idx){
	var sstemp = document.getElementById("__sel_sigungu_code");
	for (var m = sstemp.options.length-1; m > 0; m--) sstemp.options[m] = null;
	for (var i = 0; i < ssgroup[idx].length; i++) sstemp.options[i] = new Option(ssgroup[idx][i].text, ssgroup[idx][i].value);
	sstemp.options[0].selected = true;
}

function ssredirect2(url){
	if (url != "") window.open(url);
}
