How do I display a progress bar or a window while the page is executing a long query? I have googled and found some sample codes but none worked for me so far.