//========== ÄíÅ°°ª Ã³¸® ÇÔ¼ö S
function getCookieVal (offset) {
	var endstr = document.cookie.indexOf (";", offset);
	if (endstr == -1)
		endstr = document.cookie.length;
	return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) {
	var arg = name + "=";
	var alen = arg.length;
	var clen = document.cookie.length;
	var i = 0;
	while (i < clen) {	//while open
		var j = i + alen;
		if (document.cookie.substring(i, j) == arg)
			return getCookieVal (j);
		i = document.cookie.indexOf(" ", i) + 1;
		if (i == 0)
			break; 
	}	//while close
	return null;
}
//========== ÄíÅ°°ª Ã³¸® ÇÔ¼ö E

cat_tmp = CatID.substring(0, 2);

// SUBMENU LINE ½ÃÀÛ 
var TimeOut         = 300;
var currentLayer    = null;
var currentitem     = null;
var currentimg    = null;

var currentLayerNum = null;
var noClose         = 0;
var closeTimer      = null;

// Open Hidden Layer
function mopen(n)
{
    var mm  = document.getElementById('gnb1_'+n);
    var nn = document.getElementById('gnb2_s'+n);
    var sel_img = document.getElementById('gnbimg_'+n);
    if(nn)
    {
		sel_img.src='http://image.chosun.com/danmee/images/dmenu'+n+'_on.gif';
        mcancelclosetime();
        nn.style.display='block';
        if(currentLayer && (currentLayerNum != n)){
            currentLayer.style.display='none';
			currentimg.src='http://image.chosun.com/danmee/images/dmenu'+currentLayerNum+'.gif';
			sel_menu();
		}
        currentLayer = nn;
        currentitem = mm;
		currentimg = sel_img;
        currentLayerNum = n;
    }
    else if(currentLayer)
    {
        currentLayer.style.display='none';
		currentimg.src='http://image.chosun.com/danmee/images/dmenu'+currentLayerNum+'.gif';
		sel_menu();
        currentLayerNum = n;
        currentitem = null;
        currentLayer = null;
		currentimg = null;
    }
}
// Turn On Close Timer
function mclosetime()
{
    closeTimer = window.setTimeout(mclose, TimeOut);
}
// Cancel Close Timer
function mcancelclosetime()
{
    if(closeTimer)
    {
        window.clearTimeout(closeTimer);
        closeTimer = null;
    }
}
// Close Showed Layer
function mclose()
{
    if(currentLayer && noClose!=1)
    {
        currentLayer.style.display='none';
		currentimg.src='http://image.chosun.com/danmee/images/dmenu'+currentLayerNum+'.gif';
        currentLayerNum = null;
		sel_menu();
        currentLayer = null;
        currentitem = null;
		currentimg = null;
    }
    else
    {
        noClose = 0;
    }
    currentLayer = null;
    currentitem = null;
}
function over_menu(on_menu){
	if(on_menu){
		document.getElementById('gnbimg_'+on_menu).src='http://image.chosun.com/danmee/images/dmenu'+on_menu+'_on.gif';
	}else{
		document.getElementById('gnbimg').src='http://image.chosun.com/danmee/images/dmenu_on.gif';
	}
}
function out_menu(off_menu){
	if(off_menu){
	document.getElementById('gnbimg_'+off_menu).src='http://image.chosun.com/danmee/images/dmenu'+off_menu+'.gif';
	}else{
		document.getElementById('gnbimg').src='http://image.chosun.com/danmee/images/dmenu_off.gif';
	}
sel_menu();
}
function sel_menu(){
if(cat_tmp)	{
		if (cat_tmp == 'A'){
		}else if(cat_tmp == 'E' || cat_tmp == 'B1' || cat_tmp == 'E1' || cat_tmp == 'E2' || cat_tmp == 'E3' || cat_tmp == 'E4' || cat_tmp == 'E5' || cat_tmp == 'E6' || cat_tmp == 'E7')	{
			document.getElementById('gnbimg_0').src='http://image.chosun.com/danmee/images/dmenu0_on.gif';
			document.getElementById('gnb2_s0').style.display='block';
			document.getElementById("gnb2_s0").style.zIndex ='1';
		}else if(cat_tmp == 'F' || cat_tmp == 'B2' || cat_tmp == 'F1' || cat_tmp == 'F2' || cat_tmp == 'F3' || cat_tmp == 'F4' || cat_tmp == 'F5'){
			document.getElementById('gnbimg_1').src='http://image.chosun.com/danmee/images/dmenu1_on.gif';
			document.getElementById('gnb2_s1').style.display='block';
			document.getElementById("gnb2_s1").style.zIndex ='1';
		}else if(cat_tmp == 'G' || cat_tmp == 'B3' || cat_tmp == 'G1' || cat_tmp == 'G2' || cat_tmp == 'G3' || cat_tmp == 'G4' || cat_tmp == 'G5' || cat_tmp == 'G6' || cat_tmp == 'G7' || cat_tmp == 'G8'){
			document.getElementById('gnbimg_2').src='http://image.chosun.com/danmee/images/dmenu2_on.gif';
			document.getElementById('gnb2_s2').style.display='block';
			document.getElementById("gnb2_s2").style.zIndex ='1';
		}else if(cat_tmp == 'H' || cat_tmp == 'H1' || cat_tmp == 'H2' || cat_tmp == 'H3' || cat_tmp == 'H4' || cat_tmp == 'H5' || cat_tmp == 'H6' || cat_tmp == 'H7' || cat_tmp == 'H8'){
			document.getElementById('gnbimg_3').src='http://image.chosun.com/danmee/images/dmenu3_on.gif';
			document.getElementById('gnb2_s3').style.display='block';
			document.getElementById("gnb2_s3").style.zIndex ='1';
		}else if(cat_tmp == 'I' || cat_tmp == 'I1' || cat_tmp == 'I2' || cat_tmp == 'I3' || cat_tmp == 'I4' || cat_tmp == 'I5'){
			document.getElementById('gnbimg_4').src='http://image.chosun.com/danmee/images/dmenu4_on.gif';
			document.getElementById('gnb2_s4').style.display='block';
			document.getElementById("gnb2_s4").style.zIndex ='1';
		}else if(cat_tmp == 'J' || cat_tmp == 'J1' || cat_tmp == 'J2' || cat_tmp == 'J3'){
			document.getElementById('gnbimg_5').src='http://image.chosun.com/danmee/images/dmenu5_on.gif';
			document.getElementById('gnb2_s5').style.display='block';
			document.getElementById("gnb2_s5").style.zIndex ='1';
		}else if(cat_tmp == '9' || cat_tmp == '91' || cat_tmp == '92' || cat_tmp == '93' || cat_tmp == '94'){
			document.getElementById('gnbimg_6').src='http://image.chosun.com/danmee/images/dmenu6_on.gif';
			document.getElementById('gnb2_s6').style.display='block';
			document.getElementById("gnb2_s6").style.zIndex ='1';
		}else if(cat_tmp == 'K' || cat_tmp == 'K1' || cat_tmp == 'K2'){
			document.getElementById('gnbimg_9').src='http://image.chosun.com/danmee/images/dmenu9_on.gif';
			document.getElementById('gnb2_s9').style.display='block';
			document.getElementById("gnb2_s9").style.zIndex ='1';
		}else if(cat_tmp == 'L' || cat_tmp == 'L1'){
			document.getElementById('gnbimg_10').src='http://image.chosun.com/danmee/images/dmenu10_on.gif';
			document.getElementById('gnb2_s10').style.display='block';
			document.getElementById("gnb2_s10").style.zIndex ='1';
		}
	} else {
		document.getElementById('gnbimg_8').src='http://image.chosun.com/danmee/images/dmenu8_on.gif';
		document.getElementById('gnb2_s8').style.display='block';
		document.getElementById("gnb2_s8").style.zIndex ='1';
	}
}
// Close Layer Then Click-out
document.onclick = mclose; 

//·Î±×ÀÎ °ü·Ã ---
function getCookieVal (offset) {
	var endstr = document.cookie.indexOf (";", offset);
	if (endstr == -1)
		endstr = document.cookie.length;
	return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) {
	var arg = name + "=";
	var alen = arg.length;
	var clen = document.cookie.length;
	var i = 0;
	while (i < clen) {	//while open
		var j = i + alen;
		if (document.cookie.substring(i, j) == arg)
			return getCookieVal (j);
		i = document.cookie.indexOf(" ", i) + 1;
		if (i == 0)
			break; 
	}	//while close
	return null;
}
//·Î±×ÀÎ
function loginFrame () {
	//ÆäÀÌÁö URL
	var returl = document.location; 
	if (returl == null || returl == ""){
		returl = M_SITE;
	}
	returl = escape(returl);

	var login_url = "https://membership.chosun.com/login/protect_sso/sso_user_info.jsp?returl="+returl;
	var logout_url = "https://membership.chosun.com/login/logout.jsp?returl="+returl;
	var regist_url = "https://membership.chosun.com/join/registUser.jsp?site=chosun";
	var join_url = "https://membership.chosun.com/join/registUser.jsp?act=myindex&site=chosun";
	var idpw_url = "https://membership.chosun.com/join/registUser.jsp?act=idpw&site=chosun";
	var logStr;

	//·Î±×ÀÎ¿©ºÎ - ÄíÅ°°ª È®ÀÎ
	if (!GetCookie('SMSESSION') || GetCookie('SMSESSION') == "LOGGEDOFF" || !GetCookie('SM_USER')) {
		logStr = "<li><a href=" + login_url + " target='_top' class='login_link'>·Î±×ÀÎ</a><span>¤Ó</span><a href=" + regist_url + " target='_top'>È¸¿ø°¡ÀÔ</a><span>¤Ó</span><a href=" + idpw_url + " target='_top'>¾ÆÀÌµð¡¤ºñ¹Ð¹øÈ£ Ã£±â</a></li>";
	}
	else if (!GetCookie('dz_nm') || !GetCookie('dz_info')) {	//20070406 rainy
	var relogin_url = "https://membership.chosun.com/login/protect_sso/sso_user_info.jsp?returl="+returl;
		parent.location.href = relogin_url;
	}
	else {
		logStr = "<li><span class='user_name'>"+unescape(GetCookie('dz_nm'))+"´Ô</span>" ;
		logStr = logStr + "<span>¤Ó</span><a href=" + logout_url + " target='_top'>·Î±×¾Æ¿ô</a><span>¤Ó</span><a href=" + join_url + " target='_top'>Á¤º¸¼öÁ¤</a></li>";
	}
	
	return logStr;
}
//°Ë»ö°ü·Ã ½ÃÀÛ
//0:´Ü¹Ì 1:ÅëÇÕ°Ë»ö
function seachAction(){
	var obj1 = document.getElementById("searchForm");
	var obj2 = document.getElementById("select_search");
	var obj3 = document.getElementById("query");

	if(obj3.value){
		
		if (obj2.selectedIndex == 0){
			
			//obj1.setAttribute("action","http://search.chosun.com/search/news.search?categoryname=%EB%8B%A8%EB%AF%B8"); 
		} else if (obj2.selectedIndex == 1) {
			//obj1.setAttribute("action","http://search.chosun.com/search/total.search");
		}
		obj1.submit();
	} else {
	alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
		obj3.focus();
		return;
	}
}


