
jQuery(document).ready(function($) 
{ 
		
	jQuery.fn.checkAll = function() {
		
		$('#fillForm .mustFill').each(function(index, element) {
			if ( $(element).attr('type')!='button' &&  $(element).attr('type')!='hidden' ) {
				if ($(this).val() == '') {
					$('input[type=submit]').attr("disabled","disabled");
					return false;
				} else {
					$('input[type=submit]').removeAttr('disabled');
				}
			}
		});
	}
	
	$('#fillForm').bind('mouseenter mouseleave focus blur keypress change', function() {
		$(this).checkAll();
	});

	
});
