document[pFormName][pSelectName].selectedIndex should sort it out, if I got it correct. ps. I googled to point out a tutorial on usage of brackes as a field accessor in JS but I couldn't find. I'm a bit in a rush sorry, so stopping my search. But I'm pretty sure there are nice tutorials around. HTH. -- Volkan Ozcelik +>Yep! I'm blogging! : http://www.volkanozcelik.com/volkanozcelik/blog/ +> My projects/studies/trials/errors : http://www.sarmal.com/