Right you are Volkan - works a treat - THANKS! :). Oddly enough attachEvent was returning true even when I used the wrong parameter for the event to attach..... Must be lunchtime ;) Paul