$(document).ready(function() {
            $("#sign1_txtUserName").keydown(function(e) {
                if (e.keyCode == 32) {
                    return false;
                }
            });

            $("#sign1_BtnSignUp").unbind("click").bind("click", function() {
                filter = /^[-a-z0-9_=+}{\']+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i;
                if (filter.test(document.getElementById("sign1_txtEmail").value)) {
                }
                else {
                    alert("Email ID not well formatted");
                    return false;
                }

                var aa = /[^a-z0-9]/gi;
                if (aa.test(document.getElementById("sign1_txtUserName").value)) {
                    alert("Username should not contain any special characters");
		    return false;
                }
                else{
                    
                }

		chknme = /^[A-Za-z]+$/;
	        if (chknme.test(document.getElementById("sign1_txtFrstnm").value)) {
        	}
	        else {
        	    alert('Only Alphabets Allowed in Name');
	            return false;
        	}
		
		chknme = /^[A-Za-z]+$/;
	        if (chknme.test(document.getElementById("sign1_txtLstnm").value)) {
        	}
	        else {
        	    alert('Only Alphabets Allowed in Name');
	            return false;
        	}
        });
	
	$("#sign1_txtFrstnm").keydown(function(e) {
            if (e.keyCode == 32) {
	        return false;
            }
	});

	$("#sign1_txtLstnm").keydown(function(e) {
            if (e.keyCode == 32) {
	        return false;
            }
	});

	$('.DivFPS').focus(function() {
	    $(".DivVFP").show("blind", 200);
	});
	$('.DivFNU').focus(function() {
	    $(".DivLNU").show("blind", 200);
	});

	$('.DivSQF').focus(function() {
	    $(".DivSAF").show("blind", 200);
	});
});
