This error occurs when working with multiple browser windows within
mechanism between the open windows fails, during a close operation. When
an object containing a close call fails to work immediately, the
"pure virtual call" GPF will occur if the object is clicked multiple times.
If the object is clicked just once, the close operation will complete normally.
Two solutions to this problem are:
In the clicked event of the link, disable its address. This will nullify
the effect of subsequent clicks.
Destroy the current frame within the clicked event. This can be done
by performing a write to the document, and closing it.
document.write("Please wait ...");