hi thanks, maybe that is the problem, but I worked it out in the end (err... by copying the code in a blog and pasting from there) :-)