I'd suggest using server-side code that loops through your list and creates a JavaScript associative array containing tone Ids and their corresponding paths. In case you're not familiar with it, an associative array in JavaScript works very much like a HashMap in
Java. Below, I've hard-coded an example of what the array would look like when it's rendered:
Then you can get the path with this line:
var path = tonesAndPaths[document.myForm.criticalAlertId.value];
[ August 03, 2006: Message edited by: Merrill Higginson ]