Add Class = 'current' or 'parent' to dropmenu

Tried to make this work the same as the 'top' menu, in that class='current' or 'parent' is added to the <li>.