function searchsubmit() {
	var q = document.searchForm.query;
	var sw;

	//var obj2 = document.getElementById("select_search");

	//window.open("http://search.chosun.com/search/newsSearch.jsp?categoryValue=Ä«¸®ºä&searchTerm=" + q.value);
	/*
	if (obj2.selectedIndex == 0){
		window.open("http://search.chosun.com/search/news.search?categoryname=%EB%8B%A8%EB%AF%B8&query=" + encodeURIComponent(q.value));
    } else if (obj2.selectedIndex == 1) {
	    window.open("http://search.chosun.com/search/total.search?query=" + encodeURIComponent(q.value));
    }
	*/
	window.open("http://search.chosun.com/search/news.search?categoryname=%EB%8B%A8%EB%AF%B8&query=" + encodeURIComponent(q.value));
	return true;

}

function handleEnter (kind, event) {
	var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;

	if (keyCode == 13) {
			searchsubmit();
			return false;
	} else {
		return true;
	}
}

function goSearch() {
	var f = document.getElementById("id_searchForm");
	document.charset = "utf-8";
	f.submit();
	document.charset = 'euc-kr';
}

function changeImg(){
	number = Math.floor(Math.random()*2);
	document.getElementById("random").src="http://image.chosun.com/danmee/images/logo_danmee_"+(number+1)+".gif";
}

