function ShowAttachText()
{
	var attach = document.frm1.ATTACH.value;
	if (attach == 0) {
		for (i=0; i < 2; i++) {
			document.all.attachfile[i].value = "";
			document.all.attachfile[i].style.display = "none";
		}
		return;
	} else if (attach < 0 || attach > 2)
		return;
	for (i=0; i < attach; i++){
		document.all.attachfile[i].style.display = "";

	}
	for (i=attach; i < 2; i++) {
		document.all.attachfile[i].value = "";
		document.all.attachfile[i].style.display = "none";
	}
	return;
}

function popupGetApprover() 
{
	var str,URL;
	URL="../popupFiles/popupGetApprover.asp"
	str="'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,";
	str=str+"width="+600;
	str=str+",height="+450+"'";
	window.open(URL,'popupGetApprover',str);
}
function GetDate(name)
{
	var name,str,URL;
	URL="popup/popup_getdate.asp?name="+name
	str="'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,";
	str=str+"width="+300;
	str=str+",height="+240+"'";
	window.open(URL,'getdate',str);
}
function checknum()
{	
 var form = document.frm1;
    if(form.identity_num1.value = form.identity_num2.value) {
       alert("ÀÎÁõ¹øÈ£°¡ °°½À´Ï´Ù. \n ´Ù½Ã ÀÔ·ÂÇÏ¼¼¿ä!");
       form.identity_num2.focus();
       return;
    }
	

}