With the new version (1.6) the list.php, single.php, gridview.php has the footer included with get_footer method. When using that method i cant send my own variables to the footer. Dont know why.
But i replaced the get method with the old one.
include (TEMPLATEPATH.'/footer.php'); and now i can send my own variables to the footer.