document.domain="joins.com"; /************************************************************************************************************************************************************************************************ GN 부분 *************************************************************************************************************************************************************************************************/ //트래픽체크용 ctag 이미지 삽입 function fnPutCtag(sid){ try{ if(sid.replace(" ", "").length <= 0) return; // $.getScript("http://static.joins.com/common/omniture/"+ sid +".js", function() { }); }catch(e){} } function getCookie4gn(varname) { varname += "="; var startpos = document.cookie.indexOf(varname); if (startpos >= 0) { startpos += varname.length; var endpos = document.cookie.indexOf(";", startpos); if (endpos == -1) endpos = document.cookie.length; return unescape(document.cookie.substring(startpos, endpos)); } else { return ""; } } function getCookie4gn2(uName,uName2) //쿠키열 중에 uName2의 값을 구한다 { try { var s1 = getCookie4gn(uName); var flag = s1.indexOf(uName2+'='); if (flag != -1) { flag += uName2.length + 1; end = s1.indexOf('&', flag) ; if (end == -1) end = s1.length; return unescape(s1.substring(flag, end)); } else { return ""; } } catch (e) { return ""; } } function setCookie4gn(name, value, domain, expiredays) { // 팟찌쪽에서 알 수 없는 Date()관련 오류가 나와서, 오류인 경우 고정시켰다. try { var todayDate = new Date(); todayDate.setDate( todayDate.getDate() + expiredays ); document.cookie = name + "=" + escape( value ) + "; path=/; domain="+ domain +"; expires=" + todayDate.toGMTString() + ";"; } catch(e) { document.cookie = name + "=" + escape( value ) + "; path=/; domain="+ domain +"; expires=Thr 31 Dec 2099 23:59:59 UTC;"; } } function setCookie4gn2(name, name2, value, domain, expiredays) { try { var todayDate = new Date(); todayDate.setDate( todayDate.getDate() + _gn_cookie_life ); var s1 = getCookie4gn(name); var s2 = getCookie4gn2(name, name2); if(s1 == "") { setCookie4gn(name, name2 +"="+ value, _gn_cookie_domain, _gn_cookie_life); } else { s1 = unescape(s1); if(s2 == "") { setCookie4gn(name, s1 +"&"+ name2 +"="+ value, _gn_cookie_domain, _gn_cookie_life); } else { s1 = s1.replace(name2 +"="+ s2, name2 +"="+ value); setCookie4gn(name, s1, _gn_cookie_domain, _gn_cookie_life); } } } catch(e) { setCookie4gn(name, name2 +"="+ value, _gn_cookie_domain, _gn_cookie_life); } } // gnb banner 시작 // gnb_banner 사용 쿠키 변수 var _top10_gn_banner_cookie_val="gnb_banner_kjdaily"; function fn_gnb_bannerClick(){ setCookie4gn(_top10_gn_banner_cookie_val, "Y", "joins.com",1); $("#gnb_banner").hide(); } function fn_gnb_bannerShow(){ var _top10_gn_banner = getCookie4gn(_top10_gn_banner_cookie_val); var _top10_gn_str=""; $.getScript("http://static.joins.com/promotion/data/article/js/kjdaily_topstart_control.js", function() { try { /*@top_start_control(start)@*/ /*@top_start_control(end)@*/ if(typeof(kjdaily_ad_top_start_control)!="undefined") { var tjson_adstart = kjdaily_ad_top_start_control; $.getScript("http://static.joins.com/promotion/data/article/js/kjdaily_topend_control.js", function() { try { /*@top_end_control(start)@*/ /*@top_end_control(end)@*/ if(typeof(kjdaily_ad_top_start_control)!="undefined") { var tjson_adend = kjdaily_ad_top_end_control; if (tjson_adstart.select[0].value=="Y" && tjson_adend.select[0].value!="Y"){ if (_top10_gn_banner!="Y"){ var current_location = location.href; if(current_location.indexOf("/article/")>0) { // 기사단만 적용한다 if (current_location.indexOf("koreajoongangdaily.")>0 || current_location.indexOf("Article.")>0 ){ //그리고 media. , live. 만 _top10_gn_str += ''; _top10_gn_str += '
'; _top10_gn_str += ''; _top10_gn_str += '닫기'; _top10_gn_str += '
'; _top10_gn_str += ''; $(_top10_gn_str).insertBefore($("#space_ad")); } } } } } }catch(e){} }); } }catch(e){} }); } // gnb banner 끝 function fn_imcbanner() { $.getScript("http://static.joins.com/joongang/data/common/js/imc_banner.js",function() { if(typeof(imc_imc_banner)!="undefined"){ var tjson = imc_imc_banner; var str = ''; // for(tmpi=1;tmpi'; // } } $(".rt_imc_banner").html(str); }); } function ng_gn_sublayer_toggle() { if ($('#layer_jmnet').hasClass('layer_on')) { $('#layer_jmnet').removeClass('layer_on') $('.family_site .jmnet').removeClass('jmnet_open'); } else { $('#layer_jmnet').addClass('layer_on'); $('.family_site .jmnet').addClass('jmnet_open'); if ($(".MainSideMenuTab").hasClass("on")) { $(".MainSideMenuTab").removeClass("on"); if ($(".wrap").hasClass("showsidebar")) { $(".wrap").removeClass("showsidebar"); $(".wrap").removeClass("showsidebar_smenu"); } } } } function ng_gn(w,a) { try { var _gn_service_width = "100%"; var _gn_service_align = "left"; if(w) _gn_service_width = w+"px"; if(a) _gn_service_align = a; fn_gnb_bannerShow(); // gnb 배너 노출 호출 함수 var str_tmp_ng =""; str_tmp_ng += "\n"; str_tmp_ng += "
\n"; str_tmp_ng += "
\n"; str_tmp_ng += " Joins\n"; str_tmp_ng += "
\n"; str_tmp_ng += "

