	var charexp=/./
	var emailexp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/
	function memailid(str){   
		return emailexp.test(str)
    }
    function haschar(str){
      return charexp.test(str)
    }
	
		function winsub(){
			
			if(document.f1.txtname.value==""){
				alert("Please enter your name");
				document.f1.txtname.focus();
				return;				
			}
			
			if (!haschar(f1.email.value)){
				alert("Please enter your emailid");
				document.f1.email.focus()
				return;
			}
			if (!memailid(f1.email.value)){
				alert("Invalid email id. Use format ( abc123_abc123@adf123_abc123.abc )")
				document.f1.email.focus();
				return;
			}

			if(document.f1.comment.value==""){
				alert("Please enter your comment");
				document.f1.comment.focus();
				return;				
			}
			
			document.f1.action="clubprocess.html"
			document.f1.submit();
		}
