Possible Duplicate:
busy mouse cursor when page loading in ASP.NET
In my web application's page i have used document.body.style.cursor = 'wait' script on button click to display busy pointer around the mouse while the page loads, but the problem is it displays for some time only and when the page posts back at that time the busy pointer is not seen and only a small busy icon on the left hand side of the url is seen.Is there any way that i can show busy pointer on the mouse pointer until the page loads fully.I'm using c#.It's web application.Here is my code which is in the body of the master page
<script>
function setHourglass()
{
document.body.style.cursor = 'wait';
}
</script>
<body onbeforeunload="setHourglass();" onunload="setHourglass();" >