Snippets/Toggle between dropdown menus and tabs

Description
Enables the user to toggle between drop-down menus and tabs in the Vector skin.

This code works best as a gadget. Load it using the following code:

Code
MenuTabsToggle.js:

MenuTabsToggle.css: