/*==========================================*

투명 png

*==========================================*/



function setPng24(obj) { 

    obj.width=obj.height=1; 

    obj.className=obj.className.replace(/\bpng24\b/i,''); 

    obj.style.filter = 

    "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');" 

    obj.src='';  

    return ''; 

} 







/*==========================================*

서브 left 메뉴 제어

*==========================================*/



var old_menu = '';

var old_cell = '';

function menuclick(submenu,cellbar)

{

  if( old_menu != submenu ) {

    if( old_menu !='' ) {

      document.getElementById(old_menu).style.display = 'none';

    }

    document.getElementById(submenu).style.display = '';

    old_menu = submenu;

    old_cell = cellbar;



  } else {

    document.getElementById(submenu).style.display = 'none';

    old_menu = '';

    old_cell = '';

  }

}





/*==========================================*

 MS 익스플러 컨트롤 제어

*==========================================*/

//swf

function objectlaunchSwf(width, height, url){

	document.write("<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 width=" + width + " height=" + height + ">");

	document.write("<param name=movie value=" + url + ">");

	document.write("<param name=wmode value=transparent>");

	document.write("<param name=quality value=high>");
	
	document.write("<param name='allowScriptAccess' value='always'>");

	document.write("<embed wmode=transparent src=" + url + " quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash width=" + width + " height=" + height + "></embed>");

	document.write("</object>");

}



function objectlaunchSwfn(width, height, url){

	document.write("<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 width=" + width + " height=" + height + ">");

	document.write("<param name=movie value=" + url + ">");

	document.write("<param name=quality value=high>");
	
	document.write("<param name='allowScriptAccess' value='always'>");

	document.write("<embed wmode=transparent src=" + url + " quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash width=" + width + " height=" + height + "></embed>");

	document.write("</object>");

}



//player

function objectlaunchPlayer(width, height, url){

	document.write("<OBJECT id=mediaPlayer classid=CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95 type=application/x-oleobject width=" + width + " height=" + height + " space=0 hspace=0 align=middle style=left:0px; top:0px;>");

	document.write("<param name=AllowChangeDisplaySize value=false>");

	document.write("<param name=AllowScan value=true>");

	document.write("<param name=AnimationAtStart value=false>");

	document.write("<param name=AudioStream value=-1>");

	document.write("<param name=AutoRewind value=true>");

	document.write("<param name=AutoSize value=false>");

	document.write("<param name=AutoStart value=true>");

	document.write("<param name=Balance value=0>");

	document.write("<param name=BufferingTime value=5>");

	document.write("<param name=ClickToPlay value=true>");

	document.write("<param name=CurrentMarker value=-1>");

	document.write("<param name=CurrentPosition value=-1>");

	document.write("<param name=CursorType value=0>");

	document.write("<param name=DisplayBackColor value=0>");

	document.write("<param name=DisplayForeColor value=16777215>");

	document.write("<param name=DisplayMode value=0>");

	document.write("<param name=DisplaySize value=0>");

	document.write("<param name=EnableContextMenu value=false>");

	document.write("<param name=Enabled value=true>");

	document.write("<param name=EnableFullScreenControls value=false>");

	document.write("<param name=EnablePositionControls value=true>");

	document.write("<param name=EnableTracker value=true>");

	document.write("<param name=InvokeURLs value=true>");

	document.write("<param name=Language value=-1>");

	document.write("<param name=Mute value=false>");

	document.write("<param name=PlayCount value=1>");

	document.write("<param name=PreviewMode value=false>");

	document.write("<param name=Rate value=1>");

	document.write("<param name=SelectionEnd value=-1>");

	document.write("<param name=SelectionStart value=-1>");

	document.write("<param name=SendErrorEvents value=true>");

	document.write("<param name=SendKeyboardEvents value=false>");

	document.write("<param name=SendMouseClickEvents value=false>");

	document.write("<param name=SendMouseMoveEvents value=false>");

	document.write("<param name=SendOpenStateChangeEvents value=true>");

	document.write("<param name=SendPlayStateChangeEvents value=true>");

	document.write("<param name=SendWarningEvents value=true>");

	document.write("<param name=ShowAudioControls value=false>");

	document.write("<param name=ShowCaptioning value=false>");

	document.write("<param name=ShowControls value=false>");

	document.write("<param name=ShowDisplay value=false>");

	document.write("<param name=ShowGotoBar value=false>");

	document.write("<param name=ShowPositionControls value=false>");

	document.write("<param name=ShowStatusBar value=false>");

	document.write("<param name=ShowTracker value=false>");

	document.write("<param name=TransparentAtStart value=false>");

	document.write("<param name=VideoBorder3D value=true>");

	document.write("<param name=VideoBorderColor value=0>");

	document.write("<param name=VideoBorderWidth value=0>");

	document.write("<param name=Volume value=-400>");

	document.write("<param name=WindowlessVideo value=-1>");



	document.write("<param name=Filename value=" + url + ">");

	document.write("<embed wmode=transparent src=" + url + " type=application/x-mplayer2 width=" + width + " height=" + height + " id=mediaPlayer></embed>");

	document.write("</OBJECT>");

}



//일반

function objectlaunch(val){

	document.write(val);

}







/*==========================================*

엘리먼트 showHide

*==========================================*/

function MM_showHideLayers() { //v9.0

  var i,p,v,obj,args=MM_showHideLayers.arguments;

  for (i=0; i<(args.length-2); i+=3) 

  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];

    if (obj.style) { obj=obj.style; v=(v=='show')?'block':(v=='hide')?'none':v; }

    obj.display=v; }

}





/*==========================================*

서브네이게이션 제어

*==========================================*/

function changeNavi(key){

  var naviHidden = document.getElementById("jsNaviHidden");

  var naviDisplay = document.getElementById("jsNaviDisplay");

  

  if(key=='on'){

    naviHidden.style.display = "none";

    naviDisplay.style.display = "";

  }else{

    naviHidden.style.display = "";

    naviDisplay.style.display = "none";  

  }

}



/*==========================================*

LINK 처리하기

*==========================================*/

