Use new isFunction routine and then debug Opera10 issue