function dumpProps(objName) {//alert("dumpProps("+objName+"="+eval(objName)+")");
   var obj = eval(objName)
   var msg = ""
   var count = 0
   var maxProps = 10
   // Loop through properties of the object
   for (var i in obj) {
      if (i != "outerHTML" && i != "outerText" && i != "innerHTML" && i != "innerText" && i != "domain") {
		 msg += objName + "." + i + "=" + obj[i] + "\n"
         if (count > maxProps) {
            // Output a batch
            if (navigator.family == "nn4") {
               java.lang.System.out.println(msg)
            }
            else {
               alert(msg)
            }
            msg = ""
            count = 0
            continue
         }
         count++
      }
   }
   // Output any leftovers
   if (navigator.family == "nn4") {
      java.lang.System.out.println(msg)
   } else {
      alert(msg)
   }
}