function moveSite(siteCode) {

  switch (siteCode) {

    case 1 : // 무역협회 홈

      window.location.href = "http://www.kita.net/";

      break;

    case 5 : // 로그인 박스 - 회원가입

      window.location.href = "http://login.kita.net/join/";

      break;

    case 6 : // 로그인 박스 - 아이디 찾기

      window.open("http://login.kita.net/hintsearch/popup_id_search.jsp",'KITANET','width=425,height=320,scrollbars=0,status=0,toolbar=0');

      break;      

    case 7 : // 로그인 박스 - 비밀번호 찾기

      window.open("http://login.kita.net/hintsearch/popup_pass_search.jsp",'KITANET','width=425,height=320,scrollbars=0,status=0,toolbar=0');    

      break;      

    case 8 : // 로그인 박스 - 정보 수정하기

      window.location.href = "http://login.kita.net/join/join_modify_intro.jsp";  

      break;       

    case 9 : // 쪽지 보내기

      window.open("http://blog.kita.net/memo/popup_memolist.jsp",'KITANET','width=720,height=545,scrollbars=0,status=0,toolbar=0');      

      break;  

    case 11 : // 하단 - 협회 안내

      window.location.href = "http://www.kita.net/info/intro/ceo/01/index.jsp";

      break;      

    case 12 : // 하단 - 이용약관

      window.location.href = "http://www.kita.net/footer/agreement/index.jsp";

      break;            

    case 13 : // 하단 - 고객센터   

      window.location.href = "http://www.kita.net/footer/help/info/01/index.jsp";

      break;            

    case 14 : // 하단 - 개인정보취급방침

      window.location.href = "http://www.kita.net/footer/protect/index.jsp";

      break;            

    case 15 : // 하단 - 서비스맵

      window.location.href = "http://www.kita.net/footer/protect/index.jsp";

      break;            

    case 16 : // 하단 - 광고

      window.location.href = "http://www.kita.net/footer/ad/01/index.jsp";

      break;            

    case 17 : // 패밀리 사이트 coex

      window.open("http://www.coex.co.kr/","_blank"); 

      break;

    case 18 : // 패밀리 사이트 ktnet

      window.open("http://www.ktnet.co.kr/","_blank"); 

      break;

    case 19 : // 패밀리 사이트 kcat

      window.open("http://www.kcat.co.kr/","_blank"); 

      break;

    case 20 : // 패밀리 사이트 UtradeHub

      window.open("http://www.utradehub.or.kr/","_blank"); 

      break;        

    case 21 : // 운영자에게 메일 보내기

      window.open("http://www.kita.net/emailclub/admail/popup_adminmail.jsp",'KITANET','width=760,height=674,scrollbars=0,status=0,toolbar=0');

      break;

    case 22 : // 이메일무단수집거부 

      window.open("http://www.kita.net/footer/spampop/index.html",'spampop','width=520,height=313,scrollbars=0,status=0,toolbar=0');

      break;



    case 23 : // 무역센터 신문고 

      window.open("http://www.kita.net/kita/sinmungo/index.jsp",'spampop','width=700,height=550,scrollbars=1,status=0,toolbar=0');

      break;
	  
	 case 24 : // 패밀리 사이트 tradeKorea

      window.open("http://www.tradekorea.com/","_blank"); 

	 break;
	 
	 case 25 : // 전체보기

      window.location.href = "http://www.kita.net/info/intro/sitemap/index.jsp";

	 break;	 



	  case 31 : // CEO Report


      window.open("http://www.kita.net/info/newsletter/index.jsp","_parent");

      break;



	  case 32 : // 서비스가이드 무역거래알선,해외시장개척

      window.open("http://www.kita.net/kita/serviceguide_new/sab03.html",'sg','width=785,height=703,scrollbars=1,status=0,toolbar=0');

      break;

	  case 33 : // 서비스가이드 종합무역정보제공

      window.open("http://www.kita.net/kita/serviceguide_new/sab07.html",'sg','width=800,height=703,scrollbars=1,status=0,toolbar=0');

      break;

	  case 34 : // 서비스가이드 무역현장지원

      window.open("http://www.kita.net/kita/serviceguide_new/sab14.html",'sg','width=800,height=703,scrollbars=1,status=0,toolbar=0');

      break;

	  case 35 : // 서비스가이드 애로해결,비용절감

      window.open("http://www.kita.net/kita/serviceguide_new/sab18.html",'sg','width=800,height=703,scrollbars=1,status=0,toolbar=0');

      break;

	  case 36 : // 서비스가이드 포상신청,증명서발급

      window.open("http://www.kita.net/kita/serviceguide_new/sab30.html",'sg','width=800,height=703,scrollbars=1,status=0,toolbar=0');

      break;

	  case 37 : // 서비스가이드 무역인재양성

      window.open("http://www.kita.net/kita/serviceguide_new/sab27.html",'sg','width=800,height=703,scrollbars=1,status=0,toolbar=0');

      break;

	  case 38 : // 서비스가이드 최고경영자 조찬회

      window.open("http://www.kita.net/kita/serviceguide_new/sab26.html",'sg','width=800,height=703,scrollbars=1,status=0,toolbar=0');

      break;

	  case 39 : // 서비스가이드 이용시설

      window.open("http://www.kita.net/kita/serviceguide_new/sab32.html",'sg','width=800,height=703,scrollbars=1,status=0,toolbar=0');

      break;

	  case 41 : // 새로바뀐 블로그 홍보안내

      window.open("http://blog.kita.net/bin/service/kita/popup_preview.html",'sg','width=820,height=680,scrollbars=0,status=0,toolbar=0');

      break;

	  case 42 : // 블로그 바로가기

      window.location.href = "http://cafe.kita.net/";

      break;            

	  case 43 : // 카페 바로가기

      window.location.href = "http://cafe.kita.net/";

	  break; 

	   case 44 : // 상하이엑스포
      window.open("http://www.kita.net/info/expo/index.jsp","_parent");
      break;      
    
   	   case 45 : // FTA
      window.open("http://fta.kita.net/","_blank");
      break;   
	  
  	  case 46 : // 품목별 시장정보
      window.open("http://www.kita.net/newtri2/center/market_list.jsp?board_code=70000","_blank");
      break;  
	  
	  case 47 : // sos
      window.open("http://tradesos.kita.net/","_blank");
      break;  
	  
	  case 81 : // Trade Korea

      window.open("http://www.tradekorea.com/","_blank"); 

      break;

    case 82 : // u Trade Hub

      window.open("http://www.utradehub.or.kr/","_blank");  

      break;       

	  case 83 : // 무역실무 도우미

      window.open("http://www.kita.net/guide03/n4_silmudoumi.html",'guide','width=535,height=420,scrollbars=0,status=0,toolbar=0');

      break;

	case 84 : // 무역통계 가이드

      window.open("http://www.kita.net/stat/guide/01/index.jsp",'statguide','width=780,height=750,scrollbars=1,status=0,toolbar=0');

      break;

	case 85 : // 수출입실적증명서 발급

      window.open("http://www.kita.net/keic/ma_keic_index.jsp","_blank");

      break;

	case 86 : // 경제활력국민제안

      window.open("http://reco.or.kr/panel/about.asp","_blank");

      break;

	case 87 : // 동영상 이미지 부분

      window.open("http://onlineseminar.kita.net/main/detail.asp?sid=308","_blank");

      break;

	case 88 : // 동영상 리스트

      window.open("http://onlineseminar.kita.net/main/detail.asp?sid=310","_blank");

      break;

    case 101 : // 영문 웹사이트

      window.location.href = "http://www.kita.org/";

      break;        

    case 103 : // 마이페이지

      window.location.href = "http://www.kita.net/mypage/";

      break;              

    case 104 : // 메일

      window.location.href = "http://trademail.kita.net/";

      break;              

    case 105 : // 웹하드

      window.location.href = "http://tradehard.kita.net/";

      break;              

    case 106 : // 메일클럽

      window.location.href = "http://www.kita.net/emailclub/main.jsp";

      break;

    case 107 : // 회원사

      window.location.href = "http://www.kita.net/footer/membership/government/01/";

      break;

    case 108 : // 모바일

  	  window.open("http://www.kita.net/mobile/","_parent");

      break;      

    default :

      window.location.href = "http://www.kita.net/";

      break;

	  // 	상단네비게이션

	case 401 : // 국내지부

      window.open("http://www.kita.net/kita/serviceguide_new/sab33.html",'sg','width=800,height=703,scrollbars=1,status=0,toolbar=0');

	  break;

    case 402 : // 해외지부

      window.open("http://www.kita.net/kita/serviceguide_new/sab34.html",'sg','width=800,height=703,scrollbars=1,status=0,toolbar=0');

      break;     

	case 1000 : // 무역통계

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=01&subUrl=n_default-test_kita.jsp?lang_gbn=kor^statid=kts&top_menu_id=db11","_parent");

      break;

	case 1001 : // 

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=01&subUrl=n_default-test_kita.jsp?lang_gbn=kor^statid=kts&top_menu_id=db11&lang_gbn=kor","_parent");

      break;

	case 1002 : // 

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=11&subUrl=n_default-test_kita.jsp?lang_gbn=kor^statid=ets&top_menu_id=db11","_parent");

      break;  

	case 1003 : // 

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=04&subUrl=n_default-test_kita.jsp?lang_gbn=kor^statid=cts&top_menu_id=db11","_parent");

      break;  

	case 1004 : // 

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=02&subUrl=n_default-test_kita.jsp?lang_gbn=kor^statid=uts&top_menu_id=db11","_parent");

      break;  

	case 1005 : // 

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=03&subUrl=n_default-test_kita.jsp?lang_gbn=kor^statid=jts&top_menu_id=db11","_parent");

      break;  

	case 1006 : // 

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=05&subUrl=n_default-test_kita.jsp?lang_gbn=kor^statid=dots&top_menu_id=db11","_parent");

      break;  

	case 1007 : // 

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=06&subUrl=n_default-test_kita.jsp?lang_gbn=kor^statid=ifs&top_menu_id=db11","_parent");

      break;

	case 1008 : // 

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=10&subUrl=n_default-test_kita.jsp?lang_gbn=kor^statid=ids&top_menu_id=db11","_parent");

      break;

	case 1009 : // 

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=07&subUrl=n_default-test_kita.jsp?lang_gbn=kor^statid=nks&top_menu_id=db11","_parent");

      break;  

	case 1010 : // 

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=07&subUrl=http://stat.kita.net/PMSD/index.jsp&top_menu_id=db11","_parent");

      break;  

	case 1011 : // 무역통계 가이드

      window.open("http://www.kita.net/stat/guide/01/index.jsp",'statguide','width=780,height=750,scrollbars=1,status=0,toolbar=0');

      break; 

	case 1012 : // 

       window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=01&subUrl=n_default-test_kita.jsp?lang_gbn=eng^statid=kts&top_menu_id=db11&lang_gbn=eng","_parent");

      break;  














	case 2000 : // 무역정보

		window.open("http://www.kita.net/trade/search/trade_office_search9.jsp","_parent");

		break;

	case 2100 : // 

		window.open("http://www.kita.net/trade/search/trade_office_search1.jsp","_parent");

		break;  

	case 2101 : // 기본정보로검색

		window.open("http://www.kita.net/trade/search/trade_office_search1.jsp","_parent");

		break;  

	case 2102 : // 회원사상품정보

		window.open("http://www.kita.net/trade/search/trade_office_search21.jsp","_parent");

		break;  

	case 2103 : // 업체디렉토리

		window.open("http://www.kita.net/trade/search/trade_office_search9.jsp","_parent");

		break;  

	case 2200 : // 국제무역

		window.open("http://www.kita.net/trade/global/economy/03/index.jsp","_parent");

		break;  

	case 2201 : // 중국비즈니스

		window.open("http://china.kita.net/","_blank");

		break;

	case 2202 : // 무역경제정보

		window.open("http://www.kita.net/trade/global/economy/03/index.jsp","_parent");

		break;


	case 2203 : // 남북경협

		window.open("http://interkoreatrade.kita.net/","_parent");

		break;

	case 2204 : // 국가정보

		window.open("http://www.kita.net/jsp/wiki/WIKI006.R01.cmd?cmd_id=WIKI006.R01.cmd&country=asia&area=Y","_parent");

		break;


	case 2300 : // 국제원자재
		//window.alert("서비스 업체의 변경(코리아PDS →연합인포맥스)으로 인해 9월 30일자로 종료되며, \n본 서비스는 10월 4일부터 다시 이용하실 수 있습니다. 서비스 이용에 불편을 드려 죄송합니다.");
		window.open("http://materials.kita.net/","_parent");

		break;  

	case 2301 : // 국제원자재
		//window.alert("서비스 업체의 변경(코리아PDS →연합인포맥스)으로 인해 9월 30일자로 종료되며, \n본 서비스는 10월 4일부터 다시 이용하실 수 있습니다. 서비스 이용에 불편을 드려 죄송합니다.");
		window.open("http://materials.kita.net/","_parent");

		break;  

	case 2302 : // FTA뉴스

		window.open("http://www.kita.net/new_fta/user/FTA/Fta_news/List.jsp","_parent");

		break;  

	case 2303 : // 통상 수입규제

		window.open("http://antidumping.kita.net/","_blank");

		break;  

	case 2304 : // 환율동향
		window.open("http://www.kita.net/newtri2/report/economytrend_list.jsp?sClassification=1", "_parent");
		//window.open("http://www.kita.net/ceo_board/site/trade/01/index.jsp","_parent");

		break;  

	case 2305 : // 품목별시장정보

		window.open("http://www.kita.net/newtri2/center/market_list.jsp?board_code=70000","_parent");

		break;

		
	case 2400 : // 

		window.open("http://tradecost.kita.net","_parent");

		break;

	case 2500 : // 거래알선_구매정보

		window.open("http://www.tradekorea.com/","_blank");

		break;  

	case 2501 : // 구매정보

		window.open("http://www.tradekorea.com/buy/buying_leads/buying_list.jsp?pageNum=2","_blank");

		// window.open("http://www.tradekorea.com/buy/buying_leads/buying_list.jsp?pageNum=2&subNum=1","_blank");

		break;  

	case 2502 : //  해외오퍼

		window.open("http://www.tradekorea.com/biz_recomm/bbm_offer.jsp?pageNum=4","_blank");

		//window.open("http://www.tradekorea.com/biz_recomm/bbm_offer.jsp?pageNum=4&subNum=1","_blank");

		break;  

	case 2503 : //  해외바이어

		window.open("http://www.tradekorea.com/biz_recomm/bbm_buyer.jsp?pageNum=4","_blank");

		//window.open("http://www.tradekorea.com/biz_recomm/bbm_buyer.jsp?pageNum=4&subNum=2","_blank");

		break;  

	case 2504 : // 신용장

		window.open("http://www.tradekorea.com/biz_recomm/bbm_reg_view.jsp?pageNum=4","_blank");

		//window.open("http://www.tradekorea.com/biz_recomm/bbm_reg_view.jsp?pageNum=4&subNum=3","_blank");

		break;  

	case 2505 : // -- KOMPASS 검색

		window.open("http://kompass.tradekorea.com/index.do?module=Default&action=Html&Path=Usage&Sub=&Name=n_kitasearch","_blank");

		//window.open("http://www.tradekorea.com/set_kompass.jsp?pageNum=3&subNum=4","_blank");

		break;

	case 2600 : // 무역실무매뉴얼

		window.open("http://www.kita.net/trade/manual/trade_biz.jsp","_parent");

		break;

		case 2601 : // 설명회세미나동영상

		window.open("http://onlineseminar.kita.net/main/index.asp","_blank");

		break;

		case 2602 : // 사진자료

		window.open("http://photo.kita.net:8080/kita_photo/search/search001_newest.jsp","_blank");

		break;

		case 2603 : // 기고/세미나/포럼 

		window.open("http://www.kita.net/newtri2/notice/contribution_list.jsp?board_code=40001 ","_blank");

		break;

	case 2700 : // 국가무역

		window.open("http://www.kita.net/trade/global/economy/03/index.jsp","_parent");

		break;  

	case 2701 : // 무역실무매뉴얼

		window.open("http://www.kita.net/trade/manual/trade_biz.jsp","_parent");

		break;  

	case 2702 : // 서식계약사례

		window.open("http://www.kita.net/jsp/wiki/WIKI005.R08.cmd?cmd_id=WIKI005.R08.cmd","_parent");

		break;  

	case 2703 : // 품목별수출입요령

		window.open("http://tradecost.kita.net/trade/import_total_opt.asp","_parent");

		break;  

	case 2704 : // 온라인번역

		window.open("http://trans.kita.net:8080/kita/senttran/senttranek.jsp","_blank");

		break;  

	case 2705 : // 무역용어

		window.open("http://www.kita.net/jsp/wiki/WIKI002.R01.cmd?cmd_id=WIKI002.R01.cmd","_parent");

		break;

	case 2706 : // 수출입물류

		window.open("http://www.kita.net/fresh_sg/export/menu_info.jsp","_parent");

		break;

	case 2707 : // 영문서한

		window.open("http://www.kita.net/jsp/wiki/WIKI003.R03.cmd?cmd_id=WIKI003.R03.cmd","_parent");

		break;

	case 2708 : // 품목정보

		window.open("http://www.kita.net/search/search_all.jsp?searchquery=&searchoption=2","_parent");

		break;


    case 2709 : // 무역상담

		window.open("http://www.kita.net/jsp/wiki/WIKI001.R12.cmd?cmd_id=WIKI001.R12.cmd","_parent");

		break;

	
	case 2800 : // 

		window.open("http://trans.kita.net","_parent");

		break;



	case 2900 : // 

		window.open("http://www.kita.net/newtri2/report/iitreporter_list.jsp","_blank");

		break;

	case 2910 : // 

		window.open("http://www.kita.net/search/search_all.jsp?searchquery=&searchoption=2","_parent");

		break;  

	case 2901 : // 연구보고서

		window.open("http://www.kita.net/newtri2/report/iitreporter_list.jsp","_blank");

		break;  

	case 2902 : // 중국경제DB 

		window.open("http://www.kita.net/newtri2/china/china_index.jsp","_blank");

		break;  

	case 2903 : // 주요무역지표 

		window.open("http://www.kita.net/newtri2/center/statistics_list.jsp?mCode=0203","_blank");

		break;  

	case 2904 : // over_상품.국가검색 

		window.open("http://www.kita.net/trade/search/trade_office_search24.jsp","_self");

		break;  

	case 2905 : // over_무역실무매뉴얼

		window.open("http://www.kita.net/trade/manual/trade_biz.jsp","_self");

		break;  

	case 2906 : // over_미디어센터

		window.open("http://onlineseminar.kita.net/main/index.asp","_blank");

		break;  







	case 20100 : // 국제원자재
		//window.alert("서비스 업체의 변경(코리아PDS →연합인포맥스)으로 인해 9월 30일자로 종료되며, \n본 서비스는 10월 4일부터 다시 이용하실 수 있습니다. 서비스 이용에 불편을 드려 죄송합니다.");
		window.open("http://materials.kita.net/","_parent");
		break;  
		
	case 20200 : // FTA뉴스
		window.open("http://www.kita.net/new_fta/user/new_user/fta_info/fta_news.jsp?pageNum=1&sub=1","_blank");
		break; 
		
	case 20300 : // 품목별시장정보
		window.open("http://www.kita.net/newtri2/center/market_list.jsp?board_code=70000","_blank");
		break;
		
	case 20400 : // 무역실무매뉴얼
		window.open("http://www.kita.net/trade/manual/trade_biz.jsp","_parent");
		break;
		
	case 20500 : // 무역용어
		window.open("http://www.kita.net/jsp/wiki/WIKI002.R01.cmd?cmd_id=WIKI002.R01.cmd","_parent");
		break;
		
	case 20600 : // 영문서한
		window.open("http://www.kita.net/jsp/wiki/WIKI003.R03.cmd?cmd_id=WIKI003.R03.cmd","_parent");
		break;
		
	case 20700 : // 무역상담
		window.open("http://www.kita.net/jsp/wiki/WIKI001.R10.cmd?cmd_id=WIKI001.R10.cmd&n_dirid=&ckval=","_parent");
		break;
		
	case 20800 : // 환율동향
		window.open("http://www.kita.net/newtri2/report/economytrend_list.jsp?sClassification=1", "_parent");
		//window.open("http://www.kita.net/ceo_board/site/trade/01/index.jsp","_parent");
		break;
		
	case 20900 : // 통상·수입구제
		window.open("http://antidumping.kita.net/","_blank");
		break;
		
	case 21000 : // 연구조사
		window.open("http://www.kita.net/newtri2/report/iitreporter_list.jsp","_parent");
		break;
		
	case 21100 : // 무역실무매뉴얼
		window.open("http://www.kita.net/trade/manual/trade_biz.jsp","_parent");
		break;
	case 21200 : // 품목별수출입요령
		window.open("http://tradecost.kita.net/trade/import_total_opt.asp","_parent");
		break;
	case 21300 : // 서식계약사례
		window.open("http://www.kita.net/jsp/wiki/WIKI005.R08.cmd?cmd_id=WIKI005.R08.cmd","_parent");
		break;
	case 21400 : // 수출입물류실무
		window.open("http://www.kita.net/fresh_sg/export/menu_info.jsp","_parent");
		break;
	case 21500 : // 무역업체검색
		window.open("http://www.kita.net/trade/search/trade_office_search1.jsp","_parent");
		break;
	case 21600 : // 중국비즈니스
		window.open("http://china.kita.net/","_blank");
		break;	
	case 21700 : // 국가경제정보
		window.open("http://www.kita.net/trade/global/economy/03/index.jsp","_parent");
		break;	
	case 21800 : // 남북경협
		window.open("http://www.kita.net/interkorea2/index.jsp","_blank");
		break;	
	case 21900 : // 국가정보
		window.open("http://www.kita.net/jsp/wiki/WIKI006.R01.cmd?cmd_id=WIKI006.R01.cmd&country=asia&area=Y","_parent");
		break;	

	case 22000 : //해외시장 마케팅 정보
		window.open("http://www.kita.net/trade/global/marketing/01/index.jsp?nationalCode=USM","_parent");
		break;	



		

	case 3000 : // 무역상담/실무

       window.open("http://www.kita.net/jsp/wiki/WIKI001.R14.cmd?cmd_id=WIKI001.R14.cmd&n_dirid=&ckval=","_parent");

      break;   

	case 3100 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI009.R06.cmd?cmd_id=WIKI001.R01.cmd&home=Y","_parent");

      break;  

	case 3200 : // 무역상담(통계)

       window.open("http://www.kita.net/jsp/wiki/WIKI001.R14.cmd?cmd_id=WIKI001.R14.cmd&n_dirid=&ckval=","_parent");

      break;  


	case 3201 : // 전문가상담

       window.open("http://www.kita.net/jsp/wiki/WIKI001.R08.cmd?cmd_id=WIKI001.R08.cmd&n_dirid=&ckval=","_parent");

      break;
	  
	case 3202 : // 일담상담

       window.open("http://www.kita.net/jsp/wiki/WIKI001.R14.cmd?cmd_id=WIKI001.R14.cmd&n_dirid=&ckval=","_parent");

      break;	  	  
	  

	case 3300 : // 열린지식

       window.open("http://www.kita.net/jsp/wiki/WIKI011.R12.cmd?cmd_id=WIKI011.R12.cmd&n_dirid=189&ckval=","_parent");

      break;  
 

	case 3301 : // 무역일반

       window.open("http://www.kita.net/jsp/wiki/WIKI011.R12.cmd?n_dirid=180&cmd_id=WIKI011.R12.cmd&ckval=0 ","_parent");

      break;
	  
	case 3302 : // 경제/경영

       window.open("http://www.kita.net/jsp/wiki/WIKI011.R12.cmd?n_dirid=181&cmd_id=WIKI011.R12.cmd&ckval=0","_parent");

      break;	
	case 3303 : // 교육/문화

       window.open("http://www.kita.net/jsp/wiki/WIKI011.R12.cmd?n_dirid=182&cmd_id=WIKI011.R12.cmd&ckval=0","_parent");

      break;
	  
	case 3304 : // 연구자료

       window.open("http://www.kita.net/jsp/wiki/WIKI011.R12.cmd?n_dirid=183&cmd_id=WIKI011.R12.cmd&ckval=0","_parent");
	   
      break;  
	  
	  
	case 3306 : // 지식전문가

       window.open("http://www.kita.net/jsp/wiki/WIKI001.R14.cmd?cmd_id=WIKI001.R14.cmd&n_dirid=&ckval=","_parent");
	   
	    break;		 
		
		
	case 3307 : // 회원사상담(TradeSOS)

       window.open("http://www.kita.net/trade_sos/hft/hft1110r.jsp","_blank");
	   
	    break;		
		

	case 3308 : // 구매확인서 전자발급

       window.open("http://www.kita.net/jsp/wiki/wikibuyintro.jsp","_parent");
	   
	    break;		
		
		
	  
	case 3400 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI002.R01.cmd?cmd_id=WIKI002.R01.cmd","_parent");

      break;  

	case 3401 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI002.R01.cmd?cmd_id=WIKI002.R01.cmd","_parent");

      break;  

	case 3402 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI002.R04.cmd?nboardidx=2&cmd_id=WIKI002.R01.cmd","_parent");

      break;

	case 3500 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI006.R01.cmd?cmd_id=WIKI006.R01.cmd&country=asia&area=Y","_parent");

      break;

	case 3501 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI006.R01.cmd?cmd_id=WIKI006.R01.cmd&country=asia&area=Y","_parent");

      break;  

	case 3502 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI006.R01.cmd?cmd_id=WIKI006.R01.cmd&country=europe&area=Y","_parent");

      break;  

	case 3503 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI006.R01.cmd?cmd_id=WIKI006.R01.cmd&country=middleEast&area=Y","_parent");

      break;  

	case 3504 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI006.R01.cmd?cmd_id=WIKI006.R01.cmd&country=eastEurope&area=Y","_parent");

      break;  

	case 3505 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI006.R01.cmd?cmd_id=WIKI006.R01.cmd&country=northAmerica&area=Y","_parent");

      break;  

	case 3506 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI006.R01.cmd?cmd_id=WIKI006.R01.cmd&country=latinAmerica&area=Y","_parent");

      break;

	case 3507 : // 

       window.open("http://www.kita.net/jsp/wiki/WIKI006.R01.cmd?cmd_id=WIKI006.R01.cmd&country=oceania&area=Y","_parent");

      break;

	case 3508 : // 

      window.open("http://www.kita.net/jsp/wiki/WIKI006.R01.cmd?cmd_id=WIKI006.R01.cmd&country=africa&area=Y","_parent");

      break;  

	case 3600 : // 

      window.open("http://www.kita.net/jsp/wiki/WIKI003.R03.cmd?cmd_id=WIKI003.R03.cmd","_parent");

      break;  

	case 3601 : // 

      window.open("http://www.kita.net/jsp/wiki/WIKI003.R03.cmd?cmd_id=WIKI003.R03.cmd","_parent");

      break;  

	case 3602 : // 

      window.open("http://www.kita.net/jsp/wiki/WIKI003.R07.cmd?nboardidx=3&cmd_id=WIKI003.R03.cmd","_parent");

      break;  

	case 3700 : // 

      window.open("http://www.kita.net/jsp/wiki/WIKI005.R08.cmd?cmd_id=WIKI005.R08.cmd","_parent");

      break;  

	case 3701 : // 

      window.open("http://www.kita.net/jsp/wiki/WIKI005.R08.cmd?n_dirid=1&cmd_id=WIKI005.R08.cmd&usingYn=1","_parent");

      break;

	case 3702 : // 

      window.open("http://www.kita.net/jsp/wiki/WIKI005.R08.cmd?n_dirid=2&cmd_id=WIKI005.R08.cmd","_parent");

      break;

	case 3703 : // 

      window.open("http://www.kita.net/jsp/wiki/WIKI005.R08.cmd?n_dirid=3&cmd_id=WIKI005.R08.cmd","_parent");

      break;  

	case 3800 : // 

      window.open("#","_parent");

      break;  

	case 3900 : // 

      window.open("#","_parent");

      break;  

	case 4000 : // 커뮤니티(블로그,카페)

      window.open("http://blog.kita.net/","_parent");

      break;  

	case 4100 : // 

      window.open("http://blog.kita.net/","_parent");

      break;

	case 4101 : // 

      window.open("http://blog.kita.net/","_parent");

      break;

	case 4102 : // 

      window.open("#","_parent");

      break;

	case 4200 : // 

      window.open("http://cafe.kita.net/","_parent");

      break;  

	case 4201 : // 

      window.open("http://cafe.kita.net/","_parent");

      break;  

	case 4202 : // 

      window.open("#","_parent");

      break;

	case 4300 : // 

      window.open("http://tradejob.kita.net/","_blank");

      break;

	case 4301 : // 

      window.open("http://tradejob.kita.net/","_blank");

      break;

	case 4302 : // 

      window.open("http://jobchina.kita.net/china/main.html","_blank");

      break;

	case 4303 : // 

      window.open("http://jobjapan.kita.net/japan/main.jsp","_blank");

      break;

	case 4304 : // 

      window.open("http://jobus.kita.net/us/main.jsp","_blank");

      break;

	case 4305 : // 

      window.open("http://jobeu.kita.net/eu/main.jsp","_blank");

      break;


	case 4306 : // sea job

      window.open("http://jobsea.kita.net/jobsea/main.jsp","_blank");

      break;
	  
 	case 4400 : //  뉴스레터

       window.open("http://www.kita.net/info/newsletter/index.jsp","_parent");

      break;

	case 4401 : //  뉴스레터

       window.open("http://www.kita.net/info/newsletter/index.jsp","_parent");

      break;
	  

 	case 5000 : //회원사 링크

      window.open("http://www.kita.net/footer/membership/guide/120_index.jsp","_parent");

      break; 		

	case 5100 : //무역협회 회원가입

      window.open("http://login.kita.net/join/join_benefit.jsp","_parent");

      break; 

	case 5101 : //회비안내

	      window.open("http://login.kita.net/join/join_fee.jsp","_parent");

	      break;

	case 5102 : //가입신청

	      window.open("http://login.kita.net/join/join_c.jsp","_parent");

	      break;

	case 5103 : //무역업고유번호부여

	      window.open("http://www.kita.net/footer/membership/government/04/index.jsp","_parent");

	      break;

	case 5202 : //협회회비납부

	      window.open("http://cmember.kita.net/jsp/fee/KFeeMemS.jsp",'KFeeMems','width=300,height=285,scrollbars=no,status=0,toolbar=0');

	      break;  

	case 5203 : //대표ID신청

	      window.open("http://login.kita.net/join/join_keyid.jsp","_parent");

	      break;

	case 5300 : //증명서발급

	      window.open("http://www.kita.net/footer/membership/government/01/index.jsp","_parent");

	      break;

	case 5301 : //수출입 실적증명

	      window.open("http://www.kita.net/footer/membership/government/01/index.jsp","_parent");

	      break;

	case 5302 : //인터넷증명서발급

	      window.open("http://www.kita.net/keic/ma_keic_index.jsp","_parent");

	      break;

	case 5303 : //외국인사증발급추천

	      window.open("http://www.kita.net/footer/membership/government/03/index.jsp","_parent");

	      break;

	case 5304 : //해외지사 설치추천

	      window.open("http://www.kita.net/footer/membership/government/02/index.jsp","_parent");

	      break;

	case 5305 : //용역전자적무체물

	      window.open("http://onlinetrade.kita.net/","_parent");

	      break;	      

	case 5400 : //무역서비스

	      window.open("http://www.kita.net/guide03/n4_silmudoumi.jsp","_parent");

	      break;

	case 5401 : //무역실무도우미 다운

	      window.open("http://www.kita.net/guide03/n4_silmudoumi.jsp","_parent");

	      break;

	case 5402 : //APEC 기업인 여행카드

	      window.open("http://abtc.kita.net","_blank");

	      break;	      

	case 5403 : //KITA Membership 카드

	      window.open("http://www.kita.net/membershipcard/Main.html","_parent");

	      break;	      

	case 5404 : //KITA Membership 카드

	      window.open("http://www.kita.net/fresh_sg/radis/cost_estimation_list.jsp","_parent");

	      break;

	case 5405 : //온라인 실시간 번역

	      window.open("http://trans.kita.net:8080/kita/senttran/senttranek.jsp","_parent");

	      break;

	case 5406 : //회원사 인력채용

	      window.open("http://tradejob.kita.net/","_parent");

	      break;	      

	case 5500 : //시설이용

	      window.open("http://www.kita.net/tong/order/tno_input2.jsp?part=I","_parent");

	      break;

	case 5501 : //수출중소기업통번역센터

	      window.open("http://www.kita.net/tong/order/tno_input2.jsp?part=I","_parent");

	      break;

	case 5502 : //비즈니스센터

	      window.open("http://www.kita.net/bizCenter/reserv/reservList.jsp","_parent");

	      break;

	case 5503 : //현장지원(무역컨설팅)

	      window.open("http://www.kita.net/fieldsupport/support_list.jsp","_parent");

	      break;

	case 5504 : //토익/토플/자격시험

	      window.open("http://www.kita.net/toeic/toeic_receipt.jsp","_parent");

	      break;

	case 5600 : //할인클럽

	      window.open("http://www.kita.net/footer/membership/voffice/07/1220504_3687.jsp","_parent");

	      break;

	case 5601 : //소모용품공동구매

	      window.open("http://www.kita.net/footer/membership/voffice/14/1219459_3714.jsp","_parent");

	      break;

	case 5602 : //특송/택배

	      window.open("http://www.kita.net/footer/membership/voffice/07/1220504_3687.jsp","_parent");

	      break;

	case 5603 : //인증/검사/포장

	      window.open("http://www.kita.net/footer/membership/voffice/10/1219407_3698.jsp","_parent");

	      break;	      

	case 5604 : //신용정보/채권회수

	      window.open("http://www.kita.net/footer/membership/voffice/11/1219411_3704.jsp","_parent");

	      break;	      

	case 5605 : //부가서비스

	      window.open("http://www.kita.net/footer/membership/voffice/15/1219464_3716.jsp","_parent");

	      break;	      

	case 5606 : //홈페이지/카탈로그/화환

	      window.open("http://www.kita.net/footer/membership/voffice/16/1219465_3718.jsp","_parent");

	      break;	      

	case 5700 : //특별회원제

	      window.open("http://login.kita.net/join/specialM.jsp","_parent");

	      break;

	case 5701 : //통번역

	      window.open("http://tong.kita.net/","_blank");

	      break;		  

	      

	case 6000 : // 거래/마케팅

	      window.open("http://www.tradekorea.com","_blank");

	      break;

	case 6100 : // 판매정보

	      window.open("http://www.tradekorea.com/products/","_blank");

	      break;

	case 6200 : // 구매정보

	      window.open("http://www.tradekorea.com/buyers/","_blank");

	      break;

	case 6300 : // 해외오퍼

	      window.open("http://kr.tradekorea.com/abroad-offer/","_blank");

	      break;

	case 6400 : // 해외바이어

	      window.open("http://kr.tradekorea.com/abroad-buyer/","_blank");

	      break;

	//case 6500 : // 거래알선신청

//	      window.open("http://www.tradekorea.com/biz_recomm/bbm_reg_view.jsp?pageNum=4&subNum=3","_blank");

	//      break;

	case 6600 : // KOMPASS기업정보

		  window.open("http://kompass.tradekorea.com/","_blank");

	      break;

	case 6700 : // 사업제안

	      window.open("http://kr.tradekorea.com/kor/bizoffer/proposal/listProposal.mvc","_blank");

	      break;

	case 6800 : // B2B

	      window.open("http://kr.tradekorea.com/","_blank");

	      break;	      



	      

	case 6001 : // 무역통계 영문링크

      window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=01&subUrl=n_default-test_kita.jsp?lang_gbn=eng^statid=kts&top_menu_id=db11&lang_gbn=eng","_parent");

      break;  

	case 6002 : // 

      window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=04&subUrl=n_default-test_kita.jsp?lang_gbn=eng^statid=cts&top_menu_id=db11&lang_gbn=eng","_parent");

      break;

	case 6003 : // 

      window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=02&subUrl=n_default-test_kita.jsp?lang_gbn=eng^statid=uts&top_menu_id=db11&lang_gbn=eng","_parent");

      break;

	case 6004 : // 

      window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=03&subUrl=n_default-test_kita.jsp?lang_gbn=eng^statid=jts&top_menu_id=db11&lang_gbn=eng","_parent");

      break;  

	case 6005 : // 

      window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=05&subUrl=n_default-test_kita.jsp?lang_gbn=eng^statid=dots&top_menu_id=db11&lang_gbn=eng","_parent");

      break;  

	case 6006 : // 

      window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=06&subUrl=n_default-test_kita.jsp?lang_gbn=eng^statid=ifs&top_menu_id=db11&lang_gbn=eng","_parent");

      break;  

	case 6007 : // 

      window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=07&subUrl=n_default-test_kita.jsp?lang_gbn=eng^statid=nks&top_menu_id=db11&lang_gbn=eng","_parent");

      break;  

	case 6008 : // 

      window.open("http://www.kita.net/stat/guide/01/index.jsp",'statguide','width=780,height=750,scrollbars=1,status=0,toolbar=0');

      break;  

	case 6009 : // 

      window.open("http://stat.kita.net/top/state/n_submain_stat_kita.jsp?menuId=01&subUrl=n_default-test_kita.jsp?lang_gbn=kor^statid=kts&top_menu_id=db11","_parent");

      break;

	  

// 메인 배너 협회안내서비스, 무역협회120%활용하기 

	case 7001 : // 협회안내 서비스

      window.open("http://fta.kita.net","_blank");

      break;  

	case 7002 : // 

      window.open("http://expokorea.kita.net","_blank");

      break;  

	case 7003 : // 

      window.open("http://stc.kita.net/","_blank");

      break;

	case 7004 : // 

      window.open("http://iit.kita.net","_blank");

      break;

	case 7005 : // 

      window.open("http://onlineseminar.kita.net","_blank");

      break;  

	case 7006 : // 

      window.open("http://ebiz.kita.net","_blank");

      break;  

	case 7007 : // 

      window.open("http://www.tradecampus.com","_blank");

      break;  

	case 7008 : // 

      window.open("http://bizcenter.kita.net","_blank");

      break;  

	case 7009 : // 

      window.open("http://shippersgate.kita.net","_blank");

      break;  

	case 7010 : // 

      window.open("http://kilc.kita.net","_blank");

      break;

	case 7011 : // 
      window.open("http://tradesos.kita.net","_blank");

      break;

	case 7012 : // 

      window.open("http://tong.kita.net","_blank");

      break;  

	case 7013 : // 

      window.open("http://interkoreatrade.kita.net","_blank");

      break;  

	case 7014 : // 

      window.open("http://magazine.kita.net/","_blank");

      break; 

	case 7015 : // 

		window.open("http://china.kita.net/","_blank");

		break; 

	case 7016 : // 

		window.open("http://webdocu.kita.net/","_blank");

		break; 	

	case 7017 : // 

		window.open("http://edms.kita.net:8080/","_blank");

		break; 

	case 7018 : // 

		window.open("http://onlinetrade.kita.net/","_blank");

		break; 

	case 7019 : // 

		window.open("http://webdocu.kita.net/","_blank");

		break; 

	case 7020 : // 

		window.open("http://photo.kita.net:8080/kita_photo/search/search001_newest.jsp","_blank");

		break;                

	case 7021 : // KITA 디지털 무역 정보관

		window.open("http://ebook.kita.net/pcms/vlsvr/ssoLogin.jsp","_blank");
		//window.open('http://www.kita.net/new_fta/user/gd_pop/gd_pop.html', 'popup','width=709,height=739,top=0,left=0,statusbar=no,scrollbars=no,toolbar=no');

		break; 		  	

	  

	case 8001 : // 협회안내

      window.location.href = "/info/intro/ceo/01/index.jsp";

	  break;  

	case 8002 : // 

      window.location.href = "/info/service/service01/01/index.jsp";

	  break;

	case 8003 : // 

      window.location.href = "/info/branch/country/index.jsp";

	  break;

	case 8004 : // 

      window.location.href = "/info/notice/index.jsp";

	  break;  

	case 8005 : // 

      window.location.href = "/info/press/index.jsp";

	  break;    

	case 8006 : // expo

      window.location.href = "/info/expo/index.jsp";

	  break;    
	  

	case 9001 : // 회원사,고객센터

      window.location.href = "/footer/membership/government/01/";

	  break;  

	case 9002 : // 

      window.location.href = "/footer/help/info/01/index.jsp";

	  break;

	case 9003 : // 

      window.location.href = "/footer/agreement/index.jsp";

	  break;

	case 9004 : // 

      window.location.href = "/footer/ad/01/index.jsp";

	  break;  

	case 21500 : // 연구보고서                                                        	
		window.open("http://www.kita.net/newtri2/report/iitreporter_list.jsp","_blank");
		break;                                                                            }  

}



