Cross-browser problem with script

Cross-browser problem with script

Hello everyone! I wrote this script and it doesn't work in IE6 & IE7
and Chrome, but works in last Firefox and last Opera.

In IE it only shows first select options and doesn't react on click
event.

In Chrome If i set all "current" variables to 0, it shows all data, but
doesn't react on <option> click event.

Firebug doesn't show any problems, tried to check all values with -
console.log(); and they all contain proper values as it seems.

Please help me to find a problem.

console.log(current_cat1,current_cat2,current_cat3);

null1 null2 null3
0 null2 null3
0 0 null3
0 0 0


Code here:

http://pastie.org/576836