Few days ago we dealt with an interesting problem. We were loading HTML files in an IFrame. While the document is being loaded we displayed a progress indicator which notified the user that processing is going on. Everything worked fine until we started loading the PDF documents into the IFrame. When PDF documents were loaded the indicator never vanished when the document was completly loaded. In this article we are going to discuss a solution to this problem.