function validForm(id,url) 
{
	 jQuery.ajax({
	  
	   type: 'POST',
	   url: url,
	   data: jQuery(id).serialize(),
	   success: function(transport) {
		  stat = eval("("+ transport +")");
		  if (stat.status)  {
		     jQuery('#error')
			 .html(stat.reason).fadeIn('slow').show();
		   }
		   
	   }
	
   })
}