// JavaScript Document
function checkForm(){

	if (document.game.tboxFullName.value==""){
		alert("please input full name!");
		document.game.tboxFullName.focus();
		return false;
		}
	if (document.game.tboxEmailAdress.value==""){
		alert("please input EmailAdress !");
		document.game.tboxEmailAdress.focus();
		return false;
		}
	var e = document.getElementById("tboxEmailAdress").value;
    if(e != "") {
          if(!/(\S)+[@]{1}(\S)+[.]{1}(\w)+/.test(e)) 
           {
                alert("Please input correct form of email!");
                game.tboxEmailAdress.focus ();
				return false;
            } 
	}
		
	if (document.game.tboxPhoneOneA.value=="" && document.game.tboxPhoneOneB.value=="" && document.game.tboxPhoneOneC.value=="" &&  document.game.TBETCPhone.value==""){
		alert("please input Phone!");
		document.game.tboxPhoneOneA.focus();
		return false;
		}
	if (document.game.Address.value==""){
		alert("please input Address!");
		document.game.Address.focus();
		return false;
		}	
	if (document.game.tboxCharName.value==""){
		alert("please input Character Name!");
		document.game.tboxCharName.focus();
		return false;
		}
		 
	return true;
	}