	var checkFrmEvent = function(){
		var nexon_id = document.getElementById('nexon_id');
		var Q01 = document.getElementById('Q01');
		var Q02 = document.getElementById('Q02');
		var Q03 = document.getElementById('Q03');
		var Q04 = document.getElementById('Q04');

		
		if (nexon_id.value=='' ){
			alert('NEXON IDを入力してください。');
			nexon_id.focus();
			return false;
		}else if(nexon_id.value.length<4 ||nexon_id.value.length>20){
			alert('NEXON IDは4文字以上、20文字以下で入力してください。');
			nexon_id.focus();
			return false;
		}else if(!checkIdWord(nexon_id.value)){
			alert('NEXON IDの入力形式が正しくありません。');
			nexon_id.focus();
			return false;
		}

		if (Q01.value=='' ){
			alert('お名前（本名）を入力してください。');
			Q01.focus();
			return false;
		}

		if (Q02.value=='' ){
			alert('郵便番号を入力してください。');
			Q02.focus();
			return false;
		}

		if (Q03.value=='' ){
			alert('ご住所を入力してください。');
			Q03.focus();
			return false;
		}

		if (Q04.value=='' ){
			alert('電話番号を入力してください。');
			Q04.focus();
			return false;
		}

		document.getElementById('frmEvent').submit();
	}

	var checkIdWord = function(str){
		regPattern = /^[a-zA-Z0-9]{1}[a-zA-Z0-9_]+$/;
		return regPattern.test(str);
	}
