function check_form() {
	if ((document.myForm.email.value == null) || (document.myForm.email.value == "")) {
		alert('Emailアドレスをご記入ください');
		return false;
	}
	if (document.myForm.email.value != document.myForm.email2.value) {
		document.myForm.email2.focus();
		document.myForm.email2.select();
		alert('Emailアドレスが正しく入力されていません');
		return false;
	}
	if ((document.myForm.comments.value == null) || (document.myForm.comments.value == "")) {
		alert('ご意見・ご要望・ご質問をご記入ください');
		return false;
	}

	document.myForm.submit();
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function openQWindow() {
	window.open("/cgi-bin/nayu/vote/nayuvote.cgi","Questionnaire","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=690,screenX=10,screenY=10,left=10,top=10,"); 
}



