function fm_inqchk() {


	if( window.document.fm_cata.elements['v_chek1[0]'].checked==false &&
		window.document.fm_cata.elements['v_chek1[1]'].checked==false &&
		window.document.fm_cata.elements['v_chek1[2]'].checked==false &&
		window.document.fm_cata.elements['v_chek1[3]'].checked==false) {
		alert("ご用件が未選択です");
		return;
	}

	if(window.document.fm_cata.v_name.value == "") {
		alert("お名前が未記入です。");
		return;
	}

	if(window.document.fm_cata.v_mail.value == "" && window.document.fm_cata.v_tel.value=="") {
		alert("電話番号または、E-mailが未記入です。");
		return;
	}

	if(window.document.fm_cata.v_mail.value != "") {
		if(window.document.fm_cata.v_mail.value=="") {
			alert("E-mailが未記入です。");
			return;
		}
		str = window.document.fm_cata.v_mail.value;
		var tmp = str.match("^[0-9A-Za-z._-]+@[0-9A-Za-z.-]+$");
		if (tmp != str){
			alert("E-mailの入力が間違っています");
			return;
		}
	} else {
		if(window.document.fm_cata.v_tel.value=="") {
			alert("電話番号が未記入です。");
			return;
		}
	}

	if(window.document.fm_cata.elements['v_chek1[2]'].checked==true){
		if(window.document.fm_cata.v_add.value=="") {
			alert("ご住所が未記入です。");
			return;
		}
	}

/*
	if(window.document.fm_cata.v_desc.value=="") {
		alert("お問い合わせ内容が未記入です。");
		return;
	}
*/
	if (window.confirm("送信します。よろしいですか？")) {
	   window.document.fm_cata.submit();
	}
}

