function flashwrite( id, flashUri, vWidth, vHeight, winMode ) {
	var _obj_ = "";
	_obj_ = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + vWidth + '" height="' + vHeight + '" id="' + id + '" align="middle">';
	_obj_ += '<param name="movie" value="' + flashUri + '" />';
	_obj_ += '<param name="allowScriptAccess" value="always" />';
	_obj_ += '<param name="quality" value="high" />';
	_obj_ += '<param name="wmode" value="' + winMode + '" />    ';
	_obj_ += '<param name="bgcolor" value="#ffffff" />        ';
	
	_obj_ += '<embed src="' + flashUri + '" quality="high"  allowScriptAccess="always" wmode="' + winMode + '" bgcolor="#ffffff" width="' + vWidth +'" height="' + vHeight + '" id="' + id + '" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>    ';
	_obj_ += '</object>';

	
	
	document.writeln( _obj_ );

}

function goMenu(menu_idx)
{
	var goURL = "";

	switch (menu_idx)
	{

		case "ex1" : //ÆäÀÌÁö ÀÌµ¿
			goURL = '/#.html';
		break;
		case "ex2" : //»õÃ¢ °¡¿îµ¥
			openWinCenter("../product/review.asp","ex","width=900,height=500");
		break;
		case "ex3" : //»õÃ¢
			window.open("#.html","ex","");
		break;
		case "ex4" : //»õÃ¢ °¡¿îµ¥
			openWinCenter("","ex","width=1024,height=850");
		break;
/////////////////////////////////////////////////////////////////¸ÞÀÎ///////////////////////////////////////////////////////////
		case "main" : //¸ÞÀÎ
			goURL = '/';
		break;

		case "main1" : //Æ¯ÇãÇöÈ²
			goURL = '/common/public/public01.asp';
		break;
		case "main2" : //Áö»çÇöÈ²
			goURL = '/common/branch/branch04.asp';
		break;
		case "main3" : //º¸µµÀÚ·á
			goURL = '/common/public/public02.asp';
		break;
		case "main4" : //¿Â¶óÀÎ»ó´ã½Ç
			goURL = '/common/community/online.asp';
		break;
		
		case "eng" : //¿µ¹®
			goURL = '/eng/default.asp';
		break;

/////////////////////////////////////////////////////////////////YEGA///////////////////////////////////////////////////////////
				
		case "sub1" : //yega
			goURL = '/common/yega/yega.asp';
		break;
/////////////////////////////////////////////////////////////////»óÇ°¼Ò°³///////////////////////////////////////////////////////////
		
		case "sub2" : //¿¹°¡(±¹¹®)
			goURL = '/common/product/kor.asp';
		break;

/////////////////////////////////////////////////////////////////¿¬±¸°³¹ß///////////////////////////////////////////////////////////
		
		case "sub3" : //¿¬±¸°³¹ß
			goURL = '/common/research/research01.asp';
		break;
		case "sub3_1" : //¿¬±¸°³¹ß > ¿¬±¸Áø¼Ò°³
			goURL = '/common/research/research01.asp';
		break;
		case "sub3_2" : //¿¬±¸°³¹ß > ¹ßÈ£ÀüÅëÀÇ ±â¼ú
			goURL = '/common/research/research02a.asp';
		break;
		case "sub3_2a" : //¿¬±¸°³¹ß > ¹ßÈ£ÀüÅëÀÇ ±â¼ú > ¹ßÈ¿±â¼ú
			goURL = '/common/research/research02a.asp';
		break;
		case "sub3_2b" : //¿¬±¸°³¹ß > ¹ßÈ£ÀüÅëÀÇ ±â¼ú > °íÃ¼¹ßÈ¿ °øÁ¤
			goURL = '/common/research/research02b.asp';
		break;
		case "sub3_2c" : //¿¬±¸°³¹ß > ¹ßÈ£ÀüÅëÀÇ ±â¼ú > °íÃ¼¹ßÈ¿ °úÁ¤
			goURL = '/common/research/research02c.asp';
		break;
		case "sub3_2d" : //¿¬±¸°³¹ß > ¹ßÈ£ÀüÅëÀÇ ±â¼ú > °íÃ¼¹ßÈ¿ ÀÔÀÚ
			goURL = '/common/research/research02d.asp';
		break;
		case "sub3_2e" : //¿¬±¸°³¹ß > ¹ßÈ£ÀüÅëÀÇ ±â¼ú > °íÃ¼¾×»ó¹ßÈ¿ Â÷ÀÌÁ¡
			goURL = '/common/research/research02e.asp';
		break;
		case "sub3_2f" : //¿¬±¸°³¹ß > ¹ßÈ£ÀüÅëÀÇ ±â¼ú > °íºÐÀÚ ³ª³ëºÐÀÚ Â÷ÀÌ
			goURL = '/common/research/research02f.asp';
		break;
		case "sub3_3" : //°Ô¸£¸¶´½
			goURL = '/common/research/research03.asp';
		break;
		case "sub3_4" : //¼¿·¹´½
			goURL = '/common/research/research04.asp';
		break;
		case "sub3_5" : //Ceramide
			goURL = '/common/research/research05.asp';
		break;
		case "sub3_6" : //Adeno sine
			goURL = '/common/research/research06.asp';
		break;
		case "sub3_7" : //ÇÁ·ÎÆú¸®½º
			goURL = '/common/research/research07.asp';
		break;
		case "sub3_8" : //º´Ç°ÃßÃâ¹°
			goURL = '/common/research/research08.asp';
		break;
		case "sub3_9" : //Arbutin
			goURL = '/common/research/research09.asp';
		break;



/////////////////////////////////////////////////////////////////È«º¸ÀÚ·á///////////////////////////////////////////////////////////
		
		case "sub4" : //È«º¸ÀÚ·á
			goURL = '/common/public/public01.asp';
		break;
		case "sub4_1" : //Æ¯Çãº¸À¯
			goURL = '/common/public/public01.asp';
		break;
		case "sub4_2" : //º¸µµÀÚ·á½Ç
			goURL = '/common/public/public02.asp';
		break;


/////////////////////////////////////////////////////////////////Áö»ç¸ðÁý///////////////////////////////////////////////////////////
		
		case "sub5" : //Áö»ç¸ðÁý
			goURL = '/common/branch/branch01.asp';
		break;
		case "sub5_1" : //Áö»ç¸ðÁý
			goURL = '/common/branch/branch01.asp';
		break;
		case "sub5_2" : //ÃÑÆÇ¸ðÁý
			goURL = '/common/branch/branch02.asp';
		break;
		case "sub5_3" : //´ë¸®Á¡¸ðÁý
			goURL = '/common/branch/branch03.asp';
		break;
		case "sub5_4" : //Àü±¹ Çù·ÂÃ¼ ÇöÈ²
			goURL = '/common/branch/branch04.asp';
		break;

		
/////////////////////////////////////////////////////////////////Ä¿¹Â´ÏÆ¼///////////////////////////////////////////////////////////
		
		case "sub6" : //
			goURL = '/common/community/board.asp';
		break;
		case "sub6_1" : //°øÁö»çÇ×
			goURL = '/common/community/board.asp';
		break;
		case "sub6_2" : //ÀÚÁÖÁú¹®´äº¯
			goURL = '/common/community/faq.asp';
		break;
		case "sub6_3" : //1:1»ó´ã½Ç
			goURL = '/common/community/counsel.asp';
		break;
		case "sub6_4" : //¿Â¶óÀÎ»ó´ã½Ç
			goURL = '/common/community/online.asp';
		break;
		case "sub6_5" : //Æ÷Åä°¶·¯¸®
			goURL = '/common/community/photo.asp';
		break;

/////////////////////////////////////////////////////////////////È¸»ç¼Ò°³///////////////////////////////////////////////////////////
		
		case "sub7" : //È¸»ç¼Ò°³
			goURL = '/common/company/company01.asp';
		break;
		case "sub7_1" : //ÀÎ»ç¸»
			goURL = '/common/company/company01.asp';
		break;
		case "sub7_2" : //»ç¾÷¼Ò°³
			goURL = '/common/company/company02.asp';
		break;
		case "sub7_3" : //°æ¿µÀÌ³ä
			goURL = '/common/company/company03.asp';
		break;
		case "sub7_4" : //¿¬Çõ
			goURL = '/common/company/company04.asp';
		break;
		case "sub7_5" : //Á¶Á÷µµ
			goURL = '/common/company/company05.asp';
		break;
		case "sub7_6" : //Ã£¾Æ¿À½Ã´Â±æ
			goURL = '/common/company/company06.asp';
		break;




		case "sitemap" : //»çÀÌÆ®¸Ê
			goURL = '/common/customer/sitemap.asp';
		break;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		default :
			alert('ÁØºñÁßÀÔ´Ï´Ù.');
		return;

	}

	if (goURL != "") {
		location.href = goURL;
	}
}




