Hi again than pastebin link didn't seem to work try this one http://pastebin.com/CgvnfCcn Many Thanks Graeme