// 하단 셀렉트 박스 

function openSite(siteSelect) {

  if(siteSelect.value !='') {

		window.open(siteSelect.value,'_blank');

  }

}



// 협회사업 참가신청

function login_bpm(svr_type) {

  var loginID = getCookie('c_member_id');

	window.document.location = "http://bpm.kita.net/bizlogin.jsp?returnURL=/kita/jsp/home/main_frame.jsp"

          + "&loginID="+loginID+"&loginSystem=WWWKITANET&svr_type=" + svr_type ;

}





// 쿠키 불러오기

function getCookie( name ) {

  var nameOfCookie = name + "=";

	var x = 0;



	while ( x <= document.cookie.length ) {

		var y = (x+nameOfCookie.length);



    if ( document.cookie.substring( x, y ) == nameOfCookie ) {

			if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) {

				endOfCookie = document.cookie.length;

			}

			return unescape( document.cookie.substring( y, endOfCookie ) );

		}



		x = document.cookie.indexOf( " ", x ) + 1;



		if ( x == 0 ) {	break; }

	}



	return null;

}



// 쿠키 만들기  

function setCookie( name, value, expiredays ) {

	var todayDate = new Date();

	todayDate.setDate( todayDate.getDate() + expiredays );

	document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"

}



// ID 저장 쿠키 만들기

