﻿/* Chosun.com Media Design Team author :Kim Jung-Ho 20111123 */
var CatID; 
var Getcatid;
var search_word;/*표시 될 검색어들*/
var s_w_count;
var ArtID;
var sokboV;
//검색관련
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';
}



/* 메뉴관련 */
var ar_Iframes = {
"cMenu1_list" : "http://www.chosun.com/svc/with/gnb1/news1.html",
"cMenu2_list" : "http://news.chosun.com/svc/with/gnb1/economy.html",
"cMenu3_list" : "http://www.chosun.com/svc/with/gnb2/sports.html",
"cMenu4_list" : "http://www.chosun.com/svc/with/gnb2/ent.html",
"cMenu5_list" : "http://www.chosun.com/svc/with/gnb2/life.html",
"cMenu6_list" : "http://www.chosun.com/svc/with/gnb1/opinion.html",
"cMenu7_list" : "http://news.chosun.com/svc/with/gnb1/economy.html"
}

function CMenuShow(which1,which2){
	if(!document.getElementById(which1)) return false;
	var elemImg = document.getElementById(which1).firstChild;
	elemImg.src =  elemImg.src.replace("_off.gif", "_on.gif");
	if(!document.getElementById(which2)) return false;
	var elemList = document.getElementById(which2);
	elemList.style.display = "block";
	border_ch(which1);
}

function CMenuHide(which1,which2){
	if(!document.getElementById(which1)) return false;
	var elemImg = document.getElementById(which1).firstChild;
	elemImg.src =  elemImg.src.replace("_on.gif", "_off.gif");
	if(CatID == 0){
		var sc = document.getElementById('cMenu1').firstChild;
		sc.src =  sc.src.replace("_off.gif", "_on.gif");
	}else if(CatID == 11){
		var sc = document.getElementById('cMenu6').firstChild;
		sc.src =  sc.src.replace("_off.gif", "_on.gif");
	}else if(CatID == 13){
		var sc = document.getElementById('cMenu7').firstChild;
		sc.src =  sc.src.replace("_off.gif", "_on.gif");
	}else if(CatID == 14){
		var sc = document.getElementById('cMenu3').firstChild;
		sc.src =  sc.src.replace("_off.gif", "_on.gif");
	}else if(CatID == 15){
		var sc = document.getElementById('cMenu4').firstChild;
		sc.src =  sc.src.replace("_off.gif", "_on.gif");
	}else{
		var sc = document.getElementById('cMenu1').firstChild;
		sc.src =  sc.src.replace("_off.gif", "_on.gif");
	}
	if(!document.getElementById(which2)) return false;
	var elemList = document.getElementById(which2);
	elemList.style.display = "none";
	border_ch2();
}
function if_unload(which2){
	var elemList = document.getElementById(which2);
	var obj_if = document.getElementById(which2 + "_if")
	if(elemList.style != "block"){
		obj_if.src = "about:blank";
	}
}
/*16734*/

//========== 쿠키값 처리 함수 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;
}
function GetAuthCookie(name) {
	var cookies = document.cookie;
	var value  = "";
	if(cookies.indexOf(name) != -1) {
		var start = cookies.indexOf(name) + name.length + 1;
		var end   = cookies.indexOf(";",start);

		if(end == -1) end = cookies.length;

		value = cookies.substring(start,end);
		value = unescape(value);
	}

	return value;
}
//========== 쿠키값 처리 함수 E

