document.write("<meta http-equiv='content-type' content='text/html; charset=euc-kr;'>");
document.write("<meta http-equiv='imagetoolbar' content='no'>");

/*---------------------------------------------------------------*/
/* ½ºÅ©·Ñ¹Ù µû¶ó´Ù´Ï´Â top ¹öÆ°										 */
/*---------------------------------------------------------------*/

// ÀÌ¹ÌÁöÀÇ ¿À¸¥ÂÊ°ú ¾Æ·¡ÂÊ ¿©¹é
var nimgTopMarginX = 30;
var nimgTopMarginY = 45; 

// ¼¼·Î½ºÅ©·Ñ¹ÙÀÇ Æø°ú °¡·Î½ºÅ©·Ñ¹ÙÀÇ ³ôÀÌ
var nScrollBarWidth = 16;
var nScrollBarHeight = 16; 

// ºê¶ó¿ìÀú ¹öÀü
var nVersion = 3; 

// ÀÌ¹ÌÁö¸¦ ¸®ÇÁ·¹½ÃÇÏ´Â °£°Ý
var nInterval = 100; 

function SetUp()
{
	// ºê¶ó¿ìÀúÀÇ ¹öÀüÀ» Á¤¼ö·Î º¯È¯
	nVersion = parseInt(navigator.appVersion);

	if (nVersion >= 4 )
	{
		//ºê¶ó¿ìÀú°¡ Microsoft Internet ExplorerÀÏ ¶§
		if (navigator.appName == "Microsoft Internet Explorer")
		{
			window.setInterval ("imgTopMove_Explorer();", nInterval);
		}
		//ºê¶ó¿ìÀú°¡ Netscape NavigatorÀÏ ¶§
		else
		{
			layerTop = document.layers["lyrTop"];
			window.setInterval ("imgTopMove_Navigator();", nInterval);
		}
	}
}

function imgTopMove_Explorer()
{
	
	//½ºÅ©·ÑÇÏÁö ¾Ê¾ÒÀ» ¶§´Â ÀÌ¹ÌÁö°¡ º¸ÀÌÁö ¾Ê°Ô À§Ä¡½ÃÅ²´Ù.
	if (document.body.scrollLeft == 0 && document.body.scrollTop == 0) 
	{
		imgTop.style.pixelTop = -100;
	}
	//½ºÅ©·ÑÇßÀ» ¶§´Â ÀÌ¹ÌÁöÀÇ À§Ä¡¸¦ ¼ÂÆÃÇÑ´Ù.
	else 
	{
		//nimgTopOriginX = document.body.clientWidth + document.body.scrollLeft - imgTop.width - nimgTopMarginX;
		nimgTopOriginX = 790;
		nimgTopOriginY = document.body.clientHeight + document.body.scrollTop - imgTop.height - nimgTopMarginY; 
		imgTop.style.pixelLeft = nimgTopOriginX; //ÀÌ¹ÌÁöÀÇ XÁÂÇ¥(¿ÞÂÊ ¿©¹é)À» ¼³Á¤
		imgTop.style.pixelTop = nimgTopOriginY; //ÀÌ¹ÌÁöÀÇ YÁÂÇ¥(À§ÂÊ ¿©¹é)À» ¼³Á¤
	}
	
}

