function setErrors( errors ) {
	J('.error').html('');
	for ( var i in errors ) {
		J('#'+errors[i].name+'-block .error').html(errors[i].message);
	}
}