function autoJoinCookie() {

  setCookie("auto_save_id", "damisoft", 100);  

}



// 쿠키 확인하기

function autoJoinIDCheck() {

  var loginID = getCookie('auto_save_id');

  

  if(loginID != null) {

    document.frmLogin.p_member_id.value = loginID;
	
    document.frmLogin.idSave.checked = true;    

  } 

}





// 로그인

function loginSubmit() {

  if( document.frmLogin.p_member_id.value.length == 0 ) {

    alert('아이디를 입력해주세요');

    document.frmLogin.p_member_id.focus();

    return;

  } else if( document.frmLogin.p_passwd.value.length == 0 ) { 

    alert('비밀번호를 입력해주세요');

    document.frmLogin.p_member_id.focus();

    return;

  }  

  

  if ( document.frmLogin.idSave.checked ) {

     setCookie("auto_save_id", document.frmLogin.p_member_id.value , 30);    

  }

    

  document.frmLogin.submit();

}

// 2009.08.31 추가. 아이디 저장시 confirm 설정 
function DoIDSave() {

	var form = document.frmLogin;

	if ( form.idSave.checked ) {
		if (confirm('이 PC에 로그인 정보를 저장하시겠습니까? \n\nPC방등의 공공장소에서는 개인정보가 유출될 수 있으니 주의해주십시오.')) {  
			setCookie("auto_save_id", form.p_member_id.value , 30);    
		} else {
			form.idSave.checked = false;
			deleteCookie("auto_save_id");
		}
	} else {
		form.idSave.checked = false;
		deleteCookie("auto_save_id");
	}
}

