rem: alert(document.js_dump(err_obj)); 
context: document.validate = function (form, val_hash) {  if (typeof(val_hash) == 'string') {    if (! document.yaml_load) return true;    val_hash = document.yaml_load(val_hash);  }  // undo previous inline  if (document.did_inline) {    for (var key in document.did_inline) {      var el = document.getElementById(key);      if (el) el.innerHTML = '';    }    document.did_inline = undefined;  }  // do the validate  if (! document.val_obj) document.val_obj = new Validate();  var err_obj = document.val_obj.validate(form, val_hash);  // return success  if (! err_obj) return true;  alert(document.js_dump(err_obj));  // focus  var field = err_obj.first_field();  if (field && form[field] && form[field].focus) form[field].focus();  // inline  if (err_obj.extra.do_inline) {    var d = document.did_inline = new Array();    var hash = err_obj.as_hash();    for (var key in hash) {      var el = document.getElementById(key);      if (el) el.innerHTML = hash[key];      d[key] = 1;    }  }  // alert  if (err_obj.extra.no_confirm) {    alert(err_obj.as_string());    return false;  } else {    return confirm(err_obj.as_string()) ? false : true;  }}
meta: 5443	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/79e3018ba6d761850429566a6915bddf2d08069e/validate.js/buggy/lib/CGI/Ex/validate.js