Created a new private method, __compare_objects() to check if 2 objects are the same.
Authored by: bugman 2009-01-12
Parent: [r8424]
Child: [r8426]