/*
³»¿ë : ½Ç±¹»ç¾÷¼Ò ¸µÅ©Á¤º¸
ÄÚµå : D01-½Ç±¹, D02-»ç¾÷¼Ò, D03-À¾¸éµ¿, D04-½Ã±º, D05-¼¼´ë, D06-À¯°ü±â°ü
È°¿ë : 
 	<select onChange="window.open(this.options[this.selectedIndex].value,this.options[this.selectedIndex].title)">
 		<script language=javascript type='text/javascript' src='/js/data/common_link.js'></script>
		<script language="javascript">getCnnetLinkOption("D01");getCnnetLinkOption("D02");</script>
 	</select>
*/

var deptInfo = new Array();
var deptCount = 0; 
deptInfo[deptCount++] = new Array("D01","±âÈ¹°¨»ç´ã´ç°ü","/ctnt/dept/giga/00/giga.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","¹®È­°øº¸´ã´ç°ü","/ctnt/dept/moon/00/moon.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","ÃÑ¹«°ú","/ctnt/dept/chon/00/chon.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","ÁÖ¹Î»ýÈ°Áö¿ø°ú","/ctnt/dept/jumi/00/jumi.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","Çã°¡¹Î¿ø°ú","/ctnt/dept/minw/00/minw.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","ÀÚÄ¡Á¤º¸°ú","/ctnt/dept/jach/00/jach.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","¼¼¹«°ú","/ctnt/dept/semu/00/semu.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","È¸°è°ú","/ctnt/dept/hwoi/00/hwoi.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","°ü±¤°ú","/ctnt/dept/gwan/00/gwan.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","Çàº¹³ª´®°ú","/ctnt/dept/sahw/00/sahw.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","È¯°æº¸È£°ú","/ctnt/dept/hwan/00/hwan.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","±â¾÷»ç¶û°ú","/ctnt/dept/jigy/00/jigy.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","°Ç¼³°ú","/ctnt/dept/guns/00/guns.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","µµ½ÃÁÖÅÃ°ú","/ctnt/dept/dosi/00/dosi.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","µµ·Î±³Åë°ú","/ctnt/dept/doro/00/doro.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","Àç³­¾ÈÀü°ú","/ctnt/dept/jaen/00/jaen.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","Ã»Á¤³ó¾÷°ú","/ctnt/dept/sanu/00/sanu.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","ÇØ¾ç¼ö»ê°ú","/ctnt/dept/susa/00/susa.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","»ê¸²°ø¿ø°ú","/ctnt/dept/sali/00/sali.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D01","ÁöÀû°ú","/ctnt/dept/acre/00/acre.00.000.jsp","_self");

deptInfo[deptCount++] = new Array("D02","º¸°Ç¼Ò","/ctnt/busi/bogu/indx.00.000.jsp","_blank");
deptInfo[deptCount++] = new Array("D02","³ó¾÷±â¼ú¼¾ÅÍ","http://www.boryeong-atc.com","_blank");
deptInfo[deptCount++] = new Array("D02","½Ã¼³°ü¸®»ç¾÷¼Ò","/ctnt/busi/sisu/indx.00.000.jsp","_blank");
deptInfo[deptCount++] = new Array("D02","ÇØ¼ö¿åÀå°³¹ß»ç¾÷¼Ò","/ctnt/busi/yokj/indx.00.000.jsp","_blank");
deptInfo[deptCount++] = new Array("D02","¸¼Àº¹°»ç¾÷¼Ò","/ctnt/busi/sudo/indx.00.000.jsp","_blank");

deptInfo[deptCount++] = new Array("D03","¿õÃµÀ¾","/ctnt/dong/unch/00/unch.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","ÁÖÆ÷¸é","/ctnt/dong/jupo/00/jupo.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","ÁÖ±³¸é","/ctnt/dong/jugo/00/jugo.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","¿ÀÃµ¸é","/ctnt/dong/ocho/00/ocho.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","ÃµºÏ¸é","/ctnt/dong/chbu/00/chbu.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","Ã»¼Ò¸é","/ctnt/dong/chgs/00/chgs.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","Ã»¶ó¸é","/ctnt/dong/chra/00/chra.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","³²Æ÷¸é","/ctnt/dong/napo/00/napo.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","ÁÖ»ê¸é","/ctnt/dong/jusa/00/jusa.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","¹Ì»ê¸é","/ctnt/dong/misa/00/misa.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","¼ºÁÖ¸é","/ctnt/dong/sugj/00/sugj.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","´ëÃµ1µ¿","/ctnt/dong/dac1/00/dac1.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","´ëÃµ2µ¿","/ctnt/dong/dac2/00/dac2.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","´ëÃµ3µ¿","/ctnt/dong/dac3/00/dac3.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","´ëÃµ4µ¿","/ctnt/dong/dac4/00/dac4.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D03","´ëÃµ5µ¿","/ctnt/dong/dac5/00/dac5.00.000.jsp","_self");

