6월이 오면 생각나는 가곡- 비목(碑木)
tr>
functionnext(logId){
location.href=”blog.log.view.screen?blogId=80005&logId=”+logId;
}
functionprev(logId){
location.href=”blog.log.view.screen?blogId=80005&logId=”+logId;
} functionrecommendLog(logId){
varurl=”/blog.log.recommend.do?blogId=80005&logId=”+logId+”&recommendFlag=Y”;
document.getElementById(“iframe_recommend_log”).src=url;
//varrUrl= “/blog.log.recommend.screen?blogId=80005&logId=”+logId;
//varrTarget=”registFavoritePop”;
//varrStyle=”toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=391,height=229″+”,left=”+(screen.availwidth-280)/2+”,top=”+(screen.availheight-220)/2;
//window.open(rUrl,rTarget,rStyle);
} functionscrapLog(logId){
if(uid==”0″||uid==””){
location.href=”http://membership.chosun.com/login/protect_sso/sso_user_info.jsp?returl=http://blog.chosun.com/blog.log.view.screen?blogId=80005&logId=7426830″;
}else{
window.open(“/blog.log.scrap.screen?blogId=80005&logId=”+logId,’scrap’,”fullscreen=no,titlebar=no,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=423,height=472,top=”+(screen.availheight-391)/2+”,left=”+(screen.availwidth-229)/2);
}
} functionclubScrap(logId){
if(uid==”0″||uid==””){
location.href=”http://membership.chosun.com/login/protect_sso/sso_user_info.jsp?returl=http://blog.chosun.com/blog.log.view.screen?blogId=80005&logId=7426830″;
}else{
window.open(“/blog.club.scrap.screen?blogId=80005&logId=”+logId,”scrap”,”fullscreen=no,titlebar=no,toolbar=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=423,height=462,top=”+(screen.availheight-391)/2+”,left=”+(screen.availwidth-229)/2);
}
} functionscrapList(logId){
window.open(“/blog.log.scrap.history.list.screen?blogId=80005&logId=”+logId,”scrap”,”fullscreen=no,titlebar=no,toolbar=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=423,height=511,top=”+(screen.availheight-391)/2+”,left=”+(screen.availwidth-229)/2);
} functionupdateLog(logId){
location.href=”/blog.log.update.screen?blogId=80005&logId=”+logId;
} functiondeleteLog(logId,tblogFlag){ if(document.getElementById(“contentsId”)){
if(document.getElementById(“contentsId”).innerHTML.indexOf(“http://keywui.chosun.com/player@”)>=0&&!false){
if(!confirm(“포스트를삭제해도동영상은삭제되지않습니다.\n동영상삭제는키위(keywui.chosun.com)에서해주십시오.”)){
return;
}
}
} if(tblogFlag){
if(!confirm(“해당글을삭제하시면’팀블로그’에보내진\n글들과답글도함께삭제가됩니다.\n그래도삭제하시겠습니까?”)){
return;
}
}else{ if(!confirm(“글삭제시,답글도함께삭제됩니다.그래도삭제하시겠습니까?”))
{
return;
}
} location.href=”/blog.log.delete.do?blogId=80005&logId=”+logId;
} functionpop_comment(log,blog,div)
{
varurl=”/blog.log.comment.screen?logType=1&logId=”+log+”&blogId=”+blog+”&idx=”+div; if(document.all[“comment_div”+div].style.display==”none”){
document.all[“comment_div”+div].src=url;
document.all[“comment_div”+div].style.display=””;
}else{
document.all[“comment_div”+div].style.display=”none”;
}
} functionrepaintCommentTitle(div,s,newMark)
{
vartargetComment=eval(“document.all.comment_count”+div);
targetComment.innerHTML=s; vartargetNewCommentMark=eval(“document.all.comment_new”+div);
if(newMark==’true’)
targetNewCommentMark.innerHTML=” functionpop_trackback(log,blog,div)
{
//varurl=”/blog.log.trackback.screen?logId=”+log+”&blogId=”+blog+”&idx=”+div;
//if(document.all[“trackback_div”+div].style.display==”none”){ //document.all[“trackback_div”+div].src=url;
//document.all[“trackback_div”+div].style.display=””;
//}else{
//document.all[“trackback_div”+div].style.display=”none”;
//}
//trackback적용시변경
varurl=”/blog.log.trackback.list.screen?logId=”+log+”&blogId=”+blog+”&idx=”+div;
if(document.all[“trackback_div”+div].style.display==”none”){
document.all[“trackback_div”+div].src=url;
document.all[“trackback_div”+div].style.display=””;
}else{
document.all[“trackback_div”+div].style.display=”none”;
}
} functionrepaintTrackbackTitle(div,s,newMark)
{ vartargetTrackback=eval(“document.all.trackback_count”+div);
targetTrackback.innerHTML=s; vartargetNewTrackbackMark=eval(“document.all.trackback_new”+div);
if(newMark==’true’)
targetNewTrackbackMark.innerHTML=” } functionlogPrint(logId){
window.open(“/blog.log.print.screen?blogId=80005&logId=”+logId,”print”,”fullscreen=no,titlebar=no,toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=626,height=650,top=5,left=”+(screen.availheight-350)/2);
} functiongoTagToggle(type,logid){
if(type==”edit”){
document.getElementById(“divTagView”+logid).style.display=”none”;
document.getElementById(“divTagEdit”+logid).style.display=”block”;
}else{
document.getElementById(“divTagView”+logid).style.display=”block”;
document.getElementById(“divTagEdit”+logid).style.display=”none”;
}
} varreg_count=0;
functiongoTagUpdate(frm){
vartag1=frm.tag1.value;
vartag2=frm.tag2.value;
vartag3=frm.tag3.value;
vartag4=frm.tag4.value;
vartag5=frm.tag5.value; if(tag1!=””){
if(tag1.indexOf(“,”)!=-1){
alert(“콤마(,)는사용할수없습니다.”);
frm.tag1.focus();
return;
}
frm.tag1.value=removeSpace(tag1);
}
if(tag2!=””){
if(tag2.indexOf(“,”)!=-1){
alert(“콤마(,)는사용할수없습니다.”);
frm.tag2.focus();
return;
}
frm.tag2.value=removeSpace(tag2);
}
if(tag3!=””){
if(tag3.indexOf(“,”)!=-1){
alert(“콤마(,)는사용할수없습니다.”);
frm.tag3.focus();
return;
}
frm.tag3.value=removeSpace(tag3);
}
if(tag4!=””){
if(tag4.indexOf(“,”)!=-1){
alert(“콤마(,)는사용할수없습니다.”);
frm.tag4.focus();
return;
}
frm.tag4.value=removeSpace(tag4);
}
if(tag5!=””){
if(tag5.indexOf(“,”)!=-1){
alert(“콤마(,)는사용할수없습니다.”);
frm.tag5.focus();
return;
}
frm.tag5.value=removeSpace(tag5);
} //중복등록방지.
reg_count=reg_count+1;
if(reg_count>1){
alert(“처리중입니다.잠시만기다리세요.”);
frm.action=”/blog.log.update.do”;
frm.submit();
return;
}
frm.action=”blog.tag.update.do”;
frm.submit();
} functioncopyLogclipboard(intext){
if(window.clipboardData){
window.clipboardData.setData(“Text”,intext);
returntrue;
}elseif(window.netscape){
try{
netscape.security.PrivilegeManager.enablePrivilege(‘UniversalXPConnect’); varclip=Components.classes[‘@mozilla.org/widget/clipboard;1’].createInstance(Components.interfaces.nsIClipboard); if(!clip)return; vartrans=Components.classes[‘@mozilla.org/widget/transferable;1’].createInstance(Components.interfaces.nsITransferable); if(!trans)return; trans.addDataFlavor(‘text/unicode’); varstr=newObject();
varlen=newObject(); varstr=Components.classes[“@mozilla.org/supports-string;1”].createInstance(Components.interfaces.nsISupportsString); varcopytext=intext; str.data=copytext; trans.setTransferData(“text/unicode”,str,copytext.length*2); varclipid=Components.interfaces.nsIClipboard; if(!clip)returnfalse; clip.setData(trans,null,clipid.kGlobalClipboard); returntrue;
}catch(e){
}
}
returnfalse;
} functioncopyLogUrl(str){
if(copyLogclipboard(str)){
alert(‘이포스트의주소가복사되었습니다.\n게시판이나메신저창에Ctrl+V로붙여넣기하세요.’);
}
} //리사이즈이미지
resize_images();
window.onload=link_imgResize;
//리사이즈object
resize_object(); functiondivSetSList(){ document.getElementById(‘single’).style.display=”block”;
document.getElementById(‘single’).innerHTML=”
“;
}
functiondivSetDList(){
document.getElementById(‘double’).style.display=”block”; document.getElementById(‘double_1’).style.display=”block”; document.getElementById(‘double_2’).style.display=”block”;
document.getElementById(‘double_1’).innerHTML=”
“; document.getElementById(‘double_2’).innerHTML=”
“;
}
varsDivChk=true; vardDivChk1=true; vardDivChk2=true; functionsetSingleDiv(){
}
functionsetDoubleDiv(type){
if(type==”A”){
if(dDivChk1){ document.getElementById(‘double_1’).style.display=”none”;
document.getElementById(‘double_1_1’).style.display=”block”; document.getElementById(‘double_1_1’).innerHTML=”
“; dDivChk1=false;
}else{ document.getElementById(‘double_1_1’).style.display=”none”; document.getElementById(‘double_1’).style.display=”block”;
dDivChk1=true; }
}else{
if(dDivChk2){ document.getElementById(‘double_2’).style.display=”none”;
document.getElementById(‘double_2_2’).style.display=”block”; document.getElementById(‘double_2_2’).innerHTML=”
“; dDivChk2=false;
}else{ document.getElementById(‘double_2_2’).style.display=”none”; document.getElementById(‘double_2’).style.display=”block”;
dDivChk2=true; }
} }
divSetDList();
setDivSlide();