Hi lydia,
I think so the value u r selecting in the drop down is not recognized properly by the script code, to get the value of the drop down in onchange event try the following code,
xfa.event.newText;
in javascript, this returns the value selected by the user and use this value in ur script to compare.
Regards,
Sangeetha