function imgTopMove_Navigator()
{ 
	//½ºÅ©·ÑÇÏÁö ¾Ê¾ÒÀ» ¶§´Â ÀÌ¹ÌÁö°¡ º¸ÀÌÁö ¾Ê°Ô À§Ä¡½ÃÅ²´Ù.
	if (window.pageXOffset == 0 && window.pageYOffset == 0) 
	{
		layerTop.top = -100
	}
	//½ºÅ©·ÑÇßÀ» ¶§´Â ÀÌ¹ÌÁöÀÇ À§Ä¡¸¦ ¼ÂÆÃÇÑ´Ù.
	else 
	{
		//nimgTopOriginX = window.innerWidth + window.pageXOffset - layerTop.clip.width - nimgTopMarginX;
		nimgTopOriginX = 790;
		nimgTopOriginY = window.innerHeight + window.pageYOffset - layerTop.clip.height - nimgTopMarginY;
	
		//À©µµ¿ì¿¡ ½ºÅ©·Ñ¹Ù°¡ ÀÖÀ» °æ¿ì
		if (window.scrollbars)
		{
			nimgTopOriginX -= nScrollBarWidth;
			nimgTopOriginY -= nScrollBarHeight;
		}
		
		layerTop.left = nimgTopOriginX; //·¹ÀÌ¾îÀÇ XÁÂÇ¥(¿ÞÂÊ ¿©¹é)À» ¼³Á¤
		layerTop.top = nimgTopOriginY; //·¹ÀÌ¾îÀÇ YÁÂÇ¥(À§ÂÊ ¿©¹é)À» ¼³Á¤
	}
}

function scrTopBtnWrite()
{
	var topBtn = "\
	<div id='lyrTop' z-Index='2'>\n\
		<a href='#'><img id='imgTop' src='/club/jyp/images/btn_top.gif' border=0	style='position:absolute;z-index:2;'></a>\n\
	</div>\n";
	
	//var topBtn = "\
	//<div id=floater style='left:790; top:"+yMax+"; width:119; height:50; z-index:10'><a href='#'><img src='/images/btn_top.gif'></a></div>\n";
	document.write(topBtn);
}




/*---------------------------------------------------------------*/
/* »ó´Ü Flash ; ÇÑ±Û About                                      */
/*---------------------------------------------------------------*/

function topAboutFlashWrite(d1,d2)
{
	var src1 = "/club/jyp/about/flash/top_flash_" + d1 + ".swf";
	var src2 = "/club/jyp/about/flash/k_about_top_menu.swf?menu=" + d1;
	
	var topFlash = "\
	<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='750' height='170'>\n\
    <param name='movie' value='"+src1+"'><param name='quality' value='high'><param name='menu' value='false'>\n\
    <embed src='"+src1+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='750' height='170'>\n\
    </embed></object>\n";
	
	var topFlash = topFlash + "\
	<br><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='750' height='60'>\n\
    <param name='movie' value='"+src2+"'><param name='quality' value='high'><param name='menu' value='false'><param name='wmode' value='transparent'>\n\
    <embed src='"+src2+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='750' height='60'>\n\
    </embed></object>\n";

	document.write(topFlash);
}




/*---------------------------------------------------------------*/
/* »ó´Ü Flash ; ÇÑ±Û Artist										 */
/*---------------------------------------------------------------*/

function topArtistFlashWrite(d1,d2)
{
	//alert(d1+','+d2);
	
	var src1 = "/club/jyp/artist/flash/top_flash_" + d1 + ".swf";
	var src2 = "/club/jyp/artist/flash/k_artist_top_menu.swf?depth1=" + d1 + "&depth2=" + d2;
	
	var topFlash = "\
	<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='750' height='170'>\n\
    <param name='movie' value='"+src1+"'><param name='quality' value='high'><param name='menu' value='false'>\n\
    <embed src='"+src1+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='750' height='170'>\n\
    </embed></object>\n";	

	var topFlash = topFlash + "\
	<br><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='750' height='60'>\n\
    <param name='movie' value='"+src2+"'><param name='quality' value='high'><param name='menu' value='false'><param name='wmode' value='transparent'>\n\
    <embed src='"+src2+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='750' height='60'>\n\
    </embed></object>\n";
					
	document.write(topFlash);
}

/*---------------------------------------------------------------*/
/* »ó´Ü Flash ; ÇÑ±Û sitemap										 */
/*---------------------------------------------------------------*/

