function freset(obj){
  			obj.reset();
		}

function chk(theForm){
	if (document.Dragon.j_username.value == ""){
		alert("会员不能为空!");
	    document.Dragon.j_username.focus();
	   return (false);
	}


 
	if (document.Dragon.j_password.value == ""){
		alert("密码不能为空!");
	    document.Dragon.j_password.focus();
	    return (false);
	} 


}

	function chk2(theForm){
	
		if (document.Company.j_username.value == ""){
			alert("会员不能为空!");
		    document.Company.j_username.focus();
		   return (false);
		}
		
		
		 
		if (document.Company.j_password.value == ""){
			alert("密码不能为空!");
		    document.Company.j_password.focus();
		    return (false);
		} 
	}
	function chkV(theForm){
	
		if (document.VVIPServices.companyCode.value == ""){
			alert("会员不能为空!");
		    document.VVIPServices.companyCode.focus();
		   return (false);
		}
		
		
		 
		if (document.VVIPServices.passWord.value == ""){
			alert("密码不能为空!");
		    document.VVIPServices.passWord.focus();
		    return (false);
		} 
	}
function chk_en(theForm){
	if (document.Dragon.j_username.value == ""){
		alert("Card Number is null!");
	    document.Dragon.j_username.focus();
	   return (false);
	}


 
	if (document.Dragon.j_password.value == ""){
		alert("Password is null!");
	    document.Dragon.j_password.focus();
	    return (false);
	} 
}