var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); var article_fontSize = getCookie("article_fontSizePx") if(isNaN(article_fontSize) == true || article_fontSize == null || typeof(article_fontSize) == "undefined") article_fontSize = 4; else article_fontSize = parseInt(article_fontSize, 10); function fnSetFont(fontSize) { $("#articlebody").removeClass("article0" + article_fontSize.toString()); $("#articlebody").addClass("article0" + fontSize.toString()); var expiry = new Date(); var name = "article_fontSizePx"; var path = "/"; var domain = ".joinsmsn.com"; var secure = ""; var value = fontSize; expiry.setDate(expiry.getDate() + 90); setCookie(name, value, expiry, path, domain, secure); article_fontSize = fontSize; } function fnFontPlus() { var nFontSize = 0; if(article_fontSize < 6) { nFontSize = article_fontSize + 1; fnSetFont(nFontSize); } } function fnFontMinus() { var nFontSize = 0; if (article_fontSize > 1) { nFontSize = article_fontSize - 1; fnSetFont(nFontSize); } } //메일 function fnSendEmail(siteType, totalId) { var sEmailPageUrl = ""; var sWinName = "emailarticle"; var sWinopts = "left=0,top=0,width=370,height=495,scrollbars=0,resizable=0"; var theForm = document.frmSaveBlog; if(siteType.toLowerCase() == "joongang"){ sEmailPageUrl = "https://web.archive.org/web/20120806020440/http://article.joinsmsn.com/news/option/article_email.asp?Total_ID=" + totalId; }else if(siteType.toLowerCase() == "joongangdaily"){ // 중앙데일리는 aid 로 한다. sEmailPageUrl = "/news/article/option/Article_Email.aspx?aid=" + totalId; }else{ sEmailPageUrl = "https://web.archive.org/web/20120806020440/http://live.joinsmsn.com/news/option/article_email.asp?Total_ID=" + totalId; } window.open("about:blank", sWinName, sWinopts); theForm.action = sEmailPageUrl; theForm.target = sWinName; theForm.submit(); } // 팝업창 띄우기 function popupWindow(Url, windowName, Width, Height, scroll) { if ((scroll == null) || (scroll == "")) { scroll = "no"; } var win = window.open(Url, windowName, "toolbar=no,location=no,directory=no,status=no,menubar=no,scrollbars=" + scroll + ",resizable=no,top=50,left=50,width=" + Width + ",height=" + Height); if (win != null) win.focus(); } // 팝업창 띄우기(top, left 추가) function popupWindow2(Url, windowName, Top, Left, Width, Height, scroll) { if ((scroll == null) || (scroll == "")) { scroll = "no"; } var win = window.open(Url, windowName, "toolbar=no,location=no,directory=no,status=no,menubar=no,scrollbars=" + scroll + ",resizable=no,top=" + Top + ",left=" + Left + ",width=" + Width + ",height=" + Height); if (win != null) win.focus(); } //인쇄 function fnSendPrint(siteType, totalId, ctg) { var sPrintPageUrl = ""; var sWinName = "printarticle"; var sWinopts = "left=0,top=0,width=650,scrollbars=1,resizable=1"; if(siteType.toLowerCase() == "joongang"){ sPrintPageUrl = "https://web.archive.org/web/20120806020440/http://article.joinsmsn.com/news/option/article_print.asp?ctg=" + ctg + "&total_id=" + totalId; }else if(siteType.toLowerCase() == "joongangdaily"){ sPrintPageUrl = "/news/article/option/article_print.aspx"; sWinopts = "left=0,top=0,width=600,scrollbars=1,resizable=1"; }else{ sPrintPageUrl = "https://web.archive.org/web/20120806020440/http://live.joinsmsn.com/news/option/article_print.asp?ctg=" + ctg + "&total_id=" + totalId; } window.open(sPrintPageUrl, sWinName, sWinopts); } function ArticleDic(){ popupWindow2("https://web.archive.org/web/20120806020440/http://endic.naver.com/small_index.nhn","ic",100,700,437,575,"yes"); } function ArticleBlogScrap(aid) { with(document.frmSaveBlog){ action = "https://web.archive.org/web/20120806020440/http://blog.joinsmsn.com/center/joins/outbound_scrap_pre.asp"; user_id.value = getCookieA("MemArray","MemID"); source.value = "[중앙데일리] 기사 본문 읽기"; board_idx.value = aid; subject.value = $("#articletitle").html(); content.value = "