Joins 패밀리 사이트

\n"; str_tmp_ng += " \n"; str_tmp_ng += " \n"; str_tmp_ng += "
\n"; str_tmp_ng += "
    \n"; str_tmp_ng += "
  • \n"; str_tmp_ng += "
    \n"; str_tmp_ng += "
    신문
    \n"; str_tmp_ng += '
    중앙일보
    \n'; str_tmp_ng += '
    중앙SUNDAY
    \n'; str_tmp_ng += '
    일간스포츠
    \n'; str_tmp_ng += '
    Korea Joongang Daily
    \n'; str_tmp_ng += '
    The Korea Daily
    \n'; str_tmp_ng += "
    \n"; str_tmp_ng += "
  • \n"; str_tmp_ng += "
  • \n"; str_tmp_ng += "
    \n"; str_tmp_ng += "
    방송
    \n"; str_tmp_ng += '
    JTBC
    \n'; str_tmp_ng += '
    QTV
    \n'; str_tmp_ng += '
    J 골프
    '; // str_tmp_ng += '
    카툰네트워크
    '; str_tmp_ng += "
    \n"; str_tmp_ng += "
  • \n"; str_tmp_ng += "
\n"; str_tmp_ng += " \n"; str_tmp_ng += "
    \n"; str_tmp_ng += "
  • \n"; str_tmp_ng += "
    \n"; str_tmp_ng += "
    인터넷
    \n"; str_tmp_ng += '
    Joins
    '; str_tmp_ng += '
    MediaSpider
    '; str_tmp_ng += "
    \n"; str_tmp_ng += "
  • \n"; str_tmp_ng += "
  • \n"; str_tmp_ng += "
    \n"; str_tmp_ng += "
    전문 콘텐트
    \n"; str_tmp_ng += '
    중국포털
    '; str_tmp_ng += '
    북한네트
    '; str_tmp_ng += '
    우리말
    '; str_tmp_ng += '
    조인스랜드
    '; str_tmp_ng += '
    헬스미디어
    '; str_tmp_ng += "
    \n"; str_tmp_ng += "
  • \n"; str_tmp_ng += "
\n"; str_tmp_ng += "
\n"; str_tmp_ng += " \n"; str_tmp_ng += "

PC 로그인

\n"; str_tmp_ng += "
    \n"; str_tmp_ng += "
  • "+fnLoginOutStr()+"
  • \n"; str_tmp_ng += "
\n"; str_tmp_ng += "

일문 중문

\n"; str_tmp_ng += "
    \n"; str_tmp_ng += "
  • 일문
  • \n"; str_tmp_ng += "
  • 중문
  • \n"; str_tmp_ng += "
