I will change the name of the folder. No problema and did change the Alert() to alert(). But still not working.
As I wrote, the script is in a file in a folder called java (will chang it to js), and the script is collet by the header.tpl (template). Look to my directory layout.
Anyway still not working.