I think it would have to be loading sequence. It should be possible to do. Are you using a Dreamweaver Template or webassist Theme? A template will ignore server side code. Convert your template to a webassist theme and make sure your theme is defined on the top of the page and the variable should be available.