I wrote following script http://test.partnuz.hekko.pl/js/gfonts.htm. It works fine in all browsers except in ie. The problem is that only the last select box works as expected (for example if I add 2 fields second works, 3 fields third works etc).