The navigation code is adapted from Expand Pull down menu at
Javascript.com