This really should have gone to a JavaScript newsgroup but as any JavaScript
book will tell you, there's the switch statement and there's always the
trusty if...else statement.
Check out DevGuru [1] and W3Schools [2] when you need language references
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/