Fixed CSS + new common header

Hello,

I created a common header (find in common.html in the /themes directory) and fixed the CSS + javascript issues involved in moving  the functionality to a new theme.