function topSitemapFlashWrite(d1,d2)
{
	//alert(d1+','+d2);
	
	var src1 = "/club/jyp/sitemap/flash/top_flash_" + d1 + ".swf";
	var src2 = "/club/jyp/sitemap/flash/k_sitemap_top_menu.swf?menu=" + d1;
	
	var topFlash = "\
	<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='750' height='170'>\n\
    <param name='movie' value='"+src1+"'><param name='quality' value='high'><param name='menu' value='false'>\n\
    <embed src='"+src1+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='750' height='170'>\n\
    </embed></object>\n";	

	var topFlash = topFlash + "\
	<br><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='750' height='60'>\n\
    <param name='movie' value='"+src2+"'><param name='quality' value='high'><param name='menu' value='false'><param name='wmode' value='transparent'>\n\
    <embed src='"+src2+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='750' height='60'>\n\
    </embed></object>\n";
					
	document.write(topFlash);
}



/*---------------------------------------------------------------*/
/* »ó´Ü Flash ; ¿µ¹® About										 */
/*---------------------------------------------------------------*/

function topEngAboutFlashWrite(d1,d2)
{
   
	var src1 = "/club/jyp/about/flash/top_flash_" + d1 + ".swf";
	var src2 = "/club/jyp/eng/about/flash/e_about_top_menu.swf?menu=" + d1;
	
	var topFlash = "\
	<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='750' height='170'>\n\
    <param name='movie' value='"+src1+"'><param name='quality' value='high'><param name='menu' value='false'>\n\
    <embed src='"+src1+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='750' height='170'>\n\
    </embed></object>\n";
	
	var topFlash = topFlash + "\
	<br><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='750' height='60'>\n\
    <param name='movie' value='"+src2+"'><param name='quality' value='high'><param name='menu' value='false'><param name='wmode' value='transparent'>\n\
    <embed src='"+src2+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='750' height='60'>\n\
    </embed></object>\n";

	document.write(topFlash);
}




/*---------------------------------------------------------------*/
/* »ó´Ü Flash + html_menu ; ¿µ¹® Artist										 */
/*---------------------------------------------------------------*/