//로그인
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;
	
	var logLink = document.getElementById("logLink");
	var logImg = document.getElementById("logImg");
	var memberLink = document.getElementById("memberLink");
	var memberImg = document.getElementById("memberImg");
	
	//로그인여부 - 쿠키값 확인
	if (GetAuthCookie('SMSESSION')=="" || GetAuthCookie('SMSESSION') == "LOGGEDOFF" || GetAuthCookie('SM_USER') =="") {
		logLink.href = login_url;
		logImg.src = "http://image.chosun.com/main/201109/login_bt.gif"; //로그인
		memberLink.href = regist_url;
		memberImg.src = "http://image.chosun.com/main/201109/join_bt.gif"; //회원가입
	}
	else if (GetAuthCookie('dz_nm')=="" || GetAuthCookie('dz_info')=="") {	
	var relogin_url = "https://membership.chosun.com/login/protect_sso/sso_user_info.jsp?returl="+returl;
		parent.location.href = relogin_url;
	} else {
		logLink.href = logout_url;
		logImg.src = "http://image.chosun.com/main/201109/logout_bt.gif"; //로그아웃
		memberLink.href = join_url;
		memberImg.src = "http://image.chosun.com/main/201109/infoModify_bt.gif"; //정보수정
	}
	return logStr;
}
document.write('\
<style type="text/css">\
* {margin:0; padding:0;}\
html{overflow-y:scroll; -webkit-text-size-adjust:none;}\
//body{text-align:center; line-height:17px; background-color:#fff;*word-break:break-all;-ms-word-break:break-all;}\
body,input,button{color:#333; font:normal 12px/18px "굴림", "Gulim", "돋움", "Dotum", "AppleGothic", "Sans-serif";}\
img {vertical-align:top;}\
img,fieldset,iframe{border:0 none;}\
li {list-style:none;}\
h1,h2,h3,h4,h5,h6 {font-weight:normal; font-size:12px; text-align:left;}\
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;}\
}\
a{color:#333; text-decoration:none;}\
a:hover{text-decoration:underline;}\
a:visited{color:#666;}\
.head_box{width: 970px; height:164px; z-index:2000; margin: 0 auto;clear: both; position: relative; margin-bottom: 18px;}\
.head_box h1{position:absolute; z-index:2002; top:42px; left:0;}\
#header{padding-bottom:0px\\9; width: 970px; height:164px; z-index:2000; margin: 0 auto; clear: both; position: relative; margin-bottom:18px !important \\9; }\
#header h1{position:absolute; z-index:2002; top:42px; left:0;}\
#Header{padding-bottom:0px\\9; width: 970px; height:164px; z-index:2000; margin: 0 auto; clear: both; position: relative; margin-bottom:18px !important\\9;}\
#info_box{position:absolute; top:23px; left:346px; z-index:2002; overflow:hidden;}\
#Header h1{position:absolute; z-index:2002; top:42px; left:0;}\
#csHeader{width: 970px; z-index:2000; height:164px; margin: 0 auto;clear: both; position: relative; margin-bottom: 18px;}\
#secHeader{width: 970px; z-index:2000; height:164px; margin: 0 auto;clear: both; position: relative; margin-bottom: 18px; padding-top:0px;}\
#secHeader h1{position:absolute; z-index:2002; top:42px; left:0;}\
/* Header */\
.csHeader{background:url("http://image.chosun.com/main/201003/headMain_lingbg.gif") repeat-x 0 100%;}\
#csHeader h1{position:absolute; z-index:2002; top:42px; left:0;}\
#csHeader a:visited{color:#333;}\
.chosunSet_2011{position:absolute; z-index:2002; top:7px; left:0px; width:360px; color:#666; text-align:right;}\
.chosunSet_2011 dd a, .chosunSet_2011 dd a:visited{color:#666;}\
.chosunSet_2011 dt{position:absolute; display:block; overflow:hidden; left:0; top:-5000px;}\
.chosunSet_2011 dl{float:left; width:100%;}\
.chosunSet_2011 dd{float:left;}\
.chosunSet_2011 dd.chosunSet_2011Con1{font-size:12px; width:120px; height:15px; margin-right:3px; line-height:1.45; background:url("http://image.chosun.com/main/201109/bg_language0312.gif") no-repeat 0 0; letter-spacing:-1px; text-align:left; padding-left:10px;}\
.chosunSet_2011 dd.chosunSet_2011Con2{width:51px; height:15px; margin-right:10px; background:url("http://image.chosun.com/main/201109/bg_subscribe.gif") no-repeat; font:normal 11px/1.6 "돋움",Dotum; letter-spacing:-1px; text-align:center;}\
.chosunSet_2011 dd.chosunSet_2011Con3{width:123px; padding-right:7px; height:15px; background:url("http://image.chosun.com/main/201003/arrow1.gif") no-repeat 100% 5px; color:#656464; font:normal 11px/1.6 "돋움",Dotum; letter-spacing:-1px;}\
\
.headTopNav_2011{position:absolute; z-index:258; top:5px; right:0; line-height:18px; width:485px; height:20px; text-align:right;}\
\
.familyMenu_2011{display:inline; margin-right:3px; margin-right:7px\\9; font: normal 11px "돋움",Dotum}\
.familyMenu_2011 dt{position:absolute; display:block; overflow:hidden; left:0; top:-5000px;}\
.familyMenu_2011 dd{display:inline; margin-left:3px; padding-right:7px; margin-left:7px\\9; padding-right:4px\\9; background:url("http://image.chosun.com/main/201003/bar1.gif") no-repeat right 0; }\
.familyMenu_2011 dd a{color:#7e7e7e; font: normal 11px "돋움",Dotum}\
.hFavorMore{padding-right:9px; background:url("http://image.chosun.com/main/201003/arrow3_btm.gif") no-repeat 100% 4px;}\
.hFavorMoreList{z-index:60; text-align:left; font-size:12px; display:none; position:absolute; top:17px; right:0; width:328px; height:92px; padding:17px 0 0 20px; border:1px solid #252525; background:#fff;}\
.hFavorMoreList li{float:left; width:80px; height:20px;}\
.hTotalView{margin-left:6px; padding-right:5px; background:url("http://image.chosun.com/main/201003/arrow7.gif") no-repeat 100% 3px; color:#0d4991 !important}\
.hFavorMoreList li a{color:#333;}\
.favorMenu_2011{display:inline; font-family:"돋움",Dotum; font-size:11px; }\
.favorMenu_2011 a{color:#7e7e7e;}\
.favorMenu_2011 dt{position:absolute; display:block; overflow:hidden; left:0; top:-5000px;}\
.favorMenu_2011 dd{display:inline; margin-right:4px;}\
\
.memberTools_2011{text-align:center; position:relative; top:1px; right:0; text-align:center; margin-left:3px;border:solid 1px #e1e1e1; display:inline-block; *display:inline; *zoom:1; height:16px;}\
.memberTools_2011 img{vertical-align:middle; padding-bottom:4px; padding-bottom:2px\9;}\
.memberTools_2011 a{display:inline-block; *margin:0; vertical-align:middle; *vertical-align:auto;}\
.memberTools_2011 dt{position:absolute; display:block; overflow:hidden; left:0; top:-5000px;}\
.memberTools_2011 dd{display:inline;}\
\
.headMain{position:relative; width:100%; height:131px; z-index:255; border:none;}\
\
#cMenu6_sub_1 li a:hover{font-weight:bold; color:#333 !important;}\
#cMenu6_sub_2 li a:hover{font-weight:bold; color:#333 !important;}\
\
.cMenu{position:absolute; top:83px; left:0px; padding-top:5px;}\
.cMenu img{vertical-align:middle;}\
.cMenu dt{position:absolute; display:block; overflow:hidden; left:0; top:-5000px;}\
.cMenu dd{float:left; margin:0; padding:0;}\
.cMenu dd a{display:block; _display:inline-block; height:42px;}\
.searchFormBx{position:absolute; top:41px; right:0; width:260px;}\
.searchFormBx dt{position:absolute; display:block; overflow:hidden; left:0; top:-5000px;}\
.searchTerm{position:absolute; width:191px; height:30px; padding:7px 0 5px 5px; border:0 none; font-family:"돋움", Dotum; font-size:12px;}\
.InputOutline{float:left; display:inline-block; text-align:left; width:196px; height:31px; height:35px\\9; border:2px solid #c51919;}\
.searchResult{float:left; margin-left:-3px\\9;}\
.topServiceList{position:absolute; top:110px; left:0; width:275px; margin-right:93px; padding:15px 0 0 5px;}\
.switchEditions{height:26px;}\
.switchEditions img{vertical-align:middle;}\
.csDate{float:left; height:31px; margin-right:5px; font:bold 18px Geneva, Arial, Helvetica, sans-serif; line-height:30px; vertical-align:middle;}\
.csToday{height:31px; margin-left:2px; font-size:13px; font-family:"굴림"}\
.csWeatherToggle{float:left;}\
.nwProList1{position:absolute; top:110px; left:320px; width:260px; height:82px; margin-right:40px;}\
.nwProList1 dd{visibility:hidden; padding-top:10px; min-height:65px; _height:65px;}\
.nwProList2{position:absolute; top:110px; left:670px; width:300px; height:82px;}\
.nwProList2 dd{display:none;}\
.nwProList2 dd.nwProList2_page{position:absolute; display:block; top:63px; right:0;}\
.nwProList2 dd img{vertical-align:middle;}\
.nwProList2_page_prev{margin-right:2px;}\
.topServiceList dt,\
.nwProList1 dt,\
.nwProList2 dt{position:absolute; display:block; overflow:hidden; left:0; top:-5000px;}\
\
.etc_box {position:relative; height:33px; border:none; background-color:#f7f7f7; z-index:254;}\
.b_news {position:absolute; left:15px;; top:8px;}\
.b_news b {margin-right:6px; padding-right:7px; color:#cb2028; background:url("http://image.chosun.com/main/201103/bg_arrow2.jpg") no-repeat right 2px;}\
.db {position:absolute; left:874px; top:7px; color:#adadad;}\
.db a{font-weight: bold;color: #40759D;}\
\
.synb{display:none;}\
.snb{display:none;}\
.weather span {float:left; margin:11px 5px 0 0;}\
.weather {position:absolute; width:230px;right:0px; top:0; color:#444; z-index:256;}\
.weather b {float:left; margin:11px 5px 0 0; width:95px;}\
.weather img {float:left; margin-top:-8px;}\
#weather_text {float:left; margin-top:0;}\
\
.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:68px;}\
.logoEtc a:visited{color:#333;}\
.logoEtc h1{float:left; margin-top:13px; margin-right:123px;}\
.logoEtc .etcAd{float:left; padding-left:370px;}\
#Menu_etc a {color:#666;}\
\
.cMenu img{border-bottom:1px solid #b8b8b8}\
#news_logoh1 {display:block; position:absolute; z-index:2002; top:42px; left:0;}\
#news_logoh1 a{text-decoration:none;};\
</style>\
<h1 id="news_logoh1">\
	<a href="http://news.chosun.com/index.html?gnb_logo">\
		<img align="top" style="margin:0px 0px 0px 3px;" title="조선닷컴" alt="chosun.com" src="http://image.chosun.com/main/201109/logo_chosun_s2011.gif">\
	</a>\
	<a id="Catlogo" href="http://forum.chosun.com/">\
		<img id="Catlogo_img" style="margin-top:1px;" title="토론마당" alt="chosun.com" src="http://image.chosun.com/cs/201003/forumTit.gif">\
	</a>\
</h1>\
<iframe id="under_if" class="under_if" style="position:absolute; top:131px; left:0px; width:970px; height:1px; z-index:-99; filter:alpha(opacity=0);" title="not"></iframe>\
<div class="headMain">\
<div class="chosunSet_2011">\
	<dl>\
	<dt>조선닷컴을 설정</dt>\
	<dd class="chosunSet_2011Con1"><a href="http://chn.chosun.com/?gnb_bar" target="_blank">中文</a> · <a href="http://english.chosun.com/?gnb_bar" target="_blank">English</a> · <a href="http://www.chosunonline.com/?gnb_bar" target="_blank">日本語</a></dd>\
	</dl>\
</div>\
<div class="headTopNav_2011">\
	<dl class="familyMenu_2011">\
	<dt>페밀리사이트</dt>\
	<dd><a href="http://news.chosun.com/index.html?gnb_menu" target="_blank">뉴스</a></dd>\
	<dd><a href="http://news.chosun.com/editorials/index.html?gnb_menu" target="_blank">오피니언</a></dd>\
	<dd><a href="http://news.chosun.com/sports/index.html?gnb_menu" target="_blank">스포츠</a></dd>\
	<dd><a href="http://news.chosun.com/ent/index.html?gnb_menu" target="_blank">연예</a></dd>\
	<dd><a href="http://newsplus.chosun.com/index.html?gnb_menu" target="_blank">라이프</a></dd>\
	</dl>\
	<dl class="favorMenu_2011">\
	<dt>서비스 사이트 목록</dt>\
	<dd><a href="http://blog.chosun.com/main.screen?gnb_bar" target="_blank">블로그</a></dd>\
	<dd><a href="#link8" class="hFavorMore" onmouseover="ShowBx(\'hFavorMoreList\');" onfocus="ShowBx(\'hFavorMoreList\');" onmouseout="HideBx(\'hFavorMoreList\');" onblur="HideBx(\'hFavorMoreList\');">더보기</a>\
		<ul id="hFavorMoreList" class="hFavorMoreList" onmouseover="ShowBx(\'hFavorMoreList\');" onmouseout="HideBx(\'hFavorMoreList\');">\
		<li>· <a href="http://myhome.chosun.com/?gnb_bar">마이홈</a></li>\
		<li>· <a href="http://newsplus.chosun.com/inside/index.html?gnb_bar">인사이드</a></li>\
		<li>· <a href="http://newsplus.chosun.com/inside/list.html?in_theme=4&amp;in_sitecd=H&amp;in_categ=H1&amp;gnb_bar">Why</a></li>\
		<li>· <a href="http://inside.chosun.com/?gnb_bar">인포그래픽스</a></li>\
		<li>· <a href="http://focus.chosun.com/index.html?gnb_bar">포커스</a></li>\
		<li>· <a href="http://db.chosun.com/people/index.html?gnb_bar">인물DB</a></li>\
		<li>· <a href="http://bemil.chosun.com/?gnb_bar">유용원M</a></li>\
		<li>· <a href="http://srchdb1.chosun.com/pdf-ach/i_service/?gnb_bar">PDF·기사DB</a></li>\
		<li>· <a href="http://careview.chosun.com/?gnb_bar">카리뷰</a></li>\
		<li>· <a href="http://danmee.chosun.com/?gnb_bar">단미</a></li>\
		<li>· <a href="http://photo.chosun.com/?gnb_bar">포토</a></li>\
		<li>· <a href="http://news.chosun.com/ranking/index.html?gnb_bar">캘린더뉴스</a></li>\
		<li>· <a href="http://forum.chosun.com/?gnb_bar">토론마당</a></li>\
		<li>· <a href="http://health.chosun.com/?gnb_bar">헬스</a></li>\
		<li>· <a href="http://review.chosun.com/?gnb_bar">리뷰</a></li>\
		<li><a href="http://news.chosun.com/section/customer/sitemap.html?gnb_bar" class="hTotalView">전체보기</a></li>\
		</ul>\
	</dd>\
	</dl> \
	<dl class="memberTools_2011">\
	<dt>회원메뉴</dt>\
	<dd><a id="logLink" href="https://membership.chosun.com/login/protect_sso/sso_user_info.jsp?returl=" target="_top"><img id="logImg" src="http://image.chosun.com/main/201109/login_bt.gif" alt="로그인" title="로그인"></a></dd>\
	<dd style="color:#e1e1e1;margin: 0 -6px;">|</dd>\
	<dd><a id="memberLink" href="https://membership.chosun.com/join/registUser.jsp?site=chosun" target="_top"><img id="memberImg" src="http://image.chosun.com/main/201109/join_bt.gif" alt="회원가입" title="회원가입"></a></dd>\
	</dl>\
	<div class="c"></div>\
</div>\
<hr>\
	<dl class="searchFormBx">\
	<dt>검색</dt>\
	<dd>\
		<form method="get" id="id_searchForm" name="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" class="searchTerm" id="query" name="query" title="검색어 입력" onfocus="s_clear();"></span>\
			<input type="image" src="http://image.chosun.com/cs/201003/searchBtn.gif" alt="검색" title="검색" class="searchResult">\
			<input type="hidden" name="pageconf" id="pageconf" value="total">\
		</fieldset>\
		</form>\
	</dd>\
	</dl>\
	<dl class="cMenu">\
	<dt>조선닷컴 메뉴</dt>\
	<dd><a href="http://forum.chosun.com/" id="cMenu1" onmouseover="CMenuShow(this.id,this.id +\'_list\');" onfocus="CMenuShow(this.id,this.id +\'_list\');" onblur="CMenuHide(this.id,this.id +\'_list\');" onmouseout="CMenuHide(this.id,this.id +\'_list\');"><img src="http://image.chosun.com/cs/201111/fMenu1_off.gif" alt="토론마당홈" title="토론마당홈"></a></dd>\
	<dd><a href="http://forum.chosun.com/bbs.message.list.screen?bbs_id=101100" id="cMenu6" onmouseover="CMenuShow(this.id,this.id +\'_list\');" onfocus="CMenuShow(this.id,this.id +\'_list\');" onblur="CMenuHide(this.id,this.id +\'_list\');" onmouseout="CMenuHide(this.id,this.id +\'_list\');"><img src="http://image.chosun.com/cs/201111/fMenu2_off.gif" alt="시사발언대" title="시사발언대"></a></dd>\
	<dd><a href="http://forum.chosun.com/bbs.reple.bbsList.screen" id="cMenu7" onmouseover="CMenuShow(this.id,this.id +\'_list\');" onfocus="CMenuShow(this.id,this.id +\'_list\');" onblur="CMenuHide(this.id,this.id +\'_list\');" onmouseout="CMenuHide(this.id,this.id +\'_list\');"><img src="http://image.chosun.com/cs/201111/fMenu3_off.gif" alt="천자토론" title="천자토론"></a></dd>\
	<dd><a href="http://forum.chosun.com/bbs.poll.all.list.screen?bbs_id=700100" id="cMenu3" onmouseover="CMenuShow(this.id,this.id +\'_list\');" onfocus="CMenuShow(this.id,this.id +\'_list\');" onblur="CMenuHide(this.id,this.id +\'_list\');" onmouseout="CMenuHide(this.id,this.id +\'_list\');"><img src="http://image.chosun.com/cs/201111/fMenu4_off.gif" alt="찬반토론" title="찬반토론"></a></dd>\
	<dd><a href="http://forum.chosun.com/history.top.screen" id="cMenu4" onmouseover="CMenuShow(this.id,this.id +\'_list\');" onfocus="CMenuShow(this.id,this.id +\'_list\');" onblur="CMenuHide(this.id,this.id +\'_list\');" onmouseout="CMenuHide(this.id,this.id +\'_list\');"><img src="http://image.chosun.com/cs/201111/fMenu5_off.gif"alt="베스트토론" title="베스트토론"></a></dd>\
	<dd><img id="cMenu_etc" src="http://image.chosun.com/cs/201111/fMenu_etc.gif"alt="" title=""></dd>\
	</dl>\
	<div id="Menu_etc" style="position:absolute; right:20px; top:103px; color:#666; font-weight:bold;"><a href="http://inside.chosun.com/index.html?gnb_newsLmenu">인포그래픽스</a><span style="color:#cdcdcd;font-weight:normal;">｜</span><a href="http://photo.chosun.com/index.html?gnb_newsLmenu">포토</a>·<a href="http://video.chosun.com/index.html?gnb_newsLmenu">동영상</a><span style="color:#cdcdcd;font-weight:normal;">｜</span><a href="http://news.chosun.com/ranking/index.html?gnb_newsLmenu">랭킹</a><span style="color:#cdcdcd;font-weight:normal;">｜</span><a href="http://focus.chosun.com/index.html?gnb_newsLmenu">포커스</a></div>\
</div>\
<iframe id="info_box" src="http://www.chosun.com/event/GnbPromotion/" width="270" height="60" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe>\
 <div id="sokbo_box" class="etc_box">\
			<!-- 속보-->\
<span class="b_news" id="b_news"></span>\
</div>\
');
loginFrame();
/*
if(ArtID || location.href.indexOf("list_in") > -1){
	document.write('\
<style type="text/css">\
.head_box{width: 970px; height:131px; margin: 0 auto;clear: both; position: relative; margin-bottom: 18px;}\
#header{width: 970px; height:131px; margin: 0 auto;clear: both; position: relative; margin-bottom: 18px;}\
#Header{width: 970px; height:131px; margin: 0 auto;clear: both; position: relative; margin-bottom: 18px;}\
#csHeader{width: 970px; height:131px; margin: 0 auto;clear: both; position: relative; margin-bottom: 18px;}\
#secHeader{width: 970px; height:131px; margin: 0 auto;clear: both; position: relative; margin-bottom: 18px; padding-top:0px;}\
.etc_box{display:none;}\
.weather{display:none;}\
.chosunSet_2011 dd.chosunSet_2011Con2{display:none;}\
.chosunSet_2011 dd.chosunSet_2011Con3{display:none;}\
</style>\
	');
}*/
/*기본 검색어 표시*/
if(search_word){
	var sw_num = Math.floor(Math.random()*s_w_count);
	var ds = document.getElementById('id_searchForm').query.value = search_word[sw_num];
}
/*기본 검색어값 지워주기*/
function s_clear(){
	document.getElementById('id_searchForm').query.value ="";
}
function border_ch(which1){
	document.getElementById('cMenu1').firstChild.style.borderBottom = "1px solid #ccc";
		document.getElementById('cMenu6').firstChild.style.borderBottom = "1px solid #ccc";
		document.getElementById('cMenu7').firstChild.style.borderBottom = "1px solid #ccc";
		document.getElementById('cMenu3').firstChild.style.borderBottom = "1px solid #ccc";
		document.getElementById('cMenu4').firstChild.style.borderBottom = "1px solid #ccc";
		document.getElementById('cMenu5').firstChild.style.borderBottom = "1px solid #ccc";
		document.getElementById('cMenu_etc').style.borderBottom = "1px solid #ccc";
		document.getElementById(which1).firstChild.style.borderBottom = "none";
}
function border_ch2(){
	document.getElementById('cMenu1').firstChild.style.borderBottom = "1px solid #b8b8b8";
		document.getElementById('cMenu6').firstChild.style.borderBottom = "1px solid #b8b8b8";
		document.getElementById('cMenu7').firstChild.style.borderBottom = "1px solid #b8b8b8";
		document.getElementById('cMenu3').firstChild.style.borderBottom = "1px solid #b8b8b8";
		document.getElementById('cMenu4').firstChild.style.borderBottom = "1px solid #b8b8b8";
		document.getElementById('cMenu5').firstChild.style.borderBottom = "1px solid #b8b8b8";
}
//보여주기 감추기
function ShowBx(obj){document.getElementById(obj).style.display = "block";}
function HideBx(obj){document.getElementById(obj).style.display = "none";}
/*섹션*/
if(CatID){
	if(CatID == "0"){
		var elemImg2 = document.getElementById('cMenu1').firstChild;
		elemImg2.src =  elemImg2.src.replace("_off.gif", "_on.gif");
	}else if(CatID == "11"){
		var elemImg2 = document.getElementById('cMenu6').firstChild;
		elemImg2.src =  elemImg2.src.replace("_off.gif", "_on.gif");
	}else if( CatID == "13"){
		var elemImg2 = document.getElementById('cMenu7').firstChild;
		elemImg2.src =  elemImg2.src.replace("_off.gif", "_on.gif");
	}else if(CatID == "14" ){
		var elemImg2 = document.getElementById('cMenu3').firstChild;
		elemImg2.src =  elemImg2.src.replace("_off.gif", "_on.gif");
	}else if(CatID == "15"){
		var elemImg2 = document.getElementById('cMenu4').firstChild;
		elemImg2.src =  elemImg2.src.replace("_off.gif", "_on.gif");
	}
}else{
	var elemImg2 = document.getElementById('cMenu1').firstChild;
	elemImg2.src =  elemImg2.src.replace("_off.gif", "_on.gif");
}

if(sokboV == 1){
	document.getElementById('sokbo_box').style.display = "none";
}
