document.domain="joinsmsn.com"; /************************************************************************************************************************************************************************************************ GN 부분 *************************************************************************************************************************************************************************************************/ //트래픽체크용 ctag 이미지 삽입 function fnPutCtag(sid){ try{ if(sid.replace(" ", "").length <= 0) return; $.getScript("http://static.joinsmsn.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_joongang"; function fn_gnb_bannerClick(){ setCookie4gn(_top10_gn_banner_cookie_val, "Y", "joinsmsn.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.joinsmsn.com/promotion/data/article/js/top_start_control.js", function() { try { /*@top_start_control(start)@*/ /*@top_start_control(end)@*/ if(typeof(article_ad_top_start_control)!="undefined") { var tjson_adstart = article_ad_top_start_control; $.getScript("http://static.joinsmsn.com/promotion/data/article/js/top_end_control.js", function() { try { /*@top_end_control(start)@*/ /*@top_end_control(end)@*/ if(typeof(article_ad_top_end_control)!="undefined") { var tjson_adend = article_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("joongang.")>0 || current_location.indexOf("article.")>0 || current_location.indexOf("article01.")>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 끝 // 이슈링 var idx_issue_ring =0; var mx_issue_ring_cnt =0; var divIssueRingTimer = null; function fn_menuIssuering() { $.getScript("http://static.joinsmsn.com/portal/data/home/stat/index_issue_area.js",function() { if(typeof(index_index_issue_area)!="undefined"){ var arr_issuering_str = index_index_issue_area; var str = ''; mx_issue_ring_cnt=arr_issuering_str.link.length ; for(itmp=0;itmp < mx_issue_ring_cnt;itmp++){ var issue_ring_url = arr_issuering_str.link[itmp].value; var current_location = location.href; if(current_location.indexOf("/article/")>0) { // 기사단만 cloc 적용한다. if (current_location.indexOf("joongang.")>0 || current_location.indexOf("pic.")>0 || current_location.indexOf("article.")>0 || current_location.indexOf("article01.")>0 ){ str += ' '; } }else{ str += ' '; } } } $("#issue_ring").html(str); idx_issue_ring = Math.floor(Math.random()*mx_issue_ring_cnt); $oIssue_ring = $("#issue_ring > a"); $("#issue_ring > a ").hide(); $($oIssue_ring[idx_issue_ring]).show(); }); } function fn_menuIssuering_rolling(){ $oIssue_ring = $("#issue_ring > a"); $($oIssue_ring).hide(); idx_issue_ring=idx_issue_ring+1; if (idx_issue_ring>=mx_issue_ring_cnt)idx_issue_ring=0; $($oIssue_ring[idx_issue_ring]).show(); if (divIssueRingTimer==null) divIssueRingTimer = setInterval("fn_menuIssuering_rolling()", 5000); // 롤링 } function fn_imcbanner() { $.getScript("http://static.joinsmsn.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(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 += "
\"joinsmsn\"
\n"; str_tmp_ng += "
\n"; str_tmp_ng += "
이슈링
\n"; str_tmp_ng += "
\n"; str_tmp_ng += "
    \n"; str_tmp_ng += "
  1. \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 += "
