function write_check(){
	var f = document.bbs_write;
	if(f.name.value == ""){
		alert("ÀÌ¸§À» ÀÔ·ÂÇÏ¿© ÁÖ½Ê½Ã¿À.");
		f.name.focus();
		return false;
	}
	if(f.passwd.value == ""){
		alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÏ¿© ÁÖ½Ê½Ã¿À.");
		f.passwd.focus();
		return false;
	}
	if(f.title.value == ""){
		alert("Á¦¸ñ¸¦ ÀÔ·ÂÇÏ¿© ÁÖ½Ê½Ã¿À.");
		f.title.focus();
		return false;
	}
	if(f.email.value == ""){
		alert("ÀÌ¸ÞÀÏ¸¦ ÀÔ·ÂÇÏ¿© ÁÖ½Ê½Ã¿À.");
		f.email.focus();
		return false;
	}
}

function pass_check(type,no,page,mod){

	var winopts = "leftmargin=0,topmargin=0,width=300,height=100,scrollbars=0,resizable=0,status=no,menu=no";
	cmsg = "passwd_check.php?type="+type+"&no="+no+"&page="+page+"&mod="+mod;
	Winpass=window.open(cmsg, "pass_check_popup", winopts, true);
	Winpass.focus();	
}

function update_check(){

	if(document.update.title.value == ''){
		alert("Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
		return false;
	}else if(document.update.content.value == ''){
		alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
		return false;
	}
	return true;
 
}
