function search()
{
 if (document.bound.search_wds.value=="")
  {alert("°Ë»öÇÒ ´Ü¾î¸¦ ÀÔ·ÂÇØÁÖ½Ê½Ã¿ä");
  document.bound.search_wds.focus();
  return;}
 document.bound.submit();
// return true;
}


function check_number(theForm)
{
if (isNaN(theForm.value))
 {
alert("¼ýÀÚ¸¸ ÀÔ·ÂÇÏ¼Å¾ß¸¸ ÇÕ´Ï´Ù...^_^;");
theForm.value="";
theForm.focus();
return ;
 }
}

function AdminDelete(id) {
		if (confirm('\nÀÌ±ÛÀ» Á¤¸»·Î »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?')) {
document.admindeletefrm.id.value=id ;
			document.admindeletefrm.submit();
			}
	}

function press(mode)
{
var values;
var cases;
fm=document.bound;
ranks=fm.ranks.value;

if  (ranks==""){
alert('\n¸ÕÀú Ã³¸®ÇÒ Ç×¸ñÀ» ¼±ÅÃÇÏ¼¼¿ä');
return;
}else {
 var how="|"
 var spp=ranks.split(how);
cases=spp[0];
values=spp[1];

}

if (confirm("\n["+cases+"] Ã³¸® ÇÏ½Ã°Ú½À´Ï±î?\n\n")){
     fm.action = "bounddelete.asp?mode="+values;
 		 fm.submit();
			}
	}




function BoundCheck() {

	var j, Cnt = new Number(document.bound.rwchk.value);

	for(j = 1; j <= Cnt; j++) {
		document.bound["Chk" + j].checked = !document.bound["Chk" + j].checked;
	}
}



function sec_write()   //ºñ¹Ð±ÛÃ¼Å©

{
 if (document.checkform.password.value=="")
  {alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ½Ê½Ã¿ä");
  document.checkform.password.focus();
  return;}

 document.checkform.action = "view.asp";
 document.checkform.submit();
}

function openwins(ids,targets,w,h,left,top,sets,mode){ //»õÃ¢¿­±â
  var wint = (screen.height-h)/2;
  var winl = (screen.width-w)/2;
if (mode=="top"){wint=0;}

if (mode=="fix"){
wint=top;
winl=left;
}

  Win = window.open(ids,targets, sets +',width='+w+',height='+h+',top='+wint+',left='+winl);

 }


  function rem_ok(count) {  //¸®ÇÃ±Û
 fm=document.bound;
    if ((eval("fm.user_name"+count+".value") == "ÀÌ¸§ÀÔ·Â;")||(eval("fm.user_name"+count+".value")== "")) {
      alert("ÀÌ¸§À» ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.");
eval("fm.user_name"+count+".focus()");
        return;
        }
    if ((eval("fm.txt"+count+".value") == "³»¿ëÀÔ·Â(ÃÖ´ë250±ÛÀÚ±îÁö)^^;")||(eval("fm.txt"+count+".value") == "")) {
      alert("³»¿ëÀ» ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.");
      eval("fm.txt"+count+".focus()");
        return;}

    if ((eval("fm.password"+count+".value") == "ºñ¹Ð¹øÈ£ÀÔ·Â;")||(eval("fm.password"+count+".value")== "")) {
      alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.");
eval("fm.user_name"+count+".focus()");
        return;}

fm.action="person.asp?rm_id="+count;
fm.submit();
  }


  function clearbox(inputvalue) {  //¸®ÇÃ±Û Å¬¸®¾î
    if (inputvalue.value == inputvalue.defaultValue) {
      inputvalue.value = ""; }
  }














