If the element just needs to show or hide.
If you need to create it from scratch you need to use createElement.
Easiest thing would be to copy the script I have here because it gets around a browser quirk:
http://pascarello.com/examples/createElement.html [View the source to get the code]
Than to add the select element with options would be:
Eric