function checkInput(form) {
	var theForm=document.input;

	if (!theForm.name.value) {
	   alert("ÀÌ¸§À» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.name.focus();
	   return false;
	}
	if (!theForm.title.value) {
	   alert("Á¦¸ñÀ» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.title.focus();
	   return false;
	}
	if (!theForm.body.value) {
	   alert("³»¿ëÀ» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.body.focus();
	   return false;
	}
	if (!theForm.passwd.value) {
	   alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.passwd.focus();
	   return false;
	} 
	return true;
}

function checkModify(form) {
	var theForm=document.modify;

	if (!theForm.name.value) {
	   alert("ÀÌ¸§À» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.name.focus();
	   return false;
	}
	if (!theForm.title.value) {
	   alert("Á¦¸ñÀ» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.title.focus();
	   return false;
	}
	if (!theForm.body.value) {
	   alert("³»¿ëÀ» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.body.focus();
	   return false;
	}
	if (!theForm.passwd.value) {
	   alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.passwd.focus();
	   return false;
	} 
	return true;
}

function checkReply() {
	var theForm=document.reply;

	if (!theForm.name.value) {
	   alert("ÀÌ¸§À» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.name.focus();
	   return false;
	}
	if (!theForm.title.value) {
	   alert("Á¦¸ñÀ» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.title.focus();
	   return false;
	}
	if (!theForm.body.value) {
	   alert("³»¿ëÀ» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.body.focus();
	   return false;
	}
	if (!theForm.passwd.value) {
	   alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
	   theForm.passwd.focus();
	   return false;
	} 
	return true;
}

function popup_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable){
	  toolbar_str = toolbar ? 'yes' : 'no';
	  menubar_str = menubar ? 'yes' : 'no';
	  statusbar_str = statusbar ? 'yes' : 'no';
	  scrollbar_str = scrollbar ? 'yes' : 'no';
	  resizable_str = resizable ? 'yes' : 'no';
	  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

