try  
 
{   
 
  if(typeof(eval(funcName))=="function")   
 
   { 
 
     funcName(); 
 
  } 
 
}catch(e) 
 
{ 
 
    //alert("not function");  
 
}