Nice one Mark! I tried a DOM approach but got nowhere — it was much more difficult than I thought.