Use cookies to store currently active metro id

Added subnav and "where am I?" functions.
Also general code cleanup, beginning of helper functions.