i put the script into header.tpl with the same result.