// 2011.12.29 추가. 아이디 저장시 confirm 설정 
function DoIDSave2() {

	var form = document.myform;

	if ( form.idSave.checked ) {
		if (confirm('이 PC에 로그인 정보를 저장하시겠습니까? \n\nPC방등의 공공장소에서는 개인정보가 유출될 수 있으니 주의해주십시오.')) {  
			setCookie("auto_save_id", form.p_member_id.value , 30);    
		} else {
			form.idSave.checked = false;
			deleteCookie("auto_save_id");
		}
	} else {
		form.idSave.checked = false;
		deleteCookie("auto_save_id");
	}
}

// 2009.08.31 추가. 쿠키 삭제.
function deleteCookie( cookieName ) {

	var expireDate = new Date();

	//어제 날짜를 쿠키 소멸 날짜로 설정한다.
	expireDate.setDate( expireDate.getDate() - 1 );
	document.cookie = cookieName + "= " + "; expires=" + expireDate.toGMTString() + "; path=/";
}

function EnterCheck() {

	if(event.keyCode==13) {

	  loginSubmit();

	}

}

		

// 로그아웃

function logout(geturl) {

  location.href="http://login.kita.net/login/logout.jsp?geturl=" + geturl;

}



// 내 블로그 가기

function myBlog() {   

    var loginID = getCookie('c_member_id');

    

    if(loginID != null) {

      window.location.href = "http://blog.kita.net/" + loginID;

    } 

}



