--- Hassan Schroeder <hassan at webtuitive.com> wrote: > Uh, you need to supply a reference to a function, as in > window.onload = BuildSelect; > > But you're invoking the function immediately, before the page > loads... Doh! I knew I was doing something wrong... now - how can I send a parameter though? Was it anonymous function? Tom ===== http://www.Pixelmech.com/ - read my latest blog posting! http://www.DMXzone.com/ - JavaScript Author http://SparklesParties.com - Princess parties for little girls! http://www.thywordistruth.net/ - Eternal Life "Well, my name's Dewey Oxburger. My friends call me Ox. I dont know if you've noticed, but I got a slight weight problem."