/*-----------------------------------------------------------------------------
 debug.js

 JavaScript functions useful for debugging.

 Change history (most recent first):

  <1>  01/19/03  Thomas C. Eaton  Created.

 Copyright © 2003 by Solid Logic Computer Solutions Inc.  All rights reserved.
------------------------------------------------------------------------------*/

/*******************************************************************************
 Shows the properties of the specified object.
 
 obj      the object whose properites this function will show.
 objName  the name of the object whose properties this function will show.
*******************************************************************************/

function showProperties(obj, objName) {
  var result = ""
  for (var i in obj) {
    result += objName + "." + i + " = " + obj[i] + "<br/>"
  }
  return result
}
