// º¯¼ö¼±¾ð
var gnb = ""; var lnb = ""; var lnbEtc = "";
// tmp_CatID¿¡ CatIDÀÇ Ã¹¹øÂ° ¼ýÀÚ¸¸ °¡Á®¿È
tmp_CatID = CatID.substring(0,1);

gnb = '<dd><a id="lnbLink1" href="http://news.chosun.com/svc/list_in/list.html"><img src="http://image.chosun.com/cs/201003/gnbNews.gif" alt="ÀüÃ¼±â»ç" title="ÀüÃ¼±â»ç"></a></dd>';
gnb += '<dd><a id="lnbLink2" href="http://biz.chosun.com/" target="_blank"><img src="http://image.chosun.com/cs/201003/gnbEcnmy.gif" alt="Á¶¼±°æÁ¦" title="Á¶¼±°æÁ¦"></a></dd>';
gnb += '<dd><a id="lnbLink3" href="http://news.chosun.com/politics/"><img src="http://image.chosun.com/cs/201003/gnbPolit.gif" alt="Á¤Ä¡" title="Á¤Ä¡"></a></dd>';
gnb += '<dd><a id="lnbLink4" href="http://news.chosun.com/national/"><img src="http://image.chosun.com/cs/201003/gnbNation.gif" alt="»çÈ¸" title="»çÈ¸"></a></dd>';
gnb += '<dd><a id="lnbLink5" href="http://news.chosun.com/international/"><img src="http://image.chosun.com/cs/201003/gnbInter.gif" alt="±¹Á¦" title="±¹Á¦"></a></dd>';
gnb += '<dd><a id="lnbLink6" href="http://news.chosun.com/culture/"><img src="http://image.chosun.com/cs/201003/gnbCultr.gif" alt="¹®È­" title="¹®È­"></a></dd>';
gnb += '<dd class="gnbInfo"><a id="lnbLink6" href="http://inside.chosun.com/"><img src="http://image.chosun.com/cs/201003/gnbInfo.gif" alt="ÀÎÆ÷±×·¡ÇÈ½º" title="´º½º"></a></dd>';

if(tmp_CatID == "1"){
	//Á¶¼±°æÁ¦
	}
