
function m_title_chk(){
	if(document.m_boardform.m_title.value== "") {
		alert("input the title");
		document.m_boardform.m_title.focus();
		return m_formcheck="false";
	}
	return m_formcheck="true";
}

//̸Էߴ üũ
function m_name_chk(){
	if(document.m_boardform.m_name.value== "") {
		alert("input the name");
		document.m_boardform.m_name.focus();
		return m_formcheck="false";
	}
	return m_formcheck="true";
}

//Էߴ üũ
function m_content_chk(){
	if(document.m_boardform.m_content.value== "") {
		alert("e͂Ă");
		document.m_boardform.m_content.focus();
		return m_formcheck="false";
	}
	return m_formcheck="true";
}

//ȣԷߴ üũ
function m_pwd_chk(){
	if(document.m_boardform.m_pwd.value== "") {
		alert("pX[h͂Ă");
		document.m_boardform.m_pwd.focus();
		return m_formcheck="false";
	}
	return m_formcheck="true";
}


//ŰԷߴ üũ
function m_delete_chk(){
	if(document.m_boardform.delete_ok.checked != true) {
		alert("폜邽߂ɂ͓ӂ`FbNĂ");
		document.m_boardform.delete_ok.focus();
		return m_formcheck="false";
	}
	return m_formcheck="true";
}

//ãܾԷߴ üũ
function m_strsearch_chk(){
	if(document.m_searchform.strsearch.value== "") {
		alert("{P͂Ă");
		document.m_searchform.strsearch.focus();
		return m_formcheck="false";
	}
	return m_formcheck="true";
}

//ã  Էߴ üũ
function m_searchpart_chk(){
	if((document.m_searchform.searchpart1.checked != true) && 
		(document.m_searchform.searchpart2.checked != true) && 
		(document.m_searchform.searchpart3.checked != true) && 
		(document.m_searchform.searchpart4.checked != true) && 
		(document.m_searchform.searchpart5.checked != true)) {
		alert("{`FbNĂ");
		document.m_searchform.searchpart1.focus();
		return m_formcheck="false";
	}
	return m_formcheck="true";
}
//////////////////////////////////////////////////////////////////////////////ڸƮԷ½
//̸Էߴ üũ
function write_m_commentname_chk(){
	if(document.m_commentformwrite.cname.value== "") {
		alert("O͂Ă");
		document.m_commentformwrite.cname.focus();
		return m_formcheck="false";
	}
	return m_formcheck="true";
}

//ȣԷߴ üũ
function write_m_commentpwd_chk(){
	if(document.m_commentformwrite.cpass.value== "") {
		alert("pX[h͂Ă");
		document.m_commentformwrite.cpass.focus();
		return m_formcheck="false";
	}
	return m_formcheck="true";
}

//Էߴ üũ
function write_m_commentcontent_chk(){
	if(document.m_commentformwrite.ccontent.value== "") {
		alert("e͂Ă");
		document.m_commentformwrite.ccontent.focus();
		return m_formcheck="false";
	}
	return m_formcheck="true";
}

function write_m_commentcicon_chk(){
	var form = document.m_commentformwrite;
	for(i=0;i<form.cicon.length;i++){
		if (form.cicon[i].checked){
			return m_formcheck="true";
		}
	}
	alert("GIĂ");
	return  m_formcheck="false";
}


	
//////////////////////////////////////////////////////////////////////////////ڸƮ
//ȣԷߴ üũ
function modify_m_commentpwd_chk(){
	if(document.m_commentformmodify.comment_pwd.value== "") {
		alert("pX[h͂Ă");
		document.m_commentformmodify.comment_pwd.focus();
		return m_formcheck = "false";
	}
	return m_formcheck = "true";
}

//Էߴ üũ
function modify_m_commentcontent_chk(){
	if(document.m_commentformmodify.comment_content.value== "") {
		alert("e͂Ă");
		document.m_commentformmodify.comment_content.focus();
		return m_formcheck = "false";
	}
	return m_formcheck = "true";
}

//////////////////////////////////////////////////////////////////////////////ڸƮ
//ȣԷߴ üũ
function delete_m_commentpwd_chk(){
	if(document.m_commentformdelete.comment_pwd.value== "") {
		alert("pX[h͂Ă");
		document.m_commentformdelete.comment_pwd.focus();
		return m_formcheck="false";
	}
	return m_formcheck="true";
}
