/***************
*¹Ìµð¾î¼¾ÅÍ - Top
****************/
function media_top()
{
	document.write("<tr>");
		document.write("<td height=70 valign=top>");

		document.write("<table border=0 cellspacing=0 cellpadding=0 width=100% height=70>");
		document.write("<tr>");
			document.write("<td width=119><img src=/images/kor/media/left_bg01.gif></td>");
			document.write("<td width=201 align=right><img src=/images/kor/media/left_title.gif></td>");
			document.write("<td width=100%>");

			document.write("<table border=0 cellspacing=0 cellpadding=0 width=100% height=70 style=\"background:url('/images/kor/media/top_bg.gif');background-repeat:repeat-x;\">");
			document.write("<tr><td valign=bottom style='padding-left:30;'><img src=/images/kor/media/top_title.gif></td></tr>");
			document.write("</table>");

			document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

		document.write("</td>");
	document.write("</tr>");
}
		

/****************
*¹Ìµð¾î¼¾ÅÍ - Left
*****************/
function media_left(gomenu) 
{	
	gotoswf_no=gomenu;
	window.onload = gotoSWF;
	
	document.write("<table border=0 cellspacing=0 cellpadding=0 width=320 height=100%>");

	/* STR : Left01_Menu */
	document.write("<tr height=240>");
		document.write("<td width=119><img src=/images/kor/media/left_bg02.gif></td>");
		document.write("<td width=201 height=240 align=right style=\"background:url('/images/kor/media/left_bg03.gif');background-repeat:no-repeat;\">");

		// STR : Left_Menu_Flash
		document.write("<object id='leftmenu_go' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'");
		document.write("codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='201' height='240' id='leftmenu'>");
		document.write("<PARAM NAME=movie VALUE='/flash/media_leftmenu_kor.swf'>");
		document.write("<PARAM NAME=menu VALUE='false'>");
		document.write("<PARAM NAME=quality VALUE=high> ");
		document.write("<PARAM NAME=wmode VALUE=transparent>");
		document.write("<embed src='/flash/media_leftmenu_kor.swf' quality=high bgcolor=#FFFFFF  WIDTH='201' HEIGHT='240' NAME='leftmenu'");
		document.write("ALIGN='' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'>");
		document.write("</embed>");
		document.write("</object>");
		// END : Left_Menu_Flash

		document.write("</td>");
	document.write("</tr>");
	/* STR : Left01_Menu */

	/* STR : Left02_ImgNav */
	document.write("<tr height=274>");
		document.write("<td colspan=2 width=320 height=274 style=\"background:url('/images/kor/media/left_img.jpg');background-repeat:no-repeat;\">");

		// STR : Left_Img_Flash
		document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'");
		document.write("codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='320' height='274' id='leftimg'>");
		document.write("<PARAM NAME=movie VALUE='/flash/media_leftimg.swf'>");
		document.write("<PARAM NAME=menu VALUE='false'>");
		document.write("<PARAM NAME=quality VALUE=high> ");
		document.write("<PARAM NAME=wmode VALUE=transparent>");
		document.write("<embed src='/flash/media_leftimg.swf' quality=high bgcolor=#FFFFFF  WIDTH='320' HEIGHT='274' NAME='leftimg'");
		document.write("ALIGN='' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'>");
		document.write("</embed>");
		document.write("</object>");
		// END : Left_Img_Flash

		document.write("</td>");
	document.write("</tr>");
	/* STR : Left01_ImgNav */

	/* STR : Left03_Select */
	document.write("<tr height=43>");
		document.write("<td width=119><img src=/images/kor/media/left_bg04.gif></td>");
		document.write("<td width=201 bgcolor=#3F3F3F>");

		// STR : Select_Box
		sub_select_kor();

//document.write("<div id='Layer1' style=\"position:absolute;left:120; top:640; width:202px; height:45px; z-index:1; visibility: hidden;\" onMouseOut=\"MM_showHideLayers('Layer1','','hide')\" onMouseOver=\"MM_showHideLayers('Layer1','','show','Layer2','','show')\">");
//document.write("<table>");
//document.write("	<tr><td><a href='http://www.naver.com' target='_blank'>³×ÀÌ¹ö</a></td></tr>");
//document.write("	<tr><td><a href='http://www.daum.net' target='_blank'>´ÙÀ½</a></td></tr>");
//document.write("</table>");

//document.write("</div>");
//document.write("<div id='Layer2' style=\"position:absolute; left:120; top:680; width:202; height:30; z-index:2\" onClick=\"MM_showHideLayers('Layer1','','show','Layer2','','show')\" onMouseOut=\"MM_showHideLayers('Layer1','','hide','Layer2','','show')\">");
//document.write("test2");

//document.write("<img src=/images/common/select01.gif border=0>");
//document.write("</div>");





		// END : Select_Box

		document.write("</td>");
	document.write("</tr>");
	/* STR : Left03_Select */

	/* STR : Left04_BgNav */
	document.write("<tr height=100%>");
		document.write("<td colspan=2 width=320 style=\"background:url('/images/kor/media/left_bg05.gif');background-repeat:repeat-y;\">");
		document.write("</td>");
	document.write("</tr>");
	/* STR : Left04_BgNav */

	document.write("</table>");	
}