function topEngArtistFlashWrite(d1,d2)
{

	var topFlash = "/club/jyp/artist/flash/top_flash_" + d1 + ".swf";
	
	var topFlash = "\
	<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='750' height='170'>\n\
    <param name='movie' value='"+topFlash+"'><param name='quality' value='high'><param name='menu' value='false'>\n\
    <embed src='"+topFlash+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='750' height='170'>\n\
    </embed></object>\n";	

	
	/*
	var topFlash = "/about/images/img_top06.jpg";

	var topFlash = "\
	<img src='/about/images/img_top06.jpg'><br><img src='/about/images/submenu.gif' border='0' usemap='#Map'>\n\
	<map name='Map'>\n\
	  <area shape='rect' coords='21,12,103,36' href='/about/intro.html'>\n\
	  <area shape='rect' coords='110,12,203,37' href='#'>\n\
	  <area shape='rect' coords='217,12,292,37' href='/history/history.html'>\n\
	  <area shape='rect' coords='304,12,370,36' href='/vision/vision.html'>\n\
	  <area shape='rect' coords='375,12,457,37' href='#'>\n\
	  <area shape='rect' coords='468,12,558,38' href='/board/notice_list.jsp'>\n\
	  <area shape='rect' coords='563,11,626,37' href='/board/news_list.jsp'>\n\
	  <area shape='rect' coords='636,11,732,37' href='/contact/contact.html'>\n\
	</map>\n";
	//document.getElementById('st_top').innerHTML = topArea;
	*/

	if (d1 == 1){
		if (d2 == 1){
			var navi = "\
				<td><a href='jyp01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_on.gif' WIDTH='58' HEIGHT='17' align='absmiddle'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='jyp02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_off.gif' WIDTH='44' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'>\n";
		}else{
			var navi = "\
				<td><a href='jyp01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_off.gif' WIDTH='58' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='jyp02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_on.gif' WIDTH='44' HEIGHT='17' align='absmiddle'></a>\n";
		}
	}else if (d1 == 2){
		if (d2 == 1){
			var navi = "\
				<td><a href='god01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_on.gif' WIDTH='58' HEIGHT='17' align='absmiddle'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='god02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_off.gif' WIDTH='44' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'>\n";
		}else{
			var navi = "\
				<td><a href='god01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_off.gif' WIDTH='58' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='god02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_on.gif' WIDTH='44' HEIGHT='17' align='absmiddle'></a>\n";
		}
	}else if (d1 == 3){
		if (d2 == 1){
			var navi = "\
				<td><a href='rain01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_on.gif' WIDTH='58' HEIGHT='17' align='absmiddle'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='rain02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_off.gif' WIDTH='44' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'>\n";
		}else{
			var navi = "\
				<td><a href='rain01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_off.gif' WIDTH='58' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='rain02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_on.gif' WIDTH='44' HEIGHT='17' align='absmiddle'></a>\n";
		}
	}else if (d1 == 4){
		if (d2 == 1){
			var navi = "\
				<td><a href='noel01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_on.gif' WIDTH='58' HEIGHT='17' align='absmiddle'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='noel02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_off.gif' WIDTH='44' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'>\n";
		}else{
			var navi = "\
				<td><a href='noel01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_off.gif' WIDTH='58' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='noel02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_on.gif' WIDTH='44' HEIGHT='17' align='absmiddle'></a>\n";
		}
	}else if (d1 == 5){
		if (d2 == 1){
			var navi = "\
				<td><a href='star01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_on.gif' WIDTH='58' HEIGHT='17' align='absmiddle'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='star02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_off.gif' WIDTH='44' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'>\n";
		}else{
			var navi = "\
				<td><a href='star01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_off.gif' WIDTH='58' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='star02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_on.gif' WIDTH='44' HEIGHT='17' align='absmiddle'></a>\n";
		}
	}else if (d1 == 6){
		var navi = "\
			<td><a href='you01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_on.gif' WIDTH='58' HEIGHT='17' align='absmiddle'></td>\n";
	}else if (d1 == 7){
		var navi = "\
			<td><a href='kim01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_on.gif' WIDTH='58' HEIGHT='17' align='absmiddle'></td>\n";
	}else if (d1 == 8){
		var navi = "\
			<td><a href='cho01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_on.gif' WIDTH='58' HEIGHT='17' align='absmiddle'></td>\n";
	}else if (d1 == 9){
		if (d2 == 1){
			var navi = "\
				<td><a href='lim01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_on.gif' WIDTH='58' HEIGHT='17' align='absmiddle'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='lim02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_off.gif' WIDTH='44' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'>\n";
		}else{
			var navi = "\
				<td><a href='lim01.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_profile_off.gif' WIDTH='58' HEIGHT='17' align='absmiddle' onmouseover='imgOver(this)' onmouseout='imgOut(this)'></td>\n\
				<td><IMG SRC='/club/jyp/eng/artist/images/eng_artist_middle.gif' width='25' height='17' align='absmiddle'></td>\n\
				<td><a href='lim02.html'><IMG SRC='/club/jyp/eng/artist/images/eng_artist_album_on.gif' WIDTH='44' HEIGHT='17' align='absmiddle'></a>\n";
		}
	}else{
		var navi = "";
	}

	var topFlash = topFlash + "\
					<table cellpadding=0 cellspacing=0 border=0 width='750' height'60'>\n\
					<tr><td height=13></td></tr>\n\
					<tr><td height=35 bgcolor='#FF3B7B'>\n\
						<table cellpadding=0 cellspacing=0 border=0>\n\
						<tr><td><img src='/club/jyp/eng/artist/images/eng_artist_" + d1 + ".gif'></td>\n\
							<td><img src='/club/jyp/eng/artist/images/eng_artist_left.gif' WIDTH='10' HEIGHT='17'></td>\n\
							"+ navi + "<td><img src='/club/jyp/eng/artist/images/eng_artist_right.gif' WIDTH='10' HEIGHT='17'></td>\n\
						</tr>\n\
						</table>\n\
					</tr>\n\
					<tr><td height=12></td></tr>\n\
					</table>\n";
						

	document.write(topFlash);
}




