<% ' Execute a pre-configured ISYSSearch object Set Results = ISYSSearch.Execute ' Get the document Set Document = Results(CLng("doc")) %> <% For Each Term in Document.SearchTerms %> <span style="color: <%= Term.FGColor %>; background-color: <%= Term.BGColor %>"> <%= Term.Value %> </span> <% Next %>