I took the original code and imbedded it. In the original code there was no specification of language for scripting:
<script>
dm=new ComboBox("dm")
dm.add(
new ComboBoxItem("barge",1),
new ComboBoxItem("benluc",2),
new...