don't give up
if you analyse the syntax in the function and substitute the formname etc, you should get there.
var newstring = document.formname.listbox.options[document.formname.listbox.selectedIndex].text;
document.formname.label.value = newstring;
alert('newstring =' + newstring);