Hello
I am begginer in JavaScript and this forum.

I have problem with my drop down menu which is available on this link
http://instytutppdr.nazwa.pl/ELPAmoto/test

When feature user will choose all subcategories and click Go button browser automatically redirects him to proper site.

Main problem is generating proper links to this sites.
Every category has a unique ID, but how can i assign this number dynamically to array.

This menu is for Os Commerce. It's generating links like this
http://instytutppdr.nazwa.pl/ELPAmot...cPath=1_4_5_16

Where number 1 means category id=1 (Osobowe)
4 - Volvo
5 - V70

In this link I uploaded source files.

http://www.megaupload.com/?d=YEWMZRLW