document.write(' \
<style type="text/css"> \
input,textarea,select{background-color:#fff;font-family:inherit;} \
select{padding-right:0;}\
fieldset,img{border:none;} \
hr,legend{display:none;} \
#header{position:relative; z-index:50; margin:0 auto; width:970px; text-align:left;}\
#logo_etc{float:left; width:100%; clear:both; padding:0; margin-top:0;} \
#logo{position:relative;width:235px;float:left;margin:0 0px 0 19px;display:inline;} \
#logo h1{float:left;font-style:normal;font-size:12px;margin:0 4px 0 0;} \
#logo h1 img{vertical-align:top;} \
#logo h2{float:left;font-style:normal;font-size:12px;margin-top:2px;} \
#logo h2 img{vertical-align:top;} \
#logo ul#login{position:absolute;top:38px;left:0px;} \
#logo ul#login li{float:left;font-size:11px;color:#666666;} \
#logo ul#login li a{font-size:11px;color:#666666;letter-spacing:-1px;line-height:12px;} \
#logo ul#login li span{color:#333;font-weight:bold;} \
#logo ul#login li span.user_name{color:#666;} \
\
#login{color:#d3d3d3; margin-bottom:6px;}\
#login li a{font-size:11px; color:#8c8c8c;}\
#login li a:hover{font-size:11px; color:#8c8c8c;}\
#login li a.login_link{color:#6a6969;}\
#login li a.login_link:hover{color:#6a6969;}\
#login li span.user_name{color:#6a6969;}\
\
#lang{float:left;width:55px;margin:0 55px 0 0;line-height:16px;} \
#lang li{margin:2px 0 0 0;padding:0 0 1px 8px;border-bottom:1px solid #cdcdcd;background:url(http://image.chosun.com/cs/gnb/bul_sq_9f.gif) 0 6px no-repeat;} \
#lang li.firstchild{margin:0;padding:0 0 0 6px;} \
#lang li.lastchild{border:none;padding:0 0 0 8px;} \
#tot_search{position:absolute; width:279px; top:39px; left:333px;} \
#tot_search fieldset input{vertical-align:middle;} \
.search_box{width:300px;height:24px; vertical-aling:middle; background:none;} \
.search_box select{margin-bottom:1px; color:#8e8e8e; font-size:12px; vertical-align:middle;}\
.search_box input.search_text{border:1px solid #b1b1b1; width:159px; height:17px; margin:0 2px; padding:3px 2px 0 2px; font-size:12px;font-family:"Dotum";color:#333;ime-mode:active;} \
.search_box input.search_btn{position:static;} \
.popular_search{float:none;clear:both;margin-top:3px;} \
#top_ban{float:right;width:250px;height:57px;margin:5px 0 -2px 0;padding:0;} \
#gnb_new{float:none;clear:both;position:relative;width:970px;height:60px;margin:0;background:url(http://image.chosun.com/danmee/images/gnb_imgback.gif) left top repeat-x;z-index:2; overflow:hidden;} \
#gnb1{float:left;margin:0px 0 0 0px;display:inline;} \
#gnb1 li{float:left;margin:0;} \
#gnb1 li span{padding:0 3px 0 3px;} \
.gnb2{display:none; z-index:2; position:absolute; top:35px; left:0; width:970px; padding:1px 0 1px 0; background:#fff url(http://image.chosun.com/danmee/images/bg_header.gif) no-repeat 0 0; overflow:hidden;}\
.gnb2 li{float:left; margin:6px 0 0 0 !important; padding:0 9px; background:url(http://image.chosun.com/danmee/images/line_bar.gif) no-repeat right 1px;} \
.gnb2 li span{font-weight:bold; color:#999; padding:0 !important;} \
.gnb2 li a{color:#333 !important;;font-weight:normal !important;text-decoration:none !important; white-space:nowrap;} \
.gnb2 li a:hover{text-decoration:underline !important; white-space:nowrap;} \
.gnb2 li.no_bg{background-image:none;}\
#gnb3{float:right;margin:8px 10px 0 0;display:inline;} \
#gnb3 li{float:left;} \
#s_gnb{float:left; height:32px;}\
\
.logoEtc	{position:relative; float:left; clear:both; width:970px; min-height:60px;} \
.logoEtc h1{float:left; margin-top:13px; margin-right:133px;} \
.logoEtc .etcAd{float:left; padding-left:100px; margin-top:3px;} \
.logoEtc .etcAd iframe{width:260px; height:57px;} \
.searchFormBx{position:absolute; top:10px; 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; font-size:15px;} \
.InputOutline{float:left; display:inline-block; width:216px; height:31px; border:2px solid #c51919;} \
.searchResult{float:left;} \
</style> \
	<!-- logo_etc --> \
	<div class="logoEtc"> \
		<div id="logo"> \
			<h1><a href="http://danmee.chosun.com/"><img id="random" src="http://image.chosun.com/danmee/images/logo_danmee_1.gif" alt="´Ü¹Ì"></a></h1> \
			<!--<h2><a href="http://danmee.chosun.com/"><img src="http://image.chosun.com/danmee/images/logo_danmee.gif" alt="´Ü¹Ì"></a></h2>--> \
		</div> \
		<!--div class="etcAd"> \
			<iframe src="http://news.chosun.com/test/201003/secGnb_iframe.html" scrolling="no" frameborder="0"></iframe> \
		</div--> \
		<div class="etcAd"><iframe src="http://newsplus.chosun.com/common/promo/" title="ÇÁ·Î¸ð¼Ç ¹è³Ê" width="250" height="57" frameborder="0" scrolling="no"></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="searchsubmit(); 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> \
	');
