Thanks a lot for that post CookieRevised
I realised that about the groups in the contact list so that's why I ended up doing it this way
About the double posting: You've probably already realised I'm quite new here, and don't really have much other forum experience so this is a bit of a first for me... so I will keep that in mind for next time
About the errors... I hadn't actually noticed them because they don't affect the functionality of the script, but I'll get around to fixing that when I have a spare moment.
And when I hash the MSN email address how would I decode it? Or if you don't need to decode it to open a contact window with the hashed Id, how would I go about doing it?
Thanks again,
David