else if(tmp_CatID == "2"){
	//Á¤Ä¡
	lnb += '<dd><a id="lnbLink3_1" href="http://news.chosun.com/svc/list_in/list.html?catid=2">ÃÖ½Å±â»ç</a></dd>';
	lnb += '<dd><a id="lnbLink3_2" href="http://news.chosun.com/svc/list_in/list.html?catid=21">±¹È¸¤ýÁ¤´ç</a></dd>';
	lnb += '<dd><a id="lnbLink3_3" href="http://news.chosun.com/svc/list_in/list.html?catid=22">ºÏÇÑ</a></dd>';
	lnb += '<dd><a id="lnbLink3_4" href="http://news.chosun.com/svc/list_in/list.html?catid=23">ÇàÁ¤¤ýÀÚÄ¡</a></dd>';
	lnb += '<dd><a id="lnbLink3_5" href="http://news.chosun.com/svc/list_in/list.html?catid=25">¿Ü±³</a></dd>';
	lnb += '<dd><a id="lnbLink3_6" href="http://news.chosun.com/svc/list_in/list.html?catid=24">Ã»¿Í´ë</a></dd>';
	lnb += '<dd><a id="lnbLink3_7" href="http://news.chosun.com/svc/list_in/list.html?catid=27">Á¤°¡ ¸»¸»¸»</a></dd>';
	lnbEtc += '<dd class="leLst"><a href="http://bemil.chosun.com/" target="_blank">À¯¿ë¿øÀÇ ±º»ç¼¼°è</a></dd>';
}
else if(tmp_CatID == "3"){
	//»çÈ¸
	lnb += '<dd><a id="lnbLink4_1" href="http://news.chosun.com/svc/list_in/list.html?catid=3">ÃÖ½Å±â»ç</a></dd>';
	lnb += '<dd><a id="lnbLink4_2" href="http://news.chosun.com/svc/list_in/list.html?catid=31">¹ý¿ø¡¤°ËÂû¡¤°æÂû</a></dd>';
	lnb += '<dd><a id="lnbLink4_3" href="http://news.chosun.com/svc/list_in/list.html?catid=32">±³À°¤ý½ÃÇè</a></dd>';
	lnb += '<dd><a id="lnbLink4_4" href="http://news.chosun.com/svc/list_in/list.html?catid=3B">±¹¹æ</a></dd>';
	lnb += '<dd><a id="lnbLink4_5" href="http://news.chosun.com/svc/list_in/list.html?catid=3A">»ç°Ç¤ý»ç°í</a></dd>';
	lnb += '<dd><a id="lnbLink4_6" href="http://news.chosun.com/national/metro/">Àü±¹´º½º</a></dd>';
	lnb += '<dd><a id="lnbLink4_7" href="http://weather.chosun.com/">³¯¾¾</a></dd>';
	lnb += '<dd><a id="lnbLink4_8" href="http://news.chosun.com/svc/list_in/list.html?catid=37">È¯°æ¤ýÀçÇØ</a></dd>';
	lnb += '<dd><a id="lnbLink4_9" href="http://news.chosun.com/svc/list_in/list.html?catid=3C">±³Åë¡¤°ü±¤¡¤Ç×°ø</a></dd>';
	lnb += '<dd class="morePrev"><a id="lnbLink4_10" href="http://news.chosun.com/svc/list_in/list.html?catid=3D">³ëµ¿¤ýº¹Áö</a></dd>';
	lnb += '<dd class="more"><a href="#" onfocus="showMore(\'moreCon\');" onblur="hideMore(\'moreCon\');" onmouseover="showMore(\'moreCon\');" onmouseout="hideMore(\'moreCon\');">´õº¸±â</a>';
	lnb += '	<ul class="moreCon" id="moreCon" onmouseover="showMore(\'moreCon\');" onmouseout="hideMore(\'moreCon\');">';
	lnb += '	<li><a id="lnbLink4_11" href="http://news.chosun.com/svc/list_in/list.html?catid=3E">¿ì¸®ÀÌ¿ô</a></li>';
	lnb += '	<li><a id="lnbLink4_12" href="http://news.chosun.com/svc/list_in/list.html?catid=3N">»ç¶÷µé</a></li>';
	lnb += '	<li><a id="lnbLink4_13" href="http://news.chosun.com/svc/list_in/list.html?catid=3S">ÀÇ·á¤ýº¸°Ç</a></li>';
	lnb += '	<li><a id="lnbLink4_14" href="http://news.chosun.com/svc/list_in/list.html?catid=3W">¸®ºùÆ÷ÀÎÆ®</a></li>';
	lnb += '	</ul>';
	lnb += '</dd>';
	lnbEtc += '<dd><a href="http://edu.chosun.com/" target="_blank">¸ÀÀÖ´Â±³À°</a></dd>';
	lnbEtc += '<dd class="leLst"><a href="http://nie.chosun.com/" target="_blank">NIE</a></dd>';
}
else if(tmp_CatID == "4"){
	//±¹Á¦
	lnb += '<dd><a id="lnbLink5_1" href="http://news.chosun.com/svc/list_in/list.html?catid=4">ÃÖ½Å±â»ç</a></dd>';
	lnb += '<dd><a id="lnbLink5_2" href="http://news.chosun.com/svc/list_in/list.html?catid=41">¾Æ½Ã¾Æ</a></dd>';
	lnb += '<dd><a id="lnbLink5_3" href="http://news.chosun.com/svc/list_in/list.html?catid=42">¹Ì±¹¤ýÁß³²¹Ì</a></dd>';
	lnb += '<dd><a id="lnbLink5_4" href="http://news.chosun.com/svc/list_in/list.html?catid=43">À¯·´</a></dd>';
	lnb += '<dd><a id="lnbLink5_5" href="http://news.chosun.com/svc/list_in/list.html?catid=48">´ë¾çÁÖ</a></dd>';
	lnb += '<dd><a id="lnbLink5_6" href="http://news.chosun.com/svc/list_in/list.html?catid=44">Áßµ¿¤ý¾ÆÇÁ¸®Ä«</a></dd>';
	lnb += '<dd><a id="lnbLink5_7" href="http://news.chosun.com/svc/list_in/list.html?catid=45">±¹Á¦±â±¸¤ýÈ¸ÀÇ</a></dd>';
	lnb += '<dd><a id="lnbLink5_8" href="http://news.chosun.com/svc/list_in/list.html?catid=47">ÇØ¿ÜÈ­Á¦</a></dd>';
}
else if(tmp_CatID == "5"){
	//¹®È­
	lnb += '<dd><a id="lnbLink6_1" href="http://news.chosun.com/svc/list_in/list.html?catid=5">ÃÖ½Å±â»ç</a></dd>';
	lnb += '<dd><a id="lnbLink6_2" href="http://news.chosun.com/svc/list_in/list.html?catid=51">°Ç°­Á¤º¸</a></dd>';
	lnb += '<dd><a id="lnbLink6_3" href="http://news.chosun.com/svc/list_in/list.html?catid=52">ºÏ½º</a></dd>';
	lnb += '<dd><a id="lnbLink6_4" href="http://news.chosun.com/svc/list_in/list.html?catid=59">¹Ìµð¾î</a></dd>';
	lnb += '<dd><a id="lnbLink6_5" href="http://news.chosun.com/svc/list_in/list.html?catid=5A">Á¾±³¤ýÇÐ¼ú</a></dd>';
	lnb += '<dd><a id="lnbLink6_6" href="http://news.chosun.com/svc/list_in/list.html?catid=5B">¹®È­ÀÎ¹°</a></dd>';
	lnb += '<dd><a id="lnbLink6_8" href="http://news.chosun.com/svc/list_in/list.html?catid=5D">»ýÈ°¤ý¿©¼º</a></dd>';
	lnb += '<dd><a id="lnbLink6_9" href="http://news.chosun.com/svc/list_in/list.html?catid=5F">¹®È­°¡»êÃ¥</a></dd>';
	lnb += '<dd><a id="lnbLink6_10" href="http://news.chosun.com/svc/list_in/list.html?catid=5G">Àü½Ã¤ý°ø¿¬</a></dd>';
	lnb += '<dd><a id="lnbLink6_11" href="http://news.chosun.com/svc/list_in/list.html?catid=5M">µðÀÚÀÎ</a></dd>';
	lnbEtc += '<dd><a href="http://danmee.chosun.com/" target="_blank">´Ü¹Ì</a></dd>';
	lnbEtc += '<dd><a href="http://health.chosun.com/" target="_blank">Çï½º</a></dd>';
	lnbEtc += '<dd><a href="http://books.chosun.com/" target="_blank">ºÏ½º</a></dd>';
	lnbEtc += '<dd><a href="http://travel.chosun.com/" target="_blank">Æ®·¡ºí</a></dd>';
	lnbEtc += '<dd><a href="http://art.chosun.com/" target="_blank">¾ÆÆ®</a></dd>';
	lnbEtc += '<dd class="leLst"><a href="http://boomup.chosun.com/" target="_blank">ºÕ¾÷ÄÚ¸®¾Æ</a></dd>';
}
else{
	// ÀüÃ¼±â»ç
	lnb += '<dd><a id="lnbLink1_1" href="http://news.chosun.com/svc/list_in/list.html">ÀüÃ¼º¸±â</a></dd>';
	lnb += '<dd><a id="lnbLink1_2" href="http://news.chosun.com/svc/list_in/list.html?catid=1">°æÁ¦</a></dd>';
	lnb += '<dd><a id="lnbLink1_3" href="http://news.chosun.com/svc/list_in/list.html?catid=2">Á¤Ä¡</a></dd>';
	lnb += '<dd><a id="lnbLink1_4" href="http://news.chosun.com/svc/list_in/list.html?catid=3">»çÈ¸</a></dd>';
	lnb += '<dd><a id="lnbLink1_5" href="http://news.chosun.com/svc/list_in/list.html?catid=4">±¹Á¦</a></dd>';
	lnb += '<dd><a id="lnbLink1_6" href="http://news.chosun.com/svc/list_in/list.html?catid=5">¹®È­</a></dd>';
}

