function formCheck(mode){
	var f = document.myform;
	var check = f.name.value;
	if(check == ""){
		alert(errorStr['msgname']);
		f.name.focus();
		return false;
	}


	var check = f.tel.value;
	if(check == ""){
		alert(errorStr['msgtel1']);
		f.tel.focus();
		return false;
	}
	if(!check.match(/^[0-9-]{8,16}$/)){
		alert(errorStr['msgtel2']);
		f.tel.focus();
		return false;
	}

	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'])){
		document.cookie = "STAMP=" + escape(errorStr['msghoge']) + ";";
		return true;
	}else{
		return false;
	}

}


