
function addFavorite()
{
	var URL = "http://www.ktoa.or.kr";
	var title ="KTOA È¨ÆäÀÌÁö¿¡ ¿À½Å °ÍÀ» Áø½ÉÀ¸·Î È¯¿µÇÕ´Ï´Ù";
	window.external.AddFavorite(URL,title);
	
}

function moveTopMenu(gbn)
{
	
	var URL = "";
	
	if(gbn=='07_01') {
		// »çÀÌÆ® ¸Ê
		URL = "/sitemap/sitemap.asp";
	}else if(gbn=='07_02'){
		//¿µ¹® È¨ÆäÀÌÁö
		URL="/en-ktoa/01_ktoa/ktoa_01.asp";
	}else if(gbn=='01_01'){ // ¿¬ÇÕÈ¸ ¼Ò°³
		//ÀÎ»ç¸»
		URL="/01_about/about01-01.asp";
	}else if(gbn=='01_02'){
		//ÀÓ¿ø¼Ò°³
		URL="/01_about/about02.asp";
	}else if(gbn=='01_03'){
		//¼³¸³¸ñÀû¹×¿¬Çõ
		URL="/01_about/about03.asp";
	}else if(gbn=='01_04_01'){
		//Á¶Á÷
		URL="/01_about/about04-01.asp";
	}else if(gbn=='01_05'){
		//CI¼Ò°³
		URL="/01_about/about05.asp";
	}else if(gbn=='01_04_03'){
		//Ã£¾Æ¿À½Ã´Â±æ
		URL="/01_about/about04-03.asp";
	}else if(gbn=='02_01'){	// ÁÖ¿ä»ç¾÷
		//»ç¾÷°³¿ä
		URL="/02_business/business01.asp";
	}else if(gbn=='02_02'){
		//ÁÖ¿ä´ÜÀ§»ç¾÷
		URL="/02_business/business02.asp";
	}else if(gbn=='02_03_01'){
		//¹øÈ£ÀÌµ¿°ü¸®¼¾ÅÍ
		URL="/02_business/business03-01.asp";
	}else if(gbn=='02_03_02'){
		//¹øÈ£ÀÌµ¿°ü¸®¼¾ÅÍ
		URL="/02_business/business03-02.asp";
	}else if(gbn=='02_03_02'){
		//¹øÈ£ÀÌµ¿°ü¸®¼¾ÅÍ
		URL="/02_business/business03-02.asp";
	}else if(gbn=='02_04_01'){
		//½Ã¿ÜÀüÈ­»çÀü¼±ÅÃ
		URL="/02_business/business04-01.asp";
	}else if(gbn=='02_04_02'){
		//½Ã¿ÜÀüÈ­»çÀü¼±ÅÃ
		URL="/02_business/business04-02.asp";
	}else if(gbn=='02_04_03'){
		//½Ã¿ÜÀüÈ­»çÀü¼±ÅÃ
		URL="/02_business/business04-03.asp";
	}else if(gbn=='02_05'){
		//ºÒ¹ýº¹Á¦
		URL="/02_business/business05.asp";
	}else if(gbn=='02_06'){
		//ÀÌµ¿Åë½Å¿Â¶óÀÎÆÇ¸ÅÀÎÁõ¼¾ÅÍ
		URL="/02_business/business06.asp";
	}else if(gbn=='02_07'){
		//ÀÌµ¿Åë½Å¹ÌÈ¯±ÞÁ¤º¸Á¶È¸ ¼­ºñ½º
		URL="/02_business/business13.asp";
	}else if(gbn=='02_08'){
		//ÀÌµ¿ÀüÈ­¹øÈ£¾È³» ¼­ºñ½º
		URL="/02_business/business08.asp";
	}else if(gbn=='02_09_01'){
		//itÇùµ¿¿¬±¸¼¾ÅÍ
		URL="/02_business/business09-01.asp";
	}else if(gbn=='02_09_02'){
		//itÇùµ¿¿¬±¸¼¾ÅÍ
		URL="/02_business/business09-02.asp";
	}else if(gbn=='02_09_03'){
		//itÇùµ¿¿¬±¸¼¾ÅÍ
		URL="/02_business/business09-03.asp";
	}else if(gbn=='02_10'){
		//kitÅõÀÚÁ¶ÇÕ
		URL="/02_business/business10.asp";
	}else if(gbn=='02_11'){
		//Åë½Å¸Á°øµ¿±¸Ãàµ¥ÀÌÅ¸º£ÀÌ½º
		URL="/02_business/business11.asp";
	}else if(gbn=='02_12'){
		//ÀÌµ¿ÀüÈ­ÃÖÀû¿ä±ÝÁ¶È¸
		URL="/02_business/business12.asp";
	}else if(gbn=='03_01_01'){  //»çÀÌ¹öÈ«º¸½Ç
		//±â°£Åë½Å»ç¾÷ÀÚÇöÈ²
		URL="/03_cyber/cyber01-01.asp";
	}else if(gbn=='03_02'){  
		//È¸¿ø»çµ¿Çâ
		URL="/03_cyber/cyber02.asp";
	}else if(gbn=='03_03_01'){  
		//°ü·Ã»çÀÌÆ®
		URL="/03_cyber/cyber03-01.asp";
	}else if(gbn=='03_04'){  
		//¿ù°£·¹ÅÍ
		URL="/03_cyber/cyber04.asp";
	}else if(gbn=='03_04_01'){  
		//±â»çº¸±â
		URL="/03_cyber/cyber04-01.asp";
	}else if(gbn=='03_07'){  
		//Åë½Å¼­ºñ½ºÇÇÇØ¿¹¹æÀ¥Å÷
		URL="/03_cyber/cyber05.asp";
	}else if(gbn=='04_01'){  //ÀÚ·á½Ç
		//¹æ¼ÛÅë½Å¹ý·É
		URL="/04_dataroom/dataroom01-01.asp";
	}else if(gbn=='04_01_01'){  //ÀÚ·á½Ç
		//¹ý·É
		URL="/04_dataroom/dataroom01-01-01.asp";
	}else if(gbn=='04_01_03'){  //ÀÚ·á½Ç
		//°í½Ã
		URL="/04_dataroom/dataroom01-01-03.asp";
	}else if(gbn=='04_01_04'){  //ÀÚ·á½Ç
		//ÈÆ·É/¿¹±Ô
		URL="/04_dataroom/dataroom01-01-04.asp";
	}else if(gbn=='04_01_05'){  //ÀÚ·á½Ç
		//Á¦°³Á¤ÇöÈ²
		URL="/04_dataroom/dataroom01-01-05.asp";
	}else if(gbn=='04_01_06'){  //ÀÚ·á½Ç
		//ÀÔ¹ý¿¹°í
		URL="/04_dataroom/dataroom01-01-06.asp";
	}else if(gbn=='04_02_04'){  
		//Åë½ÅÅë°è
		URL="/04_dataroom/dataroom02-04.asp";
	}else if(gbn=='04_03'){  
		//È¸º¸Åë½Å¿¬ÇÕ
		URL="/04_dataroom/dataroom03.asp";
	}else if(gbn=='04_04'){  
		//¹Î¿øÀüÈ­¹øÈ£¾È³»
		URL="/04_dataroom/dataroom04.asp";
	}else if(gbn=='05_01'){  //Âü¿©±¤Àå
		//°øÁö»çÇ×
		URL="/05_community/community01.asp";
	}else if(gbn=='05_03'){  
		//»çÀÌ¹ö¹Î¿ø¼¾ÅÍ
		URL="/05_community/community03-main.asp?kc_code=%B1%E2%C5%B8";
	}else if(gbn=='05_03_01'){  
		//»çÀÌ¹ö¹Î¿ø¼¾ÅÍ
		URL="/05_community/community03-main.asp?kc_code=%BD%C3%B3%BB%C0%FC%C8%AD%B9%F8%C8%A3%C0%CC%B5%BF";
	}else if(gbn=='05_03_02'){  
		//»çÀÌ¹ö¹Î¿ø¼¾ÅÍ
		URL="/05_community/community03-main.asp?kc_code=%C0%CC%B5%BF%C0%FC%C8%AD%B9%F8%C8%A3%C0%CC%B5%BF";
	}else if(gbn=='05_03_03'){  
		//»çÀÌ¹ö¹Î¿ø¼¾ÅÍ
		URL="/05_community/community03-main.asp?kc_code=%BD%C3%BF%DC%C0%FC%C8%AD%BB%E7%C0%FC%BC%B1%C5%C3%B5%EE%B7%CF";
	}else if(gbn=='05_03_04'){  
		//»çÀÌ¹ö¹Î¿ø¼¾ÅÍ
		URL="/05_community/community03-main.asp?kc_code=%B1%E2%C5%B8";
	}else if(gbn=='06_01'){ //È¸¿ø»ç
		//kt
		URL="/06_member/member01.asp";
	}else if(gbn=='06_02'){ //È¸¿ø»ç
		//skt
		URL="/06_member/member02.asp";
	}else if(gbn=='06_04'){ //È¸¿ø»ç
		//lgt
		URL="/06_member/member04.asp";
	}else if(gbn=='06_06'){ //È¸¿ø»ç
		//skb
		URL="/06_member/member06.asp";
	}else if(gbn=='06_09'){ //È¸¿ø»ç
		//onse
		URL="/06_member/member09.asp";
	}else if(gbn=='06_10'){ //È¸¿ø»ç
		//dreamline
		URL="/06_member/member10.asp";
	}else if(gbn=='06_13'){ //È¸¿ø»ç
		//sejong
		URL="/06_member/member13.asp";
	}else if(gbn=='06_12'){ //È¸¿ø»ç
		//ktp
		URL="/06_member/member12.asp";
	}else if(gbn=='06_14'){ //È¸¿ø»ç
		//sds
		URL="/06_member/member14.asp";
	}else if(gbn=='06_11'){ //È¸¿ø»ç
		//skl
		URL="/06_member/member11.asp";
	}else if(gbn=='06_15'){ //È¸¿ø»ç
		//skl
		URL="/06_member/member15.asp";
	}
	
	document.location.href=URL;
	
}

