$(function(){
	$("#refreshimg").click(function(){
		$.post('newsession.php');
		$(".captchaimage").load('image_req.php');
		return false;
	});
	
	$("#form56").validate({
		rules: {
			captcha: {
				required: true,
				remote: "process.php"
			}
		},
		messages: {
			captcha: "Correct captcha is required. Click the captcha to generate a new one"	
		},
		submitHandler: function(form) {
			form.submit();
		},
		success: function(label) {
			
		
		},
		onkeyup: false
	});
	
});
 