code: function(a, b)
  	{
  		if ((a == null && b != null) || (a != null && b == null) ||
  			(a != null && b != null && a.length != b.length))
  		{
  			return false;
  		}
  		else if (a != null && b != null)
  		{
  			// Counts keys in b to check if all values have been compared
  			var count = 0;
  			
  			for (var key in b)
  			{
  				count++;
  			}
  			
  			for (var key in a)
  			{
  				count--
  				
  				if ((!mxUtils.isNaN(a[key]) || !mxUtils.isNaN(b[key])) && a[key] != b[key])
  				{
  					return false;
  				}
  			}
  		}
  		
  		return count == 0;
  	}
docs: Function: equalEntries
  
  Returns true if all properties of the given objects are equal. Values
  with NaN are equal to NaN and unequal to any other value.
  
  Parameters:
  
  a - First object to be compared.
  b - Second object to be compared.