[jQuery] Using Jquery Form and Block UI together

[jQuery] Using Jquery Form and Block UI together


I have this function that triggers an AJAX call to the server
$('#advert_settings_form').ajaxForm(function() {
$.blockUI('<h1><img src="busy.gif" /> Just a moment...</h1>');
//alert("Thank you for your comment!");
});
Where do I put the blockUI and unblockUI functions in ajaxForm
callable?
Thanks