Basic JavaScript tips

Load page content based on menu using simple javascript