/*---------------------------------------------------------------*/
/* Artist °¡¼öº° ¼¼·Î(±×·ìÀÌ¿Ü) ÇÃ·¡½¬ ; ÇÑ±Û,¿µ¹® °øÅë				 */
/*---------------------------------------------------------------*/

function leftArtistFlashWrite1(d1)
{
	var topFlash = "/club/jyp/artist/flash/left_flash_" + d1 + ".swf";
	
	var topFlash = "\
	<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='240' height='510'>\n\
    <param name='movie' value='"+topFlash+"'><param name='quality' value='high'><param name='menu' value='false'>\n\
    <embed src='"+topFlash+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='240' height='510'>\n\
    </embed></object>\n";
	
	document.write(topFlash);
}



/*---------------------------------------------------------------*/
/* Artist °¡¼öº° °¡·Î(±×·ì) ÇÃ·¡½¬ ; ÇÑ±Û,¿µ¹® °øÅë					 */
/*---------------------------------------------------------------*/


function leftArtistFlashWrite2(d1)
{
	var topFlash = "/club/jyp/artist/flash/left_flash_" + d1 + ".swf";
	
	var topFlash = "\
	<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='710' height='240' id='swf'>\n\
    <param name='movie' value='"+topFlash+"'><param name='quality' value='high'><param name='menu' value='false'>\n\
    <embed src='"+topFlash+"' quality='high' menu='false' id='swf' name='swf' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='710' height='240'>\n\
    </embed></object>\n";
	
	document.write(topFlash);
}



/*---------------------------------------------------------------*/
/* ÇÏ´Ü Copyright												 */
/*---------------------------------------------------------------*/

function bottomMenuWrite(lan)
{
	if (lan == "eng")
	{
		lan = "_eng";
	}else{
		lan = "";
	}
	var bottomMenu = "\
	<table cellpadding='0' cellspacing='0' border='0'>\n\
	<tr><td valign=top><img src='/club/jyp/images/img_footer" + lan + ".gif' width='491' height='50' border='0' usemap='#copyright1'></td></tr>\n\
	</table>\n\
	<map name='copyright1'>\n\
	<area shape='rect' coords='208,14,374,27' href='mailto:webmaster@jype.com' onfocus='blur();'>\n\
	</map>\n";
	
	document.write(bottomMenu);
}

/*---------------------------------------------------------------*/
/* ¿À¸¥ÂÊ ¸Þ´º ; ÇÑ±Û  											 */
/*---------------------------------------------------------------*/
function rightAreaWrite(d1, d2, d3)
{
	var src1 = "/club/jyp/images/k_right_menu.swf?menu=" + d1;
	
	var rightArea = "\
	<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='245' height='650' style='margin-left:25px'>\n\
    <param name='movie' value='"+src1+"'><param name='quality' value='high'><param name='menu' value='false'><param name='wmode' value='transparent'>\n\
    <embed src='"+src1+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='245' height='650' style='margin-left:25px'>\n\
    </embed></object>\n";

	document.write(rightArea);

	
}



/*---------------------------------------------------------------*/
/* ¿À¸¥ÂÊ ¸Þ´º ; ¿µ¹®												 */
/*---------------------------------------------------------------*/

function rightEngAreaWrite(d1, d2, d3)
{
	var src1 = "/club/jyp/eng/images/e_right_menu.swf?menu=" + d1;
	
	var rightArea = "\
	<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='245' height='650' style='margin-left:25px'>\n\
    <param name='movie' value='"+src1+"'><param name='quality' value='high'><param name='menu' value='false'><param name='wmode' value='transparent'>\n\
    <embed src='"+src1+"' quality='high' menu='false' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='245' height='650' style='margin-left:25px'>\n\
    </embed></object>\n";

	document.write(rightArea);
}




/*--------------------------------------------------------------------------*/
/* ÀÌ¹ÌÁö ·Ñ¿À¹ö [img0001] (ÄÚµåÀÇ °£°áÈ­, À¯Áöº¸¼öÀÇ ¿ëÀÌ, ÀÌ¹ÌÁöÄÆÀÇ ÅëÀÏ¼º º¸Àå) */
/*--------------------------------------------------------------------------*/

