Other programming languages such as coldfusion can use a universal script (in coldfusion an application.cfm script) which is always run with every script. Their you can place headers, footer and global variables etc. Just wondering if i can use a module or another technique rather than duplicating a lot of code for a menu on each page (eg javascripts for button events etc).