The script is applying a manual attribute change to each instance of the search result.
Find one change it to red. Find two change it to red etc.*
To change it back you will have to remember what it was you searched on, change the script, and do multiple searches if the original was multiple searches.
Pages '09 is applying a Character Style. To change that to anything else for any number of different words, is merely a matter of changing and updating the Character Style.
THAT is what I call simple. Not jumping through a lot of scripting hoops.
Do you know what a Character Style is and do you use them?
Peter
* As Viking points out a slow process, particularly as Pages 6 does not permit non-contiguous selection.
** Viking may be able to confirm this but, just as in everything else, I believe Pages '09 is more scriptable than Pages 6.