document.write(" \
	<!-- logo_etc // --> \
	<!-- gnb --> \
	<div id='gnb_new'> \
		<ul id='gnb1'> \
			<li id='gnb1'><img src='http://image.chosun.com/danmee/images/dmenu_left.gif'></li> \
			<li id='gnb1_0' onmouseover=\"mopen('0');\" onmouseout=\"mclosetime();\">\
				<a href='http://danmee.chosun.com/fb/index.html'><img src='http://image.chosun.com/danmee/images/dmenu0.gif' id='gnbimg_0' alt='ÆÐ¼ÇºäÆ¼'></a>\
				<ul id='gnb2_s0' class='gnb2' style='padding-left:17px;'> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=E'>ÃÖ½Å±â»ç</a></li> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=E1'>ÆÐ¼ÇÆ®·»µå</a></li> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=E2'>ºäÆ¼³ëÇÏ¿ì</a></li> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=E3'>½ºÅ²ÄÉ¾î</a></li> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=E4'>Çì¾î½ºÅ¸ÀÏ</a></li> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=E5'>Çì¾îÄÉ¾î</a></li> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=E6'>´ÙÀÌ¾îÆ®</a></li> \
				<li><a href='http://danmee.chosun.com/svc/gallery_list.html?catid=B1'>½ºÅ¸ÀÏºÏ</a></li> \
				<li class='no_bg'><a href='http://danmee.chosun.com/svc/list_col.html?catid=E7'>Ä®·³</a></li> \
				</ul> \
			</li> \
			<li id='gnb1_1' onmouseover=\"mopen('1');\" onmouseout=\"mclosetime();\">\
				<a href='http://danmee.chosun.com/food/index.html'><img src='http://image.chosun.com/danmee/images/dmenu1.gif' id='gnbimg_1' alt='¿ä¸®¸ÀÁý'></a>\
				<ul id='gnb2_s1' class='gnb2' style='padding-left:17px;'> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=F'>ÃÖ½Å±â»ç</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=F1'>¿ä¸® ·¹¼­ÇÇ</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=F2'>¿ä¸®ÀÇ ±âÃÊ</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=F3'>ÃßÃµ! ¸ÀÁý&amp;¸ÚÁý</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=F4'>¸ÀÀÖ´Â ¿©Çà</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_col.html?catid=F5'>Ä®·³</a></li>\
				<li class='no_bg'><a href='http://danmee.chosun.com/svc/gallery_list.html?catid=B2'>¿ä¸®&¸ÀÁý °¶·¯¸®</a></li> \
				</ul> \
			</li> \
			<li id='gnb1_2' onmouseover=\"mopen('2');\" onmouseout=\"mclosetime();\">\
				<a href='http://danmee.chosun.com/salim/index.html'><img src='http://image.chosun.com/danmee/images/dmenu2.gif' id='gnbimg_2' alt='»ì¸²µ¥ÄÚ'></a> \
				<ul id='gnb2_s2' class='gnb2' style='padding-left:17px;'> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=G'>ÃÖ½Å±â»ç</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=G1'>»ì¸² ³ëÇÏ¿ì</a></li>\
				<li><a href='http://danmee.chosun.com/livingpoint/'>¸®ºùÆ÷ÀÎÆ®</a></li>\
				<li><a href='http://danmee.chosun.com/lifedoctor/'>´ëÇÑ¹Î±¹ »ì¸²¹Ú»ç</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=G4'>¿¹»ÛÁý ²Ù¹Ì±â</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=G5'>ºÎÀÚµÇ´Â ÀçÅ×Å©</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=G6'>Á¶ÇýÁ¤ÀÇ »ýÈ°¹ý·ü</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_col.html?catid=G7'>Ä®·³</a></li>\
				<li class='no_bg'><a href='http://danmee.chosun.com/svc/gallery_list.html?catid=B3'>¸®ºù °¶·¯¸®</a></li> \
				</ul> \
			</li>\
			<li id='gnb1_3' onmouseover=\"mopen('3');\" onmouseout=\"mclosetime();\">\
				<a href='http://danmee.chosun.com/lovesex/index.html'><img src='http://image.chosun.com/danmee/images/dmenu3.gif' id='gnbimg_3' alt='·¯ºê¼½½º'></a>\
				<ul id='gnb2_s3' class='gnb2' style='padding-left:110px;'> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=H'>ÃÖ½Å±â»ç</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=H1'>¿¬¾Ö ³ëÇÏ¿ì</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=H2'>µ¥ÀÌÆ®ÄÚÄ¡</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=H3'>½Ì±Û¶óÀÌÇÁ</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=H4'>¿þµùÀÌ¾ß±â</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=H5'>¼½½º¶óÀÌÇÁ</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=H6'>³²³à¼º½É¸®</a></li>\
				<li><a href='http://danmee.chosun.com/lovesex/danmee_sex.html'>¶È¶ÈÇÑ¼½½º</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_col.html?catid=H7'>Ä®·³</a></li>\
				<li class='no_bg'><a href='http://bbs.chosun.com/bbs.message.list.screen?bbs_id=2034102001'>¹èÁ¤¿øÀÇ Love&Sex</a></li> \
				</ul> \
			</li> \
			<li id='gnb1_4' onmouseover=\"mopen('4');\" onmouseout=\"mclosetime();\">\
				<a href='http://danmee.chosun.com/childcare/index.html'><img src='http://image.chosun.com/danmee/images/dmenu4.gif' id='gnbimg_4' alt='ÀÓ½ÅÀ°¾Æ'></a>\
				<ul id='gnb2_s4' class='gnb2' style='padding-left:280px;'> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=I'>ÃÖ½Å±â»ç</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=I1'>ÀÓ½Å°ú Ãâ»ê</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=I2'>³îÀÌ&±³À°</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=I3'>¾ÆÀÌ°Ç°­</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=I4'>¿¹ÀÇ¹Ù¸¥ ¾ÆÀÌ</a></li>\
				<li class='no_bg'><a href='http://bbs.chosun.com/bbs.message.list.screen?bbs_id=2034102011'>º£ÀÌºñ ¾óÂ¯</a></li> \
				</ul> \
			</li> \
			<li id='gnb1_5' onmouseover=\"mopen('5');\" onmouseout=\"mclosetime();\">\
				<a href='http://danmee.chosun.com/star/index.html'><img src='http://image.chosun.com/danmee/images/dmenu5.gif' id='gnbimg_5' alt='½ºÅ¸'></a>\
				<ul id='gnb2_s5' class='gnb2' style='padding-left:355px;'> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=J'>ÃÖ½Å±â»ç</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=J1'>¿¬¿¹°¡ 25½Ã</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=J2'>½ÉÃþ ÀÎÅÍºä</a></li>\
				<li><a href='http://danmee.chosun.com/svc/list_all.html?catid=J3'>¸í»ç ÀÎÅÍºä</a></li>\
				<li class='no_bg'><a href='http://bbs.chosun.com/bbs.message.list.screen?bbs_id=2034102010'>¿¬¿¹°è ÅäÅ©</a></li> \
				</ul> \
			</li>\
			<li id='gnb1_6'><a href='http://books.chosun.com/svc/list.html?catid=1' target='_blank'><img src='http://image.chosun.com/danmee/images/dmenu6.gif' id='gnbimg_6' alt='ÃßÃµµµ¼­' onmouseover=\"over_menu('6')\" onmouseout=\"out_menu('6')\"></a><ul id='gnb2_s6' class='gnb2' style='padding-left:455px;'></ul></li> \
			<li id='gnb1_7' style='width:64px;'><a href='http://danmee.chosun.com/svc/list_all.html?catid=H4' target='_blank'><img src='http://image.chosun.com/danmee/images/dmenu7.gif' id='gnbimg_7' alt='¿þµù' onmouseover=\"over_menu('7')\" onmouseout=\"out_menu('7')\"></a></li> \
			<li id='gnb1'></li> \
			<li id='gnb1_8' style='width:102px; text-align:right; background:url(http://image.chosun.com/danmee/images/dmenu_bg2.gif) repeat-x;' onmouseover=\"mopen('8');\" onmouseout=\"mclosetime();\">\
			<a href='http://danmee.chosun.com/svc/list_all.html'><img src='http://image.chosun.com/danmee/images/dmenu8.gif' id='gnbimg_8' alt='ÃÖ½Å±â»ç'></a> \
			    <ul id='gnb2_s8' class='gnb2' style='padding-left:700px;'> \
				<li><a href='http://danmee.chosun.com/svc/list_all.html'>ÃÖ½Å±â»ç</a></li>\
				<li class='no_bg'><a href='http://danmee.chosun.com/rank/index.html'>·©Å·´º½º</a></li>\
				</ul> \
			</li> \
			<li id='gnb1_9' onmouseover=\"mopen('9');\" onmouseout=\"mclosetime();\"><a href='http://danmee.chosun.com/community/index.html'><img src='http://image.chosun.com/danmee/images/dmenu9.gif' id='gnbimg_9' alt='Ä¿¹Â´ÏÆ¼'></a>\
			    <ul id='gnb2_s9' class='gnb2' style='padding-left:755px;'> \
				<li><a href='http://bbs.chosun.com/bbs.message.list.screen?bbs_id=2034102010'>¿¬¿¹°è ÅäÅ©</a></li>\
				<li class='no_bg'><a href='http://bbs.chosun.com/bbs.message.list.screen?bbs_id=2034102011'>º£ÀÌºñ ¾óÂ¯</a></li>\
				</ul> \
			</li> \
			<li id='gnb1_10' style='width:79px; background:url(http://image.chosun.com/danmee/images/dmenu_bg2.gif) repeat-x;' onmouseover=\"mopen('10');\" onmouseout=\"mclosetime();\"><a href='http://danmee.chosun.com/evt/index.html'><img src='http://image.chosun.com/danmee/images/dmenu10.gif' id='gnbimg_10' alt='ÀÌº¥Æ®'></a></li> \
			    <ul id='gnb2_s10' class='gnb2' style='padding-left:785px;'> \
				<li><a href='http://danmee.chosun.com/evt/index.html'>ÁøÇàÁßÀÎ ÀÌº¥Æ®</a></li>\
				<li class='no_bg'><a href='http://danmee.chosun.com/svc/event_lucky.html'>´çÃ·ÀÚ¹ßÇ¥</a></li>\
				</ul> \
			<li id='gnb1'><img src='http://image.chosun.com/danmee/images/dmenu_right.gif'></li> \
		</ul> \
	</div> \
	<!-- gnb/ --> \
");
sel_menu();
changeImg();
