jQuery(function() {
/*var frm_id1 = document.getElementById('frm_comment').name;
var frm_id2 = document.getElementById('frm_comment1').name;
alert(frm_id1);
alert(frm_id2);*/

jQuery("#claimform").validate({
rules: { 
captcha:	  { 
       		  required: true,
			 remote: {
        				url: "check.php",
        				type: "post"
						}
    
   				}
 		}, 
 
messages:	 { 
captcha: 		{ 
  					
					required: "Enter the characters as seen on the image above (case sensitive):",
 					remote: jQuery.format("Correct captcha is required.") 
  
				 }
			 }   			

 
/*submitHandler: function() {
			alert('valid string');
			window.location="";

		}*/
	});

});