// ¿À¹ö
function imgOver(imgObj)
{
	var imgSrc = imgObj.src;
	var imgSrcOver = imgSrc.replace("_off.gif", "_on.gif");
	imgObj.src = imgSrcOver;
}
// ¾Æ¿ô
function imgOut(imgObj)
{
	var imgSrc = imgObj.src;
	var imgSrcOut = imgSrc.replace("_on.gif", "_off.gif");
	imgObj.src = imgSrcOut;
}

// ¿À¹ö
function imgOver2(imgObj)
{
	var imgSrc = imgObj.src;
	var imgSrcOver = imgSrc.replace(".jpg", "_on.jpg");
	imgObj.src = imgSrcOver;
}
// ¾Æ¿ô
function imgOut2(imgObj)
{
	var imgSrc = imgObj.src;
	var imgSrcOut = imgSrc.replace("_on.jpg", ".jpg");
	imgObj.src = imgSrcOut;
}


/* ¸Þ´ºÅÇ°ú ±× ÇÏ´Ü ³»¿ëlayer °°ÀÌ ¹Ù²î´Â ÇÔ¼ö ; ¹ÚÁø¿µ¸»°í ´Ù¸¥ °¡¼öµé */
var oldDiv = "DIV1";
function divN_Common(divNum,total)
{
	var selDiv = "DIV" + divNum

	document.getElementById(oldDiv).style.display = "none";
	document.getElementById(selDiv).style.display = "block";

	for (i=1; i<total+1; i++)
	{
		var imgId = "img" + i;
		document.getElementById(imgId).src = "../images/menu_0" + i + "_off.gif";
	}

	var imgIdSel = "img" + divNum;
	document.getElementById(imgIdSel).src = "../images/menu_0" + divNum + "_on.gif";

	oldDiv = selDiv;
}


/* ¸Þ´ºÅÇ°ú ±× ÇÏ´Ü ³»¿ëlayer °°ÀÌ ¹Ù²î´Â ÇÔ¼ö ; ¹ÚÁø¿µ ÇÁ·ÎÇÊ*/
var oldDiv = "DIV1";
function divN(divNum,total)
{
	var selDiv = "DIV" + divNum

	document.getElementById(oldDiv).style.display = "none";
	document.getElementById(selDiv).style.display = "block";

	for (i=1; i<total+1; i++)
	{
		var imgId = "img" + i;
		document.getElementById(imgId).src = "images/menu_0" + i + "_off.gif";
	}

	var imgIdSel = "img" + divNum;
	document.getElementById(imgIdSel).src = "images/menu_0" + divNum + "_on.gif";

	oldDiv = selDiv;
}

/* ¸Þ´ºÅÇ°ú ±× ÇÏ´Ü ³»¿ëlayer °°ÀÌ ¹Ù²î´Â ÇÔ¼ö ; ¹ÚÁø¿µ ¾ÆÆ¼½ºÆ® */
var oldDiv = "DIV1";
function divN_a(divNum,total)
{
	var selDiv = "DIV" + divNum

	document.getElementById(oldDiv).style.display = "none";
	document.getElementById(selDiv).style.display = "block";

	for (i=1; i<total+1; i++)
	{
		var imgId = "img" + i;
		document.getElementById(imgId).src = "images/menu_a_0" + i + "_off.gif";
	}

	var imgIdSel = "img" + divNum;
	document.getElementById(imgIdSel).src = "images/menu_a_0" + divNum + "_on.gif";

	oldDiv = selDiv;
}

/* ¸Þ´ºÅÇ°ú ±× ÇÏ´Ü ³»¿ëlayer °°ÀÌ ¹Ù²î´Â ÇÔ¼ö */
var oldDiv = "DIV1";
function divN(divNum,total)
{
	var selDiv = "DIV" + divNum

	document.getElementById(oldDiv).style.display = "none";
	document.getElementById(selDiv).style.display = "block";

	for (i=1; i<total+1; i++)
	{
		var imgId = "img" + i;
		document.getElementById(imgId).src = "images/menu_0" + i + "_off.gif";
	}

	var imgIdSel = "img" + divNum;
	document.getElementById(imgIdSel).src = "images/menu_0" + divNum + "_on.gif";

	oldDiv = selDiv;
}

