$().ready(function() {
	// validate the comment form when it is submitted
			
	// validate signup form on keyup and submit
	$("#recover_password").validate({
		rules: {
			email: {
				required: true,
				email: true,
			},
			captcha: {
				required: true,
				remote: "scripts/check_captcha.php"
			}
		},
		messages: {
			email: {
				required: " Please enter your email",
				email: " Please enter your email",
			},
			captcha: {
				required: " enter the code from the image",
				remote: jQuery.format(" {0} is not correct")
			}
		}
	});

	$("#javascript").hide();
});