<script language=Javascript> function link_add() { window.open('/pims/link/link_add.asp?tid=49837887','link_add','height=280,width=400,scrollbars=no,resizable=yes'); } function seeitem() { //window.open("/pims/main/pims_gift_see.asp?tid=49837887","seeitem","width=270,height=230,scrollbars=yes,resizable=no"); document.location.href='/pims/main/pims_gift.asp?tid=49837887&urlstr=gift&seq=11' } function manage_item(seq,gType) { //parent.minihp_main.document.location.href = "/pims/main/manage_main.asp?tid=49837887&urlstr=mana&seq="+seq+"&gType="+gType; //20060902 노혜진 사생활 보호 설정 링크 바뀜 window.open('http://cyworld.nate.com/main2/mycyworld/mycy_privacy_config.asp','new','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes'); } function game_link(seq,game_tid) { parent.minihp_main.document.location.href = "/pims/main/contents_main.asp?urlstr=cont&tid=49837887&game_store_seq=&seq=3&game_seq="; } function contents_link(tid) { parent.minihp_main.document.location.href = "/pims/main/contents_main.asp?urlstr=cont&tid=49837887"; } function mhMainOpen() { window.open('http://cyworld.nate.com/common/main.asp','new','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes'); } function mhMainOpenAlert() { window.open('http://cyworld.nate.com/main2/index.asp?REPL=Y','new','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes'); } function ndrClick(rurl, content) { i = new Image(); i.src = "http://statetc.nate.com/stat/stat.tiff?cp_url=[cyworld_ndr.nate.com" + content + "]"; document.location.href = rurl; } function ndrClickR(rurl,pndrregionid,popfg) { i = new Image(); i.src = "http://statclick.nate.com/stat/statclick.tiff?cp_url=[click_ndr.nate.com/??ndrpageid=cpm1&ndrregionid="+pndrregionid+"]"; if (popfg == "J" || popfg == "j") { eval(rurl); } else if (popfg == "Y" ||popfg == "y") { window.open(rurl); } else document.location.href = rurl; } function JS_GetStrLen(str) { var len = 0; var chr; for(var j = 0; j < str.length; j++) { chr = str.charAt(j); len += (chr.charCodeAt() > 128) ? 2 : 1; } return len; } function JS_CheckStrLen(obj) { if(JS_GetStrLen(obj.value) > 60) { alert("총 30 자까지 입력 가능합니다."); obj.value = document.frm_brd_notice.prev_notice.value; obj.focus(); return false; } document.frm_brd_notice.prev_notice.value = obj.value; return true; } function JS_ShowBrdNoticeEditLayer(b_show) { if(b_show) { document.getElementById("div_brd_notice_show").style.display = "none"; document.getElementById("div_brd_notice_edit").style.display = ""; } else { document.getElementById("div_brd_notice_show").style.display = ""; document.getElementById("div_brd_notice_edit").style.display = "none"; } } function JS_CheckBrdNoticeForm(cmd) { if(cmd != "reg" && cmd != "del") { return false; } if(cmd == "reg") { var txt = document.frm_brd_notice.notice.value.split(" ").join(); if(txt == "") { alert("내용을 입력하세요."); document.frm_brd_notice.notice.focus(); return; } if(txt.length > 60) { alert("내용은 30자를 넘게 쓰실 수 없습니다."); document.frm_brd_notice.notice.focus(); return; } } else { //document.frm_brd_notice.notice.value = ""; JS_ShowBrdNoticeEditLayer(false); document.getElementById("div_font_color").style.display = "none"; document.getElementById("notice").value = document.getElementById("title").value; document.getElementById("notice_fontcolor").value = document.getElementById("fontcolor").value; document.getElementById("notice").style.color = document.getElementById("notice_fontcolor").value; return; } document.frm_brd_notice.cmd.value = cmd; document.getElementById("title").value = document.getElementById("notice").value; document.getElementById("fontcolor").value = document.getElementById("notice_fontcolor").value; document.getElementById("brd_notice").innerHTML = ""+ document.getElementById("notice").value +""; document.getElementById("brd_notice").style.color = document.getElementById("notice_fontcolor").value; document.getElementById("ft_brd_notice_fontcolor").style.color = document.getElementById("notice_fontcolor").value; //document.frm_brd_notice.action = "pims_title_editok.asp"; //document.frm_brd_notice.target = "ifrm_brd_notice_underworld"; document.frm_brd_notice.submit(); } function JS_ChangeBrdNoticeText(notice_fontcolor, notice_txt) { document.getElementById("ft_brd_notice_fontcolor").color = notice_fontcolor; document.getElementById("brd_notice").innerText = notice_txt; } function JS_OnClickBrdNoticeTextEdit() { var brd_notice_txt = document.frm_brd_notice.notice.value; if(brd_notice_txt == "") { document.frm_brd_notice.notice.value = ""; } return; } function openManagePop() { window.open ("/pims/profile/symbol/symbol_manage.asp?tid=49837887","symbolManage","height=400,width=400,scrollbars=no,resizable=yes"); } function goSymbolMain() { location.href="/pims/main/profile_miniring_main.asp?tid=49837887&urlstr=prof&seq=6"; }