Using preprocess node variable in page.tpl.php
The node variable for page templates is set in template_preprocess_page
http://api.drupal.org/api/drupal/includes--theme.inc/function/template_preprocess_page/6
You should override that function in your theme