// 팝업창 리사이즈

function WindowReset( win ){ 

  var winBody = win.document.body; 

  

  var marginHeight = parseInt(winBody.topMargin)+parseInt(winBody.bottomMargin); 

  var marginWidth = parseInt(winBody.leftMargin)+parseInt(winBody.rightMargin); 



  var wid = winBody.scrollWidth + (winBody.offsetWidth - winBody.clientWidth) + marginWidth; 

  var hei = winBody.scrollHeight + (winBody.offsetHeight - winBody.clientHeight) + marginHeight+60; 



  win.resizeTo(wid, hei); 

}





// 이메일무단수집거부

function spampop() {

	window.open('/footer/spampop/index.html','','width=520,height=313,status=no,scrollbars=no,resizeable=yes');

	return;

}



// AJAX 를 위한 코드

function newXMLHttpRequest() {

  var xmlreq = false;



	if (window.XMLHttpRequest) {

		xmlreq = new XMLHttpRequest();				

	} else if (window.ActiveXObject) {

		try {

			xmlreq = new ActiveXObject("Msxml2.XMLHTTP");

		} catch (e1) {

			try {

				xmlreq = new ActiveXObject("Microsoft.XMLHTTP");

			} catch (e2) {	}

		}

	}

	

  return xmlreq;

}



