How can I achive that program would go to: alert('eval err catched');
in case that function contained in 'a' does not exist ? It does not go
there at the moment. Thanks for help.

the link to test page:
http://86.61.66.17:8084/AgroZoo/testHTML/testHTML.html

click button2.

Code:
    function doit(a)
    {
       try
       {
         eval(a);
       }
       catch(err)
       {  
         alert('eval err catched');
       }
    }