> document[pFormName][pSelectName].selectedIndex > > should sort it out, if I got it correct. Thanks, that seemed to work. J