		$(document).ready(
	  		function() 
	  		{ 
				$("form").submit( function() {
		  			$('input[@type="checkbox"]').each(function(i){
	  					$(this).after('<input type="hidden" name="' + this.name + '" value="' + (this.checked ? this.value : false) + '" />');
						$(this).removeAttr("name");
		  			});	  			
				} );
	  		}
	  	);