On Sun, February 24, 2008 15:38, David Earl wrote: >> if (o typeof c) ? > > Thanks. It's actually > if (o instanceof c) ... that I need, but typeof was enough for me to get a *oops* ;-) > google search to tell me the answer. Regards, Hakan -- The key to immortality is first living a life worth remembering...