Graham
Nightmares sort of yes but it is very complex you can do it based on this search script
http://syntax.xtgem.com/manual/basics/xtscripts/default?func=search_two
it uses filelist to create javascript arrays most of the embeds in the results will not work on sites with the 5mb limit the basic