function AntiSpam(id) { window.open('/antispamin.php?UniqId='+id,'AntiSpam','width=180,height=229,left=1,top=1'); } function send(thisform) { if (thisform.id.value =="") { alert("idÀ» ÀÔ·ÂÇϽÿÀ!"); thisform.id.focus(); return; } if (thisform.passwd.value == "") { alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇϽÿÀ"); thisform.passwd.focus(); return; } thisform.submit(); } function open_window(TITLE,URL, WIDTH, HEIGHT) { windowprops = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT + ",scrollbars=yes"; window.open(URL, TITLE , windowprops); } function open_window2(TITLE,URL, WIDTH, HEIGHT) { windowprops = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT + ",scrollbars=no"; window.open(URL, TITLE , windowprops); } function deleteConfirm(msg, url){ if(confirm(msg)) document.location.replace( url ); } function change_board(changecategory) { if (changecategory==1) { var index = document.catform.catlist.selectedIndex; document.catform.sel_cat.value=document.catform.catlist.options[index].value; } document.catform.submit(); return false; } function Check_Key(i) { if(event.keyCode==13 && i==1) { document.login.passwd.focus(); } if(event.keyCode==13 && i==2) { send(document.login); } if(event.keyCode==27 && i == 1) document.login.id.value=""; if(event.keyCode==27 && i == 2) document.login.passwd.value=""; } function gourl(url, target){ var gourl = "/gourl.php?url=" + escape(url); if(target=="_blank") { window.open(gourl); } else { parent.location = gourl; } } function scrapmenu() { if(document.getElementById("scrapbutton").style.display == "none") { document.getElementById("scrapbutton").style.display = ""; document.getElementById("scrapbutton").style.left = event.x + 5 + document.body.scrollLeft; document.getElementById("scrapbutton").style.top = event.y - 10 + document.body.scrollTop; } else { document.getElementById("scrapbutton").style.display = "none"; } }