	function flash_Write(url,w,h,id,bg,vars,win){
	// 플래시 코드 정의
	var flash_Str=
	"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
	"<param name='allowScriptAccess' value='always' />"+
	"<param name='movie' value='"+url+"' />"+
	"<param name='FlashVars' value='"+vars+"' />"+
	"<param name='wmode' value='"+win+"' />"+
	"<param name='menu' value='false' />"+
	"<param name='quality' value='high' />"+
	"<param name='salign' value='LT' />"+
	"<param name='scale' value='noscale' />"+
	"<param name='bgcolor' value='"+bg+"' />"+
	"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' scale='noscale' salign='LT' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";

	// 플래시 코드 출력
	document.write(flash_Str);
}


function Flash_Link_jp(code){
	switch(code) {
		//외환일본메인
		case "kebmain_jp" : document.location.href="http://www.koex.jp/koe/koe_f.html";
			break;
		//---------------------------------/ 상단 메뉴--------------------------------------
		//Customer 
		case "top_1" :  document.location.href="http://www.koex.jp/koe/koe_f.html";
			break;
		//About KEB
		case "top_2" :  document.location.href="/IBS/ncompany/en/index.jsp?vcode=12000000000000";
			break;
		//KEB IR
		case "top_3" :	document.location.href="/IBS/nir/en/index.jsp?lang=eng&vcode=13000000000000";
			break;
		//Korean
		case "top_4" :	window.open('/','','');
			break;
		//ENGLISH 
		case "top_5" :  window.open('/main/en/','','');
			break;
		//japanese
		case "top_6" :  window.open('/main/cn/','','');
			break;
		//통합검색
		case "top_7" :  
			break;
		//--------------------------------/ 상단 1depth 메뉴--------------------------------------
		//top_menu01
		case "Top_Main_Menu_1" :  document.location.href="http://www.koex.jp/shokai/shokai_f.html";
			break;
		//top_menu02
		case "Top_Main_Menu_2" :  document.location.href="http://www.koex.jp/gyomu/gyomu_f.html";
			break;
		//top_menu03
		case "Top_Main_Menu_3" :   document.location.href="http://www.koex.jp/gaika/gaika_f.html";
			break;
		//--------------------------------/ KEB Quick Inquiry-------------------------------------
		//Account Balance
		case "QuickInquiry_1" :	window.open('http://kebspeed.banktown.com/EIB/IBS/b2c/popup_btlogin_eng.jsp','quick','width=706,height=645,resizable=no,scrollbars=yes,left=0,top=0');
			break;
		//Foregin Exchange Rate
		case "QuickInquiry_2" :	 document.location.href="/IBS/nebanking/en/fx/fx/ca_100.jsp?vcode=18000000000000&scode=18010100000000";
			break;
		//Interest Rate
		case "QuickInquiry_3" :	 document.location.href="http://eib.keb.co.kr/EIB/main/index_guest04.html";
			break;

		//--------------------------------/ 일본내 외환은행-------------------------------------
		//동경지점
		//case "left_m01" :	document.location.href="http://www.koex.jp/gyomu/tk-yokin01.html";
		//	break;
		//오사카지점
		//case "left_m02" :	 document.location.href="http://www.koex.jp/gyomu/os-yokin01.html";
		//	break;

	    //동경지점
		case "left_m01" :	document.location.href="http://www.koex.jp";
			break;
		//오사카지점
		case "left_m02" :	 document.location.href="http://www.koex.jp";
			break;


		//--------------------------------/IRData--------------------------------------
		//Quarterly Results 
//		case "IRData_1" :	document.location.href="/IBS/nir/en/in/db_100.jsp?eng&vcode=13000000000000&scode=13040100000000&ccode=13040101000000&dcode=";
		case "IRData_1" :window.open("/IBS/multi_lang/ncompany/eng/KBI1208P.jsp");
			break;
		//Financoal index
//		case "IRData_2" :	document.location.href="/IBS/nir/en/fi/eb_100.jsp?eng&vcode=13000000000000&scode=13060100000000";
		case "IRData_2" :window.open("/IBS/multi_lang/ncompany/eng/KBI1218P.jsp");
			break;
		//Shareholders
//		case "IRData_3" :	document.location.href="/IBS/nir/en/cg/ab_100.jsp?eng&vcode=13000000000000&scode=13020100000000";
		case "IRData_3" :window.open("/IBS/multi_lang/ncompany/eng/KBI1204P.jsp");
			break;
		//Credit Ratings
//		case "IRData_4" :	document.location.href="/IBS/nir/en/cr/dd_200.jsp?command=read&lang=eng&vcode=13000000000000&scode=13070100000000";
		case "IRData_4" :window.open("/IBS/multi_lang/ncompany/eng/KBI1210P.jsp");
			break;
		//Stock Price
//		case "IRData_5" :	document.location.href="/IBS/nir/en/st/fa_100.jsp?vcode=13000000000000&scode=13080100000000&ccode=13080101000000&dcode=";
		case "IRData_5" :window.open("/IBS/multi_lang/ncompany/eng/KBI1225P.jsp");
			break;
		//---------------------------------/ BankProfile--------------------------------------
		//right Link 01 
		case "BankProfile_1" :	document.location.href="http://www.koex.jp/gyomu/tk-yokin01.html";
			break;
		//right Link 02  
		case "BankProfile_2" :	document.location.href="http://www.koex.jp/gyomu/tk-soukin01.html";
			break;
		//right Link 03  
		case "BankProfile_3" :	document.location.href="http://www.koex.jp/gyomu/tk-ryogae01.html";
			break;
		//right Link 04   
		case "BankProfile_4" :	document.location.href="http://www.koex.jp/gyomu/tk-kashitsuke01.html";
			break;
		//right Link 05     
		case "BankProfile_5" :	document.location.href="http://www.koex.jp/gyomu/os-yokin01.html";
			break;
		//right Link 06    
		case "BankProfile_6" :	document.location.href="http://www.koex.jp/gyomu/os-soukin01.html";
			break;
		//right Link 07    
		case "BankProfile_7" :	document.location.href="http://www.koex.jp/gyomu/os-soukin01.html";
			break;
		//right Link 08    
		case "BankProfile_8" :	document.location.href="http://www.koex.jp/gyomu/os-kashitsuke01.html";
			break;

		//---------------------------------/ EXPAT Banking--------------------------------------
		case "expat" :	window.open("/netc/jp/expat/main.html");
			break;
		case "expat01" :	window.open("/netc/jp/expat/introduce.html");
			break;
		case "expat02" :	window.open("/netc/jp/expat/card.html");
			break;
		case "expat03" :	window.open("/netc/jp/expat/bankingservice.html");
			break;
		//일본인 고객을 위한 KEB 점포    
		case "expat_branch" :	window.open("/netc/jp/expat/branch.html");
			break;

		//---------------------------------/ Prize--------------------------------------
		//KEB Upgraded Credit Rating
//		case "Prize" :	document.location.href="http://www.keb.co.kr/IBS/ncompany/en/pr/ba_200.jsp?vcode=12000000000000&scode=12030200000000&cmd=read&sMode=R&seq=3085&gbn=News&selSearch=&txtKey=&pageC=1&user=u";
//			break;
		case "Prize1" :window.open("/IBS/ncompany/cn/in/da_400.jsp?vcode=04000000000000&scode=040104000000000");
			break;
		case "Prize2" :window.open("/IBS/ncompany/cn/in/da_400.jsp?vcode=04000000000000&scode=040104000000000");
			break;
		case "Prize3" :window.open("/IBS/ncompany/cn/in/da_400.jsp?vcode=04000000000000&scode=040104000000000");
			break;
		case "Prize4" :window.open("/IBS/ncompany/cn/in/da_400.jsp?vcode=04000000000000&scode=040104000000000");
			break;
		//------------------------------------------------------------------------------------		
		default :
			break;
	}
}
