function WRITE_FUNC(){ var f = document.WRITE_FORM; if(!f.checkenable) checkenable = new Array(); if(f.spamfree.value){ alert('데이타가 전송중입니다.'); return false; } if(f.checkenable){ var checkenablelen = f.checkenable.length for (i = 0; i < checkenablelen; i++){ if(f.checkenable[i].value == ""){ alert(f.checkenable[i].title); f.checkenable[i].focus(); return false; } } if(!checkenablelen && f.checkenable.value == ""){ alert(f.checkenable.title); f.checkenable.focus(); return false; } } //첨부된 파일 정보를 바꾼다. if(f.multi_file_list != undefined){ var multi_file_len = f.multi_file_list.length; var TmpMultiFileValue = ''; var tmparr = ""; for(var i=0; i< multi_file_len; i++){ if(f.multi_file_list.options[i]) TmpMultiFileValue += f.multi_file_list.options[i].value + '|'; } f.MultiFileValue.value = TmpMultiFileValue; } f.spamfree.value='1716034682'; f.submit(); document.all.WRITE_FORM_TRANSFER_DIV.style.display = ""; document.all.WRITE_FORM_DIV.style.display ="none"; } function DELETE_THIS(UID,CURRENT_PAGE,BID,GID,adminmode,optionmode){ window.open("./wizboard/delete.php?UID="+UID+"&CURRENT_PAGE="+CURRENT_PAGE+"&BID="+BID+"&GID="+GID+"&adminmode="+adminmode+"&optionmode="+optionmode,"","scrollbars=no, toolbar=no, width=340, height=150, top=220, left=350") } function down(updir, uid){ file_url = "./wizboard/download.php?filename="+updir+"&UID="+uid+"&BID=&GID="; location.href=file_url; } function printThis(){ window.open('./wizboard/skin//print.php?UID=&BID=&GID=','printer','resizable=yes,width=630,height=650'); } function sendmail(bid,uid){ file_url = "./wizboard/sendemail.php?UID="+uid+"&BID=&GID="; window.open(file_url,'printer','resizable=yes,width=400,height=460'); } function closeImgLayer(){ imgLayer.style.display = "none"; } function openImgLayer(src){ imgLayer.style.posLeft = event.clientX imgLayer.style.posTop = event.clientY imgLayer.style.display = "block"; popLayerImg.src = src; }