function formCheck(mode){
	var f = document.myform;

	var check = f.mail.value;
	if(check == ""){
		alert(errorStr['msgmail1']);
		f.mail.focus();
		return false;
	}
	if(check.match(/[!"#$%&'\(\)=\\|,:;^\[\]\{\}`*?<>]/)){
		alert(errorStr['msgmail2']);
		f.mail.focus();
		return false;
	}
	if(!check.match(/.+@.+\..+/)){
		alert(errorStr['msgmail2']);
		f.mail.focus();
		return false;
	}
	
	var check = f.comment.value;
	if(check == ""){
		alert(errorStr['msgcomment']);
		f.comment.focus();
		return false;
	}

	if(confirm(errorStr['msgconfirm'])){
		return true;
	}else{
		return false;
	}

}
