Thanks to all who responded, i think the page at the URL below is the solution to my prob. http://www.xs4all.nl/~ppk/js/selected.html Craig.