function checkData()
{
	var obj = document.theForm;
	if (obj.strName.value == "")
	{
		alert("신청자의 이름을 입력해 주세요");
		obj.strName.focus();
		return false;
	}
	if (obj.strPassword.value == "")
	{
		alert("등록시 기재한 비밀번호를 입력해 주세요");
		obj.strPassword.focus();
		return false;
	}
	return true;
}

function deleteRegistration(seq, r_name)
{
	if (!confirm("정말 삭제하시겠습니까?"))
		return;

	var parentObj = document.getElementById("regList");
	var removeObj = document.getElementById("reg_"+seq);
	var procObj = document.getElementById("hiddenFrm");
	parentObj.removeChild(removeObj);
	procObj.setAttribute("src","delete.asp?intSeq="+seq);

	if (parentObj.childNodes.length < 1)
	{
		var pObj = document.createElement("p");
		var spanObj = document.createElement("span");
		spanObj.appendChild(document.createTextNode(r_name));
		pObj.appendChild(spanObj);
		pObj.appendChild(document.createTextNode(" 님에 대한 신청 정보가 없습니다."));
		parentObj.appendChild(pObj);
	}
}