The main concept here is to find the PHP code which uses these functions, and move it to your global.php file. This will make the variables available in all your templates. However, this may slightly reduce performance, which is why everything isn't in global.php in the first place.
Do a search for golbal.php and variables - there have been plently of questions about this sorta thing. Hope this is of some help.