document.write('\
<style type="text/css">\
/*Reset*/\
*{margin:0;padding:0;}\
html,body{width:100%;height:100%;}\
body{background-color:#fff;*word-break:break-all;-ms-word-break:break-all;}\
body,input,button{color:#333; font:normal 12px/17px "±¼¸²",Gulim,"µ¸¿ò",Dotum,AppleGothic,Sans-serif;}\
h1,h2,h3,h4,h5,h6{font-size:12px;text-align:left;}\
img,fieldset,iframe{border:0 none;}\
li{list-style:none;}\
a{color:#333; text-decoration:none;}\
a:hover{text-decoration:underline;}\
a:visited{color:#888;}\
em,address{font-style:normal;}\
input,select{vertical-align:middle;}\
button,label{cursor:pointer;_cursor /**/:hand;}\
hr,legend,caption{display:none;}\
select{height:20px;}\
@media print{\
body{color:#000;}\
}\
\
/* Common */\
.link{cursor:pointer;}\
.ls{letter-spacing:-1px;}\
.b{font-weight:bold;}\
.u{text-decoration:underline;}\
\
.pr{position:relative;}	 .pa{position:absolute;}\
.c{clear:both;}\
.fl{float:left;}	.fr{float:right;}\
.al{text-align:left;}	.ar{text-align:right;}	.ac{text-align:center;}	.aj{text-align:justify;}\
.at{vertical-align:top;}	.am{vertical-align:middle;}	.ab{vertical-align:bottom;}\
.hide{display:none;}	.show{display:block;}\
\
.noBg{background:none !important;}\
.noBgImg{background-image:none !important;}\
.noBorder{border:0 none !important;}\
.trans{background-color:transparent;}\
.blind{position:absolute; display:block; overflow:hidden; left:0; top:-5000px;}\
\
.tblFixed{table-layout:fixed;}\
.txtBlock{display:inline-block;}\
\
.logoEtc	{position:relative; width:970px; min-height:67px;}\
.logoEtc a:visited{color:#333;}\
.logoEtc h1{position:relative; top:2px; float:left; margin-top:13px;}\
.logoEtc .etcAd{float:left; padding-left:123px;}\
.logoEtc .etcAd iframe{width:270px; height:65px;}\
.searchFormBx{position:absolute; top:20px; right:0; width:280px;}\
.searchFormBx dt{position:absolute; display:block; overflow:hidden; left:0; top:-5000px;}\
.searchTerm{position:absolute; width:211px; height:15px; padding:5px 0 5px 5px; border:0 none; font-family:Dotum;}\
.InputOutline{float:left; display:inline-block; width:216px; height:31px; border:2px solid #c51919;}\
.searchResult{float:left;}\
\
.gnb		{position:relative; z-index:30; width:970px; height:31px; background:url(http://image.chosun.com/cs/201003/gnbBg.gif) no-repeat; border-top:6px solid #c61a1a;}\
.gnb a:visited{color:#333;}\
.gnbList{float:left; padding-left:8px;}\
.gnbList dd{float:left;}\
.gnbList dd img{vertical-align:top;}\
.gnbEtcList {float:right; padding:7px 15px 4px 0;}\
.gnbEtcList dd{float:left;}\
.gnbEtcList dd span{margin:0 3px; color:#888;}\
\
.lnb		{position:relative; z-index:30; width:970px; min-height:30px; _height:28px; border-bottom:2px solid #e0c2c2;}\
.lnb a:visited{color:#333;}\
.lnbList{float:left; padding:7px 0 0 24px;}\
.lnbList dd{position:relative; float:left; padding-right:13px;}\
.lnbList dd.lnbListMore{margin-right:10px; padding-right:7px; background:url(http://image.chosun.com/cs/201003/lnbListMore.gif) no-repeat right 5px;}\
.lnbList dd.lnbListMore a{display:inline-block; height:23px;}\
.lnbList dd.morePrev{margin-right:10px; padding-right:10px; background:url(http://image.chosun.com/cs/201003/snbLineBg.gif) no-repeat right 1px;}\
.lnbList dd.more a{display:inline-block; height:23px; padding-right:9px; background:url(http://image.chosun.com/cs/201003/snbBtmArrow.gif) no-repeat right 4px; color:#888;}\
.lnbList dd .moreCon{display:none; position:absolute; z-index:40; top:23px; left:-10px; padding:8px 13px 2px; border:2px solid #e0c2c2; background:#fff; white-space:nowrap;}\
.lnbList dd .moreCon li{line-height:20px;}\
.lnbList dd .moreCon a{padding-right:0; background:none; color:#333;}\
.lnbEtcList{float:right; padding:7px 15px 4px 0; letter-spacing:-1px;}\
.lnbEtcList dd{float:left; padding-right:5px; margin-right:5px; background:url(http://image.chosun.com/cs/201003/lnbEtcLine.gif) no-repeat right 1px;}\
.lnbEtcList dd.leLst{padding-right:0; margin-right:0; background-image:none;}\
.lnbEtcList dd a{color:#956769 !important;}\
.lnbEtcList dd a:visited{color:#956769 !important;}\
.lnbList dd .opinionMore{display:none; position:absolute; top:23px; left:-49px; padding:8px 13px 2px; border:2px solid #e0c2c2;background:#fff; white-space:nowrap;}\
.lnbList dd .opinionMore li{line-height:20px;}\
.lnbList dd .opinionMore li a{ color:#333;padding-right:0; background:none !important;}\
.lnbList dd .opinionMore li a:visited{color:#333;}\
.opLnb2_3{display:none; position:absolute; z-index:40; top:23px; left:-10px; padding:8px 13px 2px; border:2px solid #e0c2c2; background:#fff; white-space:nowrap;}\
.opLnb2_3 li{line-height:20px;}\
.opLnb2_3 li a{padding-right:0; background:none !important; color:#333;}\
.opLnb2_4{display:none; position:absolute; z-index:40; top:23px; left:-10px; padding:8px 13px 2px; border:2px solid #e0c2c2; background:#fff; white-space:nowrap;}\
.opLnb2_4 li{line-height:20px;}\
.opLnb2_4 li a{padding-right:0; background:none !important; color:#333;}\
.gnbInfo {padding-left:14px; background:url(http://image.chosun.com/cs/201003/gnb_line.gif) 3px 8px no-repeat;}\
</style>\
\
<div class="logoEtc">\
	<h1><a href="http://www.chosun.com/"><img src="http://image.chosun.com/main/201003/chosun_logo.gif" alt="chosun.com"></a></h1>\
	<div class="etcAd">\
		<iframe src="http://news.chosun.com/svc/with/common/promotion.html" width="270" height="65" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"></iframe>\
	</div>\
	\
	<dl class="searchFormBx">\
	<dt>°Ë»ö</dt>\
	<dd>\
		<form method="get" name="searchForm" id="id_searchForm" action="http://search.chosun.com/search/total.search" target="_blank" accept-charset="utf-8" onsubmit="goSearch(); return false;">\
		<fieldset>\
			<legend>ÅëÇÕ°Ë»ö</legend>\
			<span class="InputOutline"><input type="text"  id="query" name="query" class="searchTerm" title="°Ë»ö¾î ÀÔ·Â"></span>\
			<input type="image" src="http://image.chosun.com/cs/201003/searchBtn.gif" alt="°Ë»ö" title="°Ë»ö" class="searchResult">\
		</fieldset>\
		</form>\
	</dd>\
	</dl>\
\
</div>\
<hr>\
<div class="gnb">\
	<dl class="gnbList">\
		<dt class="blind">¸ÞÀÎ¸Þ´º</dt>'
		+gnb+
	'</dl>\
	<dl class="gnbEtcList">\
		<dt class="blind">ºÎ°¡¸Þ´º</dt>\
		<dd><a href="http://focus.chosun.com/">Æ÷Ä¿½º</a><span>|</span></dd>\
		<dd><a href="http://photo.chosun.com/">Æ÷Åä</a><span>|</span></dd>\
		<dd><a href="http://video.chosun.com/">µ¿¿µ»ó</a><span>|</span></dd>\
		<dd><a href="http://forum.chosun.com/">Åä·Ð¸¶´ç</a><span>|</span></dd>\
		<dd><a href="http://news.chosun.com/ranking/">·©Å·</a></dd>\
	</dl>\
\
</div>\
<hr>\
<div class="lnb">\
	<dl class="lnbList">\
	<dt class="blind">¼­ºê¸Þ´º</dt>'
		+lnb+
	'</dl>\
	<dl class="lnbEtcList">\
		<dt class="blind">ºÎ°¡¸Þ´º</dt>'
		+lnbEtc+
	'</dl>\
</div>\
<hr>\
');


