some pseudocode for the javascripts in horizontal drop menu...es difficult.