\n"; str_tmp_ng += "
\n"; str_tmp_ng += "
\n"; str_tmp_ng += "
\n"; str_tmp_ng += "\n"; document.write (str_tmp_ng); }catch(e) {} } function fnLoginOutStr() { var _top13_login = ""; if (getCookie4gn("MemArray") != "" && getCookie4gn("SSOInfo") != "") { _top13_login += ' 로그아웃'; _top13_login += '
  • 정보수정'; } else { _top13_login += ' '; } return _top13_login; } /******************************************************************************************************************************************************************************************** Navi 부분 *********************************************************************************************************************************************************************************************/ function top10_menu(){ this.menu_name = arguments[0]; this.menu_url = arguments[1]; this.menu_alt = arguments[2]; this.menu_id = arguments[3]; // 1차 depth에서 -1은 단독메뉴 this.child = new Array(); this.addchild = function(){ this.child[this.child.length] = new top10_menu(arguments[0], arguments[1], arguments[2], arguments[3]); } } function fn_Fcode (fcode){ var ch_value="national"; switch(fcode){ case "03":ch_value="national";break; case "05":ch_value="business";break; case "01":ch_value="opinion";break; case "02":ch_value="culture";break; case "07":ch_value="sports";break; case "04":ch_value="foreign";break; case "06":ch_value="english";break; } return ch_value; } /************************* 검색 관련 함수 ************************/ function CheckStr(strOriginal, strFind, strChange){ var position, strOri_Length; position = strOriginal.indexOf(strFind); while (position != -1){ strOriginal = strOriginal.replace(strFind, strChange); position = strOriginal.indexOf(strFind); } strOri_Length = strOriginal.length; return strOri_Length; } function searchCheck2(){ var form = document.top_search; var val1 = form.kwd.value; var cate = form.category.value; if (CheckStr(val1, " ", "")==0) { // location.href = "http://find.joins.com/"; alert("검색어를 입력해 주세요"); return false; }else{ form.action = "http://koreajoongangdaily.joins.com/search/search.aspx"; form.kwd.value = val1; form.submit(); } } // 대메뉴 var _top_d = new Array(); _top_d[0] = new top10_menu("National","http://koreajoongangdaily.joins.com/national/?cloc=home|navi_top|national","National 홈으로 가기","03"); _top_d[1] = new top10_menu("Business","http://koreajoongangdaily.joins.com/business/?cloc=home|navi_top|business","business 홈으로 가기","05"); _top_d[2] = new top10_menu("Opinion","http://koreajoongangdaily.joins.com/opinion/?cloc=home|navi_top|opinion","opinion 홈으로 가기","01"); _top_d[3] = new top10_menu("Culture","http://koreajoongangdaily.joins.com/culture/?cloc=home|navi_top|culture","culture 홈으로 가기","02"); _top_d[4] = new top10_menu("Sports","http://koreajoongangdaily.joins.com/sports/?cloc=home|navi_top|sports","sports 홈으로 가기","07"); _top_d[5] = new top10_menu("Foreign community","http://koreajoongangdaily.joins.com/foreign_community/?cloc=home|navi_top|foreign","foreign_community 홈으로 가기","04"); _top_d[6] = new top10_menu("영어신문학습","http://koreajoongangdaily.joins.com/englishclinic/","영어신문학습 홈으로 가기","06"); _top_d[7] = new top10_menu("Home","http://koreajoongangdaily.joins.com/","Home","09"); // 1차 메뉴 : National _top_d[0].addchild("Politics", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=030101", "", "030101"); _top_d[0].addchild("Social affairs", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=030201", "", "030201"); _top_d[0].addchild("Education", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=030301", "", "030301"); _top_d[0].addchild("People", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=030401", "", "030401"); _top_d[0].addchild("Special series", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=030501", "", "030501"); // 1차 메뉴 : business _top_d[1].addchild("Economic & Financial Policy", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050101|505201", "", "050101"); //_top_d[1].addchild("Finance", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050201", "", "050201"); _top_d[1].addchild("Industry", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050301", "", "050301"); _top_d[1].addchild("IT/Science", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050501", "", "050501"); _top_d[1].addchild("Stock Market", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050401", "", "050401"); _top_d[1].addchild("Special series", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050601", "", "050601"); // 1차 메뉴 : opinion _top_d[2].addchild("Editorial", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=010101", "", "010101"); _top_d[2].addchild("Columns", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=010201", "", "010201"); _top_d[2].addchild("Fountain", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=010301", "", "010301"); _top_d[2].addchild("Seoul Lounge", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=010601", "", "010601"); _top_d[2].addchild("Cartoons", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=010401", "", "010401"); _top_d[2].addchild("Letters", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=010501", "", "010501"); // 1차 메뉴 : culture _top_d[3].addchild("Feature", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020101", "", "020101"); _top_d[3].addchild("Arts", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020201", "", "020201"); _top_d[3].addchild("Entertainment", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020301", "", "020301"); _top_d[3].addchild("Movie", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020901", "", "020901"); _top_d[3].addchild("Music & Performance", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=021001", "", "021001"); _top_d[3].addchild("life&trip", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020401|020501", "", "020401"); //_top_d[3].addchild("Food & Trip", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020501", "", "020501"); _top_d[3].addchild("Korean Heritage", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020801", "", "020801"); _top_d[3].addchild("Ticket", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020601", "", "020601"); //_top_d[3].addchild("Horoscope", "http://koreajoongangdaily.joins.com/culture/horoscope.html", "", "029901"); _top_d[3].addchild("Special series", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020701", "", "020701"); // 1차 메뉴 : sports _top_d[4].addchild("Domestic", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=070101", "", "070101"); _top_d[4].addchild("International", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=070201", "", "070201"); _top_d[4].addchild("Special series", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=070301", "", "070301"); // 1차 메뉴 : foreign_community _top_d[5].addchild("Activities", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=040101", "", "040101"); _top_d[5].addchild("Events", "http://bbs.joins.com/app/index.php?mid=jd_event", "", "049901"); _top_d[5].addchild("Diplomatic Pouch", "http://bbs.joins.com/app/index.php?mid=jd_pouch", "", "040201"); _top_d[5].addchild("About Korea", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=040301", "", "040301"); _top_d[5].addchild("Special series", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=040401", "", "040401"); // 1차 메뉴 : engilsh clinic _top_d[6].addchild("Audio News", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060101", "", "060101"); _top_d[6].addchild("Bilingual Column", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060201", "", "060201"); _top_d[6].addchild("Teen Teen World", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060301", "", "060301"); _top_d[6].addchild("Think English", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060401", "", "060401"); _top_d[6].addchild("News Speaking", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060601", "", "060601"); _top_d[6].addchild("ENIE", "http://koreajoongangdaily.joins.com/etc/enie/", "", "060000"); // 1차 메뉴 : home > about us _top_d[7].addchild("About Us", "http://koreajoongangdaily.joins.com/about/us_paper.html", "", "090101"); // 2차 메뉴 : national -> special_series _top_d[0].child[4].addchild("Special series", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=030501", "", "030501"); _top_d[0].child[4].addchild("2012 Yeosu Expo", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=030504", "", "030504"); _top_d[0].child[4].addchild("G20 Summit", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=030502", "", "030502"); _top_d[0].child[4].addchild("2018 Pyeongchang Winter Olympics", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=030503", "", "030503"); // 2차 메뉴 : business -> special_series _top_d[1].child[4].addchild("Contributed column", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050610", "", "050610"); _top_d[1].child[4].addchild("Magnifying glass", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050611", "", "050611"); _top_d[1].child[4].addchild("Analysis", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050612", "", "050612"); _top_d[1].child[4].addchild("Special series", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050601", "", "050601"); _top_d[1].child[4].addchild("App", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050609", "", "050609"); _top_d[1].child[4].addchild("Glimpse of Business in Seoul", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050602", "", "050602"); _top_d[1].child[4].addchild("Korea′s conglomerates", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050603", "", "050603"); _top_d[1].child[4].addchild("Old brand, brand new", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050604", "", "050604"); _top_d[1].child[4].addchild("Meet the CEO", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050605", "", "050605"); _top_d[1].child[4].addchild("SERI Report", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050606", "", "050606"); _top_d[1].child[4].addchild("Guest Report", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050607", "", "050607"); _top_d[1].child[4].addchild("Foreign CEOs cooking korean", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=050608", "", "050608"); // 3차 메뉴 : culture -> special_series _top_d[3].child[7].addchild("Special series", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020701", "", "020701"); _top_d[3].child[7].addchild("Living in Korea", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020709", "", "020709"); _top_d[3].child[7].addchild("Trendy Eats", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020710", "", "020710"); _top_d[3].child[7].addchild("Jainnie's Korean Cinema", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020711", "", "020711"); _top_d[3].child[7].addchild("Theater Review", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020712", "", "020712"); _top_d[3].child[7].addchild("-----------------------------------------", "#", "", ""); _top_d[3].child[7].addchild("Art in everyday thing′s", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020702", "", "020702"); _top_d[3].child[7].addchild("Brian′s Gwangdae ", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020707", "", "020707"); _top_d[3].child[7].addchild("Chef’s Special", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020703", "", "020703"); _top_d[3].child[7].addchild("Old Seoul: frame by frame", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020704", "", "020704"); _top_d[3].child[7].addchild("CUP", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020705", "", "020705"); _top_d[3].child[7].addchild("Korea’s Multicultural Future", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=020708", "", "020708"); // 3차 메뉴 : foreign_community -> special_series _top_d[5].child[4].addchild("Special series", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=040401", "", "040401"); _top_d[5].child[4].addchild("Diplomatic Waltz", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=040402", "", "040402"); _top_d[5].child[4].addchild("Kitchen talk", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=040403", "", "040403"); _top_d[5].child[4].addchild("blogsphere", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=040404", "", "040404"); // 3차 메뉴 : englishclinic -> special_series _top_d[6].child[3].addchild("Think English", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060401", "", "060401"); _top_d[6].child[3].addchild("Current Issue", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060402", "", "060402"); _top_d[6].child[3].addchild("Feature Story", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060403", "", "060403"); _top_d[6].child[3].addchild("Editorial Reading", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060404", "", "060404"); _top_d[6].child[3].addchild("Pictionary", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060405", "", "060405"); _top_d[6].child[3].addchild("Writing Clinic", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060406", "", "060406"); _top_d[6].child[3].addchild("영어 이야기", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060407", "", "060407"); // 3차 메뉴 : englishclinic -> news speaking _top_d[6].child[4].addchild("Topic", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060601", "", "060601"); _top_d[6].child[4].addchild("Business", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060602", "", "060602"); _top_d[6].child[4].addchild("Culture", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060603", "", "060603"); _top_d[6].child[4].addchild("Sports", "http://koreajoongangdaily.joins.com/news/list/list.aspx?gCat=060604", "", "060604"); // 3차 메뉴 : home > about us _top_d[7].child[0].addchild("About Us", "http://koreajoongangdaily.joins.com/about/us_paper.html", "", "090101"); _top_d[7].child[0].addchild("Advertising", "http://koreajoongangdaily.joins.com/about/us_ad_kor.html", "", "090201"); _top_d[7].child[0].addchild("Contact Us", "http://koreajoongangdaily.joins.com/about/contact_us.html", "", "090301"); _top_d[7].child[0].addchild("Event", "http://bbs.joins.com/app/index.php?mid=jd_event", "", "090401"); // 현재 위치 표시용 변수 세팅 var Sp_code, F_code = "", S_code = "", T_code = "", F_code2 = "", S_code2 = "",F_index = "" , S_index = "" , T_index = "" , F_class = "" , S_class ="" , T_class ="", Z_code = ""; var _top10_str,_top10_hid; //출력 변수 function fn_Code_Setting(){ try { Sp_code = Acode.split("|"); F_code = Sp_code[0]; S_code = Sp_code[1]; T_code = Sp_code[2];H_code = Sp_code[3]; S_code2 = S_code; } catch(e) { F_code = "news"; } F_code2=F_code; S_code2=S_code; // 대분류 구분 Index 추출 for(var _top10_i=0; _top10_i<_top_d.length; _top10_i++){ if((F_code2 == _top_d[_top10_i].menu_id)) { F_index=_top10_i; } } // 중분류 구분 Index 추출 S_index=-1; // Default if (S_code=="") { S_index=-1; } else { for(var _top10_j=0; _top10_j < _top_d[F_index].child.length; _top10_j++) { if((F_code2 == _top_d[F_index].menu_id) && (S_code2 != "" && S_code2 == _top_d[F_index].child[_top10_j].menu_id)) // 현재 분류코드를 굵게 표시를 위해 { S_index=_top10_j; } } } if (S_index==-1) { S_code=""; // 입력 코드 에러 보정 S_index=-1; } // 소분류 구분 Index 추출 T_index = -1; if (T_code=="") { T_index=-1 // Default } else if (S_code=="") { S_index=""; // Default } else { for(var _top10_k=0; _top10_k < _top_d[F_index].child[S_index].child.length; _top10_k++){ if((T_code != "" && T_code == _top_d[F_index].child[S_index].child[_top10_k].menu_id)) // 현재 분류코드를 굵게 표시 { T_index=_top10_k; } } if (T_index==-1) { T_code=""; // 입력 코드 에러 보정 T_index=0; } } } function fn_selectSwap(num){ if(num==1){ $(".option").addClass("over"); }else{ $(".option").removeClass("over"); } } function toplogomenu(reqAcode){ document.write(' '); var arrReqAcode = null; var sWingBanner = ""; //기타 if(reqAcode && reqAcode!="") { /* - national 03 - business 05 - opinion 01 - culture 02 - sports 07 - foreign 04 - 영어신문학습 06 */ arrReqAcode = reqAcode.split("|"); //home|sports|soccer // 기타 기본 광고 sWingBanner = ""; if(arrReqAcode.length >= 2) { // national if(arrReqAcode[0] == "03")sWingBanner = ""; // business if(arrReqAcode[0] == "05")sWingBanner = ""; // opinion if(arrReqAcode[0] == "01") sWingBanner = ""; // culture if(arrReqAcode[0] == "02") sWingBanner = ""; // sports if(arrReqAcode[0] == "07") sWingBanner = ""; // foreign if(arrReqAcode[0] == "04") sWingBanner = ""; // 영어신문학습 if(arrReqAcode[0] == "06") sWingBanner = ""; } //프로모션 배너 document.write('
    '); document.write(''); //document.write( sWingBanner ); document.write('
    '); } if (reqAcode!="") Acode = reqAcode; var nstart_pts=0; var nend_pts=5; var list_subName = ""; fn_Code_Setting(); _top10_str =""; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += " Korea Joongang Daily\n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += " bing검색\n"; _top10_str += " \n"; _top10_str += " \n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += "

    서비스 메뉴

    \n"; _top10_str += "
    \n"; _top10_str += " \n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += " \n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += " \n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += " \n"; _top10_str += "
    \n"; _top10_str += "
    \n"; _top10_str += " \n"; _top10_str += "
    \n"; document.write(_top10_str); // 아티클내 로케이션 function ui_list_location(ctg_url , ctg_name , ctg_subName){ var _location_str = ""; _location_str += ""; $("#list_location").html(_location_str); if(ctg_subName.indexOf("series") != -1 || ctg_subName.indexOf("Think") != -1 || ctg_subName.indexOf("News Speaking") != -1){ tmp = ui_sublist_menu_slectbox(); $("#list_location").append(tmp); } } //3 depth 메뉴(셀렉트박스) 함수로 뺌... function ui_sublist_menu_slectbox(){ //alert(_top_d[F_index].child.length); var _top10_sub_str_first = ""; var _top10_sub_div_str = ""; var _top10_sub_li_str = ""; var _top10_sub_str_final = ""; var _top10_sub_num = 0; var _top10_sub_menuHtml = ""; var maxCount = (_top_d[F_index].child[S_index].child.length); // 요게 select 형 3차 메뉴 // if(_top_d[F_index].child[_top_tmp2].menu_name.indexOf("series") != -1 || _top_d[F_index].child[_top_tmp2].menu_name.indexOf("Think") != -1 || _top_d[F_index].child[_top_tmp2].menu_name.indexOf("News Speaking") != -1){ for(var _top_tmp3=0;_top_tmp3< maxCount;_top_tmp3++){ _top10_sub_num = _top10_sub_num + 1 ; var _top_class = "" if(_top10_sub_num == 1){ _top10_sub_str_first += "
    "; _top10_sub_str_first += "
    "; } if(_top_tmp3==T_index){ _top_class= " class=\"on\" "; _top10_sub_div_str += "
    "+_top_d[F_index].child[S_index].child[_top_tmp3].menu_name+"
    "; _top10_sub_div_str += " "; _top10_sub_str_final += "
    "; } } _top10_sub_menuHtml = _top10_sub_str_first + _top10_sub_div_str + _top10_sub_li_str + _top10_sub_str_final; return _top10_sub_menuHtml; // } } jQuery(document).ready(function($) { fn_imcbanner(); if($("#list_location").length > 0) { document.title = _top_d[F_index].menu_name.toUpperCase()+"-INSIDE Korea JoongAng Daily"; ui_list_location(_top_d[F_index].menu_url,_top_d[F_index].menu_name,list_subName); } }); } function dot_tag(){ var tmpUrl = location.pathname; /* 메인 :