function moveOtherSite(gbn)
{
	
	var URL = "";
	
	if(gbn=='GRW') {
		// ±×·ì¿þ¾î
		URL = "http://gw.ktoa.or.kr/";
	}
	else if(gbn=='TST'){
		//Åë½ÅÅë°è
		URL="http://stat.ktoa.or.kr/default_client.asp";
		//target="main"
	}
	else if(gbn=='TQA'){
		//ÅëÈ­Ç°Áú Á¶È¸
		//URL="http://www.qmap.kr";
		URL="http://trend.ktoa.or.kr";
		
		//target="main"
	}
	else if(gbn=='TDN'){
		//µÎ·ç´©¸®
		URL="http://blog.naver.com/kcc1335";
		//target="main"
	}
	else if(gbn=='TUN'){
		//¾î¿ï¸²´©¸®
		URL="http://www.wiseuser.go.kr/";
		//target="main"
	}
	else if(gbn=='REF'){
		//¾î¿ï¸²´©¸®
		URL="http://www.ktoa-refund.kr/";
		//target="main"
	}else if(gbn=='KT'){
		//KTOA Æ®À­ÅÍ
		URL="https://twitter.com/#!/KTOAtwt";
		//target="main"
	}else if(gbn=='KF'){
		//KTOA ÆäÀÌ½ººÏ
		URL="http://m.ktoa.or.kr";
		//target="main"
	}
	if(URL != "") 
		window.open(URL, "", "");
	else
		alert("¼­ºñ½º ÁØºñÁß ÀÔ´Ï´Ù.");
	
}


