if ( $('wp_error', x).each( function() { re.append('<p>' + this.firstChild.nodeValue + '</p>'); } ).size() ) { return !re.wrap( '<div class="error"></div>' ); 
var errs = $('wp_error', x); if ( errs.size() ) { var err = ''; errs.each( function() { var code = $(this).attr('code'); if ( formField = $('wp_error_data[@code="' + code + '"] form-field', x).text() ) code = formField; wpAjax.invalidateForm( $('#' + e + ' :input[@name="' + code + '"]' ).parents('.form-field:first') ); err += '<p>' + this.firstChild.nodeValue + '</p>'; } ); return !re.html( '<div class="error">' + err + '</div>' ); 
	parseAjaxResponse: function( x, r ) { // 1 = good, 0 = strange (bad data?), -1 = you lack permission		var re = $('#' + r).html('');		if ( x && typeof x == 'object' && x.getElementsByTagName('wp_ajax') ) {			if ( $('wp_error', x).each( function() { re.append('<p>' + this.firstChild.nodeValue + '</p>'); } ).size() ) {				return !re.wrap( '<div class="error"></div>' );			}			return true;		}		if ( isNaN(x) ) { return !re.html('<div class="error"><p>' + x + '</p></div>'); }		x = parseInt(x,10);		if ( -1 == x ) { return !re.html('<div class="error"><p>You do not have permission to do that.</p></div>'); }		else if ( 0 === x ) { return !re.html('<div class="error"><p>AJAX is teh b0rked.</p></div>'); }		return true;	}
6462	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6462/7d0a5d756b429c07fd5b387a4421ecaff3e29083/wp-lists.js/buggy/wp-includes/js/wp-lists.js