"; str_tmp_ng += "
\n"; str_tmp_ng += "
\n"; str_tmp_ng += " bing검색\n"; str_tmp_ng += " \n"; str_tmp_ng += " \n"; str_tmp_ng += "
\n"; str_tmp_ng += "
\n"; str_tmp_ng += "
\n"; if(getCookie4gn("MemArray") !="" && getCookie4gn("SSOInfo")!="" ) { str_tmp_ng += "
\n"; str_tmp_ng += " 로그아웃\n"; str_tmp_ng += " 정보수정\n"; str_tmp_ng += "
\n"; } else { str_tmp_ng += " \n"; } str_tmp_ng += '
'; str_tmp_ng += ' '; str_tmp_ng += ' '; str_tmp_ng += '
'; str_tmp_ng += "
\n"; str_tmp_ng += '
'; str_tmp_ng += "
\n"; str_tmp_ng += "
\n"; str_tmp_ng += "\n"; document.write (str_tmp_ng); jQuery(document).ready(function($) { fn_menuIssuering(); // gn 영역 이슈링 데이타 넣기 }); } catch(e) { } } /******************************************************************************************************************************************************************************************** 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="news"; switch(fcode){ case "news":ch_value="news";break; case "economy":ch_value="eco";break; case "life":ch_value="life";break; case "opinion":ch_value="opi";break; case "hotissue":ch_value="hot";break; case "photo":ch_value="photo";break; case "interactive":ch_value="inter";break; case "educenter":ch_value="edu";break; } return ch_value; } function fn_jeditors_show (pic_data){ var str = ""; str += " \n"; return str; } document.write(""); function load_editor_pic() { if(typeof(editorpic_headline_item) != "undefined") jQuery("#topeditor").append(fn_jeditors_show(editorpic_headline_item.data[Math.floor(Math.random()*2)])); } function fn_moreLayer_show (){ jQuery("#nv_etc_more1").hide(); jQuery("#nv_etc_more2").show(); } function fn_moreLayer_hide (){ jQuery("#nv_etc_more1").show(); jQuery("#nv_etc_more2").hide(); } var menu_timer; // MouseOut 일때 다른 메뉴 선택이 아니라면 최초 메뉴로 Restore 에 사용하는 변수 function fn_moreLayer(){ menu_timer = setTimeout("fn_moreLayer_hide()", 100); } function setMouseOutClear(){ if(menu_timer) clearTimeout(menu_timer); } /************************* 검색 관련 함수 ************************/ 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.joinsmsn.com/"; alert("검색어를 입력해 주세요"); return false; }else{ if (cate == "news") form.action = "http://find.joinsmsn.com/mediaSearch/news_search.asp"; else if (cate == "community") form.action = "http://find.joinsmsn.com/mediaSearch/community_search.asp"; else if (cate == "photo") form.action = "http://find.joinsmsn.com/mediaSearch/photo_search.asp"; else if (cate == "movie") form.action = "http://find.joinsmsn.com/mediaSearch/movie_search.asp"; else if (cate == "people") form.action = "http://find.joinsmsn.com/mediaSearch/people_search.asp"; else if (cate == "lifeinfo") form.action = "http://find.joinsmsn.com/mediaSearch/lifeinfo_search.asp"; else if (cate == "dictionary") form.action = "http://find.joinsmsn.com/mediaSearch/dictionary_search.asp"; else if (cate == "web") form.action = "http://find.joinsmsn.com/mediaSearch/web_search.asp"; else form.action = "http://find.joinsmsn.com/mediaSearch/total_search.asp"; form.kwd.value = val1; form.submit(); } } // 대메뉴 var _top_d = new Array(); _top_d[0] = new top10_menu("뉴스","http://joongang.joinsmsn.com/index.html?cloc=home|navi_top|home","뉴스 홈으로 가기","news"); _top_d[1] = new top10_menu("경제 홈","http://money.joinsmsn.com/?cloc=home|navi_top|economy","경제 홈으로 가기","economy"); _top_d[2] = new top10_menu("라이프 홈","http://life.joinsmsn.com/?cloc=home|navi_top|life","라이프 홈으로 가기","life"); _top_d[3] = new top10_menu("오피니언 홈","http://joongang.joinsmsn.com/opinion/index.html?cloc=home|navi_top|opinion","오피니언","opinion"); _top_d[4] = new top10_menu("핫이슈","http://article.joinsmsn.com/issue/index.asp?cloc=home|navi_top|issue","핫이슈","hotissue"); _top_d[5] = new top10_menu("포토","http://pic.joinsmsn.com/photo/index.asp?cloc=home|navi_top|photo","포토","photo"); _top_d[6] = new top10_menu("인터랙티브","http://interactive.joinsmsn.com/list.asp?cloc=home|navi_top|interactive","인터랙티브","interactive"); _top_d[7] = new top10_menu("TV","http://video.joinsmsn.com/channel/channel_list.asp?categoryID=101000000&cloc=home|navi_top|tv","TV",""); _top_d[8] = new top10_menu("PDF","http://pdf.joinsmsn.com/joongang/?cloc=home|navi_top|pdf","pdf","pdf"); _top_d[9] = new top10_menu("우리말","http://korean.joinsmsn.com","우리말","korean"); // 1차 메뉴 : 뉴스 _top_d[0].addchild("전체", "http://joongang.joinsmsn.com/list/news/news_list.html?cloc=joins|navi_top|at_all", "", ""); _top_d[0].addchild("정치", "http://joongang.joinsmsn.com/politics/?cloc=joins|navi_top|poltics", "", "politics"); _top_d[0].addchild("사회", "http://joongang.joinsmsn.com/society/?cloc=joins|navi_top|life", "", "Life"); _top_d[0].addchild("지구촌", "http://joongang.joinsmsn.com/world/?cloc=joins|navi_top|world", "", "world"); _top_d[0].addchild("문화", "http://joongang.joinsmsn.com/culture/?cloc=joins|navi_top|culture", "", "culture"); _top_d[0].addchild("스포츠", "http://joongang.joinsmsn.com/sports/?cloc=joins|navi_top|sports", "", "sports"); _top_d[0].addchild("연예", "http://joongang.joinsmsn.com/star/?cloc=joins|navi_top|entertainment", "", "star"); _top_d[0].addchild("지역", "http://joongang.joinsmsn.com/local/?cloc=joins|navi_top|local", "", "local"); _top_d[0].addchild("블로그뉴스", "http://joongang.joinsmsn.com/list/blognews/blog_list.html?cloc=joins|navi_top|blog", "", "blognews"); _top_d[0].addchild("뉴스클립", "http://joongang.joinsmsn.com/list/news/newsclip/newsclip_list.html?issueid=5558&cloc=joins|navi_top|newsclip", "", "newsclip"); _top_d[0].addchild("보도자료", "http://joongang.joinsmsn.com/list/news/brandnews/brandnews.html?cloc=joins|navi_top|brandnews", "", "brandnews"); // 1차 메뉴 : 경제 _top_d[1].addchild("최신기사", "http://joongang.joinsmsn.com/list/money/money_list.html?cloc=joins|navi_top|economy", "", "eco_list"); _top_d[1].addchild("경제", "http://money.joinsmsn.com?cloc=joins|navi_top|economy", "", "money"); _top_d[1].addchild("재테크", "http://money.joinsmsn.com/finance/?cloc=joins|navi_top|finance", "", "finance"); _top_d[1].addchild("증권", "http://money.joinsmsn.com/stock/?cloc=joins|navi_top|stock", "", "stock"); _top_d[1].addchild("부동산", "http://realestate.joinsmsn.com/", "", "land"); _top_d[1].addchild("IT View", "http://money.joinsmsn.com/itview/?cloc=joins|navi_top|itview", "", "itview"); // 1차 메뉴 : 라이프 _top_d[2].addchild("스타일", "http://joongang.joinsmsn.com/list/life/style/list.html", "", "life_style"); _top_d[2].addchild("건강·음식", "http://joongang.joinsmsn.com/list/life/food/list.html", "", "life_food"); _top_d[2].addchild("여행·레저", "http://joongang.joinsmsn.com/list/life/lesuire/list.html", "", "life_travel"); _top_d[2].addchild("스타인터뷰", "http://joongang.joinsmsn.com/list/life/star/list.html", "", "life_starinterview"); _top_d[2].addchild("교육·나눔", "http://joongang.joinsmsn.com/list/life/edu/list.html", "", "life_edu"); _top_d[2].addchild("디지털세상", "http://joongang.joinsmsn.com/list/life/digital/list.html", "", "life_digital"); // 1차 메뉴 : 오피니언 _top_d[3].addchild("최신기사", "http://article.joinsmsn.com/news/list/list.asp?ctg=20", "", "list"); _top_d[3].addchild("사설칼럼", "http://joongang.joinsmsn.com/opinion/joongang_column.html", "", "column"); _top_d[3].addchild("만평", "http://joongang.joinsmsn.com/opinion/joongang_manpyung.html", "", "manpyung"); _top_d[3].addchild("인터뷰대담", "http://joongang.joinsmsn.com/opinion/joongang_interview.html", "", "interview"); _top_d[3].addchild("셀레브리티", "http://joongang.joinsmsn.com/opinion/celebrity.html?cloc=joins|navi_top|celebrity", "", "celebrity"); _top_d[3].addchild("토론방", "http://joongang.joinsmsn.com/opinion/debate/?cloc=joins|navi_top|assembly", "", "assembly"); _top_d[3].addchild("J Kiosk", "http://ebook.joinsmsn.com/", "", "jkiosk"); // 1차 메뉴 : 핫이슈 _top_d[4].addchild("전체", "http://article.joinsmsn.com/issue/section.asp?sn=?cloc=joins|navi_top|issue_list", "", "issue_list"); _top_d[4].addchild("이슈", "http://article.joinsmsn.com/issue/section.asp?sn=politics?cloc=joins|navi_top|issue", "", "issue"); _top_d[4].addchild("연재", "http://article.joinsmsn.com/issue/section.asp?st=p&cloc=joins|navi_top|series", "", "series"); //_top_d[4].addchild("2010 연말특집", "http://joongang.joinsmsn.com/special/2010special/", "", "2010special"); // 1차 메뉴 : 포토 _top_d[5].addchild("포토뉴스", "http://pic.joinsmsn.com/photo/index.asp?cloc=joins|navi_top|photo_news", "", "photo_news"); _top_d[5].addchild("포토갤러리", "http://pic.joinsmsn.com/photogallery/photo_gallery.asp", "", "photo_theme"); //_top_d[5].addchild("키워드 포토", "http://pic.joinsmsn.com/photogallery/photo_list_search.asp?page=1&p_cat="+escape("패션쇼"), "", "photo_keyword"); //_top_d[5].addchild("픽업갤러리", "http://picup.joinsmsn.com/?cloc=home|top|picup", "", "-1"); //_top_d[5].addchild("사진공모전", "http://pic.joinsmsn.com/workpeople2011/?cloc=home|top|workpeople", "", "photo_canon"); // 1차 메뉴 : 인터랙티브 _top_d[6].addchild("전체", "http://interactive.joinsmsn.com/list.asp?cloc=joins|navi_top|interative_list", "", "list"); _top_d[6].addchild("정치", "http://interactive.joinsmsn.com/list.asp?ctg_id=10&cloc=joins|navi_top|interactive_politics", "", "politics"); _top_d[6].addchild("경제", "http://interactive.joinsmsn.com/list.asp?ctg_id=11&cloc=joins|navi_top|interactive_economy", "", "economy"); _top_d[6].addchild("사회", "http://interactive.joinsmsn.com/list.asp?ctg_id=12&cloc=joins|navi_top|interactive_life", "", "life"); _top_d[6].addchild("지구촌", "http://interactive.joinsmsn.com/list.asp?ctg_id=13&cloc=joins|navi_top|interactive_world", "", "world"); _top_d[6].addchild("문화", "http://interactive.joinsmsn.com/list.asp?ctg_id=17&cloc=joins|navi_top|interactive_culture", "", "culture"); _top_d[6].addchild("스포츠", "http://interactive.joinsmsn.com/list.asp?ctg_id=14&cloc=joins|navi_top|interactive_sports", "", "sports"); _top_d[6].addchild("연예", "http://interactive.joinsmsn.com/list.asp?ctg_id=15&cloc=joins|navi_top|interactive_star", "", "star"); // 1차 메뉴 : PDF _top_d[8].addchild("중앙일보", "http://pdf.joinsmsn.com/joongang/", "", "pdf_joongang"); _top_d[8].addchild("중앙SUNDAY", "http://pdf.joinsmsn.com/joongangsunday/", "", "pdf_joongangsunday"); _top_d[8].addchild("Joongang Daily", "http://pdf.joinsmsn.com/joongangdaily/", "", "pdf_joongangdaily"); _top_d[8].addchild("IS Plus일간스포츠", "http://pdf.joinsmsn.com/isplus/", "", "pdf_isplus"); _top_d[8].addchild("The Korea daily", "http://pdf.joinsmsn.com/k_daily/", "", "pdf_kdaily"); // 1차 메뉴 : 우리말 _top_d[9].addchild("우리말바루기", "http://korean.joinsmsn.com/news/list/list.asp?field=title&tm=korean", "", "korean_stand"); _top_d[9].addchild("글쓰기", "http://korean.joinsmsn.com/news/list/list_keyword.asp?tm=korean&ctg=28", "", "korean_power"); _top_d[9].addchild("논술", "http://bbs.joinsmsn.com/app/kor_write2010", "", "korean_write"); _top_d[9].addchild("자료실", "http://bbs.joinsmsn.com/app/kor_wrong2010", "", "korean_reference"); _top_d[9].addchild("묻고답하기", "http://bbs.joinsmsn.com/app/kor_qna2010", "", "korean_qna"); _top_d[9].addchild("어문연구소는", "http://korean.joinsmsn.com/intro.html", "", "korean_intro"); _top_d[9].addchild("관련사이트", "http://korean.joinsmsn.com/related_site.html", "", "korean_related"); // 2차 메뉴 : 최신기사 -> 없음 // 2차 메뉴 : 뉴스 -> 정치 _top_d[0].child[1].addchild("최신기사", "http://joongang.joinsmsn.com/list/news/politics/list.html?cloc=joins|navi_top|politics_list", "", "politics_list"); _top_d[0].child[1].addchild("선거", "http://joongang.joinsmsn.com/list/news/politics/election.html?cloc=joins|navi_top|politics_election", "", "election"); _top_d[0].child[1].addchild("국회·정당", "http://joongang.joinsmsn.com/list/news/politics/assemgov.html?cloc=joins|navi_top|politics_assem", "", "assemgov"); _top_d[0].child[1].addchild("청와대", "http://joongang.joinsmsn.com/list/news/politics/bluehouse.html?cloc=joins|navi_top|politics_bluehouse", "", "bluehouse"); _top_d[0].child[1].addchild("외교", "http://joongang.joinsmsn.com/list/news/politics/diplomacy.html?cloc=joins|navi_top|politics_diplomacy", "", "diplomacy"); _top_d[0].child[1].addchild("북한", "http://nk.joins.com/?cloc=joins|navi_top|politics_nk", "", "-1"); _top_d[0].child[1].addchild("국방", "http://joongang.joinsmsn.com/list/news/politics/nk.html?cloc=joins|navi_top|politics_nk", "", "nk"); _top_d[0].child[1].addchild("여론조사", "http://survey.joinsmsn.com/?cloc=joins|navi_top|survey", "", "survey"); // 2차 메뉴 : 뉴스 -> 사회 _top_d[0].child[2].addchild("최신기사", "http://joongang.joinsmsn.com/list/news/life/list.html", "", "life_list"); _top_d[0].child[2].addchild("검찰·법원", "http://joongang.joinsmsn.com/list/news/life/law.html", "", "law"); _top_d[0].child[2].addchild("교육", "http://joongang.joinsmsn.com/list/news/life/education.html", "", "education"); _top_d[0].child[2].addchild("사건·사고", "http://joongang.joinsmsn.com/list/news/life/accident.html", "", "accident"); _top_d[0].child[2].addchild("복지노동", "http://joongang.joinsmsn.com/list/news/life/welfare.html", "", "welfare"); _top_d[0].child[2].addchild("사람", "http://joongang.joinsmsn.com/list/news/life/people.html", "", "people"); _top_d[0].child[2].addchild("감동2.0", "http://joongang.joinsmsn.com/list/news/life/impression.html", "", "impression"); _top_d[0].child[2].addchild("지역", "http://joongang.joinsmsn.com/list/news/life/local.html", "", "local"); // 2차 메뉴 : 뉴스 -> 지구촌 _top_d[0].child[3].addchild("최신기사", "http://joongang.joinsmsn.com/list/news/world/list.html", "", "world_list"); _top_d[0].child[3].addchild("미국", "http://joongang.joinsmsn.com/list/news/world/northame.html", "", "northame"); _top_d[0].child[3].addchild("중국", "http://joongang.joinsmsn.com/list/news/world/china.html", "", "china"); _top_d[0].child[3].addchild("일본", "http://joongang.joinsmsn.com/list/news/world/japan.html", "", "japan"); _top_d[0].child[3].addchild("유럽", "http://joongang.joinsmsn.com/list/news/world/eu.html", "", "eu"); _top_d[0].child[3].addchild("러시아", "http://joongang.joinsmsn.com/list/news/world/russia.html", "", "russia"); _top_d[0].child[3].addchild("아태", "http://joongang.joinsmsn.com/list/news/world/asiapacific.html", "", "asiapacific"); _top_d[0].child[3].addchild("아프리카", "http://joongang.joinsmsn.com/list/news/world/africa.html", "", "africa"); _top_d[0].child[3].addchild("중남미", "http://joongang.joinsmsn.com/list/news/world/southame.html", "", "southame"); _top_d[0].child[3].addchild("중동", "http://joongang.joinsmsn.com/list/news/world/middleeast.html", "", "middleeast"); _top_d[0].child[3].addchild("중앙USA", "http://joongang.joinsmsn.com/list/news/world/usajoongang.html", "", "usajoongang"); // 2차 메뉴 : 뉴스 -> 문화 _top_d[0].child[4].addchild("최신기사", "http://joongang.joinsmsn.com/list/news/culture/list.html", "", "culture_list"); _top_d[0].child[4].addchild("종교·학술", "http://joongang.joinsmsn.com/list/news/culture/religion.html", "", "religion"); _top_d[0].child[4].addchild("문화재", "http://joongang.joinsmsn.com/list/news/culture/property.html", "", "property"); _top_d[0].child[4].addchild("책·문학", "http://joongang.joinsmsn.com/list/news/culture/book.html", "", "book"); _top_d[0].child[4].addchild("클래식", "http://joongang.joinsmsn.com/list/news/culture/classic.html", "", "classic"); _top_d[0].child[4].addchild("애니·만화", "http://joongang.joinsmsn.com/list/news/culture/animation.html", "", "animation"); _top_d[0].child[4].addchild("전시·미술", "http://joongang.joinsmsn.com/list/news/culture/art.html", "", "performance"); _top_d[0].child[4].addchild("연극·무용", "http://joongang.joinsmsn.com/list/news/culture/play.html", "", "play"); _top_d[0].child[4].addchild("우리말", "http://korean.joinsmsn.com/", "", "korean"); // 2차 메뉴 : 뉴스 -> 스포츠 _top_d[0].child[5].addchild("최신기사", "http://joongang.joinsmsn.com/list/news/sports/list.html", "", "sports_list"); _top_d[0].child[5].addchild("야구", "http://joongang.joinsmsn.com/list/news/sports/baseball.html", "", "baseball"); _top_d[0].child[5].addchild("축구", "http://joongang.joinsmsn.com/list/news/sports/soccer.html", "", "soccer"); _top_d[0].child[5].addchild("골프", "http://joongang.joinsmsn.com/list/news/sports/golf.html", "", "golf"); _top_d[0].child[5].addchild("일반", "http://joongang.joinsmsn.com/list/news/sports/all.html", "", "all"); // 2차 메뉴 : 뉴스 -> 연예 _top_d[0].child[6].addchild("최신기사", "http://joongang.joinsmsn.com/list/news/star/list.html", "", "star_list"); _top_d[0].child[6].addchild("방송", "http://joongang.joinsmsn.com/list/news/star/onair.html", "", "onair"); _top_d[0].child[6].addchild("영화", "http://joongang.joinsmsn.com/list/news/star/movie.html", "", "movie"); _top_d[0].child[6].addchild("연예가소식", "http://joongang.joinsmsn.com/list/news/star/worldenter.html", "", "worldenter"); _top_d[0].child[6].addchild("연예 포토", "http://joongang.joinsmsn.com/list/news/star/enphoto.html", "", "enphoto"); // 2차 메뉴 : 뉴스 -> 지역 _top_d[0].child[7].addchild("지역일반", "http://joongang.joinsmsn.com/list/news/life/local.html", "", "local"); _top_d[0].child[7].addchild("수도권", "http://joongang.joinsmsn.com/list/news/local/merto.html", "", "merto"); _top_d[0].child[7].addchild("충청", "http://joongang.joinsmsn.com/list/news/local/joongboo.html", "", "joongboo"); _top_d[0].child[7].addchild("호남", "http://joongang.joinsmsn.com/list/news/local/honam.html", "", "honam"); _top_d[0].child[7].addchild("영남", "http://joongang.joinsmsn.com/list/news/local/yeongnam.html", "", "yeongnam"); _top_d[0].child[7].addchild("강원", "http://joongang.joinsmsn.com/list/news/local/gangwon.html", "", "gangwon"); _top_d[0].child[7].addchild("제주", "http://joongang.joinsmsn.com/list/news/local/cheju.html", "", "cheju"); _top_d[0].child[7].addchild("천안아산", "http://joongang.joinsmsn.com/list/news/local/chunanasan.html", "", "chunanasan"); _top_d[0].child[7].addchild("강남서초송파&", "http://joongang.joinsmsn.com/list/news/local/kangnam.html", "", "kangnam"); // 2차 메뉴 : 뉴스 -> 기자블로그 _top_d[0].child[8].addchild("전체", "http://joongang.joinsmsn.com/list/blognews/blog_list.html", "", "all"); _top_d[0].child[8].addchild("시사", "http://joongang.joinsmsn.com/list/blognews/blog_list01.html", "", "sisa"); _top_d[0].child[8].addchild("리뷰", "http://joongang.joinsmsn.com/list/blognews/blog_list02.html", "", "review"); _top_d[0].child[8].addchild("여행", "http://joongang.joinsmsn.com/list/blognews/blog_list03.html", "", "travel"); _top_d[0].child[8].addchild("일상", "http://joongang.joinsmsn.com/list/blognews/blog_list04.html", "", "everyday"); _top_d[0].child[8].addchild("레저", "http://joongang.joinsmsn.com/list/blognews/blog_list05.html", "", "leisure"); _top_d[0].child[8].addchild("포토", "http://joongang.joinsmsn.com/list/blognews/blog_list06.html", "", "photo"); _top_d[0].child[8].addchild("문학", "http://joongang.joinsmsn.com/list/blognews/blog_list07.html", "", "literature"); _top_d[0].child[8].addchild("특종", "http://joongang.joinsmsn.com/list/blognews/blog_list08.html", "", "special"); // 2차 메뉴 : 경제 -> 경제 _top_d[1].child[1].addchild("최신기사", "http://joongang.joinsmsn.com/list/money/economy/list.html", "", "economy_list"); _top_d[1].child[1].addchild("정책동향", "http://joongang.joinsmsn.com/list/money/economy/policy.html", "", "economy_policy"); _top_d[1].child[1].addchild("국제경제", "http://joongang.joinsmsn.com/list/money/economy/world.html", "", "economy_world"); _top_d[1].child[1].addchild("무역", "http://joongang.joinsmsn.com/list/money/economy/trade.html", "", "economy_trade"); _top_d[1].child[1].addchild("소비자유통", "http://joongang.joinsmsn.com/list/money/economy/consumer.html", "", "economy_consumer"); _top_d[1].child[1].addchild("취업창업", "http://joongang.joinsmsn.com/list/money/economy/job.html", "", "economy_job"); _top_d[1].child[1].addchild("기업산업", "http://joongang.joinsmsn.com/list/money/economy/industry.html", "", "economy_industry"); _top_d[1].child[1].addchild("경제인물", "http://joongang.joinsmsn.com/list/money/economy/people.html", "", "economy_people"); // 2차 메뉴 : 경제 -> 재테크 _top_d[1].child[2].addchild("최신기사", "http://joongang.joinsmsn.com/list/money/ftech/list.html", "", "economy_ftech_list"); _top_d[1].child[2].addchild("예금", "http://joongang.joinsmsn.com/list/money/ftech/saving.html", "", "economy_saving"); _top_d[1].child[2].addchild("보험", "http://joongang.joinsmsn.com/list/money/ftech/insu.html", "", "economy_insu"); _top_d[1].child[2].addchild("대출", "http://joongang.joinsmsn.com/list/money/ftech/loan.html", "", "economy_loan"); _top_d[1].child[2].addchild("세금", "http://joongang.joinsmsn.com/list/money/ftech/tax.html", "", "economy_tax"); _top_d[1].child[2].addchild("채권", "http://joongang.joinsmsn.com/list/money/ftech/bond.html", "", "economy_bond"); _top_d[1].child[2].addchild("외환", "http://joongang.joinsmsn.com/list/money/ftech/exch.html", "", "economy_exch"); // 2차 메뉴 : 경제 -> 증권 _top_d[1].child[3].addchild("최신기사", "http://joongang.joinsmsn.com/list/money/stock/list.html", "", "economy_stock_list"); _top_d[1].child[3].addchild("증시시황", "http://joongang.joinsmsn.com/list/money/stock/stock.html", "", "economy_stock"); _top_d[1].child[3].addchild("해외증시", "http://joongang.joinsmsn.com/list/money/stock/aboard.html", "", "economy_aboard"); _top_d[1].child[3].addchild("기업공시", "http://joongang.joinsmsn.com/list/money/stock/disclos.html", "", "economy_disclos"); _top_d[1].child[3].addchild("투자전략", "http://joongang.joinsmsn.com/list/money/stock/invest.html", "", "economy_invest"); _top_d[1].child[3].addchild("펀드", "http://joongang.joinsmsn.com/list/money/stock/fund.html", "", "economy_fund"); _top_d[1].child[3].addchild("원자재", "http://joongang.joinsmsn.com/list/money/stock/materials.html", "", "economy_materials"); _top_d[1].child[3].addchild("애널리스트 어워즈", "http://analyst.joinsmsn.com/", "", "economy_analyst"); // 2차 메뉴 : 경제 -> 부동산 _top_d[1].child[4].addchild("최신기사", "http://realestate.joinsmsn.com/news/", "", "economy_land"); //_top_d[1].child[4].addchild("부동산뉴스", "http://realestate.joinsmsn.com/news/", "", "economy_landnews"); _top_d[1].child[4].addchild("투자상담", "http://realestate.joinsmsn.com/consult", "", "economy_council"); _top_d[1].child[4].addchild("해외", "http://realestate.joinsmsn.com/world/", "", "economy_overseas"); _top_d[1].child[4].addchild("매물/시세", "http://land.joinsmsn.com/maemul/ ", "", "-1"); // 2차 메뉴 : 경제 -> IT View _top_d[1].child[5].addchild("최신기사", "http://joongang.joinsmsn.com/list/money/itview/list.html", "", "economy_itview"); _top_d[1].child[5].addchild("인터넷", "http://joongang.joinsmsn.com/list/money/itview/internet.html", "", "economy_internet"); _top_d[1].child[5].addchild("모바일", "http://joongang.joinsmsn.com/list/money/itview/mobile.html", "", "economy_mobile"); _top_d[1].child[5].addchild("소셜 네트워크", "http://joongang.joinsmsn.com/list/money/itview/social.html", "", "economy_social"); _top_d[1].child[5].addchild("PC가전", "http://joongang.joinsmsn.com/list/money/itview/pc.html", "", "economy_pc"); _top_d[1].child[5].addchild("기기리뷰", "http://joongang.joinsmsn.com/list/money/itview/review.html", "", "economy_review"); _top_d[1].child[5].addchild("게임", "http://joongang.joinsmsn.com/list/money/itview/game.html", "", "economy_game"); _top_d[1].child[5].addchild("과학", "http://joongang.joinsmsn.com/list/money/itview/sci.html", "", "economy_sci"); // 2차 메뉴 : 라이프 -> 스타일 _top_d[2].child[0].addchild("전체", "http://joongang.joinsmsn.com/list/life/style/list.html", "", "life_style"); _top_d[2].child[0].addchild("style&", "http://joongang.joinsmsn.com/list/life/style/stylen.html", "", "life_stylen"); _top_d[2].child[0].addchild("home&", "http://joongang.joinsmsn.com/list/life/style/homen.html", "", "life_homen"); _top_d[2].child[0].addchild("쇼핑", "http://joongang.joinsmsn.com/list/life/style/shopping.html", "", "life_shopping"); _top_d[2].child[0].addchild("여성섹션F", "http://joongang.joinsmsn.com/list/life/style/women.html", "", "life_women"); // 2차 메뉴 : 라이프 -> 건강음식 _top_d[2].child[1].addchild("전체", "http://joongang.joinsmsn.com/list/life/food/list.html", "", "life_food"); _top_d[2].child[1].addchild("건강한당신", "http://joongang.joinsmsn.com/list/life/food/health.html", "", "life_health"); _top_d[2].child[1].addchild("food&", "http://joongang.joinsmsn.com/list/life/food/foodn.html", "", "life_foodn"); // 2차 메뉴 : 라이프 -> 여행레져 _top_d[2].child[2].addchild("전체", "http://joongang.joinsmsn.com/list/life/lesuire/list.html", "", "life_lesuire"); _top_d[2].child[2].addchild("golf&", "http://joongang.joinsmsn.com/list/life/lesuire/golfn.html", "", "life_golfn"); _top_d[2].child[2].addchild("week&", "http://joongang.joinsmsn.com/list/life/lesuire/weekn.html", "", "life_weekn"); // 2차 메뉴 : 라이프 -> 스타인터뷰 _top_d[2].child[3].addchild("전체", "http://joongang.joinsmsn.com/list/life/star/list.html", "", "life_starinterview"); _top_d[2].child[3].addchild("star&", "http://joongang.joinsmsn.com/list/life/star/starn.html", "", "life_starn"); _top_d[2].child[3].addchild("사람섹션J", "http://joongang.joinsmsn.com/list/life/star/sectionj.html", "", "life_sectionj"); //_top_d[2].child[3].addchild("스타맛집", "http://joongang.joinsmsn.com/list/life/star/star.html", "", "life_star"); // 2차 메뉴 : 라이프 -> 교육 _top_d[2].child[4].addchild("전체", "http://joongang.joinsmsn.com/list/life/edu/list.html", "", "life_edu"); _top_d[2].child[4].addchild("열려라공부", "http://joongang.joinsmsn.com/list/life/edu/open.html", "", "life_open"); _top_d[2].child[4].addchild("틴틴중앙", "http://joongang.joinsmsn.com/list/life/edu/teenteen.html", "", "life_teenteen"); _top_d[2].child[4].addchild("BOOK", "http://joongang.joinsmsn.com/list/life/edu/book.html", "", "life_book"); _top_d[2].child[4].addchild("행복동행", "http://joongang.joinsmsn.com/list/life/edu/happy.html", "", "life_happy"); _top_d[2].child[4].addchild("money&", "http://joongang.joinsmsn.com/list/life/edu/money.html", "", "life_money"); // 2차 메뉴 : 라이프 -> 디지털세상 _top_d[2].child[5].addchild("전체", "http://joongang.joinsmsn.com/list/life/digital/list.html", "", "life_digital"); _top_d[2].child[5].addchild("창조", "http://joongang.joinsmsn.com/list/life/digital/idea.html", "", "life_idea"); _top_d[2].child[5].addchild("디지털", "http://joongang.joinsmsn.com/list/life/digital/digitaln.html", "", "life_digitaln"); _top_d[2].child[5].addchild("자동차", "http://joongang.joinsmsn.com/list/life/digital/auto.html", "", "life_auto"); // 2차 메뉴 : 오피니언 _top_d[3].child[0].addchild("최신기사", "http://article.joinsmsn.com/news/list/list.asp?ctg=20", "", "opinion_list"); _top_d[3].child[0].addchild("이헌재의 위기를 쏘다", "http://joongang.joinsmsn.com/opinion/celebrity.html?sc=30?cloc=home|navi_top|opinion", "", ""); _top_d[3].child[0].addchild("김종록 연재소설", "http://joongang.joinsmsn.com/opinion/ebookclub.html?sc=20?cloc=home|navi_top|opinion", "", ""); _top_d[3].child[0].addchild("김영택의 펜화기행", "http://article.joinsmsn.com/news/list/list_find.asp?field=title&tm=opinion&keyword=%uD39C%uD654%uAE30%uD589", "", ""); _top_d[3].child[0].addchild("분수대", "http://article.joinsmsn.com/news/list/list_find.asp?field=title&tm=interview&keyword=분수대", "", ""); // 2차 메뉴 : 오피니언 -> 사설칼럼 _top_d[3].child[1].addchild("최신기사", "http://article.joinsmsn.com/news/list/list.asp?ctg=20", "", "opinion_list"); _top_d[3].child[1].addchild("사설", "http://article.joinsmsn.com/news/list/list.asp?mc=2000001&cloc=joins|navi_top|opinion_sasul", "", "opinion_sasul"); _top_d[3].child[1].addchild("중앙칼럼", "http://joongang.joinsmsn.com/opinion/joongang_column.html?cloc=joins|navi_top|opinion_columnl", "", "opinion_joongang"); _top_d[3].child[1].addchild("사외칼럼", "http://joongang.joinsmsn.com/opinion/joongang_ex.html?cloc=joins|navi_top|opinion_ex", "", "opinion_ex"); //_top_d[3].child[1].addchild("e칼럼", "http://article.joinsmsn.com/news/list/list_find.asp?field=title&tm=opinion_ecolumn&keyword=e%uCE7C%uB7FC", "", "opinion_ecolumn"); // 2차 메뉴 : 오피니언 -> 만평 _top_d[3].child[2].addchild("중앙 만평", "http://article.joinsmsn.com/news/list/list_find.asp?sc=1&tm=opinion_jman&field=title&keyword=%uB9CC%uD3C9", "", "opinion_jman"); _top_d[3].child[2].addchild("해외 만평", "http://article.joinsmsn.com/news/list/list_find.asp?sc=60&tm=opinion_oversea&field=title&keyword=%uD574%uC678%uB9CC%uD3C9", "", "opinion_oversea"); _top_d[3].child[2].addchild("펜화기행", "http://article.joinsmsn.com/news/list/list_find.asp?tm=opinion_penhwa&field=title&keyword=%uD39C%uD654%uAE30%uD589", "", "opinion_penhwa"); _top_d[3].child[2].addchild("먼나라 이웃나라", "http://article.joinsmsn.com/news/list/list_find.asp?tm=opinion_lwb&field=title&keyword=%uBA3C%uB098%uB77C%uC774%uC6C3%uB098%uB77C", "", "opinion_lwb"); _top_d[3].child[2].addchild("김상택만평", "http://article.joinsmsn.com/news/list/list_find.asp?tm=opinion_kst&field=reporter&keyword=%uAE40%uC0C1%uD0DD", "", "opinion_kst"); _top_d[3].child[2].addchild("국수의 神", "http://article.joinsmsn.com/news/list/list_find.asp?sc=1&tm=opinion_noodle&field=title&keyword=%uAD6D%uC218%uC758%20%u795E", "", "opinion_noodle"); // 2차 메뉴 : 오피니언 -> 인터뷰대담 _top_d[3].child[3].addchild("최신기사", "http://article.joinsmsn.com/news/list/list_find2.asp?tm=opinion_interview&field=title&keyword=%uC778%uD130%uBDF0", "", "opinion_interview"); _top_d[3].child[3].addchild("중앙일보 인터뷰", "http://article.joinsmsn.com/news/list/list_find2.asp?sc=1&tm=opinion_jinterview&field=title&keyword=%uC778%uD130%uBDF0", "", "opinion_jinterview"); _top_d[3].child[3].addchild("특별대담", "http://article.joinsmsn.com/news/list/list_find2.asp?tm=opinion_daedam&field=keyword&keyword=%uD2B9%uBCC4%uB300%uB2F4", "", "opinion_daedam"); _top_d[3].child[3].addchild("해외석학", "http://article.joinsmsn.com/news/list/list_find2.asp?tm=opinion_sukhak&field=keyword&keyword=%uD574%uC678%uC11D%uD559", "", "opinion_sukhak"); _top_d[3].child[3].addchild("사람섹션 J", "http://article.joinsmsn.com/issue/issue.asp?sid=5899", "", "opinion_peoplej"); // 2차 메뉴 : 오피니언 -> 셀레브리티 _top_d[3].child[4].addchild("이어령", "http://joongang.joinsmsn.com/opinion/celebrity.html?sc=10", "", "opinion_lyr"); _top_d[3].child[4].addchild("김영희", "http://joongang.joinsmsn.com/opinion/celebrity.html?sc=11", "", "opinion_kyh"); _top_d[3].child[4].addchild("김용옥", "http://joongang.joinsmsn.com/opinion/celebrity.html?sc=12", "", "opinion_kyo"); //_top_d[3].child[4].addchild("연재소설", "http://joongang.joinsmsn.com/opinion/celebrity.html?sc=lmy", "", "opinion_lmy"); _top_d[3].child[4].addchild("남기고 싶은 이야기", "http://joongang.joinsmsn.com/opinion/celebrity.html?sc=bsy", "", "opinion_bsy"); // 2차 메뉴 : 오피니언 -> 토론방 //_top_d[3].child[5].addchild("발제토론", "http://bbs.joinsmsn.com/app/joongang_debate01", "", "opinion_bal"); _top_d[3].child[5].addchild("자유토론", "http://bbs.joinsmsn.com/app/joongang_debate02", "", "opinion_toron"); //_top_d[3].child[5].addchild("댓글토론", "http://joongang.joinsmsn.com/opinion/debate/reply.html", "", "opinion_reply"); //_top_d[3].child[5].addchild("VS 토론", "http://bbs.joinsmsn.com/app/joongang_debate03", "", "opinion_poll"); _top_d[3].child[5].addchild("댓글토론", "http://article.joinsmsn.com/newsdiary/comment/day.asp", "", "opinion_reply"); _top_d[3].child[5].addchild("공지사항", "http://bbs.joinsmsn.com/app/joongang_debate00", "", "opinion_nea"); // 2차 메뉴 : 핫이슈 -> 이슈 _top_d[4].child[1].addchild("최신기사", "http://article.joinsmsn.com/issue/section.asp?sn=", "", ""); _top_d[4].child[1].addchild("정치", "http://article.joinsmsn.com/issue/section.asp?sn=politics", "", "issue_politics"); _top_d[4].child[1].addchild("경제", "http://article.joinsmsn.com/issue/section.asp?sn=money", "", "issue_money"); _top_d[4].child[1].addchild("사회", "http://article.joinsmsn.com/issue/section.asp?sn=life", "", "issue_life"); _top_d[4].child[1].addchild("지구촌", "http://article.joinsmsn.com/issue/section.asp?sn=world", "", "issue_world"); _top_d[4].child[1].addchild("문화", "http://article.joinsmsn.com/issue/section.asp?sn=culture", "", "issue_culture"); _top_d[4].child[1].addchild("스포츠", "http://article.joinsmsn.com/issue/section.asp?sn=sports", "", "issue_sports"); _top_d[4].child[1].addchild("연예", "http://article.joinsmsn.com/issue/section.asp?sn=star", "", "issue_star"); _top_d[4].child[1].addchild("스페셜", "http://article.joinsmsn.com/issue/section.asp?sn=special", "", "issue_special"); // 2차 메뉴 : 핫이슈 -> 연재 _top_d[4].child[2].addchild("최신기사", "http://article.joinsmsn.com/issue/section.asp?st=p", "", "series_list"); _top_d[4].child[2].addchild("정치", "http://article.joinsmsn.com/issue/section.asp?sn=politics&st=p", "", "series_politics"); _top_d[4].child[2].addchild("경제", "http://article.joinsmsn.com/issue/section.asp?sn=money&st=p", "", "series_money"); _top_d[4].child[2].addchild("사회", "http://article.joinsmsn.com/issue/section.asp?sn=life&st=p", "", "series_life"); _top_d[4].child[2].addchild("지구촌", "http://article.joinsmsn.com/issue/section.asp?sn=world&st=p", "", "series_world"); _top_d[4].child[2].addchild("문화", "http://article.joinsmsn.com/issue/section.asp?sn=culture&st=p", "", "series_culture"); _top_d[4].child[2].addchild("스포츠", "http://article.joinsmsn.com/issue/section.asp?sn=sports&st=p", "", "series_sports"); _top_d[4].child[2].addchild("연예", "http://article.joinsmsn.com/issue/section.asp?sn=star&st=p", "", "series_star"); // 2차 메뉴 : 포토 -> 포토뉴스 _top_d[5].child[0].addchild("전체", "http://pic.joinsmsn.com/photo/list/list.asp", "", "photo_list"); _top_d[5].child[0].addchild("정치", "http://pic.joinsmsn.com/photo/list/list.asp?ctg=10", "", "photo_politics"); _top_d[5].child[0].addchild("경제", "http://pic.joinsmsn.com/photo/list/list.asp?ctg=11", "", "photo_money"); _top_d[5].child[0].addchild("사회", "http://pic.joinsmsn.com/photo/list/list.asp?ctg=12", "", "photo_life"); _top_d[5].child[0].addchild("지구촌", "http://pic.joinsmsn.com/photo/list/list.asp?ctg=13", "", "photo_world"); _top_d[5].child[0].addchild("문화", "http://pic.joinsmsn.com/photo/list/list.asp?ctg=17", "", "photo_culture"); _top_d[5].child[0].addchild("스포츠", "http://pic.joinsmsn.com/photo/list/list.asp?ctg=14", "", "photo_sports"); _top_d[5].child[0].addchild("연예", "http://pic.joinsmsn.com/photo/list/list.asp?ctg=15", "", "photo_star"); // 2차 메뉴 : 포토 -> 테마화보 //_top_d[5].child[1].addchild("스타파파라치", "http://pic.joinsmsn.com/photogallery/gallery_sub.asp?ctg=11&issuecode=13", "", "photo_ppa"); //_top_d[5].child[1].addchild("스포츠 현장", "http://pic.joinsmsn.com/photogallery/gallery_sub.asp?ctg=11&issuecode=15", "", "photo_spot"); //_top_d[5].child[1].addchild("사건·사고", "http://pic.joinsmsn.com/photogallery/gallery_sub.asp?ctg=10&issuecode=16", "", "photo_today"); //_top_d[5].child[1].addchild("I♡Drama", "http://pic.joinsmsn.com/photogallery/gallery_sub.asp?ctg=11&issuecode=40", "", "photo_drama"); //_top_d[5].child[1].addchild("렌즈에 담긴 정치", "http://pic.joinsmsn.com/photogallery/gallery_sub.asp?ctg=10&issuecode=19", "", "photo_lens"); //_top_d[5].child[1].addchild("충무로는 지금", "http://pic.joinsmsn.com/photogallery/gallery_sub.asp?ctg=11&issuecode=36", "", "photo_now"); // 2차 메뉴 : 포토 -> 키워드 포토 //_top_d[5].child[2].addchild("패션쇼", "http://pic.joinsmsn.com/photogallery/photo_list_search.asp?page=1&p_cat="+escape("패션쇼"), "", "photo_fashion"); //_top_d[5].child[2].addchild("모터쇼", "http://pic.joinsmsn.com/photogallery/photo_list_search.asp?page=1&p_cat="+escape("모터쇼"), "", "photo_motor"); //_top_d[5].child[2].addchild("레이싱걸", "http://pic.joinsmsn.com/photogallery/photo_list_search.asp?page=1&p_cat="+escape("레이싱걸"), "", "photo_racing"); //_top_d[5].child[2].addchild("이효리", "http://pic.joinsmsn.com/photogallery/photo_list_search.asp?page=1&p_cat="+escape("이효리"), "", "photo_lhy"); //_top_d[5].child[2].addchild("걸그룹", "http://pic.joinsmsn.com/photogallery/photo_list_search.asp?page=1&p_cat="+escape("걸그룹"), "", "photo_girl"); // 2차 메뉴 : 포토 -> 픽업갤러리 //_top_d[5].child[3].addchild("인물", "http://pic.joins.com/list/star_list01.html", "", "pic_people"); //_top_d[5].child[3].addchild("여행·풍경", "http://pic.joins.com/issue/section.asp?sn=politics", "", "pic_travel"); //_top_d[5].child[3].addchild("동·식물", "http://pic.joins.com/issue/section.asp?sn=money", "", "pic_animal"); //_top_d[5].child[3].addchild("시선", "http://pic.joins.com/issue/section.asp?sn=life", "", "pic_site"); //_top_d[5].child[3].addchild("일반", "http://pic.joins.com/issue/section.asp?sn=life", "", "pic_all"); // 2차 메뉴 : 포토 -> 사진공모전 //_top_d[5].child[2].addchild("공모전 홈", "http://pic.joinsmsn.com/workpeople2011/", "", "canon_home"); //_top_d[5].child[2].addchild("공모전 소개", "http://pic.joinsmsn.com/workpeople2011/intro.asp", "", "canon_intro"); //_top_d[5].child[2].addchild("공모전 참여", "javascript:alert('공모전이 종료되었습니다.');", "", "canon_apply"); //_top_d[5].child[2].addchild("수상작 갤러리", "http://pic.joinsmsn.com/workpeople2011/winner.asp", "", "canon_winner"); //_top_d[5].child[2].addchild("공지사항", "http://wp.pic.joinsmsn.com/app/workpeoplenotice", "", "canon_notice"); // 현재 위치 표시용 변수 세팅 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=0; } // 소분류 구분 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 toplogomenu(reqAcode){ //프로모션 배너 document.write(' '); var arrReqAcode = null; var iDASlot = 120 // // 기타 기본 광고 var sActionTag = "http://view.atdmt.com/iaction/KR_JoinsMSN_ETC_if" ;//기타 if (reqAcode=="") { iDASlot=82; // 전체 기사 화면은 뉴스 광고로 } if(reqAcode && reqAcode!="") { /* - 뉴스 news - 연예 news-star - 스포츠 news-sports - 경제 economy - 라이프 life - 오피니언 opinion - 핫이슈 hotissue - 인터렉티브 interactive - 포토 photo - 기타 */ arrReqAcode = reqAcode.split("|"); //home|sports|soccer if(arrReqAcode.length >= 2) { if(arrReqAcode[0] == "news") { if(arrReqAcode[1] == "star") { //연예 iDASlot=87; sActionTag = "http://view.atdmt.com/iaction/KR_JoinsMSN_Entertainment_if" ;//뉴스-연예 } else if(arrReqAcode[1] == "sports") { //스포츠 iDASlot=92; sActionTag = "http://view.atdmt.com/iaction/KR_JoinsMSN_Sports_if" ;//뉴스-스포츠 } else { // 뉴스 iDASlot=82; sActionTag = "http://view.atdmt.com/iaction/KR_JoinsMSN_News_iframe" ;//뉴스(연예,스포츠 제외) } } else { // 경제 if(arrReqAcode[0] == "economy"){ iDASlot=96; sActionTag = "http://view.atdmt.com/iaction/KR_JoinsMSN_Money_if" ;//경제 } // 라이프 if(arrReqAcode[0] == "life") { iDASlot=100; sActionTag = "http://view.atdmt.com/iaction/KR_JoinsMSN_Life_if" ;//라이프 } // 오피니언 if(arrReqAcode[0] == "opinion") { iDASlot=104; sActionTag = "http://view.atdmt.com/iaction/KR_JoinsMSN_ETC_if" ;//기타 } // 핫이슈 if(arrReqAcode[0] == "hotissue") { iDASlot=108; sActionTag = "http://view.atdmt.com/iaction/KR_JoinsMSN_ETC_if" ;//기타 } // 인터렉티브 if(arrReqAcode[0] == "interactive") { iDASlot=112; sActionTag = "http://view.atdmt.com/iaction/KR_JoinsMSN_ETC_if" ;//기타 } // 포토 if(arrReqAcode[0] == "photo") { iDASlot=116; sActionTag = "http://view.atdmt.com/iaction/KR_JoinsMSN_ETC_if" ;//기타 } // PDF if(arrReqAcode[0] == "pdf") { iDASlot=170; sActionTag = "http://view.atdmt.com/iaction/KR_JoinsMSN_ETC_if" ;//기타 } } } } //프로모션 배너 if(typeof(reqAcode) != "undefined" && reqAcode.indexOf("jkiosk") >= 0) {} // jkiosk 예외 처리 else { document.write('
'); document.write( "" ); document.write('
'); } //액션태그 if (sActionTag!="") { document.write(''); } if (reqAcode!="") Acode = reqAcode; fn_Code_Setting (); _top10_str =""; _top10_str += "
\n"; _top10_str += " \n"; _top10_str += "
\n"; _top10_str += " \n"; _top10_str += " \"중앙일보\"\n"; // 선택된 F_index 가 먼저 표시되고 나머지는 뒤로 loop // 인터랙티브 , 포토는 예외 처리 , 길이가 길다고 변형시킴 if (F_code != "") { if(F_code == "opinion" && S_code == "ebookclub") _top10_str += " \"j독서클럽\"\n"; else if(F_code == "opinion" && S_code == "jkiosk") _top10_str += " \"J\n"; else _top10_str += " \""+_top_d[F_index].menu_name+"\"\n"; } _top10_str += " \n"; _top10_str += "
\n"; _top10_str += "
관련서비스
\n"; // 나머지 표시부분만 변형시킴 if(F_index>4) { // 인터랙티브,포토 일때 예외처리 var nstart_pts=5; var nend_pts=8; _top10_hid ="
\n"; _top10_hid +="
주요서비스 보기
\n"; _top10_hid +="
\n"; _top10_hid +="
\n"; _top10_hid +=" 뉴스\n"; _top10_hid +="
\n"; _top10_hid +="
\n"; _top10_hid +=" \n"; _top10_hid +="
\n"; _top10_hid +="
\n"; _top10_hid +="
\n"; } else { // 인터랙티브,포토 이외 정상적인 애덜 var nstart_pts=0; var nend_pts=5; _top10_hid =""; } // PDF 예외처리 if (F_code.substring(0,3)=="pdf" || F_code.substring(0,6)=="korean"){} else { for(var _tmp_i=nstart_pts;_tmp_i<_top_d.length&&_tmp_i\n"; } } } _top10_str += "
\n"; _top10_str += _top10_hid ; _top10_str += "
\n"; // PDF 예외처리 if (F_code.substring(0,3)=="pdf" || F_code.substring(0,6)=="korean"){} else { _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"; // jkiosk 예외처리 if (F_code =="opinion" && S_code == "jkiosk") { _top10_str += "
\n"; } else { _top10_str += "
\n"; } _top10_str += "

서비스 메뉴

\n"; _top10_str += " \n"; _top10_str += "
\n"; _top10_str += " \n"; _top10_str += "
\n"; if(F_code =="opinion" && S_code == "jkiosk") {} // jkiosk 예외처리 else { _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); jQuery(document).ready(function($) { fn_menuIssuering(); // gn 영역 이슈링 데이타 넣기 fn_imcbanner(); fn_menuIssuering_rolling(); //load_editor_pic(); }); }