
function checkForm(){
	
	

	if(document.a.Dantai_1.value == ""){
         alert("Please input Name (Company, Group, School)");
	document.a.Dantai_1.focus();
	document.a.Dantai_1.style.backgroundColor='#FFCCFF';
         return false;
    }

	if(document.a.Syozoku_1.value == ""){
         alert("Please input Dept");
	document.a.Syozoku_1.focus();
	document.a.Syozoku_1.style.backgroundColor='#FFCCFF';
         return false;
    }

	if(document.a.Name_1.value == ""){
         alert("Please input Name");
	document.a.Name_1.focus();
	document.a.Name_1.style.backgroundColor='#FFCCFF';
         return false;
    }

	if(document.a.yuubin_1.value == ""){
         alert("Please input Postal code");
	document.a.yuubin_1.focus();
	document.a.yuubin_1.style.backgroundColor='#FFCCFF';
         return false;
    }

	if(document.a.jusho1_1.value == ""){
         alert("Please input Address1");
	document.a.jusho1_1.focus();
	document.a.jusho1_1.style.backgroundColor='#FFCCFF';
         return false;
    }

	if(document.a.tel_1.value == ""){
         alert("Please input Telephone No");
	document.a.tel_1.focus();
	document.a.tel_1.style.backgroundColor='#FFCCFF';
         return false;
    }

    if(document.a.address_1.value == ""){
         alert("Please input E-mail address");
	document.a.address_1.focus();
	document.a.address_1.style.backgroundColor='#FFCCFF';
         return false;
    }else{
	    if(!document.a.address_1.value.match(/.+@.+\..+/)){ 
			 alert("A format of E-mail address is not right");
			document.a.address_1.focus();
			document.a.address_1.style.backgroundColor='#FFCCFF';
	         return false;
	    }
    }
    
&nbsp;&nbsp;&nbsp;&nbsp;return true;
}

