$(document).ready(function(){
	jQuery("form").bind("submit", function () {     
	    var buttons = jQuery(this).find(":image, :submit");     
	    setTimeout(function () {         
	        buttons.attr("disabled", true);         
	        setTimeout(function () {             
	            buttons.attr("disabled", false);         
	            }, 10000);     
	        }, 1);}).find(":image, :submit").attr("disabled", false);
 });

