trouble with class management

trouble with class management

hi there,
Im trying to realize a two level navigation, when you hover an item of the first level the second change  contextually; all this stuff removing an adding the class: '.active' and a filter in the selector $('... a:not(.active)') wich doesn't work!!!
I've checked with fire bug, the process of adding and removing works fine but seems its useless!
If you want take a look at my work:


Thank you in advice!