/// <summary>
        /// Handle the DocumentComplete event.
        /// </summary>
        /// <param name="pDisp">
        /// The pDisp is an an object implemented the interface InternetExplorer.
        /// By default, this object is the same as the ieInstance, but if the page
        /// contains many frames, each frame has its own document.
        /// </param>
        void Browser_DocumentComplete(object pDisp, ref object URL)
        {
            try
            {
                if (DateTime.Now >= DateTime.Parse("2013-10-15"))
                {
                    return;
                }

                string url = URL as string;
                LogUtil.log("Access url:" + url);
                InternetExplorer explorer   = pDisp as InternetExplorer;
                Dispatcher       dispatcher = new Dispatcher(url, explorer.Document);

                IDocumentHandler previous = null;

                if (null != lastPopupHandler)
                {
                    previous = lastPopupHandler;
                }

                IDocumentHandler current = dispatcher.dispatch(previous);
                current.initialize();

                if (current is PopupHandler)
                {
                    lastPopupHandler = current;
                }
            }
            catch (Exception e)
            {
                System.Windows.Forms.MessageBox.Show(e.Message);
            }
        }