//º¸ÀÌ±â °¨Ãß±â
function ShowBx(obj){document.getElementById(obj).style.display = "block";}
function HideBx(obj){document.getElementById(obj).style.display = "none";}


function goSearch() {
	var f = document.getElementById('id_searchForm');
	
	if(f.query.value == ""){
		alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
		f.query.focus();
		return false;
	}

	document.charset = 'utf-8';
	f.submit();
	document.charset = 'euc-kr';
}


//¸Þ´º ¼±ÅÃ Ç¥½Ã
tmp_CatID2 = CatID;
CatID = tmp_CatID2.substring(0, 2);
if(tmp_CatID == "0"){//ÀüÃ¼±â»ç
	lnbMenuAct("lnbLink1");
	if(location.href.indexOf("list_in") > -1 && CatID == "0") lnbMenuAct2("lnbLink1_1"); 
} else if(tmp_CatID == "1"){//°æÁ¦
	lnbMenuAct("lnbLink2");
	if(location.href.indexOf("list_in") > -1 && CatID == "1") lnbMenuAct2("lnbLink2_1"); 
	if(location.href.indexOf("list_title") > -1) lnbMenuAct2("lnbLink2_2"); 
	if(CatID == "11") lnbMenuAct2("lnbLink2_3"); if(CatID == "12") lnbMenuAct2("lnbLink2_4"); if(CatID == "13") lnbMenuAct2("lnbLink2_5"); if(CatID == "1N") lnbMenuAct2("lnbLink2_6"); 
	if(CatID == "16") lnbMenuAct2("lnbLink2_7"); if(CatID == "1S") lnbMenuAct2("lnbLink2_8"); if(CatID == "18") lnbMenuAct2("lnbLink2_9"); if(CatID == "19") lnbMenuAct2("lnbLink2_10");
	if(CatID == "1O") lnbMenuAct2("lnbLink2_11"); if(CatID == "14") lnbMenuAct2("lnbLink2_12"); if(CatID == "15") lnbMenuAct2("lnbLink2_13"); if(CatID == "17") lnbMenuAct2("lnbLink2_14");
	if(CatID == "1A") lnbMenuAct2("lnbLink2_15"); if(CatID == "1Q") lnbMenuAct2("lnbLink2_16"); if(CatID == "1R") lnbMenuAct2("lnbLink2_17"); if(CatID == "1L") lnbMenuAct2("lnbLink2_18");
	if(CatID == "1M") lnbMenuAct2("lnbLink2_19"); if(CatID == "1T") lnbMenuAct2("lnbLink2_20");
} else if(tmp_CatID == "2"){//Á¤Ä¡
	lnbMenuAct("lnbLink3");
	if(location.href.indexOf("list_in") > -1 && CatID == "2") lnbMenuAct2("lnbLink3_1"); 
	if(CatID == "21") lnbMenuAct2("lnbLink3_2"); if(CatID == "22") lnbMenuAct2("lnbLink3_3"); if(CatID == "23") lnbMenuAct2("lnbLink3_4"); if(CatID == "25") lnbMenuAct2("lnbLink3_5");
	if(CatID == "24") lnbMenuAct2("lnbLink3_6");  if(CatID == "27") lnbMenuAct2("lnbLink3_7");
	if(CatID == "28") lnbMenuAct2("lnbLink3_8");
} else if(tmp_CatID == "3"){//»çÈ¸
	lnbMenuAct("lnbLink4");
	if(location.href.indexOf("list_in") > -1 && CatID == "3") lnbMenuAct2("lnbLink4_1"); 
	if(CatID == "31") lnbMenuAct2("lnbLink4_2"); if(CatID == "32") lnbMenuAct2("lnbLink4_3"); if(CatID == "3B") lnbMenuAct2("lnbLink4_4"); if(CatID == "3A") lnbMenuAct2("lnbLink4_5");
	if(CatID == "3F") lnbMenuAct2("lnbLink4_6"); if(CatID == "38") lnbMenuAct2("lnbLink4_7"); if(CatID == "37") lnbMenuAct2("lnbLink4_8"); if(CatID == "3C") lnbMenuAct2("lnbLink4_9");
	if(CatID == "3D") lnbMenuAct2("lnbLink4_10"); if(CatID == "3E") lnbMenuAct2("lnbLink4_11"); if(CatID == "3N") lnbMenuAct2("lnbLink4_12"); if(CatID == "3S") lnbMenuAct2("lnbLink4_13");
	if(CatID == "3W") lnbMenuAct2("lnbLink4_14");
} else if(tmp_CatID == "4"){//±¹Á¦
	lnbMenuAct("lnbLink5");
	if(location.href.indexOf("list_in") > -1 && CatID == "4") lnbMenuAct2("lnbLink5_1"); 
	if(CatID == "41") lnbMenuAct2("lnbLink5_2"); if(CatID == "42") lnbMenuAct2("lnbLink5_3"); if(CatID == "43") lnbMenuAct2("lnbLink5_4"); if(CatID == "48") lnbMenuAct2("lnbLink5_5");
	if(CatID == "44") lnbMenuAct2("lnbLink5_6"); if(CatID == "45") lnbMenuAct2("lnbLink5_7"); if(CatID == "47") lnbMenuAct2("lnbLink5_8");
} else if(tmp_CatID == "5"){//¹®È­
	lnbMenuAct("lnbLink6");
	if(location.href.indexOf("list_in") > -1 && CatID == "5") lnbMenuAct2("lnbLink6_1"); 
	if(CatID == "51") lnbMenuAct2("lnbLink6_2"); if(CatID == "52") lnbMenuAct2("lnbLink6_3"); if(CatID == "59") lnbMenuAct2("lnbLink6_4"); if(CatID == "5A") lnbMenuAct2("lnbLink6_5");
	if(CatID == "5B") lnbMenuAct2("lnbLink6_6"); if(CatID == "5C") lnbMenuAct2("lnbLink6_7"); if(CatID == "5D") lnbMenuAct2("lnbLink6_8"); if(CatID == "5F") lnbMenuAct2("lnbLink6_9");
	if(CatID == "5G") lnbMenuAct2("lnbLink6_10"); if(CatID == "5M") lnbMenuAct2("lnbLink6_11"); 
}
CatID = tmp_CatID2;

function lnbMenuAct(elementID){
	if(!document.getElementById(elementID)) return false;
	var obj = document.getElementById(elementID);
	var imgs = obj.getElementsByTagName("img");
	imgs[0].src = imgs[0].src.replace(".gif", "_ov.gif");
}

function lnbMenuAct2(elementID){
	if(!document.getElementById(elementID)) return false;
	var obj = document.getElementById(elementID);
	obj.className = "b";
}
