if (typeof(obj)!="object" || obj==null || !defined(obj.className) || obj.className==null) { return false; }