fixed bug with ff and js event
- onclick event possible for chrome and firefox
- javascript function was written wrong
- now it works in both browser