function DisableSubmit(source, text) {
	ret = true;
	
	if (typeof (Page_ClientValidate) == 'function') {
		Page_ClientValidate();
		ret = Page_IsValid;
	}
	
	if (ret) {
		
		if (text == '1') {
			source.value = "Submitting...";
		}
		
		else if (text == '2') {
			source.value = "Saving...";
		}
		
		else if (text == '3') {
			source.value = "Logging In...";
		}
		
		source.disabled = true;
		__doPostBack(source.name, "");
	}
	
	return ret;
	
} // end function