Cheers wnoordhoek, looks like I have some studying to do this weekend.
My PHP is already very different from the ZoomSearch original so I accept I deep into own risk territory.
I checked the new version 6 of Zoom Search but it seems there is no new feature for this kind of demand.
I use the cgi/win32-platform. How can I achive to open doc, xls, pdf in new window ?
One of the new V6 features is an option to "Open all plugin file formats in a new window" so that you can have HTML files open in the same window, and PDF files open in a new window. In V4 and V5 all documents open in the same window, or they all open in a new window. You can activate this via check box on the "Scan options" configuration window.