/////////////////////////////////////////////////////// //sns ¿¬µ¿ °ü·Ã ÇÔ¼ö /////////////////////////////////////////////////////// function goTwitter(msg,url) { var href = "http://twitter.com/share?url=" + encodeURIComponent(url) + "&text=" + encodeURIComponent(msg); var a = window.open(href, 'twitter', ''); if ( a ) { a.focus(); } } function goMe2Day(msg,url,tag) { var href = "http://me2day.net/posts/new?new_post[body]=" + encodeURIComponent(msg) + " " + encodeURIComponent(url) + "&new_post[tags]=" + encodeURIComponent(tag); var a = window.open(href, 'me2Day', ''); if ( a ) { a.focus(); } } function goFaceBook(msg,url) { var href = "http://www.facebook.com/sharer.php?u=" + encodeURIComponent(url) + "&t=" + encodeURIComponent(msg); var a = window.open(href, 'facebook', ''); if ( a ) { a.focus(); } } //»çÀÌ¿ùµå °ø°¨ function goCyWorld(msg,url,thumbnail,writer,summary) { var href = "http://csp.cyworld.com/bi/bi_recommend_pop.php?url="+encodeURIComponent(url)+"&title_nobase64="+encodeURIComponent(msg)+"&thumbnail="+encodeURIComponent(thumbnail)+"&summary_nobase64="+encodeURIComponent(summary)+"&writer="+encodeURIComponent(writer)+"&corpid="; var a = window.open(href, 'cyworld', 'width=400,height=364'); if ( a ) { a.focus(); } } function goYozmDaum(link,prefix,parameter) { var href = "http://yozm.daum.net/api/popup/post?sourceid=&link=" + encodeURIComponent(link) + "&prefix=" + encodeURIComponent(prefix) + "¶meter=" + encodeURIComponent(parameter); var a = window.open(href, 'yozmSend', 'width=466, height=356'); if ( a ) { a.focus(); } } //±¸±Û function goGoogle(msg,url,labels) { var href = "http://www.google.com/bookmarks/mark?op=add&title="+encodeURIComponent(msg)+"&bkmk="+encodeURIComponent(url)+"&labels="+encodeURIComponent(labels); var a = window.open(href, 'googleSend', ''); if ( a ) { a.focus(); } } //³×À̹ö ºÏ¸¶Å© function goNaver(msg,url) { var href = "http://bookmark.naver.com/post?ns=1&title="+encodeURIComponent(msg)+"&url="+encodeURIComponent(url); var a = window.open(href, 'googleSend', ''); if ( a ) { a.focus(); } } function sns_popup(src,width,height) { var scrollbars = "1"; var resizable = "no"; if (typeof(arguments[3])!="undefined") scrollbars = arguments[3]; if (arguments[4]) resizable = "yes"; window.open(src,'','width='+width+',height='+height+',scrollbars='+scrollbars+',toolbar=no,status=no,resizable='+resizable+',menubar=no,left=0,top=0'); }