var als1="값을 입력하지 않으셨습니다."
,als2="정확하지 않은 RSS 주소입니다."
,als3=als1
,als4="정확하지 않은 이메일 주소입니다."
,als5="yahoo.co.kr 메일은 발송이 불가한 주소입니다. 다른 이메일 주소를 사용해 주세요."
,als6="주소가 복사되었습니다.\nCtrl+V 로 붙여넣기 하세요."
,als7='에디터 모드로 복사되었습니다.\n에디터 모드에서 Ctrl+V 로 붙여넣기 하세요'
,als8='HTML소스가 복사되었습니다.\nHTML 입력모드에서 Ctrl+V 로 붙여넣기 하세요';
"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLElement.prototype.__defineGetter__&&(HTMLElement.prototype.__defineGetter__("innerText",function(){if(this.textContent)return this.textContent;var a=this.ownerDocument.createRange();a.selectNodeContents(this);return a.toString()}),HTMLElement.prototype.__defineSetter__("innerText",function(a){this.textContent?this.textContent=a:this.innerHTML=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}));
function gei(a){return document.getElementById(a)}
function make_rss(){var a=gei("blog_service"),d=gei("blog_id"),c=d.value,e=gei("blog_rss"),k=gei("blog_opml"),f=gei("tr_id").style,g=gei("tr_rss").style,h=gei("tr_opml").style,b="";if(0<a.value){if(c){switch(a.value){case "1":b="blog.joins.com/"+c+"/index.xml";break;case "2":b="blog.rss.naver.com/"+c+".xml";break;case "3":b="blog.empas.com/"+c+"/rss.xml";break;case "4":b="kr.blog.yahoo.com/"+c+"/rss.xml";break;case "6":b="blogrss.paran.com/RssView2.do?pmcid="+c;break;case "7":b="blog.hanafos.com/getrss.asp?blogerid="+
c;break;case "8":b="tong.nate.com/mytong/mytong.do?action=rssxml&userID="+c;break;case "10":b="www.mediamob.co.kr/"+c+"/RSS.aspx";break;case "11":b="blog.ohmynews.com/"+c+"/rss";break;case "5":b="cyrss.cyworld.nate.com/"+userId;break;case "9":b=userId+".egloos.com/index.xml";break;case "12":b="joblog.scout.co.kr/"+userId+"/rss.asp";break;case "14":b="blog.etnews.co.kr/rss.php?blogid="+c;break;case "15":b="blog.daum.net/xml/rss/"+c;break;case "16":b=c+".tistory.com/rss";break;case "17":b="api.twitter.com/1/statuses/user_timeline.rss?screen_name="+
c;break;case "18":b="me2day.net/"+c+"/rss";break;case "19":b=c+".blogspot.com/feeds/posts/default?alt=rss";break;case "20":b=c+".wordpress.com/feed/";break;case "21":b=c+".tumblr.com/rss"}b="http://"+b}e.value=b;f.display="block";g.display="none";h.display="none";d.focus()}else-1==a.value?(k.value="",f.display="none",g.display="none",h.display="block",k.focus()):(e.value="http://",f.display="none",g.display="block",h.display="none",e.focus());try{18==a.value?(gei("mi").value="",gei("mk").value="",
gei("m2dc").disabled=!0):gei("m2dc").disabled=!1}catch(l){}}function checkMail(a){return/^([a-zA-Z0-9_\.\-])+@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(a.replace(/^\s+|\s+$/g,""))?1:0}function checkMail2(a){return/^([a-zA-Z0-9_\.\-])+@yahoo\.co\.kr$/.test(a.replace(/^\s+|\s+$/g,""))?1:0}function checkUrl(a){return/^https?:\/\/(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+/i.test(a.replace(/^\s+|\s+$/g,""))?1:0}
function check_form(a){if(a){0<a.blog_service.value&&make_rss();if(-1<a.blog_service.value){if(!a.blog_rss.value)return alert(als1),0==a.blog_service.value?a.blog_rss.focus():a.blog_id.focus(),!1;if(!checkUrl(a.blog_rss.value))return 0==a.blog_service.value?a.blog_rss.focus():a.blog_id.focus(),alert(als2),!1}if(-1==a.blog_service.value&&!a.blog_opml.value)return alert(als3),a.blog_opml.focus(),!1;if(!a.blog_email.value||!checkMail(a.blog_email.value))return alert(als4),a.blog_email.focus(),!1;if(checkMail2(a.blog_email.value))return alert(als5),
a.blog_email.focus(),!1;if(a.m2dc.checked){if(!a.mi.value)return alert(als1),a.mi.focus(),!1;if(!a.mk.value)return alert(als1),a.mk.focus(),!1}return!0}return!1}function bookmark(a){window.external.AddFavorite(location.href,a)}function homepage(a,d){a.style.behavior="url(#default#homepage)";a.setHomePage(d)}function write_swf(a){document.write(a)}var copy_done=0;function copy_contents(a){window.event&&0==copy_done&&(window.event.returnValue=!0,window.setTimeout('attach_ref("'+a+'")',25))}
function copy_text(a){document.selection?window.clipboardData.setData("Text",a):gei("dummydiv").innerHTML="<embed src='/img/clipboard.swf' FlashVars=\"clipboard="+encodeURIComponent(a)+"\" width=1 height=1 type='application/x-shockwave-flash'></embed>"}function attach_ref(a){a=document.selection?window.clipboardData.getData("Text")+"\r\n("+a+")":"("+a+")";copy_text(a)}function copy_url(a){copy_text(a);alert(als6)}
function editcopy(a){copy_done=1;var d=document.body.createTextRange();d.moveToElementText(gei(a));d.select();d.execCommand("copy");document.selection.empty();alert(als7);copy_done=0}function htmlcopy(a){a=gei(a).innerHTML;copy_text(a);alert(als8)}
function share_bookmark(a,d){s1='<a href="http://';s2=" width=20 height=20></a> ";img="url="+encodeURIComponent(a)+"&amp;title="+encodeURIComponent(d)+'" target=_blank><img src="/img';document.write(s1+"bookmark.naver.com/post?ns=1&amp;"+img+'naver.png" alt=Naver'+s2);document.write(s1+"bookmark.daum.net/bookmark/edit.do?"+img+'daum.png" alt=Daum'+s2);document.write(s1+"www.hanrss.com/bookmarks/add_link.qst?"+img+'hanrss.png" alt=HanRSS'+s2);document.write(s1+"wzd.com/port/?"+img+'wzd.png" alt="WZD.com"'+
s2);document.write(s1+"www.eolin.com/bookmark/post.php?"+img+'eolin.png" alt=Eolin'+s2)}function bsch(a){bclk("/postlist.html?list_mode=sch&kwd="+a)}function bclk(a){location.href=a}var cled=[];function ac(a,d){if(cled[a])return!0;gei("hidden_frame").src="/click_ads.html?i="+a+"&l="+d+"&r="+encodeURIComponent(document.referrer);cled[a]=1;window.status="";return!0}function as(a){a&&(a="http://"+a);window.status=a;return!0}function al(a){window.open(gei(a.id.substring(1)).href)};
function tpmnAds(i,w,h,c,p){
var a=document.createElement("iframe");a.style.width=w+"px";a.style.height=h+"px";a.style.border="none";a.scrolling="no";a.frameBorder=0;a.style.padding="0px";a.sandbox="allow-forms allow-scripts allow-popups allow-same-origin allow-top-navigation-by-user-activation";a.src=/* "https:"==location.protocol&&"undefined"!=typeof p&&null!=p?p: */"https://ad.tpmn.co.kr/adReqSb.tpmn?ii="+i+"&out=ifr&pi=BGNW";/* "https:"!=location.protocol&& */ "undefined"!=typeof p&&null!=p&&(a.src+="&pb="+encodeURIComponent(p));a.setAttribute("frameBorder","0");a.setAttribute("allowTransparency","true");document.getElementById(c).appendChild(a)
}
function criteoAds(i,c,p){
if("undefined"==typeof p||null==p)p=function(){};p()
}
function realsspAds(i,m,c,p){
var d=document.createElement("div");
d.id="realssp_"+i;
d.className="realssp_dv";
d.setAttribute("data-mcode",m);
document.getElementById(c).appendChild(d);
m=document.createElement("script");m.type="text/javascript";m.async=!0;m.src="//ssp.realclick.co.kr/realclickssp.js?v=1.0&m="+i+"&t=j"+("undefined"!=typeof p&&null!=p?"&passback="+encodeURIComponent(encodeURIComponent(p)):"");document.getElementById(c).appendChild(m)
}
function adpieAds(m,s,w,h,c,p){
window[p]();return;
var a=document.createElement("script");a.type="text/javascript";a.async=!0;a.src="//rsc.adpies.com/js/adpie-min.js?mediaId="+m+"&slotId="+s+"&adType=banner&width="+w+"&height="+h+"&errorCallback="+p;
a.onerror=function(){for(w=document.getElementById(c);w.firstChild;)w.removeChild(w.firstChild);window[p]()};
document.getElementById(c).appendChild(a)
}
function adfitAds(u,w,h,c,p){
try{
var i=document.createElement("ins"),x=function(){for(var z=document.getElementById(c);z.firstChild;)z.removeChild(z.firstChild);window[p]()};
i.id="af"+c;
i.className="kakao_ad_area";i.style.display="none";i.style.width="100%";
i.setAttribute("data-ad-unit",u);i.setAttribute("data-ad-width",w);i.setAttribute("data-ad-height",h);
i.setAttribute("data-ad-onfail",p);document.getElementById(c).appendChild(i);
u=document.createElement("script");u.type="text/javascript";u.async=!0;u.src="//t1.daumcdn.net/kas/static/ba.min.js";
u.onerror=x;
u.onload=function(){setTimeout(function(){"none"==document.getElementById("af"+c).style.display&&x()},10000)};
document.getElementById(c).appendChild(u)
}catch(e){x()}
}
function adlibAds(k,w,h,c,p){
var a=document.createElement("script");a.async=!0;a.type="text/javascript";a.src="//gwx.adlibr.com/script/web/smart/banner_ad.js";document.getElementById(c).parentNode.appendChild(a);
window.adlib_loadfailed=function(t,i){p()};
setTimeout(function(){"undefined"!=typeof ADLIBrBanner?new ADLIBrBanner.init({key:k,ad_align:"center",render:c,width:w,height:h}):p()},31);
}
function admixerAds(k,c,p){
var a=document.createElement("script");a.async=!0;a.type="text/javascript";a.src="//scr.nsmartad.com/admixer/admixer.js";
var x=function(){for(var w=document.getElementById(c);w.firstChild;)w.removeChild(w.firstChild);p()};
a.onload=function(){new admixer_ad({admixer_key:k,display_id:c,ad_change:!1,rtb_banner_height_type:"fixed",rtb_banner_passback_fn:x,test:!1,test_display_id:c+Math.floor(100000*Math.random())})};
a.onerror=x;
document.getElementById(c).appendChild(a)
}
function caulyAds(k,c,p){
var a=document.createElement("script");a.async=!0;a.type="text/javascript";a.src="//image.cauly.co.kr/websdk/common/lasted/ads.min.js";
var x=function(){for(var w=document.getElementById(c);w.firstChild;)w.removeChild(w.firstChild);p()};
a.onload=function(){new CaulyAds({app_code:k,placement:1,displayid:c,passback:x,success:function(){}})};
a.onerror=x;
document.getElementById(c).appendChild(a)
}
function tadAds(k,s,c,p){
var a=document.createElement("script");a.async=!0;a.type="text/javascript";a.src="//adddn.adotsolution.com/contents/sdk/js/tad.min.js";
var x=function(){for(var w=document.getElementById(c);w.firstChild;)w.removeChild(w.firstChild);p()};
a.onload=function(){
TadSdk.AdView.init({
slotNo:s,targetId:c,clientId:k,newWindow:!0,errorCallback:x,zIndex:'off'
})
};
a.onerror=x;
document.getElementById(c).appendChild(a)
}
function mzAds(k,m,s,c,p){
var a=document.createElement("script");a.async=!0;a.type="text/javascript";a.src="https://advimg.ad-mapps.com/sdk/M_PLUS/JS/common/jquery-1.11.3.min.js",
x=function(){for(var w=document.getElementById(c);w.firstChild;)w.removeChild(w.firstChild);p()},
z=function(w,y){};
a.onload=function(){
var b=document.createElement("script");b.async=!0;b.type="text/javascript";b.src="https://advimg.ad-mapps.com/sdk/M_PLUS/manjs/sdk/ad_script.js";
//b.charset='euc-kr';
b.onload=function(){
var d=new MezzoAD();
d.setView(c,{async:!1,close_btn:{show:!1}});
d.setArea(!0,100);
d.request({adid:"",mPublisher:k,mMedia:m,mSection:s,uAgeLevel:"1"},
{success:function(a,b,c){"house"==a&&x()},fail:x}
)
};
b.onerror=x;
document.getElementById(c).appendChild(b)
};
a.onerror=x;
document.getElementById(c).appendChild(a)
}
function mz2Ads(k,m,s,c,p){
var a=document.createElement("script");a.async=!0;a.type="text/javascript";a.src="https://advimg.ad-mapps.com/sdk/js/jquery-3.4.1.min.js",
x=function(){for(var w=document.getElementById(c);w.firstChild;)w.removeChild(w.firstChild);p()},
z=function(w,y){};
a.onload=function(){
var b=document.createElement("script");b.async=!0;b.type="text/javascript";b.src="https://advimg.ad-mapps.com/sdk/js/ver/200/ad_script.js";
//b.charset='euc-kr';
b.onload=function(){
var d=new MezzoAD();
d.setView(c,{async:!1,close_btn:{show:!1},viewability:!1});
d.setArea(!0,100);
d.request({adid:"",mPublisher:k,mMedia:m,mSection:s,uAgeLevel:"1"},
{success:function(a,b,c){"house"==a&&x()},fail:x}
)
};
b.onerror=x;
document.getElementById(c).appendChild(b)
};
a.onerror=x;
document.getElementById(c).appendChild(a)
}
function realiAds(i,m,w,h,c,p){
window.r_e=!1;
var a=document.createElement("iframe");
a.style.width=w+"px";a.style.height=h+"px";a.style.border="none";a.style.padding="0px";a.align="center";a.scrolling="no";a.frameBorder=0;a.marginWidth=0;a.marginHeight=0;a.topmargin=0;a.className="realssp";a.sandbox="allow-forms allow-scripts allow-popups allow-same-origin allow-top-navigation-by-user-activation";
a.id="realssp_"+i;
a.style.display="block";
a.setAttribute("data-src","//ssp.realclick.co.kr/?m="+m+"&c=iframe"+("undefined"!=typeof p&&null!=p?"&passback="+encodeURIComponent(p):""));
a.onerror=function(){
if(!window.r_e&&"undefined"!==typeof p&&null!=p)
if(window.r_e=!0,/^(https?:){0,1}\/\//i.test(p))a.src=p;
else{
for(var w=document.getElementById(c);w.firstChild;)w.removeChild(w.firstChild);
window[p.replace(/^.*:'/,"").replace(/'\}.*$/,"")]();
}
};
document.getElementById(c).appendChild(a);
m=document.createElement("script");m.type="text/javascript";m.async=!0;m.src="//ssp.realclick.co.kr/realclickssp.js?v=1.0&m="+i+"&t=i";
document.getElementById(c).appendChild(m)
}
function swAds(a,s,c,p){
var x=function(){for(var w=document.getElementById(c);w.firstChild;)w.removeChild(w.firstChild);p()}
,v="swi"+Math.floor(100*Math.random());
window[v]={mediaId:a,displayid:c,gender:'0',age:'0',version:'1.0',platform:'web',zIndex:'15',left:'0',top:'0',callback:x,adType:s};
a=document.createElement("script");a.async=!0;a.type="text/javascript";a.src="http://web-sdk.shallweadcorp.com:10500/initAdRequest?ad_info_var="+v;
a.onerror=x;
document.getElementById(c).appendChild(a)
}
function admixerAds2(k,c,p,u){
var a=document.createElement("script");a.async=!0;a.type="text/javascript";a.src="//scr.nsmartad.com/admixer/admixer_2.0.js";
var x=function(){for(var w=document.getElementById(c);w.firstChild;)w.removeChild(w.firstChild);p()};
a.onload=function(){new admixer_ad({media_key:k,
adunit:[{adunit_id:("undefined"===typeof u?"20593095":u),closebtn:!1,admixer_passback_fn:x,ad_change:!1,display_id:c}],coppa:0,test_log_display_id:c+Math.floor(100000*Math.random())})};
a.onerror=x;
document.getElementById(c).appendChild(a)
}
function igawAds(m,s,c,p){
var b=document.createElement("div");b.id="div-igaw-ad-web_"+s;
var a=document.createElement("script");a.async=!0;a.type="text/javascript";a.src="//ssp.igaw.io/sdk/js/headerbidding.js";a.setAttribute("data-publisher-id","web_"+m);
var x=function(){for(var w=document.getElementById(c);w.firstChild;)w.removeChild(w.firstChild);p()};
document.getElementById(c).appendChild(b);
a.onerror=x;
document.getElementById(c).appendChild(a)
}
