} else if( previousValue != null && options[i].equals( previousValue ) ) {
previouslySelected = i;
}
}
optionElements[i] = new option( options[i] );
optionElements[i].addElement( options[i] );
}
if( previouslySelected > -1 ) {
optionElements[previouslySelected].setSelected(true);