Figure 3


(a) The script header; (b) defining the find_number() function; (c) defining variables that determine which options were selected.

(a)
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--hide script from old browser

(b)
function find_number(string){
separator="]";
lastchar=string.length;
firstchar=string.indexOf(separator)+1;
temp=string.substring(firstchar,lastchar);
return temp;
}

(c)
pr_flag=parseInt(find_number(form.Processor.
options[form.Processor.selectedIndex].value));