deptInfo[deptCount++] = new Array("D04","ÃæÃ»³²µµ","http://www.chungnam.net","_blank");
deptInfo[deptCount++] = new Array("D04","Ãµ¾È½Ã","http://cheonan.go.kr","_blank");
deptInfo[deptCount++] = new Array("D04","°øÁÖ½Ã","http://www.gongju.go.kr","_blank");
deptInfo[deptCount++] = new Array("D04","¾Æ»ê½Ã","http://www.asan.chungnam.kr","_blank");
deptInfo[deptCount++] = new Array("D04","¼­»ê½Ã","http://seosan.go.kr","_blank");
deptInfo[deptCount++] = new Array("D04","³í»ê½Ã","http://www.nonsan.go.kr","_blank");
deptInfo[deptCount++] = new Array("D04","°è·æ½Ã","http://www.gyeryong.go.kr","_blank");
deptInfo[deptCount++] = new Array("D04","±Ý»ê±º","http://www.geumsan.go.kr","_blank");
deptInfo[deptCount++] = new Array("D04","¿¬±â±º","http://www.yeongi.go.kr/","_blank"); 
deptInfo[deptCount++] = new Array("D04","ºÎ¿©±º","http://www.buyeo.go.kr/","_blank");
deptInfo[deptCount++] = new Array("D04","¼­Ãµ±º","http://www.seocheon.go.kr","_blank");
deptInfo[deptCount++] = new Array("D04","Ã»¾ç±º","http://www.cheongyang.go.kr","_blank");
deptInfo[deptCount++] = new Array("D04","È«¼º±º","http://hongseong.go.kr/","_blank");
deptInfo[deptCount++] = new Array("D04","¿¹»ê±º","http://www.yesan.go.kr/index.jsp","_blank");
deptInfo[deptCount++] = new Array("D04","ÅÂ¾È±º","http://www.taean.go.kr/","_blank");
deptInfo[deptCount++] = new Array("D04","´çÁø±º","http://www.dangjin.go.kr","_blank");


deptInfo[deptCount++] = new Array("D05","¾î¸£½Å","/ctnt/gene/olds/00/olds.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D05","¿©¼º","/ctnt/gene/woma/00/woma.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D05","Ã»¼Ò³â","/ctnt/gene/teen/00/teen.00.000.jsp","_self");
deptInfo[deptCount++] = new Array("D05","¾î¸°ÀÌ","/ctnt/chld/","_blank");

deptInfo[deptCount++] = new Array("D06","º¸·É±³À°Ã»","http://www.cnbre.go.kr","_blank");
deptInfo[deptCount++] = new Array("D06","º¸·É°æÂû¼­","http://br.cnpolice.go.kr","_blank");
deptInfo[deptCount++] = new Array("D06","º¸·É¼Ò¹æ¼­","http://boryung.cn119.go.kr","_blank");
deptInfo[deptCount++] = new Array("D06","º¸·É¼¼¹«¼­","http://d.nts.go.kr/br/","_blank");
deptInfo[deptCount++] = new Array("D06","³ëµ¿ºÎ º¸·ÉÁöÃ»","http://www.molab.go.kr/boryeong/index.jsp","_blank");
//deptInfo[deptCount++] = new Array("D06","","","_blank");


function getCnnetLinkOption(cd) {
	for(i=0; i<deptInfo.length; i++) {
		if(cd == deptInfo[i][0]) {
			document.write("<option value=" + deptInfo[i][2] + " title=" + deptInfo[i][3] + ">" + deptInfo[i][1] + "</option>");
		}
	}
}

function getCommonLink(cd) {
	if(cd == "01") { //°³ÀÎº¸È£Á¤Ã¥
		window.location.href = "/ctnt/ptal/site/03/site.03.001.html";
	} else if(cd == "02") { //È¨ÆäÀÌÁö°³¼±ÀÇ°ß	
		window.location.href = "/ctnt/ptal/site/04/site.04.001.jsp";
	} else if(cd == "03") { //ÀÌ¸ÞÀÏ¹«´Ü¼öÁý°ÅºÎ	
		window.location.href = "/ctnt/ptal/site/04/site.04.001.jsp";
	} else if(cd == "04") { //ºä¾î´Ù¿î·Îµå	
		window.location.href = "/ctnt/ptal/site/06/site.06.001.html";
	}
}