function goUrl(v1){

	if (v1.substring(0,2) == 'e_'){
		var lang = '/club/jyp/eng/';	// ¿µ¹®
	}else{
		var lang = '/club/jyp/';	// ±¹¹®
	}

    

	if(v1=="home" || v1=="korean"){

		location.href = '/club/jyp/index.jsp';
	
	}else if(v1=="english"){
		
		location.href = '/club/jyp/eng/index.jsp';

	}else if(v1=="coummunity"){
		
		location.href = 'http://www.jype.com/club.intro.screen';
		//alert("not yet");

	}else{
	
		var tmpVal = v1.substring(2); // k_ ÀÌ³ª e_ À» ¶¾ ¹®ÀÚ¿­

		
		if(tmpVal=="about_01"){		// About JYP
			
			location.href = lang + 'about/intro/intro.html';
		
		}else if(tmpVal=="about_02"){

			location.href = lang + 'about/worldwide/worldwide.html';

		}else if(tmpVal=="about_03"){

			location.href = lang + 'about/history/history.html';

		}else if(tmpVal=="about_04"){

			location.href = lang + 'about/vision/vision.html';
		
		}else if(tmpVal=="about_05"){

			location.href = lang + 'about/partner/partner.html';
		
		}else if(tmpVal=="about_06"){

			location.href = lang + 'about/board/notice_list.jsp';

		}else if(tmpVal=="about_07"){

			location.href = lang + 'about/board/news_list.jsp';

		}else if(tmpVal=="about_08"){

			location.href = lang + 'about/contact/contact.html';

		}else if(tmpVal=="artist_11"){		// Artist

			location.href = lang + 'artist/jyp/jyp01.html';

		}else if(tmpVal=="artist_12"){

			location.href = lang + 'artist/jyp/jyp02.html';

		}else if(tmpVal=="artist_21"){

			location.href = lang + 'artist/god/god01.html';
		
		}else if(tmpVal=="artist_22"){

			location.href = lang + 'artist/god/god02.html';

		}else if(tmpVal=="artist_31"){

			location.href = lang + 'artist/rain/rain01.html';

		}else if(tmpVal=="artist_32"){

			location.href = lang + 'artist/rain/rain02.html';

		}else if(tmpVal=="artist_41"){

			location.href = lang + 'artist/noel/noel01.html';

		}else if(tmpVal=="artist_42"){

			location.href = lang + 'artist/noel/noel02.html';
		
		}else if(tmpVal=="artist_51"){

			location.href = lang + 'artist/star/star01.html';

		}else if(tmpVal=="artist_52"){

			location.href = lang + 'artist/star/star02.html';

		}else if(tmpVal=="artist_61"){

			location.href = lang + 'artist/you/you01.html';

		}else if(tmpVal=="artist_71"){

			location.href = lang + 'artist/kim/kim01.html';

		}else if(tmpVal=="artist_81"){

			location.href = lang + 'artist/cho/cho01.html';

		}else if(tmpVal=="artist_91"){

			location.href = lang + 'artist/lim/lim01.html';

		}else if(tmpVal=="artist_92"){

			location.href = lang + 'artist/lim/lim02.html';
		
		}else if(tmpVal=="contact"){		// Contact Us

			location.href = lang + 'about/contact/contact.html';

		}else if(tmpVal=="sitemap"){		//Sitemap

			location.href = lang + 'sitemap/sitemap.html';
		
		}else if(tmpVal=="home"){		// ¿µ¹® home (e_home)

			location.href = lang + 'index.jsp';
		
		}else{
			alert("ÀÏÄ¡ÇÏ´Â ÆÄ¶ó¹ÌÅÍ°ª ¾øÀ½.");
		}
	}
	
}