/**************
*ÀÎ¼â±¤°í »ó´ÜÅÇ
***************/
function print_tab(ad)
{

	//ÅÇ¸Þ´ºÀÌ¹ÌÁö
	print_menu = new Array();

	print_menu[0] = "<img src=/images/kor/media/print_tab01_off.gif border=0 onMouseover=this.src='/images/kor/media/print_tab01_on.gif' onMouseout=this.src='/images/kor/media/print_tab01_off.gif'>";
	print_menu[1] = "<img src=/images/kor/media/print_tab02_off.gif border=0 onMouseover=this.src='/images/kor/media/print_tab02_on.gif' onMouseout=this.src='/images/kor/media/print_tab02_off.gif'>";
	print_menu[2] = "<img src=/images/kor/media/print_tab03_off.gif border=0 onMouseover=this.src='/images/kor/media/print_tab03_on.gif' onMouseout=this.src='/images/kor/media/print_tab03_off.gif'>";
	print_menu[3] = "<img src=/images/kor/media/print_tab04_off.gif border=0 onMouseover=this.src='/images/kor/media/print_tab04_on.gif' onMouseout=this.src='/images/kor/media/print_tab04_off.gif'>";



	//ÅÇ¸Þ´º¸µÅ©
	print_link = new Array();
	print_link[0] = "print_ad01.html"; //ÀüÃ¼
	print_link[1] = "print_ad02.html"; //½Å¹®±¤°í
	print_link[2] = "print_ad03.html"; //ÀâÁö±¤°í
	print_link[3] = "print_ad04.html"; //ÁöÇÏÃ¶±¤°í

	
	//¸Þ´ºº¸¿©ÁÖ±â
	document.write("<table border=0 cellspacing=0 cellpadding=0>");
		document.write("<tr valign=top>");

		for ( i=1 ; i<=print_menu.length ; i++ )
		{
			document.write("<td>");
			if(ad!=i)
			{
				document.write("<a href=" + print_link[i-1] + " onFocus=this.blur()>");
			}

			if(ad==i) //³Ñ°Ü¹ÞÀº°ª°ú °°Àº°æ¿ì
			{  
				document.write(chg_on_off(print_menu[i-1])); //¸¶¿ì½º¿À¹ö½Ã onÀÌ¹ÌÁö
			}
			else
			{
				document.write(print_menu[i-1]); //Æò¼ÒÀÌ¹ÌÁö offÀÌ¹ÌÁö
			}

			if(ad!=i) 
			{
				document.write("</a>");				
			}
			document.write("</td>");
			document.write("<td width=5></td>");
		}
		
		document.write("</tr>");
	document.write("</table>");

}





