Reg. Block UI Plugin Global Function

Reg. Block UI Plugin Global Function

Hi,
 
A scenario where in my page needs to show overlay using blockui plugin , but unable to achieve the same.
Am trying to use the global function for all ajax calls. Am i missing something in the understanding, am new to jquery. Doesnt seem to show the box during the time taken to load the page. Even on button click it doesnt fire to show the message. Pls help, thanks

<

html xmlns="http://www.w3.org/1999/xhtml" >

<

head runat="server">

<title></title>

<script src="jquery-1.3.2.js" type="text/javascript"></script>

<script src="jquery.blockUI.js" type="text/javascript"></script>

<script type="text/javascript" >

$(document).ajaxStart($.blockUI).ajaxStop($.unblockUI);

</script>

</

head>

<

body >

<form id="form1" runat="server" >

<div>

<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />

</div>

</form>

</

body>

</

html>

This is the code behind

protected void Page_Load(object sender, EventArgs e)

{

System.Threading.

Thread.Sleep(5000);

}