function site_link_gov() {

	       //var index = document.loginFrm.select.selectedIndex;
	        var selectObj = document.getElementById("gov_site");
			var index = selectObj.selectedIndex;
      		//alert(index);
      		
	        var url = "";
		
			if(index == 1) {
	       			 //Ã»¿Í´ëºê¸®ÇÎ 
	                url = "http://www.cwd.go.kr";
            }else if(index == 2) {
	        		//±¹¹«ÃÑ¸®½Ç
	                url = "http://www.pmo.go.kr";
            }else if(index == 3) {
	        		//¹æ¼ÛÅë½ÅÀ§¿øÈ¸
	                url = "http://www.kcc.go.kr";
            }else if(index == 4) {
	        		//±¹È¸
	                url = "http://www.assembly.go.kr";
            }else if(index == 5) {
	        		//±¹È¸ µµ¼­°ü
	                url = "http://www.nanet.go.kr";
	        }else if(index == 6) {
	        		//±âÈ¹ÀçÁ¤ºÎ
	                url = "http://www.mosf.go.kr";
			}else if(index == 7) {
	        		//ÇàÁ¤¾ÈÀüºÎ
	                url = "http://www.mopas.go.kr/";
			}else if(index == 8) {
	        		//±³À°°úÇÐ±â¼úºÎ
	                url = "http://www.mest.go.kr/";
			}else if(index == 9) {
	        		//Áö½Ä°æÁ¦ºÎ
	                url = "http://www.mke.go.kr";
			}else if(index == 10) {
	        		//±¹ÅäÇØ¾çºÎ
	                url = "http://www.mltm.go.kr";  
            }else if(index == 11) {
	        		//º¸°Çº¹ÁöºÎ
	                url = "http://www.mw.go.kr"; 				
	        }else if(index == 12) {
	        		//¹ýÁ¦Ã³ 
	                url = "http://www.moleg.go.kr";
		    }else if(index == 13) {
		    		//Åë°èÃ»
	                url = "http://kostat.go.kr/";
	        }
	        
	        if(url != "") window.open(url, "", "");
	}
	
	
	function site_link_org() {

	        //var index = document.loginFrm.select.selectedIndex;
	        var selectObj = document.getElementById("org_site");
			var index = selectObj.selectedIndex;
      		//alert(index);
      		
	        var url = "";
		
		        if(index == 1) {
		       			 //Á¤º¸Åë½Å»ê¾÷ÁøÈï¿ø 
		                url = "http://www.nipa.kr/";
		        }else if(index == 2) {
		        		//Á¤º¸Åë½ÅÁ¤Ã¥¿¬±¸¿ø
		                url = "http://www.kisdi.re.kr";
		        }else if(index == 3) {
		        		//ÇÑ±¹ÀüÀÚÅë½Å¿¬±¸¿ø 
		                url = "http://www.etri.re.kr";
		        }else if(index == 4) {
		        		//ÇÑ±¹Á¤º¸È­ÁøÈï¿ø 
		                url = "http://www.nia.or.kr";
		        }else if(index == 5) {
		        		//ÇÑ±¹°úÇÐ±â¼ú¿ø
		                url = "http://www.kaist.ac.kr";
			    }else if(index == 6) {
			    		//ÇÑ±¹Á¤º¸Åë½Å±â¼úÇùÈ¸
		                url = "http://www.tta.or.kr";
		        }else if(index == 7) {
		        		//ÇÑ±¹ÀÎÅÍ³ÝÁøÈï¿ø
		                url = "http://www.kisa.or.kr";
		        }else if(index == 8) {
		        		//ÇÑ±¹¹®È­Á¤º¸¼¾ÅÍ
		                url = "http://www.kcis.or.kr";
		        }else if(index == 9) {
		        		//ÇÑ±¹ÀüÆÄÁøÈï¿ø
		                url = "http://www.korpa.or.kr";
		        }else if(index == 10) {
		        		//ÇÑ±¹Á¤º¸Åë½Å»ê¾÷ÇùÈ¸ 
		                url = "http://www.kait.or.kr";
		        }else if(index == 11) {
		       		 	//ÇÑ±¹ÀüÆÄÁøÈïÇùÈ¸
				   		 url = "http://www.rapa.or.kr";
		        }else if(index == 12) {
		        		//ÇÑ±¹¼ÒÇÁÆ®¿þ¾î»ê¾÷ÇùÈ¸
				    	url = "http://www.sw.or.kr";
		        }else if(index == 13) {
		        		//ÇÑ±¹µ¥ÀÌÅ¸º£ÀÌ½ºÁøÈï¿ø
				    	url = "http://www.kdb.or.kr";
				}else if(index == 14) {
		        		//ÇÑ±¹Á¤º¸»ê¾÷¿¬ÇÕÈ¸
				    	url = "http://www.fkii.or.kr";
				}else if(index == 15) {
		        		//ÇÑ±¹¹«¼±ÀÎÅÍ³Ý»ê¾÷¿¬ÇÕÈ¸
				    	url = "http://www.moiba.or.kr";
				}else if(index == 16) {
		        		//ÇÑ±¹µðÁöÅÐ¹Ìµð¾î»ê¾÷ÇùÈ¸
				    	url = "http://www.kodima.or.kr";
				}else if(index == 17) {
		        		//ÇÑ±¹ÄÉÀÌºíTV¹æ¼ÛÇùÈ¸
				    	url = "http://www.kcta.or.kr";
				}
			
	        if(url != "") window.open(url, "", "");
	}