function include(divID, url) {

  var xmlhttp = newXMLHttpRequest() 



	if (url) {

		var originalMessage = document.getElementById(divID).innerHTML;

		document.getElementById(divID).innerHTML = "0";

		xmlhttp.open("GET", url, true);



		xmlhttp.onreadystatechange = function () {

	  	if(xmlhttp.readyState == 4) {	

					if(xmlhttp.status == 200) {

						document.getElementById(divID).innerHTML = xmlhttp.responseText;

					} else {

						alert("Error while loading " + url + ", (" + xmlhttp.status + " " + xmlhttp.statusText + ")");

						document.getElementById(divID).innerHTML = originalMessage;

					}

				}

			}



		xmlhttp.send(null);

	}

}



// 로그인 박스에서 불러올 것들

function loginBoxProcess() {

   var loginID = getCookie('c_member_id');

    

   if(loginID != null) {

     include('MailCount', 'http://www.kita.net/MailCount.jsp?id=' + loginID);

   }   

}



// 상단 메뉴 - 통합 검색을 위한 코드

function findSearch() {

  if( document.frmSearch.searchquery.value.length == 0 ) {

    alert('검색어를 입력해주세요');

    document.frmSearch.searchquery.focus();

    return;

  }

  

  goSearch();

}



// 로그인

function login(url) {

	location.href="http://login.kita.net/login/login.jsp?geturl=" + url;

}	



// 로그아웃

function logout(url) {

  location.href="http://login.kita.net/login/logout.jsp?geturl=" + url;

}



function wikiMyKnow() {

    var loginID = getCookie('c_member_id');



    if(loginID != null) {

      window.location.href = "http://www.kita.net/jsp/wiki/WIKI010.R03.cmd?cmd_id=WIKI010.R01.cmd";

    } 

}

//아이디 저장 chkeck 박스 선택후 아이디 text를 클릭하면
// 해당 아이디가 쿠키와 같다면 클리어를 하지 않는다.
// bluecapsystem ByunHyuiSeob
function loginValueChk(){
	var loginID = getCookie('auto_save_id');
	var obj = document.frmLogin;

	var chkloginID = obj.p_member_id.value;

	if(loginID != chkloginID)
	{	
		obj.p_member_id.value='';
	}
}

function loginValueChk2(){
	var loginID = getCookie('auto_save_id');
	var obj = document.myform;	

	var chkloginID = obj.p_member_id.value;

	if(loginID != chkloginID)
	{	
		obj.p_member_id.value='';
	}
}
