Kows - thanks for that advice it looks really interesting code, of course I haven't even touched html entities etc yet but I know I will have to! Hmm I think I will return to this in the morning, its starting to confuse me quite a bit lol...

Thx for the help guys!!!